Error in fsl-image-gui: qt4-x11-free_4.8.5.bb,  do_configure

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error in fsl-image-gui: qt4-x11-free_4.8.5.bb,  do_configure

1,876 Views
leonardoassad
Contributor I

Hi,

 

First, excuse me my bad english.

 

I am trying to learn how to use yocto and I am having problems with qt4-x11-free.

 

I am trying to compile fsl-image-gui but its stop with this error:

 

| collect2: error: ld returned 1 exit status

| make: *** [opengles2] Error 1

| OpenGL ES 2.x disabled.

| The OpenGL ES 2.0 functionality test failed!

|  You might need to modify the include and library search paths by editing

|  QMAKE_INCDIR_OPENGL_ES2, QMAKE_LIBDIR_OPENGL_ES2 and QMAKE_LIBS_OPENGL_ES2 in

|  /home/leonardo/Downloads/fsl-community-bsp/build/tmp/work/wandboard_quad-poky-linux-gnueabi/qt4-x11-free/4.8.5-r0/qt-everywhere-opensource-src-4.8.5/mkspecs/linux-gnueabi-oe-g++.

 

(...)

 

Task 418 (/home/leonardo/Downloads/fsl-community-bsp/sources/poky/meta/recipes-qt/qt4/qt4-x11-free_4.8.5.bb, do_configure) failed with exit code '1

NOTE: Tasks Summary: Attempted 3033 tasks of which 3028 didn't need to be rerun and 1 failed.

Waiting for 0 running tasks to finish:

 

Summary: 1 task failed:

  /home/leonardo/Downloads/fsl-community-bsp/sources/poky/meta/recipes-qt/qt4/qt4-x11-free_4.8.5.bb, do_configure

Summary: There was 1 ERROR message shown, returning a non-zero exit code

 

 

Can someone give me any help ?

 

Thanks.

 

Build Configuration:

BB_VERSION        = "1.19.1"

BUILD_SYS         = "x86_64-linux"

NATIVELSBSTRING   = "Ubuntu-13.04"

TARGET_SYS        = "arm-poky-linux-gnueabi"

MACHINE           = "wandboard-quad"

DISTRO            = "poky"

DISTRO_VERSION    = "1.4+snapshot-20130831"

TUNE_FEATURES     = "armv7a vfp neon callconvention-hard cortexa9"

TARGET_FPU        = "vfp-neon"

meta             

meta-yocto        = "(nobranch):d63e6a925a78f0f5fb7e7329b5cc2993f1ec9b14"

meta-oe           = "(nobranch):72e23c12296fbc77193898c38426add58d0c2d71"

meta-fsl-arm      = "(nobranch):13c91f33e30ab1c0d2a20e414753008bbdabca95"

meta-fsl-arm-extra = "(nobranch):69bed23e70f84ff9a67b9a416f588a98fb72aa1e"

meta-fsl-demos    = "(nobranch):d38f95c8f5c12c8fa38c962daf7190dba1915672"

Original Attachment has been moved to: yocto-error.txt.zip

Labels (1)
Tags (3)
0 Kudos
5 Replies

651 Views
LeonardoSandova
Specialist I

DId you start from a fresh build directory? if no, you tmp may be 'poluted' from previous builds. Try cleaning sstate data from that particular pkg. bitbake -c cleansstate pkg

Leo

0 Kudos

651 Views
leonardoassad
Contributor I

Yes, I tried with a fresh build and the same error happen. 

And I tried again, fresh build folder, with this command: bitbake qt4-x11-free    . After some time, same error happen.

I followed this guide for fresh start:

mkdir ~/bin

curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo

chmod a+x ~/bin/repo

PATH=${PATH}:~/bin

mkdir fsl-community-bsp

cd fsl-community-bsp

repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b master

repo sync

MACHINE=wandboard-quad

. ./setup-environment build

0 Kudos

651 Views
LeonardoSandova
Specialist I

Seems like a bug. Please send an email to the meta-freescale mailing list.

Leo

0 Kudos

651 Views
leonardoassad
Contributor I

I manually patched the meta-fsl-arm and I am able to make the fsl-image-gui.

I used the latest three patchs from Otavio Salvador:

[meta-freescale] [meta-fsl-arm PATCH 1/3] libdrm: Add fix to avoid GPU freeze

[meta-freescale] [meta-fsl-arm PATCH 2/3] gpu-viv-bin-mx6q.inc: If Wayland and X11 are enabled, default to X11

[meta-freescale] [meta-fsl-arm PATCH 3/3] xf86-video-imxfb-vivante: Remove unused patches

Now, I will test with this three options:

PACKAGE_CLASSES ?= "package_deb"

IMAGE_FEATURES += " package-management"

IMAGE_INSTALL_append += " apt"

0 Kudos

651 Views
leonardoassad
Contributor I

And this error happens:

| dpkg-scanpackages: info: Wrote 74 entries to output Packages file.

| Reading package lists...

| W: Unable to read /home/leonardo/Downloads/fsl-community-bsp/build/tmp/sysroots/x86_64-linux/etc/apt/sources.list.d/ - DirectoryExists (2: No such file or directory)

| W: Unable to read /home/leonardo/Downloads/fsl-community-bsp/build/tmp/sysroots/x86_64-linux/etc/apt/sources.list - RealFileExists (2: No such file or directory)

| Reading package lists...

| Building dependency tree...

| W: Unable to read /home/leonardo/Downloads/fsl-community-bsp/build/tmp/sysroots/x86_64-linux/etc/apt/sources.list.d/ - DirectoryExists (2: No such file or directory)

| W: Unable to read /home/leonardo/Downloads/fsl-community-bsp/build/tmp/sysroots/x86_64-linux/etc/apt/sources.list - RealFileExists (2: No such file or directory)

| W: You may want to run apt-get update to correct these problems

| E: Unable to locate package locale-base-en-us

| WARNING: /home/leonardo/Downloads/fsl-community-bsp/build/tmp/work/wandboard_quad-poky-linux-gnueabi/fsl-image-gui/1.0-r0/temp/run.do_rootfs.1224:1 exit 1 from

|   exit 1

| ERROR: Function failed: do_rootfs (log file is located at /home/leonardo/Downloads/fsl-community-bsp/build/tmp/work/wandboard_quad-poky-linux-gnueabi/fsl-image-gui/1.0-r0/temp/log.do_rootfs.1224)

ERROR: Task 7 (/home/leonardo/Downloads/fsl-community-bsp/sources/meta-fsl-demos/recipes-fsl/images/fsl-image-gui.bb, do_rootfs) failed with exit code '1'

NOTE: Tasks Summary: Attempted 6416 tasks of which 5031 didn't need to be rerun and 1 failed.

No currently running tasks (6416 of 6417)

PACKAGE_CLASSES ?= "package_deb"

IMAGE_FEATURES += " package-management"

IMAGE_INSTALL_append += " apt"

0 Kudos