* qt4-tools-native_4.4.3.bb failed
@ 2009-04-01 8:13 Enrico Castro
2009-04-01 8:29 ` Koen Kooi
2009-04-01 8:47 ` Jeremy Lainé
0 siblings, 2 replies; 7+ messages in thread
From: Enrico Castro @ 2009-04-01 8:13 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 4733 bytes --]
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: qt4-tools-native_4.4.3.bb failed
2009-04-01 8:13 Enrico Castro
@ 2009-04-01 8:29 ` Koen Kooi
2009-04-01 8:37 ` Jeremy Lainé
2009-04-01 8:47 ` Jeremy Lainé
1 sibling, 1 reply; 7+ messages in thread
From: Koen Kooi @ 2009-04-01 8:29 UTC (permalink / raw)
To: openembedded-devel
On 01-04-09 10:13, Enrico Castro wrote:
> 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
Could you please post that log?
regards,
Koen
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: qt4-tools-native_4.4.3.bb failed
2009-04-01 8:29 ` Koen Kooi
@ 2009-04-01 8:37 ` Jeremy Lainé
0 siblings, 0 replies; 7+ messages in thread
From: Jeremy Lainé @ 2009-04-01 8:37 UTC (permalink / raw)
To: openembedded-devel
> 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
--
Jeremy LAINE
Bolloré telecom | 11bis, rue Scribe | F-75009 Paris
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: qt4-tools-native_4.4.3.bb failed
2009-04-01 8:13 Enrico Castro
2009-04-01 8:29 ` Koen Kooi
@ 2009-04-01 8:47 ` Jeremy Lainé
1 sibling, 0 replies; 7+ messages in thread
From: Jeremy Lainé @ 2009-04-01 8:47 UTC (permalink / raw)
To: openembedded-devel
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,
--
Jeremy LAINE
Bolloré telecom | 11bis, rue Scribe | F-75009 Paris
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: qt4-tools-native_4.4.3.bb failed
@ 2009-04-01 9:34 Enrico Castro
2009-04-02 7:54 ` Jeremy Lainé
0 siblings, 1 reply; 7+ messages in thread
From: Enrico Castro @ 2009-04-01 9:34 UTC (permalink / raw)
To: openembedded-devel
> Could you please post that log?
http://lists.linuxtogo.org/pipermail/openembedded-devel/attachments/20090401/62fe5532/attachment.asc
> 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,
> --
> Jeremy LAINE
> Bolloré telecom | 11bis, rue Scribe | F-75009 Paris
>
The output is:
-rw-r--r-- 1 enrico enrico 78752 2009-03-27 12:36 /home/enrico/oe/tmp/staging/i686-linux/usr/lib/libz.a
-rwxr-xr-x 1 enrico enrico 978 2009-03-27 12:36 /home/enrico/oe/tmp/staging/i686-linux/usr/lib/libz.la
lrwxrwxrwx 1 enrico enrico 13 2009-03-27 12:36
/home/enrico/oe/tmp/staging/i686-linux/usr/lib/libz.so -> libz.so.1.2.3
lrwxrwxrwx 1 enrico enrico 13 2009-03-27 12:36
/home/enrico/oe/tmp/staging/i686-linux/usr/lib/libz.so.1 -> libz.so.1.2.3
-rwxr-xr-x 1 enrico enrico 79084 2009-03-27 12:36
/home/enrico/oe/tmp/staging/i686-linux/usr/lib/libz.so.1.2.3
Regards
Enrico
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: qt4-tools-native_4.4.3.bb failed
2009-04-01 9:34 qt4-tools-native_4.4.3.bb failed Enrico Castro
@ 2009-04-02 7:54 ` Jeremy Lainé
2009-04-02 18:00 ` Enrico Castro
0 siblings, 1 reply; 7+ messages in thread
From: Jeremy Lainé @ 2009-04-02 7:54 UTC (permalink / raw)
To: openembedded-devel
Enrico,
I have managed to reproduce your problem in a chrooted environment which did not have the
zlib development files. I have just commited a patch which fixes the problem for me:
http://cgit.openembedded.org/cgit.cgi?url=openembedded/commit/&id=8f61b0343b6c56644fdaa8fa3e84e1c29d3f47b9
Could you please try building qt4-tools-native again and let me know whether it works?
Cheers,
--
Jeremy LAINE
Bolloré telecom | 11bis, rue Scribe | F-75009 Paris
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: qt4-tools-native_4.4.3.bb failed
2009-04-02 7:54 ` Jeremy Lainé
@ 2009-04-02 18:00 ` Enrico Castro
0 siblings, 0 replies; 7+ messages in thread
From: Enrico Castro @ 2009-04-02 18:00 UTC (permalink / raw)
To: openembedded-devel
Thank you very much, your patch works.
Regards,
Jeremy Lainé ha scritto:
> Enrico,
>
> I have managed to reproduce your problem in a chrooted environment which did not have the
> zlib development files. I have just commited a patch which fixes the problem for me:
>
> http://cgit.openembedded.org/cgit.cgi?url=openembedded/commit/&id=8f61b0343b6c56644fdaa8fa3e84e1c29d3f47b9
>
> Could you please try building qt4-tools-native again and let me know whether it works?
>
> Cheers,
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-04-02 18:03 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-01 9:34 qt4-tools-native_4.4.3.bb failed Enrico Castro
2009-04-02 7:54 ` Jeremy Lainé
2009-04-02 18:00 ` Enrico Castro
-- strict thread matches above, loose matches on Subject: below --
2009-04-01 8:13 Enrico Castro
2009-04-01 8:29 ` Koen Kooi
2009-04-01 8:37 ` Jeremy Lainé
2009-04-01 8:47 ` Jeremy Lainé
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.