public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* Systemtap fails configuration step in yocto kirkstone build
@ 2024-06-10 21:07 Jean-Pierre Sainfeld
  2024-06-19 20:27 ` Frank Ch. Eigler
  0 siblings, 1 reply; 2+ messages in thread
From: Jean-Pierre Sainfeld @ 2024-06-10 21:07 UTC (permalink / raw)
  To: systemtap

[-- Attachment #1: Type: text/plain, Size: 26697 bytes --]

If someone could help me resolve this issue, I would appreciate it very much

on a Ubuntu 20.04 host we are building an image with Yocto Kirkstone.

This step worked fine for month but lately fails in the do-configure step of the recipe for systemtap

uname -a
Linux Zephyr2950 5.15.0-107-generic #117~20.04.1-Ubuntu SMP Tue Apr 30 10:35:57 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

The tree where the recipe for systemtap is as follows:

gfsc@Zephyr2950:/mnt/build/jps/HOST/sekHostCombo/sources/poky/meta/recipes-kernel/systemtap$ tree
.
├── systemtap
│   ├── 0001-Do-not-let-configure-write-a-python-location-into-th.patch
│   ├── 0001-gcc12-c-compatibility-re-tweak-for-rhel6-use-functio.patch
│   ├── 0001-improve-reproducibility-for-c-compiling.patch
│   ├── 0001-Install-python-modules-to-correct-library-dir.patch
│   ├── 0001-PR28778-gcc-warning-tweak-for-sprintf-precision-para.patch
│   ├── 0001-PR28804-tune-default-stap-s-buffer-size-on-small-RAM.patch
│   ├── 0001-staprun-address-ncurses-6.3-failures.patch
│   └── 0001-staprun-stapbpf-don-t-support-installing-a-non-root.patch
├── systemtap_git.bb
├── systemtap_git.inc
├── systemtap-native_git.bb
└── systemtap-uprobes_git.bb

1 directory, 12 files
gfsc@Zephyr2950:/mnt/build/jps/HOST/sekHostCombo/sources/poky/meta/recipes-kernel/systemtap$

after setting our build environment

gfsc@Zephyr2950:/mnt/build/jps/HOST/sekHostCombo$ ls
build imx-setup-release.sh README-IMXBSP sources
downloads README setup-environment
gfsc@Zephyr2950:/mnt/build/jps/HOST/sekHostCombo$

source setup-environment build

gfsc@Zephyr2950:/mnt/build/jps/HOST/sekHostCombo$ source setup-environment build/

Welcome to Freescale Community BSP

The Yocto Project has extensive documentation about OE including a
reference manual which can be found at:
http://yoctoproject.org/documentation

For more information about OpenEmbedded see their website:
http://www.openembedded.org/

You can now run 'bitbake <target>'

Common targets are:
core-image-minimal
meta-toolchain
meta-toolchain-sdk
adt-installer
meta-ide-support

Your configuration files at build/ have not been touched.
gfsc@Zephyr2950:/mnt/build/jps/HOST/sekHostCombo/build$


we issue the following bitbake command

bitbake systemtap -c cleanall

This step complete successfully

then

bitbake systemtap

This step fails

and here is the log of this failed step

=================

DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['/mnt/build/jps/HOST/sekHostCombo/sources/poky/meta/recipes-core/glibc/glibc_2.35.bb:do_populate_sysroot', '/mnt/build/jps/HOST/sekHostCombo/sources/poky/meta/recipes-core/ncurses/ncurses_6.3+20220423.bb:do_populate_sysroot', '/mnt/build/jps/HOST/sekHostCombo/sources/poky/meta/recipes-core/systemd/systemd-systemctl-native.bb:do_populate_sysroot', '/mnt/build/jps/HOST/sekHostCombo/sources/poky/meta/recipes-devtools/elfutils/elfutils_0.186.bb:do_populate_sysroot', '/mnt/build/jps/HOST/sekHostCombo/sources/poky/meta/recipes-devtools/gcc/gcc-cross_11.4.bb:do_populate_sysroot', '/mnt/build/jps/HOST/sekHostCombo/sources/poky/meta/recipes-devtools/gcc/gcc-runtime_11.4.bb:do_populate_sysroot', '/mnt/build/jps/HOST/sekHostCombo/sources/poky/meta/recipes-devtools/json-c/json-c_0.15.bb:do_populate_sysroot', '/mnt/build/jps/HOST/sekHostCombo/sources/poky/meta/recipes-devtools/libtool/libtool-cross_2.4.7.bb:do_populate_sysroot', '/mnt/build/jps/HOST/sekHostCombo/sources/poky/meta/recipes-devtools/libtool/libtool-native_2.4.7.bb:do_populate_sysroot', '/mnt/build/jps/HOST/sekHostCombo/sources/poky/meta/recipes-devtools/python/python3_3.10.12.bb:do_populate_sysroot', '/mnt/build/jps/HOST/sekHostCombo/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', '/mnt/build/jps/HOST/sekHostCombo/sources/poky/meta/recipes-support/boost/boost_1.78.0.bb:do_populate_sysroot', '/mnt/build/jps/HOST/sekHostCombo/sources/poky/meta/recipes-support/sqlite/sqlite3_3.38.5.bb:do_populate_sysroot', 'virtual:native:/mnt/build/jps/HOST/sekHostCombo/sources/poky/meta/recipes-core/gettext/gettext_0.21.bb:do_populate_sysroot', 'virtual:native:/mnt/build/jps/HOST/sekHostCombo/sources/poky/meta/recipes-devtools/autoconf/autoconf_2.71.bb:do_populate_sysroot', 'virtual:native:/mnt/build/jps/HOST/sekHostCombo/sources/poky/meta/recipes-devtools/automake/automake_1.16.5.bb:do_populate_sysroot', 'virtual:native:/mnt/build/jps/HOST/sekHostCombo/sources/poky/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:/mnt/build/jps/HOST/sekHostCombo/sources/poky/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_populate_sysroot', 'virtual:native:/mnt/build/jps/HOST/sekHostCombo/sources/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/mnt/build/jps/HOST/sekHostCombo/sources/poky/meta/recipes-devtools/python/python3-setuptools_59.5.0.bb:do_populate_sysroot', 'virtual:native:/mnt/build/jps/HOST/sekHostCombo/sources/poky/meta/recipes-devtools/python/python3_3.10.12.bb:do_populate_sysroot']
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: ['glibc', 'ncurses', 'systemd-systemctl-native', 'elfutils', 'gcc-cross-aarch64', 'gcc-runtime', 'json-c', 'libtool-cross', 'libtool-native', 'python3', 'quilt-native', 'boost', 'sqlite3', 'gettext-native', 'autoconf-native', 'automake-native', 'patch-native', 'pkgconfig-native', 'pseudo-native', 'python3-setuptools-native', 'python3-native', 'icu', 'bzip2', 'zlib', 'linux-libc-headers', 'gnu-config-native', 'xz-native', 'binutils-cross-aarch64', 'zlib-native', 'zstd-native', 'mpfr-native', 'flex-native', 'texinfo-dummy-native', 'gmp-native', 'libmpc-native', 'm4-native', 'libgcc', 'attr-native', 'gettext-minimal-native', 'libmicrohttpd', 'libarchive', 'curl', 'libtirpc', 'libnsl2', 'opkg-utils', 'openssl', 'util-linux-libuuid', 'readline', 'gdbm', 'libffi', 'libxcrypt', 'xz', 'libtirpc-native', 'libffi-native', 'openssl-native', 'readline-native', 'bzip2-native', 'ncurses-native', 'util-linux-libuuid-native', 'libnsl2-native', 'sqlite3-native', 'gdbm-native', 'python3-installer-native', 'python3-wheel-native', 'autoconf-archive', 'gnutls', 'libgcrypt', 'file', 'lzo', 'zstd', 'acl', 'attr', 'libidn2', 'cryptodev-linux', 'perl-native', 'python3-flit-core-native', 'unzip-native', 'gmp', 'nettle', 'p11-kit', 'libunistring', 'libseccomp', 'libcap', 'libgpg-error', 'make-native', 'libtasn1', 'bash-completion', 'libpam', 'cracklib', 'flex']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing shell function autotools_preconfigure
DEBUG: Shell function autotools_preconfigure finished
DEBUG: Executing python function autotools_aclocals
DEBUG: SITE files ['endian-little', 'bit-64', 'arm-common', 'arm-64', 'common-linux', 'common-glibc', 'aarch64-linux', 'common']
DEBUG: Python function autotools_aclocals finished
DEBUG: Executing shell function do_configure
automake (GNU automake) 1.16.5
Copyright (C) 2021 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 tromey@redhat.com<mailto:tromey@redhat.com>
and Alexandre Duret-Lutz adl@gnu.org<mailto:adl@gnu.org>.
AUTOV is 1.16
NOTE: Executing ACLOCAL="aclocal --system-acdir=/mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot/usr/share/aclocal/ --automake-acdir=/mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot-native/usr/share/aclocal-1.16" autoreconf -Wcross --verbose --install --force --exclude=autopoint --exclude=gtkdocize -I /mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/git/m4/ -I /mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot-native/usr/share/aclocal/
autoreconf: export WARNINGS=cross,no-obsolete
autoreconf: Entering directory '.'
autoreconf: running: aclocal --system-acdir=/mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot/usr/share/aclocal/ --automake-acdir=/mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot-native/usr/share/aclocal-1.16 -I /mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/git/m4/ -I /mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot-native/usr/share/aclocal/ --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: adding subdirectory testsuite to autoreconf
autoreconf: Entering directory 'testsuite'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --system-acdir=/mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot/usr/share/aclocal/ --automake-acdir=/mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot-native/usr/share/aclocal-1.16 -I /mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/git/m4/ -I /mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot-native/usr/share/aclocal/ --force
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: /mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot-native/usr/bin/autoconf --include=/mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/git/m4/ --include=/mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot-native/usr/share/aclocal/ --force
autoreconf: configure.ac: not using Autoheader
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory 'testsuite'
autoreconf: configure.ac: not using Libtool
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: /mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot-native/usr/bin/autoconf --include=/mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/git/m4/ --include=/mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot-native/usr/share/aclocal/ --force
autoreconf: running: /mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot-native/usr/bin/autoheader --include=/mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/git/m4/ --include=/mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot-native/usr/share/aclocal/ --force
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory '.'
NOTE: Running ../git/configure --build=x86_64-linux --host=aarch64-poky-linux --target=aarch64-poky-linux --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/com --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --disable-silent-rules --disable-dependency-tracking --with-libtool-sysroot=/mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot --with-libelf=/mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot --without-rpm --without-nss --without-avahi --without-dyninst --disable-server --disable-grapher --enable-prologues --with-python3 --without-python2-probes ac_cv_prog_have_javac=no ac_cv_prog_have_jar=no --disable-docs --disable-publican --disable-refdocs --disable-static --disable-libvirt --enable-monitor --with-python3-probes --enable-sqlite --enable-translator --enable-nls
configure: loading site script /mnt/build/jps/HOST/sekHostCombo/sources/poky/meta/site/endian-little
configure: loading site script /mnt/build/jps/HOST/sekHostCombo/sources/poky/meta/site/arm-common
configure: loading site script /mnt/build/jps/HOST/sekHostCombo/sources/poky/meta/site/arm-64
configure: loading site script /mnt/build/jps/HOST/sekHostCombo/sources/poky/meta/site/common-linux
configure: loading site script /mnt/build/jps/HOST/sekHostCombo/sources/poky/meta/site/common-glibc
configure: loading site script /mnt/build/jps/HOST/sekHostCombo/sources/poky/meta/site/common
configure: loading site script /mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot/usr/share/aarch64-poky-linux_config_site.d/ncurses_config
checking build system type... x86_64-pc-linux-gnu
checking host system type... aarch64-poky-linux-gnu
checking target system type... aarch64-poky-linux-gnu
checking for a BSD-compatible install... /mnt/build/jps/HOST/sekHostCombo/build/tmp/hosttools/install -c
checking whether build environment is sane... yes
checking for aarch64-poky-linux-strip... aarch64-poky-linux-strip
checking for a race-free mkdir -p... /mnt/build/jps/HOST/sekHostCombo/build/tmp/hosttools/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... (cached) yes
checking whether make supports the include directive... yes (GNU style)
checking for aarch64-poky-linux-gcc... aarch64-poky-linux-gcc -march=armv8-a+crc+crypto -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot
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... yes
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether aarch64-poky-linux-gcc -march=armv8-a+crc+crypto -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot accepts -g... yes
checking for aarch64-poky-linux-gcc -march=armv8-a+crc+crypto -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot option to enable C11 features... none needed
checking whether aarch64-poky-linux-gcc -march=armv8-a+crc+crypto -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot understands -c and -o together... yes
checking dependency style of aarch64-poky-linux-gcc -march=armv8-a+crc+crypto -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot... none
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 whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking whether ln -s works... yes
checking for aarch64-poky-linux-gcc... (cached) aarch64-poky-linux-gcc -march=armv8-a+crc+crypto -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot
checking whether the compiler supports GNU C... (cached) yes
checking whether aarch64-poky-linux-gcc -march=armv8-a+crc+crypto -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot accepts -g... (cached) yes
checking for aarch64-poky-linux-gcc -march=armv8-a+crc+crypto -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot option to enable C11 features... (cached) none needed
checking whether aarch64-poky-linux-gcc -march=armv8-a+crc+crypto -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot understands -c and -o together... (cached) yes
checking dependency style of aarch64-poky-linux-gcc -march=armv8-a+crc+crypto -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot... (cached) none
checking whether the compiler supports GNU C++... yes
checking whether aarch64-poky-linux-g++ -march=armv8-a+crc+crypto -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot accepts -g... yes
checking for aarch64-poky-linux-g++ -march=armv8-a+crc+crypto -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot option to enable C++11 features... none needed
checking dependency style of aarch64-poky-linux-g++ -march=armv8-a+crc+crypto -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot... none
checking how to run the C preprocessor... aarch64-poky-linux-gcc -E --sysroot=/mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot -march=armv8-a+crc+crypto -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security
checking for aarch64-poky-linux-ar... aarch64-poky-linux-gcc-ar
checking the archiver (aarch64-poky-linux-gcc-ar) interface... ar
checking for aarch64-poky-linux-ranlib... aarch64-poky-linux-gcc-ranlib
checking whether make sets $(MAKE)... (cached) yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for ppoll... yes
checking for openat... yes
checking for a sed that does not truncate output... (cached) sed
checking whether NLS is requested... yes
checking for msgfmt... /mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot-native/usr/bin/msgfmt
checking for gmsgfmt... /mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot-native/usr/bin/msgfmt
checking for xgettext... /mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot-native/usr/bin/xgettext
checking for msgmerge... /mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot-native/usr/bin/msgmerge
checking for ld... aarch64-poky-linux-ld --sysroot=/mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot
checking if the linker (aarch64-poky-linux-ld --sysroot=/mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot ) is GNU ld... yes
checking for shared library run path origin... done
checking 32-bit host C ABI... no
checking for grep that handles long lines and -e... /mnt/build/jps/HOST/sekHostCombo/build/tmp/hosttools/grep
checking for egrep... /mnt/build/jps/HOST/sekHostCombo/build/tmp/hosttools/grep -E
checking for ELF binary format... yes
checking for the common suffixes of directories in the library search path... lib,lib,lib64
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for python... /mnt/build/jps/HOST/sekHostCombo/build/tmp/hosttools/python
checking whether /mnt/build/jps/HOST/sekHostCombo/build/tmp/hosttools/python is version 2 or 3... 3
checking whether /mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot-native/usr/bin/python3-native/python3 version is >= 2.6... yes
checking for /mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot-native/usr/bin/python3-native/python3 version... 3.10
checking for /mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot-native/usr/bin/python3-native/python3 platform... linux
checking for GNU default /mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot-native/usr/bin/python3-native/python3 prefix... ${prefix}
checking for GNU default /mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot-native/usr/bin/python3-native/python3 exec_prefix... ${exec_prefix}
checking for /mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot-native/usr/bin/python3-native/python3 script directory (pythondir)... ${libdir}/python3.10/site-packages
checking for /mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot-native/usr/bin/python3-native/python3 extension module directory (pyexecdir)... ${libdir}/python3.10/site-packages
checking for python... /mnt/build/jps/HOST/sekHostCombo/build/tmp/hosttools/python
checking for python3 version... 3.8
checking for python3 platform... linux
checking for python3 script directory... ${prefix}/lib/python3.8/site-packages
checking for python3 extension module directory... ${exec_prefix}/lib/python3.8/site-packages
checking to see if sdt probes should be the default... yes
checking whether aarch64-poky-linux-g++ -march=armv8-a+crc+crypto -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot supports C++11 features by default... yes
checking whether C++ compiler accepts -faligned-new... yes
checking whether to use debuginfod... auto
checking for aarch64-poky-linux-pkg-config... no
checking for pkg-config... /mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot-native/usr/bin/pkg-config
configure: WARNING: using cross tools not prefixed with host triplet
checking pkg-config is at least version 0.9.0... yes
checking for debuginfod... yes
checking for sqlite3... yes
checking for latex... no
checking for dvips... no
checking for ps2pdf... no
checking for xmlto... no
checking for fop... no
checking for openssl... yes
configure: using dracut module directory /usr/lib/dracut/modules.d/99stap
configure: using dracut binary /sbin
configure: WARNING: compile-server client functionality will be disabled, cannot find nss development files
configure: WARNING: some compile-server functionality will be restricted, cannot find avahi development files
checking how to link readline libs... -lreadline
checking for ebl_strtabinit in -lebl... no
checking for dwfl_module_getsym in -ldw... yes
checking for dwarf_next_unit in -ldw... yes
configure: stap will link -Wl,--start-group -ldw -Wl,--end-group -lelf
checking for elf_getshdrstrndx in -lelf... yes
configure: staprun will link -lelf
configure: stapbpf will link -lelf
checking for boost/utility/string_ref.hpp... yes
checking need for -lboost_system library... yup
checking for libxml2... no
configure: WARNING: will not build systemtap virt support, cannot find libvirt headers
configure: WARNING: will not build systemtap virt support, cannot find xml2 headers
checking for python-config... no
configure: error: python version 3 probe support requested but not found
NOTE: The following config.log files may provide further information.
NOTE: /mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/build/config.log
ERROR: configure failed
WARNING: exit code 1 from a shell command.

=================

This is it for now. I keep trying various options but so far no good results
if you have some ideas how to fix this it would be FANTASTIC :-)
























The information contained in this e-mail, and any attachments thereto, is confidential and is intended only for use by the individual(s) and/or entity named above. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this communication or any disclosure of the contents of this communication to others is strictly prohibited. If you have received this communication in error, please notify the sender immediately by replying to this e-mail. Please then delete the original including all attachments and any copy of any e-mail and printout thereof.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Systemtap fails configuration step in yocto kirkstone build
  2024-06-10 21:07 Systemtap fails configuration step in yocto kirkstone build Jean-Pierre Sainfeld
@ 2024-06-19 20:27 ` Frank Ch. Eigler
  0 siblings, 0 replies; 2+ messages in thread
