[poky] [PATCH] perl-native: Update for userelocatableinc and non-shared libperl
Koen Kooi
koen at dominion.thruhere.net
Mon Jan 31 22:26:07 PST 2011
Op 28 jan 2011, om 22:07 heeft Tom Rini het volgende geschreven:
> Rather than using a wrapper switch to using upstreams support for
> relocation. While in here, bring in the mangling to use
> /usr/bin/env perl rather than /full/path/to in order to work
> in deep directory paths.
After this patch (but I haven't bisected it yet), libxml-parser-perl-native fails to build:
ERROR: Logfile of failure stored in: /OE/tentacle/build/tmp-angstrom_2010_x/work/x86_64-linux/libxml-parser-perl-native-2.36-r0/temp/log.do_populate_sysroot.10124
Log data follows:
| cp: cannot stat `/OE/tentacle/build/tmp-angstrom_2010_x/work/x86_64-linux/libxml-parser-perl-native-2.36-r0/image/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/usr/bin/*': No such file or directory
This is due to staging.bbclass' way of checking to see wether the dir is empty or not. I my case it's not empty:
koen at dominion:/OE/tentacle$ ls /OE/tentacle/build/tmp-angstrom_2010_x/work/x86_64-linux/libxml-parser-perl-native-2.36-r0/image/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/usr/bin/ -la
total 12
drwxr-xr-x 3 koen koen 4096 2011-01-31 21:55 ./
drwxr-xr-x 4 koen koen 4096 2011-01-31 21:55 ../
drwxr-xr-x 3 koen koen 4096 2011-01-31 21:55 ..ntacle/
So there are 2 bugs here:
1) staging.bbclass won't copy dotfiles
2) libxml-parser-perl-native puts part of the build path in ${D}${bindir}
regards,
Koen
More information about the poky
mailing list