QA RPATH error for c++ packages?
Good evening OE folks,
have started to investigate QA RPATH error for clutter-box2d. More or less accidental I fell over the following lines in 'clutter-box2d-0.10.0- r2.0+git4e72b9c135a9439b82d801c62422531db611f98b/git/clutter- box2d/.libs/libclutter-box2d-0.10.lai':
| # Libraries that this one depends upon. | dependency_libs=' /usr/lib/libclutter-eglx-1.0.la -lGLESv2 -lEGL | /usr/lib/libatk-1.0.la /usr/lib/libpangocairo-1.0.la | /usr/lib/libpangoft2-1.0.la /usr/lib/libgdk_pixbuf-2.0.la | /usr/lib/libgio-2.0.la -lresolv /usr/lib/libXext.la /usr/lib/libXdamage.la | /usr/lib/libXcomposite.la /usr/lib/libjson-glib-1.0.la | /usr/lib/libpango-1.0.la /usr/lib/libcairo.la /usr/lib/libpixman-1.la | /usr/lib/libfontconfig.la /usr/lib/libexpat.la /usr/lib/libfreetype.la | /usr/lib/libpng12.la /usr/lib/libXrender.la /usr/lib/libz.la | /usr/lib/libgmodule-2.0.la /usr/lib/libXfixes.la /usr/lib/libX11.la | /usr/lib/libxcb.la /usr/lib/libpthread-stubs.la /usr/lib/libXau.la | /usr/lib/libXdmcp.la -ldl /usr/lib/libgobject-2.0.la | /usr/lib/libgthread-2.0.la -lpthread -lrt /usr/lib/libglib-2.0.la | /home/Superandi/tmp/sysroots/armv7a-angstrom-linux-
gnueabi/usr/lib/libstdc++.la'
All except libstdc++.la come with target folder.
Hm. clutter-box2d is the only lib of clutter-'suite' which has c++ sources (I have checked) and the only one with RPATH QA error...
OK let's see if there are other *.lai files containing host link to 'libstdc++.la':
| [Superandi@localhost work]$ grep '/home/Superandi/tmp/sysroots/armv7a- angstrom-linux-gnueabi/usr/lib/libstdc++.la' find -name "*.lai" | ./armv7a-angstrom-linux-gnueabi/db-5.0.21- r3/db-5.0.21/build_unix/.libs/libdb-5.0.lai: ...
| ./armv7a-angstrom-linux-gnueabi/gnutls-2.10.4-r10.0/gnutls-2.10.4 ... | ./armv7a-angstrom-linux-gnueabi/libcdio-0.82-r3.0 ... | ./armv7a-angstrom-linux-gnueabi/schroedinger-1.0.9-r0 ... | ./armv7a-angstrom-linux-gnueabi/aspell-0.60.6-r0 ... | ./armv7a-angstrom-linux-gnueabi/enchant-1.6.0-r2 ... | ... | ./overo-angstrom-linux-gnueabi/clutter-box2d-0.10.0-
r2.0+git4e72b9c135a9439b82d801c62422531db611f98b ...
These I have seen when creating/using 'contrib/qa/collect-qa-errors.sh' !!
Have modified 'contrib/qa/collect-qa-errors.sh' to get only RPATH errors and get:
| /home/Superandi/tmp/work/armv7a-angstrom-linux-gnueabi/acl-2.2.49-r3 | /home/Superandi/tmp/work/armv7a-angstrom-linux-gnueabi/aspell-0.60.6-r0 | /home/Superandi/tmp/work/armv7a-angstrom-linux-gnueabi/curl-7.21.2-r4.0 | /home/Superandi/tmp/work/armv7a-angstrom-linux-gnueabi/db-5.0.21-r3 | /home/Superandi/tmp/work/armv7a-angstrom-linux-gnueabi/enchant-1.6.0-r2 | /home/Superandi/tmp/work/armv7a-angstrom-linux-gnueabi/gettext-0.18-r4 | /home/Superandi/tmp/work/armv7a-angstrom-linux-gnueabi/gnome-vfs-2.24.1-r3 | /home/Superandi/tmp/work/armv7a-angstrom-linux-gnueabi/gnutls-2.10.4-r10.0 | /home/Superandi/tmp/work/armv7a-angstrom-linux-gnueabi/libcdio-0.82-r3.0 | /home/Superandi/tmp/work/armv7a-angstrom-linux-gnueabi/libimobiledevice-1.0.0- r0 | /home/Superandi/tmp/work/armv7a-angstrom-linux-gnueabi/libsoup-2.2.100-r1 | /home/Superandi/tmp/work/armv7a-angstrom-linux-gnueabi/libsoup-2.4-2.32.2-r0 | /home/Superandi/tmp/work/armv7a-angstrom-linux-gnueabi/neon-0.25.5-r4 | /home/Superandi/tmp/work/armv7a-angstrom-linux-gnueabi/python-2.6.5-ml12.3 | /home/Superandi/tmp/work/armv7a-angstrom-linux-gnueabi/schroedinger-1.0.9-r0 | /home/Superandi/tmp/work/armv7a-angstrom-linux-gnueabi/tiff-3.9.4+4.0.0beta6-r0 | /home/Superandi/tmp/work/overo-angstrom-linux-gnueabi/clutter-box2d-0.10.0-
r2.0+git4e72b9c135a9439b82d801c62422531db611f98b
OK this is nothing but a hint and the full path in *.lai is surely a symptom not part of the solution.
Here I loose the track and ask if there is anybody who has an idea where to look further (or telling me that I am on the wrong track)?
time to get some sleep...
Andreas
Quoted 6 lines · Andreas Mueller
Good evening OE folks,
have started to investigate QA RPATH error for clutter-box2d. More or less accidental I fell over the following lines in 'clutter-box2d-0.10.0- r2.0+git4e72b9c135a9439b82d801c62422531db611f98b/git/clutter- box2d/.libs/libclutter-box2d-0.10.lai':
Is this recipe using its own version of libtool ? IOW is it overriding do_configure
that it gets from autotools
A message that is not in the archive (sent off-list or not yet received): [email protected]
@Khem forget the last mail - sorry
My guess is still that the QA RPATH error is caused by some generic problem with c++ sources / libstdc++ - independent of clutter-box2d or other recipes meantioned before. Hints on this are
1. ALL packages which have sysroot path for 'libstdc++.la' in '.libs/*.lai have a QA RPATH error!
2. In '/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/libstdc++.la' I find
| # Directory that this library needs to be installed in:
| libdir=/home/Superandi/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib
3. So (don't kill me) I modified '/sysroots/armv7a-angstrom-linux- gnueabi/usr/lib/libstdc++.la' to
| # Directory that this library needs to be installed in:
| libdir=/usr/lib
And rebuild some of the QA RPATH candidates mentioned before
clutter-box2d
aspell
enchant
WITHOUT QA ERRORS!!
To me it seems as matter of gcc ( in my case 4.3.3 )
| TARGET_ARCH = "arm" | TARGET_OS = "linux-gnueabi" | MACHINE = "overo" | DISTRO = "angstrom" | DISTRO_VERSION = "2010.7-test-20110217"
What do you think?
Andreas
Quoted 5 lines · Andreas Mueller
@Khem forget the last mail - sorry
My guess is still that the QA RPATH error is caused by some generic problem with c++ sources / libstdc++ - independent of clutter-box2d or other recipes meantioned before. Hints on this are
Yes it could be since gcc is not using libtool 2.4 and so libstdc++ la files will not encode the
sysroot syntax and that could cause rpath to resolve to absolute sysroot dir
Quoted 40 lines
1. ALL packages which have sysroot path for 'libstdc++.la' in '.libs/*.lai have a QA RPATH error!
2. In '/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/libstdc++.la' I find
| # Directory that this library needs to be installed in:
| libdir=/home/Superandi/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib3. So (don't kill me) I modified '/sysroots/armv7a-angstrom-linux- gnueabi/usr/lib/libstdc++.la' to
| # Directory that this library needs to be installed in:
| libdir=/usr/libAnd rebuild some of the QA RPATH candidates mentioned before
clutter-box2d
aspell
enchantWITHOUT QA ERRORS!!
To me it seems as matter of gcc ( in my case 4.3.3 )
| TARGET_ARCH = "arm" | TARGET_OS = "linux-gnueabi" | MACHINE = "overo" | DISTRO = "angstrom" | DISTRO_VERSION = "2010.7-test-20110217"What do you think?
Andreas
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Hi,
Quoted 30 lines · Andreas Mueller
@Khem forget the last mail - sorry
My guess is still that the QA RPATH error is caused by some generic problem with c++ sources / libstdc++ - independent of clutter-box2d or other recipes meantioned before. Hints on this are
1. ALL packages which have sysroot path for 'libstdc++.la' in '.libs/*.lai have a QA RPATH error!
2. In '/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/libstdc++.la' I find
| # Directory that this library needs to be installed in:
| libdir=/home/Superandi/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib3. So (don't kill me) I modified '/sysroots/armv7a-angstrom-linux- gnueabi/usr/lib/libstdc++.la' to
| # Directory that this library needs to be installed in:
| libdir=/usr/libAnd rebuild some of the QA RPATH candidates mentioned before
clutter-box2d
aspell
enchantWITHOUT QA ERRORS!!
To me it seems as matter of gcc ( in my case 4.3.3 )
Quoted 8 lines
| TARGET_ARCH = "arm" | TARGET_OS = "linux-gnueabi" | MACHINE = "overo" | DISTRO = "angstrom" | DISTRO_VERSION = "2010.7-test-20110217"What do you think?
I confirm this also works for angstrom 2008.1 where I met a qa problem in gnutlsxx.
Eric
Quoted 2 lines · On Friday 18 February 2011 12:18:00 Eric Bénard wrote:
I confirm this also works for angstrom 2008.1 where I met a qa problem in gnutlsxx.
yes another victim...
I think this issue is fixed by removing ${STAGING_DIR_TARGET} at the end of cross.bbclass.
I will prepare a patch on that but first wait for results on clean build...
Andreas
Hi,
Quoted 9 lines · Andreas Mueller
Quoted 2 lines · On Friday 18 February 2011 12:18:00 Eric Bénard wrote:
I confirm this also works for angstrom 2008.1 where I met a qa problem in gnutlsxx.
yes another victim...
I think this issue is fixed by removing ${STAGING_DIR_TARGET} at the end of cross.bbclass.
can't that come from the sed at line 43 of gcc-package-cross.inc ?
Eric