* [PATCH] util-linux: 2.28.1 -> 2.29
@ 2016-12-13 3:30 Zheng Ruoqin
2016-12-19 15:23 ` Trevor Woerner
0 siblings, 1 reply; 17+ messages in thread
From: Zheng Ruoqin @ 2016-12-13 3:30 UTC (permalink / raw)
To: openembedded-core
Upgrade util-linux from 2.28.1 to 2.29
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
---
.../util-linux/{util-linux_2.28.1.bb => util-linux_2.29.bb} | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
rename meta/recipes-core/util-linux/{util-linux_2.28.1.bb => util-linux_2.29.bb} (84%)
diff --git a/meta/recipes-core/util-linux/util-linux_2.28.1.bb b/meta/recipes-core/util-linux/util-linux_2.29.bb
similarity index 84%
rename from meta/recipes-core/util-linux/util-linux_2.28.1.bb
rename to meta/recipes-core/util-linux/util-linux_2.29.bb
index f232cb9..80638bd 100644
--- a/meta/recipes-core/util-linux/util-linux_2.28.1.bb
+++ b/meta/recipes-core/util-linux/util-linux_2.29.bb
@@ -1,4 +1,4 @@
-MAJOR_VERSION = "2.28"
+MAJOR_VERSION = "2.29"
require util-linux.inc
# To support older hosts, we need to patch and/or revert
@@ -16,8 +16,8 @@ SRC_URI += "file://configure-sbindir.patch \
file://avoid_parallel_tests.patch \
file://uuid-test-error-api.patch \
"
-SRC_URI[md5sum] = "e2d863efaf4fd330a42c5efe9f1b02b4"
-SRC_URI[sha256sum] = "3ece4ea4a34ef786b68f5c415e848390424232abd1ee00f7ee5bddc30657b60f"
+SRC_URI[md5sum] = "07b6845f48a421ad5844aa9d58edb837"
+SRC_URI[sha256sum] = "2c59ea67cc7b564104f60532f6e0a95fe17a91acb870ba8fd7e986f273abf9e7"
CACHED_CONFIGUREVARS += "scanf_cv_alloc_modifier=ms"
--
2.7.4
^ permalink raw reply related [flat|nested] 17+ messages in thread* Re: [PATCH] util-linux: 2.28.1 -> 2.29 2016-12-13 3:30 [PATCH] util-linux: 2.28.1 -> 2.29 Zheng Ruoqin @ 2016-12-19 15:23 ` Trevor Woerner 2016-12-19 20:31 ` Burton, Ross 0 siblings, 1 reply; 17+ messages in thread From: Trevor Woerner @ 2016-12-19 15:23 UTC (permalink / raw) To: Zheng Ruoqin; +Cc: openembedded-core Is anyone else seeing build failures as a result of this commit? ... [lots of lines omitted] ... | cfdisk.c:(.text+0x207b): undefined reference to `_nc_stdscr' | cfdisk.c:(.text+0x20a4): undefined reference to `_nc_stdscr' | cfdisk.c:(.text+0x2268): undefined reference to `_nc_stdscr' | cfdisk.c:(.text+0x2284): undefined reference to `_nc_acs_map' | cfdisk.c:(.text+0x2290): undefined reference to `_nc_stdscr' | cfdisk.c:(.text+0x22b9): undefined reference to `_nc_stdscr' | cfdisk.c:(.text+0x22d4): undefined reference to `_nc_acs_map' | cfdisk.c:(.text+0x22e5): undefined reference to `_nc_stdscr' | cfdisk.c:(.text+0x2304): undefined reference to `_nc_stdscr' | cfdisk.c:(.text+0x231d): undefined reference to `_nc_acs_map' | cfdisk.c:(.text+0x2329): undefined reference to `_nc_stdscr' | cfdisk.c:(.text+0x2374): undefined reference to `_nc_stdscr' | cfdisk.c:(.text+0x2392): undefined reference to `_nc_acs_map' | cfdisk.c:(.text+0x239e): undefined reference to `_nc_stdscr' | disk-utils/cfdisk-cfdisk.o: In function `ui_menu_resize': | cfdisk.c:(.text+0x244a): undefined reference to `_nc_stdscr' | disk-utils/cfdisk-cfdisk.o: In function `ui_refresh': | cfdisk.c:(.text+0x24c5): undefined reference to `_nc_stdscr' | cfdisk.c:(.text+0x24d2): undefined reference to `_nc_stdscr' | cfdisk.c:(.text+0x24ff): undefined reference to `_nc_stdscr' | disk-utils/cfdisk-cfdisk.o:cfdisk.c:(.text+0x2587): more undefined references to `_nc_stdscr' follow | disk-utils/cfdisk-cfdisk.o: In function `main': | cfdisk.c:(.text.startup+0x334): undefined reference to `_nc_LINES' | cfdisk.c:(.text.startup+0x342): undefined reference to `_nc_COLS' | cfdisk.c:(.text.startup+0x39d): undefined reference to `_nc_stdscr' | cfdisk.c:(.text.startup+0x45b): undefined reference to `_nc_stdscr' | cfdisk.c:(.text.startup+0x4d3): undefined reference to `_nc_stdscr' | cfdisk.c:(.text.startup+0x4e0): undefined reference to `_nc_stdscr' | cfdisk.c:(.text.startup+0x77d): undefined reference to `_nc_stdscr' | disk-utils/cfdisk-cfdisk.o:cfdisk.c:(.text.startup+0x8fd): more undefined references to `_nc_stdscr' follow | collect2: error: ld returned 1 exit status | Makefile:5737: recipe for target 'cfdisk' failed | make[2]: *** [cfdisk] Error 1 | make[2]: Leaving directory '/z/layerindex-master/raspi3/tmp-glibc/work/x86_64-linux/util-linux-native/2.29-r0/build' | Makefile:11450: recipe for target 'all-recursive' failed | make[1]: *** [all-recursive] Error 1 | make[1]: Leaving directory '/z/layerindex-master/raspi3/tmp-glibc/work/x86_64-linux/util-linux-native/2.29-r0/build' | Makefile:4781: recipe for target 'all' failed | make: *** [all] Error 2 | ERROR: Function failed: do_compile (log file is located at /z/layerindex-master/raspi3/tmp-glibc/work/x86_64-linux/util-linux-native/2.29-r0/temp/log.do_compile.18807) ERROR: Task (virtual:native:/z/layerindex-master/layers/openembedded-core/meta/recipes-core/util-linux/util-linux_2.29.bb:do_compile) failed with exit code '1' ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH] util-linux: 2.28.1 -> 2.29 2016-12-19 15:23 ` Trevor Woerner @ 2016-12-19 20:31 ` Burton, Ross 2016-12-19 21:42 ` Trevor Woerner 0 siblings, 1 reply; 17+ messages in thread From: Burton, Ross @ 2016-12-19 20:31 UTC (permalink / raw) To: Trevor Woerner; +Cc: OE-core [-- Attachment #1: Type: text/plain, Size: 192 bytes --] On 19 December 2016 at 15:23, Trevor Woerner <twoerner@gmail.com> wrote: > Is anyone else seeing build failures as a result of this commit? > Can you reproduce this on demand? Ross [-- Attachment #2: Type: text/html, Size: 597 bytes --] ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH] util-linux: 2.28.1 -> 2.29 2016-12-19 20:31 ` Burton, Ross @ 2016-12-19 21:42 ` Trevor Woerner 2016-12-19 21:47 ` Burton, Ross 0 siblings, 1 reply; 17+ messages in thread From: Trevor Woerner @ 2016-12-19 21:42 UTC (permalink / raw) To: Burton, Ross; +Cc: OE-core On Mon 2016-12-19 @ 08:31:25 PM, Burton, Ross wrote: > On 19 December 2016 at 15:23, Trevor Woerner <twoerner@gmail.com> wrote: > > > Is anyone else seeing build failures as a result of this commit? > > > > Can you reproduce this on demand? Yes. Last night's raspi2 and minnow/turbot builds failed, and trying with qemu (x86-64 and x86) all failed. A fresh build in a new directory fails readily: $ git clone git://git.openembedded.org/openembedded-core.git (e82a7f879419828b42b5cc71e6229c8235090f21) $ git clone git://git.openembedded.org/bitbake.git (50633012a64a3b5f0662145e29ff426374fb7683) $ . openembedded-core/oe-init-build-env build bitbake $ bitbake util-linux-native Build Configuration: BB_VERSION = "1.32.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "opensuse-42.2" TARGET_SYS = "i586-oe-linux" MACHINE = "qemux86" DISTRO = "nodistro" DISTRO_VERSION = "nodistro.0" TUNE_FEATURES = "m32 i586" TARGET_FPU = "" meta = "master:e82a7f879419828b42b5cc71e6229c8235090f21" *BOOM!* ;-) | disk-utils/cfdisk-cfdisk.o:cfdisk.c:(.text.startup+0x8fd): more undefined references to `_nc_stdscr' follow | collect2: error: ld returned 1 exit status | Makefile:5737: recipe for target 'cfdisk' failed | make[2]: *** [cfdisk] Error 1 | make[2]: Leaving directory '/z/qemu/build/tmp-glibc/work/x86_64-linux/util-linux-native/2.29-r0/build' | Makefile:11450: recipe for target 'all-recursive' failed | make[1]: *** [all-recursive] Error 1 | make[1]: Leaving directory '/z/qemu/build/tmp-glibc/work/x86_64-linux/util-linux-native/2.29-r0/build' | Makefile:4781: recipe for target 'all' failed | make: *** [all] Error 2 | ERROR: Function failed: do_compile (log file is located at /z/qemu/build/tmp-glibc/work/x86_64-linux/util-linux-native/2.29-r0/temp/log.do_compile.28460) ERROR: Task (virtual:native:/z/qemu/openembedded-core/meta/recipes-core/util-linux/util-linux_2.29.bb:do_compile) failed with exit code '1' ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH] util-linux: 2.28.1 -> 2.29 2016-12-19 21:42 ` Trevor Woerner @ 2016-12-19 21:47 ` Burton, Ross 2016-12-19 21:53 ` Burton, Ross 0 siblings, 1 reply; 17+ messages in thread From: Burton, Ross @ 2016-12-19 21:47 UTC (permalink / raw) To: Trevor Woerner; +Cc: OE-core [-- Attachment #1: Type: text/plain, Size: 232 bytes --] On 19 December 2016 at 21:42, Trevor Woerner <twoerner@gmail.com> wrote: > A fresh build in a new directory fails readily: > Ah, interesting, because I can't replicate that. :/ Can you share the do_configure log? Ross [-- Attachment #2: Type: text/html, Size: 703 bytes --] ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH] util-linux: 2.28.1 -> 2.29 2016-12-19 21:47 ` Burton, Ross @ 2016-12-19 21:53 ` Burton, Ross 2016-12-19 22:01 ` Trevor Woerner 0 siblings, 1 reply; 17+ messages in thread From: Burton, Ross @ 2016-12-19 21:53 UTC (permalink / raw) To: Trevor Woerner; +Cc: OE-core [-- Attachment #1: Type: text/plain, Size: 1737 bytes --] Definitely works here: $ rm tmp-glibc/ -rf ; bitbake util-linux-native -C unpack Parsing recipes: 100% |#################################################################################################| Time: 0:00:04 Parsing of 866 .bb files complete (0 cached, 866 parsed). 1321 targets, 68 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "1.32.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "debian-8" TARGET_SYS = "i586-oe-linux" MACHINE = "qemux86" DISTRO = "nodistro" DISTRO_VERSION = "nodistro.0" TUNE_FEATURES = "m32 i586" TARGET_FPU = "" meta meta-poky meta-yocto-bsp meta-selftest workspace = "mut:5484568d66cc8c888f5611970242e0689fc4d672" NOTE: Tainting hash to force rebuild of task virtual:native:/home/ross/Yocto/poky/meta/recipes-core/util-linux/ util-linux_2.29.bb, do_unpack WARNING: virtual:native:/home/ross/Yocto/poky/meta/recipes-core/util-linux/util-linux_2.29.bb.do_unpack is tainted from a forced run:00 Initialising tasks: 100% |##############################################################################################| Time: 0:00:00 NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks NOTE: Tasks Summary: Attempted 100 tasks of which 91 didn't need to be rerun and all succeeded. Ross On 19 December 2016 at 21:47, Burton, Ross <ross.burton@intel.com> wrote: > > On 19 December 2016 at 21:42, Trevor Woerner <twoerner@gmail.com> wrote: > >> A fresh build in a new directory fails readily: >> > > Ah, interesting, because I can't replicate that. :/ > > Can you share the do_configure log? > > Ross > [-- Attachment #2: Type: text/html, Size: 3113 bytes --] ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH] util-linux: 2.28.1 -> 2.29 2016-12-19 21:53 ` Burton, Ross @ 2016-12-19 22:01 ` Trevor Woerner 2016-12-19 22:12 ` Khem Raj 0 siblings, 1 reply; 17+ messages in thread From: Trevor Woerner @ 2016-12-19 22:01 UTC (permalink / raw) To: Burton, Ross, Patches and discussions about the oe-core layer [-- Attachment #1: Type: text/plain, Size: 171 bytes --] On Mon, Dec 19, 2016 at 4:53 PM, Burton, Ross <ross.burton@intel.com> wrote: > Definitely works here: :-( >> Can you share the do_configure log? sure, attached [-- Attachment #2: log.do_configure --] [-- Type: application/octet-stream, Size: 25542 bytes --] DEBUG: Executing python function sysroot_cleansstate DEBUG: Python function sysroot_cleansstate finished DEBUG: Executing shell function autotools_preconfigure DEBUG: Shell function autotools_preconfigure finished DEBUG: Executing python function autotools_copy_aclocals DEBUG: Considering setscene task: ['texinfo-dummy-native', 'do_populate_sysroot'] DEBUG: considering dependency: ['libtool-native', 'do_populate_sysroot'] DEBUG: Considering setscene task: ['m4-native', 'do_populate_sysroot'] DEBUG: considering dependency: ['autoconf-native', 'do_populate_sysroot'] DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common'] DEBUG: Python function autotools_copy_aclocals finished DEBUG: Executing shell function do_configure NOTE: Executing ACLOCAL="aclocal --system-acdir=/z/qemu/build/tmp-glibc/work/x86_64-linux/util-linux-native/2.29-r0/aclocal-copy/" autoreconf --verbose --install --force --exclude=autopoint -I /z/qemu/build/tmp-glibc/work/x86_64-linux/util-linux-native/2.29-r0/util-linux-2.29/m4/ NOTE: Running ../util-linux-2.29/configure --build=x86_64-linux --host=x86_64-linux --target=x86_64-linux --prefix=/z/qemu/build/tmp-glibc/sysroots/x86_64-linux/usr --exec_prefix=/z/qemu/build/tmp-glibc/sysroots/x86_64-linux/usr --bindir=/z/qemu/build/tmp-glibc/sysroots/x86_64-linux/usr/bin --sbindir=/z/qemu/build/tmp-glibc/sysroots/x86_64-linux/usr/sbin --libexecdir=/z/qemu/build/tmp-glibc/sysroots/x86_64-linux/usr/libexec --datadir=/z/qemu/build/tmp-glibc/sysroots/x86_64-linux/usr/share --sysconfdir=/z/qemu/build/tmp-glibc/sysroots/x86_64-linux/etc --sharedstatedir=/z/qemu/build/tmp-glibc/sysroots/x86_64-linux/com --localstatedir=/z/qemu/build/tmp-glibc/sysroots/x86_64-linux/var --libdir=/z/qemu/build/tmp-glibc/sysroots/x86_64-linux/usr/lib --includedir=/z/qemu/build/tmp-glibc/sysroots/x86_64-linux/usr/include --oldincludedir=/z/qemu/build/tmp-glibc/sysroots/x86_64-linux/usr/include --infodir=/z/qemu/build/tmp-glibc/sysroots/x86_64-linux/usr/share/info --mandir=/z/qemu/build/tmp-glibc/sysroots/x86_64-linux/usr/share/man --disable-silent-rules --disable-dependency-tracking --disable-use-tty-group --disable-makeinstall-chown --enable-kill --enable-last --enable-mesg --enable-partx --enable-raw --enable-reset --disable-login --disable-vipw --disable-newgrp --disable-chfn-chsh --enable-write --enable-mount --enable-libuuid --enable-libblkid --enable-fsck --disable-minix --disable-bfs --without-udev usrsbin_execdir='/z/qemu/build/tmp-glibc/sysroots/x86_64-linux/usr/sbin' --disable-fallocate --disable-use-tty-group --disable-setpriv --disable-su --disable-runuser --without-python --disable-pylibmount --without-readline --without-systemd --without-systemdsystemunitdir --disable-nls automake (GNU automake) 1.15 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Tom Tromey <tromey@redhat.com> and Alexandre Duret-Lutz <adl@gnu.org>. AUTOV is 1 autoreconf: Entering directory `.' autoreconf: running: aclocal --system-acdir=/z/qemu/build/tmp-glibc/work/x86_64-linux/util-linux-native/2.29-r0/aclocal-copy/ -I /z/qemu/build/tmp-glibc/work/x86_64-linux/util-linux-native/2.29-r0/util-linux-2.29/m4/ --force -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'. libtoolize: copying file 'config/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' autoreconf: running: /z/qemu/build/tmp-glibc/sysroots/x86_64-linux/usr/bin/autoconf --include=/z/qemu/build/tmp-glibc/work/x86_64-linux/util-linux-native/2.29-r0/util-linux-2.29/m4/ --force autoreconf: running: /z/qemu/build/tmp-glibc/sysroots/x86_64-linux/usr/bin/autoheader --include=/z/qemu/build/tmp-glibc/work/x86_64-linux/util-linux-native/2.29-r0/util-linux-2.29/m4/ --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:13: installing 'config/compile' configure.ac:14: installing 'config/missing' Makefile.am: installing 'config/depcomp' autoreconf: running: gnu-configize autoreconf: Leaving directory `.' configure: loading site script /z/qemu/openembedded-core/meta/site/endian-little configure: loading site script /z/qemu/openembedded-core/meta/site/common-linux configure: loading site script /z/qemu/openembedded-core/meta/site/common-glibc configure: loading site script /z/qemu/openembedded-core/meta/site/x86_64-linux configure: loading site script /z/qemu/openembedded-core/meta/site/common configure: loading site script /z/qemu/build/tmp-glibc/work/x86_64-linux/util-linux-native/2.29-r0/aclocal-copy/ncurses_config checking for x86_64-linux-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking whether make supports nested variables... yes checking how to create a pax tar archive... gnutar checking dependency style of gcc ... none checking whether make supports nested variables... (cached) yes checking for gcc option to accept ISO C99... -std=gnu99 checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99 checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for an ANSI C-conforming const... yes checking for working volatile... yes checking whether byte ordering is bigendian... (cached) no checking whether compiler handles -fno-common... yes checking whether compiler handles -Wall... yes checking whether compiler handles -Werror=sequence-point... yes checking whether compiler handles -Wextra... yes checking whether compiler handles -Wextra-semi... no checking whether compiler handles -Wembedded-directive... no checking whether compiler handles -Wmissing-declarations... yes checking whether compiler handles -Wmissing-parameter-type... yes checking whether compiler handles -Wmissing-prototypes... yes checking whether compiler handles -Wno-missing-field-initializers... yes checking whether compiler handles -Wredundant-decls... yes checking whether compiler handles -Wsign-compare... yes checking whether compiler handles -Wtype-limits... yes checking whether compiler handles -Wuninitialized... yes checking whether compiler handles -Wunused-but-set-parameter... yes checking whether compiler handles -Wunused-but-set-variable... yes checking whether compiler handles -Wunused-parameter... yes checking whether compiler handles -Wunused-result... yes checking whether compiler handles -Wunused-variable... yes checking whether compiler handles -Wnested-externs... yes checking whether compiler handles -Wpointer-arith... yes checking whether compiler handles -Wstrict-prototypes... yes checking whether compiler handles -Wformat-security... no checking whether compiler handles -Wimplicit-function-declaration... yes checking whether compiler handles -Wno-clobbered... yes checking whether compiler handles -Wno-unused-parameter... yes checking how to print strings... printf checking for a sed that does not truncate output... (cached) sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc -std=gnu99... ld checking if the linker (ld ) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... nm checking the name lister (nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for ld option to reload object files... -r checking for x86_64-linux-objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-linux-ar... ar checking for archiver @FILE support... @ checking for x86_64-linux-strip... strip checking for x86_64-linux-ranlib... ranlib checking command to parse nm output from gcc -std=gnu99 object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-linux-mt... no checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes checking if gcc -std=gnu99 static flag -static works... no checking if gcc -std=gnu99 supports -c -o file.o... yes checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes checking whether the gcc -std=gnu99 linker (ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking linker version script flag... --version-script checking if version scripts can use complex wildcards... yes checking for x86_64-linux-pkg-config... no checking for pkg-config... /z/qemu/build/tmp-glibc/sysroots/x86_64-linux/usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking whether to build gtk-doc documentation... no checking for gtkdoc-check... no checking for xsltproc... /usr/bin/xsltproc checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether to enable assertions... yes checking whether NLS is requested... no checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by gcc -std=gnu99... ld -m elf_x86_64 checking if the linker (ld -m elf_x86_64) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking whether to use NLS... no checking for linux/compiler.h... no checking for linux/blkpg.h... yes checking for linux/major.h... yes checking asm/io.h usability... no checking asm/io.h presence... no checking for asm/io.h... no checking err.h usability... yes checking err.h presence... yes checking for err.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for inttypes.h... (cached) yes checking linux/btrfs.h usability... yes checking linux/btrfs.h presence... yes checking for linux/btrfs.h... yes checking linux/cdrom.h usability... yes checking linux/cdrom.h presence... yes checking for linux/cdrom.h... yes checking linux/falloc.h usability... yes checking linux/falloc.h presence... yes checking for linux/falloc.h... yes checking linux/watchdog.h usability... yes checking linux/watchdog.h presence... yes checking for linux/watchdog.h... yes checking linux/fd.h usability... yes checking linux/fd.h presence... yes checking for linux/fd.h... yes checking linux/raw.h usability... yes checking linux/raw.h presence... yes checking for linux/raw.h... yes checking linux/tiocl.h usability... yes checking linux/tiocl.h presence... yes checking for linux/tiocl.h... yes checking linux/version.h usability... yes checking linux/version.h presence... yes checking for linux/version.h... yes checking linux/securebits.h usability... yes checking linux/securebits.h presence... yes checking for linux/securebits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking mntent.h usability... yes checking mntent.h presence... yes checking for mntent.h... yes checking net/if.h usability... yes checking net/if.h presence... yes checking for net/if.h... yes checking net/if_dl.h usability... no checking net/if_dl.h presence... no checking for net/if_dl.h... no checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking pty.h usability... yes checking pty.h presence... yes checking for pty.h... yes checking security/pam_appl.h usability... yes checking security/pam_appl.h presence... yes checking for security/pam_appl.h... yes checking for stdint.h... (cached) yes checking stdio_ext.h usability... yes checking stdio_ext.h presence... yes checking for stdio_ext.h... yes checking for stdlib.h... (cached) yes checking endian.h usability... yes checking endian.h presence... yes checking for endian.h... yes checking byteswap.h usability... yes checking byteswap.h presence... yes checking for byteswap.h... yes checking sys/endian.h usability... no checking sys/endian.h presence... no checking for sys/endian.h... no checking sys/disk.h usability... no checking sys/disk.h presence... no checking for sys/disk.h... no checking sys/disklabel.h usability... no checking sys/disklabel.h presence... no checking for sys/disklabel.h... no checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/io.h usability... yes checking sys/io.h presence... yes checking for sys/io.h... yes checking sys/ioccom.h usability... no checking sys/ioccom.h presence... no checking for sys/ioccom.h... no checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/mkdev.h usability... no checking sys/mkdev.h presence... no checking for sys/mkdev.h... no checking sys/mount.h usability... yes checking sys/mount.h presence... yes checking for sys/mount.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/prctl.h usability... yes checking sys/prctl.h presence... yes checking for sys/prctl.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/signalfd.h usability... yes checking sys/signalfd.h presence... yes checking for sys/signalfd.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking for sys/stat.h... (cached) yes checking sys/sysmacros.h usability... yes checking sys/sysmacros.h presence... yes checking for sys/sysmacros.h... yes checking sys/swap.h usability... yes checking sys/swap.h presence... yes checking for sys/swap.h... yes checking sys/syscall.h usability... yes checking sys/syscall.h presence... yes checking for sys/syscall.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/timex.h usability... yes checking sys/timex.h presence... yes checking for sys/timex.h... yes checking sys/ttydefaults.h usability... yes checking sys/ttydefaults.h presence... yes checking for sys/ttydefaults.h... yes checking for sys/types.h... (cached) yes checking sys/ucred.h usability... no checking sys/ucred.h presence... no checking for sys/ucred.h... no checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking for unistd.h... (cached) yes checking shadow.h usability... yes checking shadow.h presence... yes checking for shadow.h... yes checking utmp.h usability... yes checking utmp.h presence... yes checking for utmp.h... yes checking for linux/gsmmux.h... no checking for security/pam_misc.h... yes checking for security/openpam.h... no checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking for struct termios.c_line... yes checking for struct stat.st_mtim.tv_nsec... yes checking whether _NL_TIME_WEEK_1STDAY is declared... yes checking whether llseek is declared... no checking whether lseek64 is declared... yes checking whether environ is declared... yes checking whether strsignal is declared... yes checking whether TIOCGLCKTRMIOS is declared... yes checking whether SOCK_CLOEXEC is declared... yes checking whether SOCK_NONBLOCK is declared... yes checking whether SO_PASSCRED is declared... yes checking for __fpending... yes checking for secure_getenv... yes checking for __secure_getenv... no checking for err... yes checking for errx... yes checking for fsync... yes checking for utimensat... yes checking for getdomainname... yes checking for getdtablesize... yes checking for getexecname... no checking for getmntinfo... no checking for getrlimit... yes checking for getsgnam... yes checking for inotify_init... yes checking for jrand48... yes checking for lchown... yes checking for llseek... yes checking for lseek64... yes checking for mempcpy... yes checking for mkostemp... yes checking for nanosleep... yes checking for ntp_gettime... yes checking for personality... yes checking for posix_fadvise... yes checking for prctl... yes checking for qsort_r... yes checking for rpmatch... yes checking for scandirat... yes checking for setprogname... no checking for setresgid... yes checking for setresuid... (cached) yes checking for sched_setattr... no checking for sched_setscheduler... yes checking for sigqueue... yes checking for srandom... yes checking for strnchr... no checking for strndup... yes checking for strnlen... yes checking for sysconf... yes checking for sysinfo... yes checking for updwtmp... yes checking for usleep... yes checking for warn... yes checking for warnx... yes checking for _LARGEFILE_SOURCE value needed for large files... no checking for openat... yes checking for fstatat... yes checking for unlinkat... yes checking for ioperm... yes checking for iopl... yes checking for futimens... yes checking for inotify_init1... yes checking for open_memstream... yes checking for reboot... yes checking for clock_gettime... yes checking for timer_create... no checking for timer_create in -lrt... yes checking for rtas_get_sysparm in -lrtas... no checking for struct sockaddr.sa_len... no checking for library containing socket... none required checking for dirfd... yes checking whether program_invocation_short_name is defined... yes checking whether __progname is defined... yes checking whether the target supports thread-local storage... yes (cached) checking scanf string alloc modifiers... (%ms) yes checking for openpty in -lutil... yes checking for union semun... no checking for loff_t... yes checking wchar_t support... yes checking for cpu_set_t... yes checking for sighandler_t... yes checking whether CPU_ALLOC is declared... yes checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking ncursesw... (v6) yes checking ncursesw/ncurses.h usability... yes checking ncursesw/ncurses.h presence... yes checking for ncursesw/ncurses.h... yes checking for ncurses.h... (cached) yes checking for use_default_colors in -lncursesw... yes checking for resizeterm in -lncursesw... yes checking for TINFO... yes checking for syscall unshare... SYS_unshare checking for unshare... yes checking for syscall setns... SYS_setns checking for setns... yes checking for capng_apply in -lcap-ng... no checking for crc32 in -lz... yes checking for syscall prlimit64... SYS_prlimit64 checking for prlimit... yes checking for syscall pivot_root... SYS_pivot_root checking for LIBUSER... no checking for syscall ioprio_set... SYS_ioprio_set checking for syscall ioprio_get... SYS_ioprio_get checking for syscall sched_getaffinity... SYS_sched_getaffinity checking for syscall sched_setattr... SYS_sched_setattr configure: creating ./config.status config.status: creating Makefile config.status: creating libblkid/docs/Makefile config.status: creating libblkid/docs/version.xml config.status: creating libblkid/src/blkid.h config.status: creating libfdisk/docs/Makefile config.status: creating libfdisk/docs/version.xml config.status: creating libfdisk/src/libfdisk.h config.status: creating libmount/docs/Makefile config.status: creating libmount/docs/version.xml config.status: creating libmount/src/libmount.h config.status: creating libsmartcols/docs/Makefile config.status: creating libsmartcols/docs/version.xml config.status: creating libsmartcols/src/libsmartcols.h config.status: creating po/Makefile.in config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile util-linux 2.29 prefix: /z/qemu/build/tmp-glibc/sysroots/x86_64-linux/usr exec prefix: /z/qemu/build/tmp-glibc/sysroots/x86_64-linux/usr localstatedir: /z/qemu/build/tmp-glibc/sysroots/x86_64-linux/var bindir: /z/qemu/build/tmp-glibc/sysroots/x86_64-linux/usr/bin sbindir: /z/qemu/build/tmp-glibc/sysroots/x86_64-linux/usr/sbin libdir: /z/qemu/build/tmp-glibc/sysroots/x86_64-linux/usr/lib includedir: /z/qemu/build/tmp-glibc/sysroots/x86_64-linux/usr/include usrbin_execdir: ${exec_prefix}/bin usrsbin_execdir: /z/qemu/build/tmp-glibc/sysroots/x86_64-linux/usr/sbin usrlib_execdir: /z/qemu/build/tmp-glibc/sysroots/x86_64-linux/usr/lib compiler: gcc -std=gnu99 cflags: -isystem/z/qemu/build/tmp-glibc/sysroots/x86_64-linux/usr/include -O2 -pipe suid cflags: ldflags: -L/z/qemu/build/tmp-glibc/sysroots/x86_64-linux/usr/lib -L/z/qemu/build/tmp-glibc/sysroots/x86_64-linux/lib -Wl,-rpath-link,/z/qemu/build/tmp-glibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/z/qemu/build/tmp-glibc/sysroots/x86_64-linux/lib -Wl,-rpath,/z/qemu/build/tmp-glibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/z/qemu/build/tmp-glibc/sysroots/x86_64-linux/lib -Wl,-O1 suid ldflags: Python: Python version: Python libs: Bash completions: /z/qemu/build/tmp-glibc/sysroots/x86_64-linux/usr/share/bash-completion/completions Systemd support: no Btrfs support: yes Wide-char support: yes warnings: -fno-common -Wall -Werror=sequence-point -Wextra -Wmissing-declarations -Wmissing-parameter-type -Wmissing-prototypes -Wno-missing-field-initializers -Wredundant-decls -Wsign-compare -Wtype-limits -Wuninitialized -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-parameter -Wunused-result -Wunused-variable -Wnested-externs -Wpointer-arith -Wstrict-prototypes -Wimplicit-function-declaration Type 'make' or 'make <utilname>' to compile. DEBUG: Shell function do_configure finished DEBUG: Executing python function do_qa_configure NOTE: Checking autotools environment for common misconfiguration NOTE: Checking configure output for unrecognised options DEBUG: Python function do_qa_configure finished DEBUG: Executing shell function autotools_postconfigure DEBUG: Shell function autotools_postconfigure finished ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH] util-linux: 2.28.1 -> 2.29 2016-12-19 22:01 ` Trevor Woerner @ 2016-12-19 22:12 ` Khem Raj 2016-12-20 14:36 ` Burton, Ross 2016-12-20 14:41 ` Burton, Ross 0 siblings, 2 replies; 17+ messages in thread From: Khem Raj @ 2016-12-19 22:12 UTC (permalink / raw) To: Trevor Woerner; +Cc: Patches and discussions about the oe-core layer its detecting ncurses checking ncursesw... (v6) yes checking ncursesw/ncurses.h usability... yes checking ncursesw/ncurses.h presence... yes checking for ncursesw/ncurses.h... yes checking for ncurses.h... (cached) yes checking for use_default_colors in -lncursesw... yes checking for resizeterm in -lncursesw... yes but then not linking may be ? Ross, can you check if its same for you. On Mon, Dec 19, 2016 at 2:01 PM, Trevor Woerner <twoerner@gmail.com> wrote: > On Mon, Dec 19, 2016 at 4:53 PM, Burton, Ross <ross.burton@intel.com> wrote: >> Definitely works here: > > :-( > >>> Can you share the do_configure log? > > sure, attached > > -- > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core > ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH] util-linux: 2.28.1 -> 2.29 2016-12-19 22:12 ` Khem Raj @ 2016-12-20 14:36 ` Burton, Ross 2016-12-20 14:41 ` Burton, Ross 1 sibling, 0 replies; 17+ messages in thread From: Burton, Ross @ 2016-12-20 14:36 UTC (permalink / raw) To: Trevor Woerner; +Cc: Patches and discussions about the oe-core layer [-- Attachment #1: Type: text/plain, Size: 940 bytes --] On 19 December 2016 at 22:12, Khem Raj <raj.khem@gmail.com> wrote: > its detecting ncurses > > checking ncursesw... (v6) yes > checking ncursesw/ncurses.h usability... yes > checking ncursesw/ncurses.h presence... yes > checking for ncursesw/ncurses.h... yes > checking for ncurses.h... (cached) yes > checking for use_default_colors in -lncursesw... yes > checking for resizeterm in -lncursesw... yes > checking ncursesw... no checking for initscr in -lncursesw... yes checking ncursesw/ncurses.h usability... yes checking ncursesw/ncurses.h presence... yes checking for ncursesw/ncurses.h... yes checking for ncurses.h... (cached) yes checking for use_default_colors in -lncursesw... yes checking for resizeterm in -lncursesw... yes My guess is that it finds your host ncurses, whereas my build machine has the bare minimum of headers installed on the host. Can you look at config.log to verify this? Ross [-- Attachment #2: Type: text/html, Size: 1742 bytes --] ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH] util-linux: 2.28.1 -> 2.29 2016-12-19 22:12 ` Khem Raj 2016-12-20 14:36 ` Burton, Ross @ 2016-12-20 14:41 ` Burton, Ross 2016-12-20 14:55 ` Trevor Woerner 1 sibling, 1 reply; 17+ messages in thread From: Burton, Ross @ 2016-12-20 14:41 UTC (permalink / raw) To: Khem Raj; +Cc: Patches and discussions about the oe-core layer [-- Attachment #1: Type: text/plain, Size: 307 bytes --] On 19 December 2016 at 22:12, Khem Raj <raj.khem@gmail.com> wrote: > checking ncursesw... (v6) yes > I'm pretty sure this indicates that it found a ncursesw-config binary, which we disable. So it must be running the host tool. I'm seeing if we can force it to use the sysroot easily now. Ross [-- Attachment #2: Type: text/html, Size: 719 bytes --] ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH] util-linux: 2.28.1 -> 2.29 2016-12-20 14:41 ` Burton, Ross @ 2016-12-20 14:55 ` Trevor Woerner 2016-12-20 15:00 ` Burton, Ross 0 siblings, 1 reply; 17+ messages in thread From: Trevor Woerner @ 2016-12-20 14:55 UTC (permalink / raw) To: Burton, Ross; +Cc: Patches and discussions about the oe-core layer On Tue 2016-12-20 @ 02:41:21 PM, Burton, Ross wrote: > On 19 December 2016 at 22:12, Khem Raj <raj.khem@gmail.com> wrote: > > > checking ncursesw... (v6) yes > > > > I'm pretty sure this indicates that it found a ncursesw-config binary, > which we disable. So it must be running the host tool. I'm seeing if we > can force it to use the sysroot easily now. Hi Ross, Thanks for continuing to look into this! :-) I spent the last while trying some things to see if I could fix this issue. I tried adding --disable-widechar to OECONF since that was one of the new things added between 2.28.1 and 2.29 (no change). Looking through the config.log I found a couple things that weren't right: $ cat -n config.log | grep "\/usr\/include" | grep -v x86_64 3326 In file included from /usr/include/linux/gsmmux.h:4:0, 3328 /usr/include/linux/if.h:211:19: error: field 'ifru_addr' has incomplete type 3331 /usr/include/linux/if.h:212:19: error: field 'ifru_dstaddr' has incomplete type 3334 /usr/include/linux/if.h:213:19: error: field 'ifru_broadaddr' has incomplete type 3337 /usr/include/linux/if.h:214:19: error: field 'ifru_netmask' has incomplete type 3340 /usr/include/linux/if.h:215:20: error: field 'ifru_hwaddr' has incomplete type 8662 NCURSES_CFLAGS='-I/usr/include/ncurses6/ncursesw -I/usr/include/ncurses6' The biggest one is probably the last one (line 8662) where something is setting NCURSES_CFLAGS explicitly to /usr/include. I'm looking for that one now. The first issue I see in my config.log is confusing to me too. Looking at the full log around that area gives: 3325 configure:17946: gcc -std=gnu99 -c -isystem/z/layerindex-master/raspi3/tmp-glibc/sysroots/x86_64-linux/usr/include -O2 -pipe -isystem/z/layerindex-master/raspi3/tmp-glibc/sysroots/x86_64-linux/usr/include conftest.c >&5 3326 In file included from /usr/include/linux/gsmmux.h:4:0, 3327 from conftest.c:82: 3328 /usr/include/linux/if.h:211:19: error: field 'ifru_addr' has incomplete type 3329 struct sockaddr ifru_addr; 3330 ^ 3331 /usr/include/linux/if.h:212:19: error: field 'ifru_dstaddr' has incomplete type 3332 struct sockaddr ifru_dstaddr; 3333 ^ 3334 /usr/include/linux/if.h:213:19: error: field 'ifru_broadaddr' has incomplete type 3335 struct sockaddr ifru_broadaddr; 3336 ^ 3337 /usr/include/linux/if.h:214:19: error: field 'ifru_netmask' has incomplete type 3338 struct sockaddr ifru_netmask; 3339 ^ 3340 /usr/include/linux/if.h:215:20: error: field 'ifru_hwaddr' has incomplete type 3341 struct sockaddr ifru_hwaddr; The compile line is clearly telling gcc to use -isystem/z/layerindex.... In other words gcc is being directed to look in the correct locations. But in the error messages it's saying that it looked in "/usr/include/linux/if.h". Does this mean that -isystem isn't doing what we hope it should be doing? Or is gcc stripping out the -isystem prefix when reporting this error? ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH] util-linux: 2.28.1 -> 2.29 2016-12-20 14:55 ` Trevor Woerner @ 2016-12-20 15:00 ` Burton, Ross 2016-12-20 15:05 ` Burton, Ross 0 siblings, 1 reply; 17+ messages in thread From: Burton, Ross @ 2016-12-20 15:00 UTC (permalink / raw) To: Trevor Woerner; +Cc: Patches and discussions about the oe-core layer [-- Attachment #1: Type: text/plain, Size: 447 bytes --] On 20 December 2016 at 14:55, Trevor Woerner <twoerner@gmail.com> wrote: > The biggest one is probably the last one (line 8662) where something is > setting NCURSES_CFLAGS explicitly to /usr/include. I'm looking for that one > now. > 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... Ross [-- Attachment #2: Type: text/html, Size: 940 bytes --] ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH] util-linux: 2.28.1 -> 2.29 2016-12-20 15:00 ` Burton, Ross @ 2016-12-20 15:05 ` Burton, Ross 2016-12-20 15:14 ` Trevor Woerner 0 siblings, 1 reply; 17+ messages in thread From: Burton, Ross @ 2016-12-20 15:05 UTC (permalink / raw) To: Trevor Woerner; +Cc: Patches and discussions about the oe-core layer [-- Attachment #1: Type: text/plain, Size: 1072 bytes --] On 20 December 2016 at 15:00, Burton, Ross <ross.burton@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. Ross [-- Attachment #2: Type: text/html, Size: 1739 bytes --] ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH] util-linux: 2.28.1 -> 2.29 2016-12-20 15:05 ` Burton, Ross @ 2016-12-20 15:14 ` Trevor Woerner 2016-12-20 15:16 ` Burton, Ross 2016-12-20 15:17 ` Trevor Woerner 0 siblings, 2 replies; 17+ messages in thread From: Trevor Woerner @ 2016-12-20 15:14 UTC (permalink / raw) To: Burton, Ross; +Cc: Patches and discussions about the oe-core layer On Tue 2016-12-20 @ 03:05:20 PM, Burton, Ross wrote: > On 20 December 2016 at 15:00, Burton, Ross <ross.burton@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 (?) ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH] util-linux: 2.28.1 -> 2.29 2016-12-20 15:14 ` Trevor Woerner @ 2016-12-20 15:16 ` Burton, Ross 2016-12-20 15:22 ` Trevor Woerner 2016-12-20 15:17 ` Trevor Woerner 1 sibling, 1 reply; 17+ messages in thread From: Burton, Ross @ 2016-12-20 15:16 UTC (permalink / raw) To: Trevor Woerner; +Cc: Patches and discussions about the oe-core layer [-- Attachment #1: Type: text/plain, Size: 369 bytes --] On 20 December 2016 at 15:14, Trevor Woerner <twoerner@gmail.com> wrote: > 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 (?) > Yeah, that seems like a good diagnosis. Can you knock up a patch as you can replicate? Ross [-- Attachment #2: Type: text/html, Size: 762 bytes --] ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH] util-linux: 2.28.1 -> 2.29 2016-12-20 15:16 ` Burton, Ross @ 2016-12-20 15:22 ` Trevor Woerner 0 siblings, 0 replies; 17+ messages in thread From: Trevor Woerner @ 2016-12-20 15:22 UTC (permalink / raw) To: Burton, Ross; +Cc: Patches and discussions about the oe-core layer On Tue 2016-12-20 @ 03:16:54 PM, Burton, Ross wrote: > On 20 December 2016 at 15:14, Trevor Woerner <twoerner@gmail.com> wrote: > > > 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 (?) > > > > Yeah, that seems like a good diagnosis. Can you knock up a patch as you > can replicate? No problem, doing that now. Thanks for your awesome help! ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH] util-linux: 2.28.1 -> 2.29 2016-12-20 15:14 ` Trevor Woerner 2016-12-20 15:16 ` Burton, Ross @ 2016-12-20 15:17 ` Trevor Woerner 1 sibling, 0 replies; 17+ messages in thread From: Trevor Woerner @ 2016-12-20 15:17 UTC (permalink / raw) To: Burton, Ross; +Cc: Patches and discussions about the oe-core layer On Tue 2016-12-20 @ 10:14:01 AM, Trevor Woerner wrote: > 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 (?) YES! Going into my sysroot and creating v6 -config scripts by simply copying the v5 ones allows util-linux-native to build successfully :-D ^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2016-12-20 15:22 UTC | newest] Thread overview: 17+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2016-12-13 3:30 [PATCH] util-linux: 2.28.1 -> 2.29 Zheng Ruoqin 2016-12-19 15:23 ` Trevor Woerner 2016-12-19 20:31 ` Burton, Ross 2016-12-19 21:42 ` Trevor Woerner 2016-12-19 21:47 ` Burton, Ross 2016-12-19 21:53 ` Burton, Ross 2016-12-19 22:01 ` Trevor Woerner 2016-12-19 22:12 ` Khem Raj 2016-12-20 14:36 ` Burton, Ross 2016-12-20 14:41 ` Burton, Ross 2016-12-20 14:55 ` Trevor Woerner 2016-12-20 15:00 ` Burton, Ross 2016-12-20 15:05 ` Burton, Ross 2016-12-20 15:14 ` Trevor Woerner 2016-12-20 15:16 ` Burton, Ross 2016-12-20 15:22 ` Trevor Woerner 2016-12-20 15:17 ` Trevor Woerner
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox