[OE-core] [PATCH] util-linux: 2.28.1 -> 2.29
Trevor Woerner
twoerner at gmail.com
Tue Dec 20 15:14:01 UTC 2016
On Tue 2016-12-20 @ 03:05:20 PM, Burton, Ross wrote:
> On 20 December 2016 at 15:00, Burton, Ross <ross.burton at intel.com> wrote:
>
> > This would be the autoconf macro UL_NCURSES_CHECK in m4/ul.m4, which calls
> > ncurses6-config. I thought the sysroot was ahead of the host so it should
> > find our broken script before the hosts...
> >
>
> $ bitbake -e util-linux-native -e
> ...
> export
> PATH="/home/ross/Yocto/poky/scripts/native-intercept:/data/poky-master/tmp-glibc/sysroots-uninative/x86_64-linux/usr/bin:/home/ross/Yocto/poky/scripts:/data/poky-master/tmp-glibc/sysroots/x86_64-linux/usr/bin/x86_64-linux:/data/poky-master/tmp-glibc/sysroots/x86_64-linux/usr/bin:/data/poky-master/tmp-glibc/sysroots/x86_64-linux/usr/sbin:/data/poky-master/tmp-glibc/sysroots/x86_64-linux/usr/bin:/data/poky-master/tmp-glibc/sysroots/x86_64-linux/sbin:/data/poky-master/tmp-glibc/sysroots/x86_64-linux/bin:/home/ross/Yocto/poky/scripts:/home/ross/Yocto/poky/bitbake/bin:/home/ross/BUILD/bin:/home/ross/bin:/home/ross/Yocto/bb/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
>
> Definitely the sysroot before the host.
I have:
export PATH="/z/layerindex-master/layers/openembedded-core/scripts/native-intercept:/z/layerindex-master/raspi3/tmp-glibc/sysroots-uninative/x86_64-linux/usr/bin:/z/layerindex-master/layers/openembedded-core/scripts:/z/layerindex-master/raspi3/tmp-glibc/sysroots/x86_64-linux/usr/bin/x86_64-linux:/z/layerindex-master/raspi3/tmp-glibc/sysroots/x86_64-linux/usr/bin:/z/layerindex-master/raspi3/tmp-glibc/sysroots/x86_64-linux/usr/sbin:/z/layerindex-master/raspi3/tmp-glibc/sysroots/x86_64-linux/usr/bin:/z/layerindex-master/raspi3/tmp-glibc/sysroots/x86_64-linux/sbin:/z/layerindex-master/raspi3/tmp-glibc/sysroots/x86_64-linux/bin:/z/layerindex-master/layers/openembedded-core/scripts:/z/layerindex-master/layers/bitbake/bin:/home/trevor/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/home/trevor/local/packages/apache-maven-2.2.1/bin"
which also shows my sysroots before the host.
In my sysroot I have:
$ find . -name "*curse*" -print | grep config
./x86_64-linux/usr/share/x86_64-linux_config_site.d/ncurses_config
./x86_64-linux/usr/lib/pkgconfig/ncurses++.pc
./x86_64-linux/usr/lib/pkgconfig/ncurses.pc
./x86_64-linux/usr/lib/pkgconfig/ncursesw.pc
./x86_64-linux/usr/lib/pkgconfig/ncurses++w.pc
./x86_64-linux/usr/bin/crossscripts/ncurses5-config
./x86_64-linux/usr/bin/crossscripts/ncursesw5-config
./x86_64-linux/usr/bin/ncurses5-config
./x86_64-linux/usr/bin/ncursesw5-config
./raspberrypi3/usr/share/arm-oe-linux-gnueabi_config_site.d/ncurses_config
./raspberrypi3/usr/lib/pkgconfig/ncurses++.pc
./raspberrypi3/usr/lib/pkgconfig/ncurses.pc
./raspberrypi3/usr/lib/pkgconfig/ncursesw.pc
./raspberrypi3/usr/lib/pkgconfig/ncurses++w.pc
./raspberrypi3/usr/bin/crossscripts/ncurses5-config
./raspberrypi3/usr/bin/crossscripts/ncursesw5-config
So I only have the version 5 -config scripts, but my host has version 5 and
version 6 -config scripts. I'm guessing we need a dummy ncurses{w}6-config
script in the sysroot too (?)
More information about the Openembedded-core
mailing list