From: Frank Ch. Eigler @ 2024-06-19 20:27 UTC (permalink / raw)
  To: Jean-Pierre Sainfeld; +Cc: systemtap

Jean-Pierre Sainfeld <Jean-Pierre.Sainfeld@sekisuidiagnostics.com>
writes:

> [...]
> This step worked fine for month but lately fails in the do-configure
> step of the recipe for systemtap
> [...]
> ├── systemtap
> │   ├── 0001-Do-not-let-configure-write-a-python-location-into-th.patch
> │   ├── 0001-gcc12-c-compatibility-re-tweak-for-rhel6-use-functio.patch
> │   ├── 0001-improve-reproducibility-for-c-compiling.patch
> │   ├── 0001-Install-python-modules-to-correct-library-dir.patch
> │   ├── 0001-PR28778-gcc-warning-tweak-for-sprintf-precision-para.patch
> │   ├── 0001-PR28804-tune-default-stap-s-buffer-size-on-small-RAM.patch
> │   ├── 0001-staprun-address-ncurses-6.3-failures.patch
> │   └── 0001-staprun-stapbpf-don-t-support-installing-a-non-root.patch
> ├── systemtap_git.bb
> ├── systemtap_git.inc
> ├── systemtap-native_git.bb
> └── systemtap-uprobes_git.bb

(Are these patches public somewhere?)


> [...]
> autoreconf: running: automake --add-missing --copy --force-missing
> autoreconf: Leaving directory '.'

(By the way, this should be unnecessary unless your patches modify
the configury input files.)


> NOTE: Running ../git/configure --build=x86_64-linux
> --host=aarch64-poky-linux --target=aarch64-poky-linux --prefix=/usr
> --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
> --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc
> --sharedstatedir=/com --localstatedir=/var --libdir=/usr/lib
> --includedir=/usr/include --oldincludedir=/usr/include
> --infodir=/usr/share/info --mandir=/usr/share/man
> --disable-silent-rules --disable-dependency-tracking
> --with-libtool-sysroot=/mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot
> --with-libelf=/mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/recipe-sysroot
> --without-rpm --without-nss --without-avahi --without-dyninst
> --disable-server --disable-grapher --enable-prologues --with-python3
> --without-python2-probes ac_cv_prog_have_javac=no
> ac_cv_prog_have_jar=no --disable-docs --disable-publican
> --disable-refdocs --disable-static --disable-libvirt --enable-monitor
> --with-python3-probes --enable-sqlite --enable-translator --enable-nls
> [...]
> checking for python-config... no
> configure: error: python version 3 probe support requested but not found
> NOTE: The following config.log files may provide further information.
> NOTE:
> /mnt/build/jps/HOST/sekHostCombo/build/tmp/work/armv8a-poky-linux/systemtap/4.6-r0/build/config.log
> ERROR: configure failed

systemtap's configure.ac looks for a program called "python3-config" (in
the python3 case), since your configure invocation specifically asked
for --with-python3* bits.  If that program is installed, maybe run the
configure script with "sh -x" to produce a shell level trace of what
happened.  Or if you don't really need python stuff, drop those --with
options.

- FChE


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-06-19 20:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-10 21:07 Systemtap fails configuration step in yocto kirkstone build Jean-Pierre Sainfeld
2024-06-19 20:27 ` Frank Ch. Eigler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).