Richard Purdie : bitbake.conf: Add chrpath-native to ASSUME_PROVIDED
A message that is not in the archive (sent off-list or not yet received): 20121002161853.6075610353@opal
Quoted 5 lines · On Tue, Oct 02, 2012 at 04:18:50PM +0000, [email protected] wrote:
Module: openembedded-core.git Branch: master Commit: 97a3ea712003e8d48dc68c282e656591f39d2d1a URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=97a3ea712003e8d48dc68c282e656591f39d2d1a
Quoted 8 lines
Author: Richard Purdie <[email protected]> Date: Tue Oct 2 14:12:21 2012 +0100bitbake.conf: Add chrpath-native to
ASSUME_PROVIDEDWe assume chrpath is provided natively so it should be listed in
ASSUME_PROVIDED.Signed-off-by Richard Purdie <[email protected]>
This breaks do_install in gpsd:
| arm-oe-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 --sysroot=/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/nokia900 -o gpsd --sysroot=/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/nokia900 -pthread -Wl,-rpath=/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gpsd-3.7-r9/gpsd-3.7 -Wl,-rpath=/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gpsd-3.7-r9/image/usr/lib gpsd.o ntpshm.o shmexport.o dbusexport.o sd_socket.o -L. -L/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/nokia900/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gpsd-3.7-r9/image/usr/lib -L/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/nokia900/lib -lrt -lcap -lbluetooth -lgpsd -lusb-1.0 -lbluetooth -lgps -lm -lcap | Install file: "gpsd" as "/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gpsd-3.7-r9/image/usr/sbin/gpsd" | chrpath -d "/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gpsd-3.7-r9/image/usr/sbin/gpsd" | `/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gpsd-3.7-r9/image/usr/sbin/gpsd' probably isn't a 64-bit LSB-first ELF file. | elf_open: Exec format error | scons: *** [/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gpsd-3.7-r9/image/usr/sbin/gpsd] Error 1 | scons: building terminated because of errors. | ERROR: scons install execution failed. | ERROR: Function failed: do_install (see /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gpsd-3.7-r9/temp/log.do_install.8833 for further information)
NOTE: recipe gpsd-3.7-r9: task do_install: Failed
I guess I can add chrpath-replacement-native to DEPENDS, but do you have any idea why chrpath in Ubuntu 14.04.1 does not support arm binaries?
$ chrpath --version chrpath version 0.13
Cheers,
Quoted 32 lines
---
meta/conf/bitbake.conf | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)meta/conf/bitbake.conf +2
-0@@ -161,6 +161,7 @@ DATETIME = "${DATE}${TIME}" # its own in staging ASSUME_PROVIDED = "\ bzip2-native \ + chrpath-native \ git-native \ grep-native \ diffstat-native \@@ -170,6 +171,7 @@ ASSUME_PROVIDED = "\ tar-native \ virtual/libintl-native \ " +# gzip-native should be listed above? ################################################################## # Package default variables._______________________________________________
Openembedded-commits mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commits
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 26 lines · Martin Jansa
Quoted 5 lines · On Tue, Oct 02, 2012 at 04:18:50PM +0000, [email protected] wrote:
Module: openembedded-core.git Branch: master Commit: 97a3ea712003e8d48dc68c282e656591f39d2d1a URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=97a3ea712003e8d48dc68c282e656591f39d2d1aQuoted 8 lines
Author: Richard Purdie <[email protected]> Date: Tue Oct 2 14:12:21 2012 +0100bitbake.conf: Add chrpath-native to
ASSUME_PROVIDEDWe assume chrpath is provided natively so it should be listed in
ASSUME_PROVIDED.Signed-off-by Richard Purdie <[email protected]>This breaks
do_installin gpsd:| arm-oe-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 --sysroot=/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/nokia900 -o gpsd --sysroot=/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/nokia900 -pthread -Wl,-rpath=/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gpsd-3.7-r9/gpsd-3.7 -Wl,-rpath=/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gpsd-3.7-r9/image/usr/lib gpsd.o ntpshm.o shmexport.o dbusexport.o sd_socket.o -L. -L/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/nokia900/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gpsd-3.7-r9/image/usr/lib -L/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/nokia900/lib -lrt -lcap -lbluetooth -lgpsd -lusb-1.0 -lbluetooth -lgps -lm -lcap | Install file: "gpsd" as "/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gpsd-3.7-r9/image/usr/sbin/gpsd" | chrpath -d "/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gpsd-3.7-r9/image/usr/sbin/gpsd" | `/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gpsd-3.7-r9/image/usr/sbin/gpsd' probably isn't a 64-bit LSB-first ELF file. | elf_open: Exec format error | scons: *** [/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gpsd-3.7-r9/image/usr/sbin/gpsd] Error 1 | scons: building terminated because of errors. | ERROR: scons install execution failed. | ERROR: Function failed: do_install (see /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gpsd-3.7-r9/temp/log.do_install.8833 for further information)
Quoted 6 lines
NOTE: recipe gpsd-3.7-r9: task
do_install: FailedI guess I can add chrpath-replacement-native to DEPENDS, but do you have any idea why chrpath in Ubuntu 14.04.1 does not support arm binaries?
$ chrpath --version chrpath version 0.13
Er, chrpath should only get used on native/nativesdk/crosssdk/cross binaries. Its not expected to work on target binaries and we should never be running this there.
Is this error coming from something we're putting in do_install or is it from gpsd's makefile?
I think this might be a problem in the Makefile and not from OE itself.
Cheers,
Richard
Quoted 34 lines · Richard Purdie
Quoted 26 lines · Martin Jansa
Quoted 5 lines · On Tue, Oct 02, 2012 at 04:18:50PM +0000, [email protected] wrote:
Module: openembedded-core.git Branch: master Commit: 97a3ea712003e8d48dc68c282e656591f39d2d1a URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=97a3ea712003e8d48dc68c282e656591f39d2d1aQuoted 8 lines
Author: Richard Purdie <[email protected]> Date: Tue Oct 2 14:12:21 2012 +0100bitbake.conf: Add chrpath-native to
ASSUME_PROVIDEDWe assume chrpath is provided natively so it should be listed in
ASSUME_PROVIDED.Signed-off-by Richard Purdie <[email protected]>This breaks
do_installin gpsd:| arm-oe-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 --sysroot=/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/nokia900 -o gpsd --sysroot=/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/nokia900 -pthread -Wl,-rpath=/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gpsd-3.7-r9/gpsd-3.7 -Wl,-rpath=/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gpsd-3.7-r9/image/usr/lib gpsd.o ntpshm.o shmexport.o dbusexport.o sd_socket.o -L. -L/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/nokia900/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gpsd-3.7-r9/image/usr/lib -L/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/nokia900/lib -lrt -lcap -lbluetooth -lgpsd -lusb-1.0 -lbluetooth -lgps -lm -lcap | Install file: "gpsd" as "/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gpsd-3.7-r9/image/usr/sbin/gpsd" | chrpath -d "/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gpsd-3.7-r9/image/usr/sbin/gpsd" | `/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gpsd-3.7-r9/image/usr/sbin/gpsd' probably isn't a 64-bit LSB-first ELF file. | elf_open: Exec format error | scons: *** [/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gpsd-3.7-r9/image/usr/sbin/gpsd] Error 1 | scons: building terminated because of errors. | ERROR: scons install execution failed. | ERROR: Function failed: do_install (see /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gpsd-3.7-r9/temp/log.do_install.8833 for further information)Quoted 6 lines
NOTE: recipe gpsd-3.7-r9: task
do_install: FailedI guess I can add chrpath-replacement-native to DEPENDS, but do you have any idea why chrpath in Ubuntu 14.04.1 does not support arm binaries?
$ chrpath --version chrpath version 0.13
Quoted 8 lines
Er, chrpath should only get used on native/nativesdk/crosssdk/cross binaries. Its not expected to work on target binaries and we should never be running this there.
Is this error coming from something we're putting in
do_installor is it from gpsd's makefile?I think this might be a problem in the
Makefileand not from OE itself.
It's used from gpsd's SConstruct.
I can remove it there, but that results in
WARNING: QA Issue: libgps:
/work/armv4t-oe-linux-gnueabi/gpsd/gpsd-3.5-r0/packages-split/libgps/usr/lib/libgps.so.20.0 contains probably-redundant RPATH /usr/lib
or
WARNING: QA Issue: package libgps contains bad RPATH /OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/gpsd/gpsd-3.5-r0/image/usr/lib
in file /OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/gpsd/gpsd-3.5-r0/packages-split/libgps/usr/lib/libgps.so.20.0
Cheers,
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 46 lines · Martin Jansa
Quoted 34 lines · Richard Purdie
Quoted 26 lines · Martin Jansa
Quoted 5 lines · On Tue, Oct 02, 2012 at 04:18:50PM +0000, [email protected] wrote:
Module: openembedded-core.git Branch: master Commit: 97a3ea712003e8d48dc68c282e656591f39d2d1a URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=97a3ea712003e8d48dc68c282e656591f39d2d1aQuoted 8 lines
Author: Richard Purdie <[email protected]> Date: Tue Oct 2 14:12:21 2012 +0100bitbake.conf: Add chrpath-native to
ASSUME_PROVIDEDWe assume chrpath is provided natively so it should be listed in
ASSUME_PROVIDED.Signed-off-by Richard Purdie <[email protected]>This breaks
do_installin gpsd:| arm-oe-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 --sysroot=/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/nokia900 -o gpsd --sysroot=/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/nokia900 -pthread -Wl,-rpath=/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gpsd-3.7-r9/gpsd-3.7 -Wl,-rpath=/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gpsd-3.7-r9/image/usr/lib gpsd.o ntpshm.o shmexport.o dbusexport.o sd_socket.o -L. -L/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/nokia900/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gpsd-3.7-r9/image/usr/lib -L/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots/nokia900/lib -lrt -lcap -lbluetooth -lgpsd -lusb-1.0 -lbluetooth -lgps -lm -lcap | Install file: "gpsd" as "/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gpsd-3.7-r9/image/usr/sbin/gpsd" | chrpath -d "/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gpsd-3.7-r9/image/usr/sbin/gpsd" | `/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gpsd-3.7-r9/image/usr/sbin/gpsd' probably isn't a 64-bit LSB-first ELF file. | elf_open: Exec format error | scons: *** [/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gpsd-3.7-r9/image/usr/sbin/gpsd] Error 1 | scons: building terminated because of errors. | ERROR: scons install execution failed. | ERROR: Function failed: do_install (see /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gpsd-3.7-r9/temp/log.do_install.8833 for further information)Quoted 6 lines
NOTE: recipe gpsd-3.7-r9: task
do_install: FailedI guess I can add chrpath-replacement-native to DEPENDS, but do you have any idea why chrpath in Ubuntu 14.04.1 does not support arm binaries?
$ chrpath --version chrpath version 0.13Quoted 8 lines
Er, chrpath should only get used on native/nativesdk/crosssdk/cross binaries. Its not expected to work on target binaries and we should never be running this there.
Is this error coming from something we're putting in
do_installor is it from gpsd's makefile?I think this might be a problem in the
Makefileand not from OE itself.It's used from gpsd's SConstruct.
Quoted 9 lines
I can remove it there, but that results in
WARNING: QA Issue: libgps:
/work/armv4t-oe-linux-gnueabi/gpsd/gpsd-3.5-r0/packages-split/libgps/usr/lib/libgps.so.20.0 contains probably-redundant RPATH/usr/lib
or
WARNING: QA Issue: package libgps contains bad RPATH /OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/gpsd/gpsd-3.5-r0/image/usr/lib
in file /OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/gpsd/gpsd-3.5-r0/packages-split/libgps/usr/lib/libgps.so.20.0
Its clearly a gpsd build issue rather than anything in OE-Core. The former is a mild performance issue, the latter a potential security hole.
Ideally, just stop gpsd putting any rpaths in...
Cheers,
Richard