Skip to contentSkip to conversation

python3-native-3.9.5-r0 do_configure: configure failed #yocto

DISCUSSION [email protected] 1 participant 1 message Oct 29, 2021

lore
Share & tools
lore
#0 lore raw

Build Configuration
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.50.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "centos-7"
TARGET_SYS           = "arm-poky-linux-gnueabi"
MACHINE              = "cyclone5"
DISTRO               = "poky"
DISTRO_VERSION       = "3.3.3"
TUNE_FEATURES        = "arm armv7a vfp thumb neon callconvention-hard" TARGET_FPU           = "hard"
meta
meta-poky
meta-yocto-bsp       = "hardknott:5af92e6a399ff0543c225551780195fee04db833" meta-altera          = "master:b3700b83d1e1d368fa42dffb4cd208603a6a6b69"

Log data follows:

| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing python function autotools_aclocals
| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
| DEBUG: Python function autotools_aclocals finished
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['virtual:native:/home/jojan.vazhaeparampil/distro/build/../warrior/poky/meta/recipes-extended/libtirpc/libtirpc_1.3.1.bb:do_populate_sysroot', 'virtual:native:/home/jojan.vazhaeparampil/distro/build/../warrior/poky/meta/recipes-core/util-linux/util-linux_2.36.2.bb:do_populate_sysroot', 'virtual:native:/home/jojan.vazhaeparampil/distro/build/../warrior/poky/meta/recipes-extended/libnsl/libnsl2_git.bb:do_populate_sysroot', 'virtual:native:/home/jojan.vazhaeparampil/distro/build/../warrior/poky/meta/recipes-devtools/automake/automake_1.16.3.bb:do_populate_sysroot', 'virtual:native:/home/jojan.vazhaeparampil/distro/build/../warrior/poky/meta/recipes-core/readline/readline_8.1.bb:do_populate_sysroot', 'virtual:native:/home/jojan.vazhaeparampil/distro/build/../warrior/poky/meta/recipes-support/libffi/libffi_3.3.bb:do_populate_sysroot', 'virtual:native:/home/jojan.vazhaeparampil/distro/build/../warrior/poky/meta/recipes-extended/bzip2/bzip2_1.0.8.bb:do_populate_sysroot', 'virtual:native:/home/jojan.vazhaeparampil/distro/build/../warrior/poky/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_populate_sysroot', 'virtual:native:/home/jojan.vazhaeparampil/distro/build/../warrior/poky/meta/recipes-devtools/autoconf/autoconf_2.71.bb:do_populate_sysroot', 'virtual:native:/home/jojan.vazhaeparampil/distro/build/../warrior/poky/meta/recipes-support/gdbm/gdbm_1.19.bb:do_populate_sysroot', 'virtual:native:/home/jojan.vazhaeparampil/distro/build/../warrior/poky/meta/recipes-devtools/autoconf-archive/autoconf-archive_2019.01.06.bb:do_populate_sysroot', '/home/jojan.vazhaeparampil/distro/build/../warrior/poky/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_populate_sysroot', 'virtual:native:/home/jojan.vazhaeparampil/distro/build/../warrior/poky/meta/recipes-support/sqlite/sqlite3_3.35.0.bb:do_populate_sysroot', 'virtual:native:/home/jojan.vazhaeparampil/distro/build/../warrior/poky/meta/recipes-connectivity/openssl/openssl_1.1.1l.bb:do_populate_sysroot', 'virtual:native:/home/jojan.vazhaeparampil/distro/build/../warrior/poky/meta/recipes-extended/xz/xz_5.2.5.bb:do_populate_sysroot', 'virtual:native:/home/jojan.vazhaeparampil/distro/build/../warrior/poky/meta/recipes-core/zlib/zlib_1.2.11.bb:do_populate_sysroot', '/home/jojan.vazhaeparampil/distro/build/../warrior/poky/meta/recipes-devtools/libtool/libtool-native_2.4.6.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['libtirpc-native', 'util-linux-native', 'libnsl2-native', 'automake-native', 'readline-native', 'libffi-native', 'bzip2-native', 'pkgconfig-native', 'autoconf-native', 'gdbm-native', 'autoconf-archive-native', 'quilt-native', 'sqlite3-native', 'openssl-native', 'xz-native', 'zlib-native', 'libtool-native', 'gettext-minimal-native', 'texinfo-dummy-native', 'libcap-ng-native', 'ncurses-native', 'util-linux-libuuid-native', 'libpcre2-native', 'gnu-config-native', 'm4-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_configure
| automake (GNU automake) 1.16.3
| Copyright (C) 2020 Free Software Foundation, Inc.
| License GPLv2+: GNU GPL version 2 or later <https://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 <[email protected]>
|        and Alexandre Duret-Lutz <[email protected]>.
| AUTOV is 1.16
| NOTE: Executing ACLOCAL="aclocal --system-acdir=/home/jojan.vazhaeparampil/distro/build/tmp/work/x86_64-linux/python3-native/3.9.5-r0/recipe-sysroot-native/usr/share/aclocal/ --automake-acdir=/home/jojan.vazhaeparampil/distro/build/tmp/work/x86_64-linux/python3-native/3.9.5-r0/recipe-sysroot-native/usr/share/aclocal-1.16" autoreconf -Wcross --verbose --install --force --exclude=autopoint --exclude=gtkdocize
| autoreconf: export WARNINGS=cross,no-obsolete
| autoreconf: Entering directory '.'
| autoreconf: configure.ac: not using Gettext
| autoreconf: running: aclocal --system-acdir=/home/jojan.vazhaeparampil/distro/build/tmp/work/x86_64-linux/python3-native/3.9.5-r0/recipe-sysroot-native/usr/share/aclocal/ --automake-acdir=/home/jojan.vazhaeparampil/distro/build/tmp/work/x86_64-linux/python3-native/3.9.5-r0/recipe-sysroot-native/usr/share/aclocal-1.16 --force
| autoreconf: configure.ac: tracing
| autoreconf: running: libtoolize --copy --force
| libtoolize: putting auxiliary files in '.'.
| libtoolize: copying file './ltmain.sh'
| libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
| libtoolize: and rerunning libtoolize and aclocal.
| libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
| autoreconf: configure.ac: not using Intltool
| autoreconf: configure.ac: not using Gtkdoc
| autoreconf: running: aclocal --system-acdir=/home/jojan.vazhaeparampil/distro/build/tmp/work/x86_64-linux/python3-native/3.9.5-r0/recipe-sysroot-native/usr/share/aclocal/ --automake-acdir=/home/jojan.vazhaeparampil/distro/build/tmp/work/x86_64-linux/python3-native/3.9.5-r0/recipe-sysroot-native/usr/share/aclocal-1.16 --force
| autoreconf: running: /home/jojan.vazhaeparampil/distro/build/tmp/work/x86_64-linux/python3-native/3.9.5-r0/recipe-sysroot-native/usr/bin/autoconf --force
| configure.ac:782: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
| ../autoconf-2.71/lib/autoconf/specific.m4:364: AC_USE_SYSTEM_EXTENSIONS is expanded from...
| configure.ac:782: the top level
| configure.ac:782: warning: AC_LINK_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
| ../autoconf-2.71/lib/autoconf/specific.m4:364: AC_USE_SYSTEM_EXTENSIONS is expanded from...
| configure.ac:782: the top level
| configure.ac:782: warning: AC_CHECK_INCLUDES_DEFAULT was called before AC_USE_SYSTEM_EXTENSIONS
| ../autoconf-2.71/lib/autoconf/specific.m4:364: AC_USE_SYSTEM_EXTENSIONS is expanded from...
| configure.ac:782: the top level
| configure.ac:5185: warning: cannot check for file existence when cross compiling
| ../autoconf-2.71/lib/autoconf/general.m4:3010: AC_CHECK_FILE is expanded from...
| configure.ac:5185: the top level
| configure.ac:5190: warning: cannot check for file existence when cross compiling
| ../autoconf-2.71/lib/autoconf/general.m4:3010: AC_CHECK_FILE is expanded from...
| configure.ac:5190: the top level
| autoreconf: running: /home/jojan.vazhaeparampil/distro/build/tmp/work/x86_64-linux/python3-native/3.9.5-r0/recipe-sysroot-native/usr/bin/autoheader --force
| autoreconf: configure.ac: not using Automake
| autoreconf: './config.sub' is updated
| autoreconf: './config.guess' is updated
| autoreconf: './install-sh' is updated
| autoreconf: Leaving directory '.'
| NOTE: Running ../Python-3.9.5/configure  --build=x86_64-linux           --host=x86_64-linux           --target=x86_64-linux           --prefix=/home/jojan.vazhaeparampil/distro/build/tmp/work/x86_64-linux/python3-native/3.9.5-r0/recipe-sysroot-native/usr   --exec_prefix=/home/jojan.vazhaeparampil/distro/build/tmp/work/x86_64-linux/python3-native/3.9.5-r0/recipe-sysroot-native/usr           --bindir=/home/jojan.vazhaeparampil/distro/build/tmp/work/x86_64-linux/python3-native/3.9.5-r0/recipe-sysroot-native/usr/bin           --sbindir=/home/jojan.vazhaeparampil/distro/build/tmp/work/x86_64-linux/python3-native/3.9.5-r0/recipe-sysroot-native/usr/sbin           --libexecdir=/home/jojan.vazhaeparampil/distro/build/tmp/work/x86_64-linux/python3-native/3.9.5-r0/recipe-sysroot-native/usr/libexec       --datadir=/home/jojan.vazhaeparampil/distro/build/tmp/work/x86_64-linux/python3-native/3.9.5-r0/recipe-sysroot-native/usr/share           --sysconfdir=/home/jojan.vazhaeparampil/distro/build/tmp/work/x86_64-linux/python3-native/3.9.5-r0/recipe-sysroot-native/etc           --sharedstatedir=/home/jojan.vazhaeparampil/distro/build/tmp/work/x86_64-linux/python3-native/3.9.5-r0/recipe-sysroot-native/com           --localstatedir=/home/jojan.vazhaeparampil/distro/build/tmp/work/x86_64-linux/python3-native/3.9.5-r0/recipe-sysroot-native/var           --libdir=/home/jojan.vazhaeparampil/distro/build/tmp/work/x86_64-linux/python3-native/3.9.5-r0/recipe-sysroot-native/usr/lib           --includedir=/home/jojan.vazhaeparampil/distro/build/tmp/work/x86_64-linux/python3-native/3.9.5-r0/recipe-sysroot-native/usr/include       --oldincludedir=/home/jojan.vazhaeparampil/distro/build/tmp/work/x86_64-linux/python3-native/3.9.5-r0/recipe-sysroot-native/usr/include           --infodir=/home/jojan.vazhaeparampil/distro/build/tmp/work/x86_64-linux/python3-native/3.9.5-r0/recipe-sysroot-native/usr/share/info           --mandir=/home/jojan.vazhaeparampil/distro/build/tmp/work/x86_64-linux/python3-native/3.9.5-r0/recipe-sysroot-native/usr/share/man           --disable-silent-rules       --disable-dependency-tracking             --without-ensurepip --enable-shared --with-platlibdir=lib --disable-static  --bindir=/home/jojan.vazhaeparampil/distro/build/tmp/work/x86_64-linux/python3-native/3.9.5-r0/recipe-sysroot-native/usr/bin/python3-native
| configure: WARNING: unrecognized options: --disable-silent-rules, --disable-dependency-tracking
| configure: loading site script /home/jojan.vazhaeparampil/distro/build/../warrior/poky/meta/site/endian-little
| configure: loading site script /home/jojan.vazhaeparampil/distro/build/../warrior/poky/meta/site/common-linux
| configure: loading site script /home/jojan.vazhaeparampil/distro/build/../warrior/poky/meta/site/common-glibc
| configure: loading site script /home/jojan.vazhaeparampil/distro/build/../warrior/poky/meta/site/x86_64-linux
| configure: loading site script /home/jojan.vazhaeparampil/distro/build/../warrior/poky/meta/site/common
| configure: loading site script /home/jojan.vazhaeparampil/distro/build/tmp/work/x86_64-linux/python3-native/3.9.5-r0/recipe-sysroot-native/usr/share/x86_64-linux_config_site.d/ncurses_config
| checking build system type... x86_64-pc-linux-gnu
| checking host system type... x86_64-pc-linux-gnu
| checking how to print strings... printf
| 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 the compiler supports GNU C... yes
| checking whether gcc  accepts -g... yes
| checking for gcc  option to enable C11 features... -std=gnu11
| checking for a sed that does not truncate output... (cached) sed
| checking for grep that handles long lines and -e... /home/jojan.vazhaeparampil/distro/build/tmp/hosttools/grep
| checking for egrep... /home/jojan.vazhaeparampil/distro/build/tmp/hosttools/grep -E
| checking for fgrep... /home/jojan.vazhaeparampil/distro/build/tmp/hosttools/grep -F
| checking for ld used by gcc  -std=gnu11... 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 for gawk... gawk
| checking command to parse nm output from gcc  -std=gnu11 object... ok
| checking for sysroot... no
| checking for a working dd... /home/jojan.vazhaeparampil/distro/build/tmp/hosttools/dd
| checking how to truncate binary pipes... /home/jojan.vazhaeparampil/distro/build/tmp/hosttools/dd bs=4096 count=1
| checking for x86_64-linux-mt... no
| checking for mt... no
| checking if : is a manifest tool... no
| checking for stdio.h... (cached) yes
| checking for stdlib.h... (cached) yes
| checking for string.h... (cached) yes
| checking for inttypes.h... (cached) yes
| checking for stdint.h... (cached) yes
| checking for strings.h... (cached) yes
| checking for sys/stat.h... (cached) yes
| checking for sys/types.h... (cached) yes
| checking for unistd.h... (cached) yes
| checking for wchar.h... yes
| checking for minix/config.h... no
| checking for sys/time.h... yes
| checking for dlfcn.h... yes
| checking for objdir... .libs
| checking if gcc  -std=gnu11 supports -fno-rtti -fno-exceptions... no
| checking for gcc  -std=gnu11 option to produce PIC... -fPIC -DPIC
| checking if gcc  -std=gnu11 PIC flag -fPIC -DPIC works... yes
| checking if gcc  -std=gnu11 static flag -static works... yes
| checking if gcc  -std=gnu11 supports -c -o file.o... yes
| checking if gcc  -std=gnu11 supports -c -o file.o... (cached) yes
| checking whether the gcc  -std=gnu11 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... no
| checking for python3.9... no
| checking for python3... python3
| checking for --enable-universalsdk... no
| checking for --with-universal-archs... no
| checking MACHDEP... "linux"
| configure: error: cached CC is different -- throw away /dev/null
| (it is also a good idea to do 'make clean' before compiling)
| NOTE: The following config.log files may provide further information.
| NOTE: /home/jojan.vazhaeparampil/distro/build/tmp/work/x86_64-linux/python3-native/3.9.5-r0/build/config.log
| ERROR: configure failed
| WARNING: /home/jojan.vazhaeparampil/distro/build/tmp/work/x86_64-linux/python3-native/3.9.5-r0/temp/run.do_configure.29411:300 exit 1 from 'exit 1'
| WARNING: Backtrace (BB generated script):
|     #1: bbfatal_log, /home/jojan.vazhaeparampil/distro/build/tmp/work/x86_64-linux/python3-native/3.9.5-r0/temp/run.do_configure.29411, line 300
|     #2: oe_runconf, /home/jojan.vazhaeparampil/distro/build/tmp/work/x86_64-linux/python3-native/3.9.5-r0/temp/run.do_configure.29411, line 258
|     #3: autotools_do_configure, /home/jojan.vazhaeparampil/distro/build/tmp/work/x86_64-linux/python3-native/3.9.5-r0/temp/run.do_configure.29411, line 242
|     #4: do_configure, /home/jojan.vazhaeparampil/distro/build/tmp/work/x86_64-linux/python3-native/3.9.5-r0/temp/run.do_configure.29411, line 162
|     #5: main, /home/jojan.vazhaeparampil/distro/build/tmp/work/x86_64-linux/python3-native/3.9.5-r0/temp/run.do_configure.29411, line 300
| ERROR: ExecutionError('/home/jojan.vazhaeparampil/distro/build/tmp/work/x86_64-linux/python3-native/3.9.5-r0/temp/run.do_configure.29411', 1, None, None)

ERROR: Task (virtual:native:/home/jojan.vazhaeparampil/distro/build/../warrior/poky/meta/recipes-devtools/python/python3_3.9.5.bb:do_configure) failed with exit code '1' Waiting for 1 running tasks to finish: