Systemtap fails configuration step in yocto kirkstone build

Frank Ch. Eigler fche@redhat.com
Wed Jun 19 20:27:55 GMT 2024


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



More information about the Systemtap mailing list