qt4-tools-native_4.4.3.bb failed
Hi,
I'm building the next image:
IMAGE_PREPROCESS_COMMAND = "create_etc_timestamp"
ANGSTROM_EXTRA_INSTALL ?= ""
DEPENDS = "task-base-extended \
${@base_contains("MACHINE_FEATURES", "screen", "psplash-zap", "",d)} \
mplayer omapfbplay \
qt4-embedded \
gdb \
rt73-firmware wireless-tools zd1211-firmware \
"IMAGE_INSTALL = "task-base-extended \
${ANGSTROM_EXTRA_INSTALL} \
${@base_contains("MACHINE_FEATURES", "screen", "psplash-zap", "",d)} \
mplayer omapfbplay \
qt4-embedded \
gdb \
rt73-firmware wireless-tools zd1211-firmware \
"export IMAGE_BASENAME = "enrico-image"IMAGE_LINGUAS = ""
inherit image
But I have the next error:
NOTE: package qt4-tools-native-4.4.3-r2: task do_compile: started
ERROR: function do_compile failed
ERROR: see log in /home/enrico/oe/tmp/work/i686-linux/qt4-tools-native-4.4.3-r2/temp/log.do_compile.21027
NOTE: Task failed: /home/enrico/oe/tmp/work/i686-linux/qt4-tools-native-4.4.3-r2/temp/log.do_compile.21027
NOTE: package qt4-tools-native-4.4.3-r2: task do_compile: failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/enrico/oe/openembedded/recipes/qt4/qt4-tools-native_4.4.3.bb do_compile failed
ERROR: Task 1237 (/home/enrico/oe/openembedded/recipes/qt4/qt4-tools-native_4.4.3.bb, do_compile) failed
NOTE: Tasks Summary: Attempted 1354 tasks of which 1354 didn't need to be rerun and 1 failed.
ERROR: '/home/enrico/oe/openembedded/recipes/qt4/qt4-tools-native_4.4.3.bb' failed
Regards
Enrico Castro
NOTE: make CC=ccache gcc CXX=ccache g++ make: Nothing to be done for `first'.
NOTE: make CC=ccache gcc CXX=ccache g++ make: Nothing to be done for `first'.
NOTE: make CC=ccache gcc CXX=ccache g++ make: Nothing to be done for `first'.
NOTE: make CC=ccache gcc CXX=ccache g++ make: Nothing to be done for `first'.
NOTE: make CC=ccache gcc CXX=ccache g++ make: Nothing to be done for `first'.
NOTE: make CC=ccache gcc CXX=ccache g++ g++ -fno-exceptions -Wl,-rpath,/home/enrico/oe/tmp/staging/i686-linux/usr/lib -Wl,-rpath,/home/enrico/oe/tmp/staging/i686-linux/usr/lib -o ../../../bin/uic .obj/release-static-emb-x86/customwidgetsinfo.o .obj/release-static-emb-x86/databaseinfo.o .obj/release-static-emb-x86/driver.o .obj/release-static-emb-x86/treewalker.o .obj/release-static-emb-x86/ui4.o .obj/release-static-emb-x86/uic.o .obj/release-static-emb-x86/validator.o .obj/release-static-emb-x86/cppextractimages.o .obj/release-static-emb-x86/cppwritedeclaration.o .obj/release-static-emb-x86/cppwriteicondata.o .obj/release-static-emb-x86/cppwriteicondeclaration.o .obj/release-static-emb-x86/cppwriteiconinitialization.o .obj/release-static-emb-x86/cppwriteincludes.o .obj/release-static-emb-x86/cppwriteinitialization.o .obj/release-static-emb-x86/main.o .obj/release-static-emb-x86/qglobal.o .obj/release-static-emb-x86/qmalloc.o .obj/release-static-emb-x86/qnumeric.o .obj/release-static-emb-x86/qbuffer.o .obj/release-static-emb-x86/qdir.o .obj/release-static-emb-x86/qdiriterator.o .obj/release-static-emb-x86/qfile.o .obj/release-static-emb-x86/qfileinfo.o .obj/release-static-emb-x86/qfsfileengine.o .obj/release-static-emb-x86/qfsfileengine_iterator.o .obj/release-static-emb-x86/qiodevice.o .obj/release-static-emb-x86/qtemporaryfile.o .obj/release-static-emb-x86/qtextstream.o .obj/release-static-emb-x86/qurl.o .obj/release-static-emb-x86/qbytearraymatcher.o .obj/release-static-emb-x86/qdatetime.o .obj/release-static-emb-x86/qhash.o .obj/release-static-emb-x86/qlistdata.o .obj/release-static-emb-x86/qlocale.o .obj/release-static-emb-x86/qmap.o .obj/release-static-emb-x86/qstring.o .obj/release-static-emb-x86/qstringlist.o .obj/release-static-emb-x86/qvector.o .obj/release-static-emb-x86/qabstractfileengine.o .obj/release-static-emb-x86/qbytearray.o .obj/release-static-emb-x86/qbitarray.o .obj/release-static-emb-x86/qvsnprintf.o .obj/release-static-emb-x86/qregexp.o .obj/release-static-emb-x86/qmetatype.o .obj/release-static-emb-x86/qvariant.o .obj/release-static-emb-x86/qtextcodec.o .obj/release-static-emb-x86/qutfcodec.o .obj/release-static-emb-x86/qisciicodec.o .obj/release-static-emb-x86/qtsciicodec.o .obj/release-static-emb-x86/qlatincodec.o .obj/release-static-emb-x86/qsimplecodec.o .obj/release-static-emb-x86/qxmlutils.o .obj/release-static-emb-x86/qdom.o .obj/release-static-emb-x86/qxml.o .obj/release-static-emb-x86/qfsfileengine_unix.o .obj/release-static-emb-x86/qfsfileengine_iterator_unix.o -lz -ldl/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make: *** [../../../bin/uic] Error 1
FATAL: oe_runmake failed
Quoted 3 lines · Enrico Castro
ERROR: function
do_compilefailed
ERROR: see log in/home/enrico/oe/tmp/work/i686-linux/qt4-tools-native-4.4.3-r2/temp/log.do_compile.21027
Could you please post that log?
regards,
Koen
Quoted 1 line
Could you please post that log?
Even better, consider using "oestats" to automatically report build success / failures to the QA server:
http://wiki.openembedded.net/index.php/How_do_I_send_automatic_success_and_failure_reports
Signature · 2 lines
Jeremy LAINE Bolloré telecom | 11bis, rue Scribe | F-75009 Paris
Enrico,
It looks like g++ is not picking up libz from native staging:
g++ -fno-exceptions -Wl,-rpath,/home/enrico/oe/tmp/staging/i686-linux/usr/lib -Wl,-rpath,/home/enrico/oe/tmp/staging/i686-linux/usr/lib -o ../../../bin/uic [snip].obj/release-static-emb-x86/qfsfileengine_iterator_unix.o -lz -ldl/usr/bin/ld: cannot find -lz
This is very odd as qt4-tools-native DEPENDS on zlib-native, so libz should be available. Could you please post the output of:
ls -l /home/enrico/oe/tmp/staging/i686-linux/usr/lib/libz.*
Cheers,
Signature · 2 lines
Jeremy LAINE Bolloré telecom | 11bis, rue Scribe | F-75009 Paris