* Package: dev-util/systemtap-4.5-r1 * Repository: gentoo * Maintainer: swegener@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux python_single_target_python3_9 ssl userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 5.15.7-gentoo-dist * Checking for suitable kernel configuration options... [ ok ] * Using python3.9 to build >>> Unpacking source... >>> Unpacking systemtap-4.5.tar.gz to /var/tmp/portage/dev-util/systemtap-4.5-r1/work >>> Source unpacked in /var/tmp/portage/dev-util/systemtap-4.5-r1/work >>> Preparing source in /var/tmp/portage/dev-util/systemtap-4.5-r1/work/systemtap-4.5 ... * Fixing shebang in ./testsuite/systemtap.python/celsius.py. * Fixing shebang in ./testsuite/systemtap.examples/general/pyexample.py. * Fixing shebang in ./stap-exporter/stap-exporter.in. * Fixing shebang in ./scripts/update-syscall-docs. * Fixing shebang in ./scripts/kprobes_test/stap_run_module.py. * Fixing shebang in ./scripts/kprobes_test/stap_probes_test.py. * Fixing shebang in ./scripts/kprobes_test/stap_gen_code.py. * Fixing shebang in ./scripts/kprobes_test/run_module.py. * Fixing shebang in ./scripts/kprobes_test/readelf.py. * Fixing shebang in ./scripts/kprobes_test/monitor_system.py. * Fixing shebang in ./scripts/kprobes_test/kprobes_test.py. * Fixing shebang in ./scripts/kprobes_test/is_probed.py. * Fixing shebang in ./scripts/kprobes_test/gen_code.py. * Fixing shebang in ./httpd/docker/fedora_install_package.py. * Fixing shebang in ./httpd/client.py. * Applying systemtap-3.1-ia64.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/dev-util/systemtap-4.5-r1/work/systemtap-4.5/testsuite' ... * Running 'aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'automake --add-missing --copy --foreign --force-missing' ... [ ok ] * Running eautoreconf in '/var/tmp/portage/dev-util/systemtap-4.5-r1/work/systemtap-4.5' ... * Running 'autopoint --force' ... [ ok ] * Running 'aclocal -I m4' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running 'automake --add-missing --copy --foreign --force-missing' ... [ ok ] * Running elibtoolize in: systemtap-4.5/ * Running elibtoolize in: systemtap-4.5/testsuite/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-util/systemtap-4.5-r1/work/systemtap-4.5 ... * econf: updating systemtap-4.5/config.sub with /usr/share/gnuconfig/config.sub * econf: updating systemtap-4.5/config.guess with /usr/share/gnuconfig/config.guess * econf: updating systemtap-4.5/testsuite/config.sub with /usr/share/gnuconfig/config.sub * econf: updating systemtap-4.5/testsuite/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-gentoo-linux-musl --host=x86_64-gentoo-linux-musl --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/systemtap-4.5-r1 --htmldir=/usr/share/doc/systemtap-4.5-r1/html --libdir=/usr/lib --disable-docs --disable-grapher --disable-refdocs --disable-server --enable-pie --with-python3 --without-java --without-openssl --without-python2-probes --without-rpm --disable-virt --disable-sqlite --without-avahi --with-nss --without-selinux --enable-option-checking=warn configure: WARNING: unrecognized options: --disable-grapher checking build system type... x86_64-gentoo-linux-musl checking host system type... x86_64-gentoo-linux-musl checking target system type... x86_64-gentoo-linux-musl checking for a BSD-compatible install... /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/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 x86_64-gentoo-linux-musl-gcc... x86_64-gentoo-linux-musl-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 x86_64-gentoo-linux-musl-gcc accepts -g... yes checking for x86_64-gentoo-linux-musl-gcc option to enable C11 features... none needed checking whether x86_64-gentoo-linux-musl-gcc understands -c and -o together... yes checking dependency style of x86_64-gentoo-linux-musl-gcc... none checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... 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 x86_64-gentoo-linux-musl-gcc... (cached) x86_64-gentoo-linux-musl-gcc checking whether the compiler supports GNU C... (cached) yes checking whether x86_64-gentoo-linux-musl-gcc accepts -g... (cached) yes checking for x86_64-gentoo-linux-musl-gcc option to enable C11 features... (cached) none needed checking whether x86_64-gentoo-linux-musl-gcc understands -c and -o together... (cached) yes checking dependency style of x86_64-gentoo-linux-musl-gcc... (cached) none checking for x86_64-gentoo-linux-musl-g++... x86_64-gentoo-linux-musl-g++ checking whether the compiler supports GNU C++... yes checking whether x86_64-gentoo-linux-musl-g++ accepts -g... yes checking for x86_64-gentoo-linux-musl-g++ option to enable C++11 features... none needed checking dependency style of x86_64-gentoo-linux-musl-g++... none checking how to run the C preprocessor... x86_64-gentoo-linux-musl-gcc -E checking for x86_64-gentoo-linux-musl-ar... x86_64-gentoo-linux-musl-ar checking the archiver (x86_64-gentoo-linux-musl-ar) interface... ar checking for x86_64-gentoo-linux-musl-ranlib... x86_64-gentoo-linux-musl-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... /bin/sed checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by x86_64-gentoo-linux-musl-gcc... /usr/x86_64-gentoo-linux-musl/bin/ld checking if the linker (/usr/x86_64-gentoo-linux-musl/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... no checking for iconv... yes checking for working iconv... yes checking for GNU gettext in libintl... no checking whether to use NLS... no checking for python... /var/tmp/portage/dev-util/systemtap-4.5-r1/temp/python3.9/bin/python checking whether /var/tmp/portage/dev-util/systemtap-4.5-r1/temp/python3.9/bin/python is version 2 or 3... 3 checking whether /usr/bin/python3.9 version is >= 2.6... yes checking for /usr/bin/python3.9 version... 3.9 checking for /usr/bin/python3.9 platform... linux checking for GNU default /usr/bin/python3.9 prefix... ${prefix} checking for GNU default /usr/bin/python3.9 exec_prefix... ${exec_prefix} checking for /usr/bin/python3.9 script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.9/site-packages checking for /usr/bin/python3.9 extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib/python3.9/site-packages checking for python... /usr/bin/python3.9 checking for python3 version... 3.9 checking for python3 platform... linux checking for python3 script directory... ${prefix}/lib/python3.9/site-packages checking for python3 extension module directory... ${exec_prefix}/lib/python3.9/site-packages checking to see if prologue searching should be the default... no checking to see if sdt probes should be the default... yes checking whether x86_64-gentoo-linux-musl-g++ supports C++11 features by default... yes configure: Compiling with gcc -fstack-protector-all et al. configure: Compiling with gcc pie et al. checking whether to use debuginfod... auto checking for x86_64-gentoo-linux-musl-pkg-config... /usr/bin/x86_64-gentoo-linux-musl-pkg-config checking pkg-config is at least version 0.9.0... yes checking for debuginfod... no configure: WARNING: libdebuginfod is missing or unusable; some features may be unavailable. checking for latex... no checking for dvips... yes checking for ps2pdf... yes checking for xmlto... yes checking for fop... no checking for xmlto --stringparam support... yes checking for nss... yes configure: using dracut module directory /usr/lib/dracut/modules.d/99stap configure: using dracut binary /sbin 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 configure: checking dyninst support checking for BPatch_object.h... no checking for libvirt... no checking for libxml2... yes checking for python3.9-config... /usr/bin/python3.9-config checking for Python.h... yes checking for jsonc... yes checking for ncurses... yes checking for assembler .section "?" flags support... yes checking for x86_64-gentoo-linux-musl-gcc options needed to detect all undeclared functions... none needed checking whether BPF_PROG_TYPE_PERF_EVENT is declared... yes checking whether BPF_PROG_TYPE_RAW_TRACEPOINT is declared... yes checking whether F_SETPIPE_SZ is declared... yes checking for javac... no checking for jar... no configure: WARNING: will not run per-method java probing, missing byteman or java requirements configure: Adding extra version checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating includes/sys/sdt-config.h config.status: creating po/Makefile.in config.status: creating Makefile config.status: creating doc/Makefile config.status: creating man/Makefile config.status: creating man/cs/Makefile config.status: creating doc/beginners/Makefile config.status: creating doc/SystemTap_Tapset_Reference/Makefile config.status: creating man/stap.1 config.status: creating man/stappaths.7 config.status: creating man/systemtap-service.8 config.status: creating man/cs/stap.1 config.status: creating man/cs/stappaths.7 config.status: creating man/cs/systemtap.8 config.status: creating initscript/config.systemtap config.status: creating initscript/config.stap-server config.status: creating initscript/systemtap config.status: creating initscript/stap-server config.status: creating initscript/99stap/module-setup.sh config.status: creating initscript/99stap/install config.status: creating initscript/99stap/check config.status: creating run-stap config.status: creating dtrace config.status: creating stapdyn/Makefile config.status: creating java/Makefile config.status: creating java/stapbm config.status: creating java/org/systemtap/byteman/helper/HelperSDT.java config.status: creating python/Makefile config.status: creating staprun/Makefile config.status: creating stapbpf/Makefile config.status: creating httpd/Makefile config.status: creating httpd/docker/Makefile config.status: creating staprun/run-staprun config.status: creating staprun/guest/stapshd config.status: creating staprun/guest/stapsh-daemon config.status: creating staprun/guest/stapsh@.service config.status: creating stap-exporter/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing doc/beginners commands === configuring in testsuite (/var/tmp/portage/dev-util/systemtap-4.5-r1/work/systemtap-4.5/testsuite) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--build=x86_64-gentoo-linux-musl' '--host=x86_64-gentoo-linux-musl' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--datarootdir=/usr/share' '--disable-dependency-tracking' '--disable-silent-rules' '--docdir=/usr/share/doc/systemtap-4.5-r1' '--htmldir=/usr/share/doc/systemtap-4.5-r1/html' '--libdir=/usr/lib' '--disable-docs' '--disable-grapher' '--disable-refdocs' '--disable-server' '--enable-pie' '--with-python3' '--without-java' '--without-openssl' '--without-python2-probes' '--without-rpm' '--disable-virt' '--disable-sqlite' '--without-avahi' '--with-nss' '--without-selinux' '--enable-option-checking=warn' 'build_alias=x86_64-gentoo-linux-musl' 'host_alias=x86_64-gentoo-linux-musl' 'CFLAGS=-pipe -march=native -fno-diagnostics-color -O2' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' 'CXXFLAGS=-pipe -march=native -fno-diagnostics-color -O2' 'PYTHON=/usr/bin/python3.9' 'PKG_CONFIG_PATH=/var/tmp/portage/dev-util/systemtap-4.5-r1/temp/python3.9/pkgconfig' 'python=/usr/bin/python3.9' 'pyexecdir=${PYTHON_EXEC_PREFIX}/lib/python3.9/site-packages' 'python3=/usr/bin/python3.9' 'py3execdir=${exec_prefix}/lib/python3.9/site-packages' --cache-file=/dev/null --srcdir=. configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-docs, --disable-grapher, --disable-refdocs, --disable-server, --enable-pie, --with-python3, --without-java, --without-openssl, --without-python2-probes, --without-rpm, --disable-virt, --disable-sqlite, --without-avahi, --with-nss, --without-selinux checking for a BSD-compatible install... /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/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 configure: Will test no apps from: xulrunner tcl postgres mysql java busybox checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-docs, --disable-grapher, --disable-refdocs, --disable-server, --enable-pie, --with-python3, --without-java, --without-openssl, --without-python2-probes, --without-rpm, --disable-virt, --disable-sqlite, --without-avahi, --with-nss, --without-selinux configure: WARNING: unrecognized options: --disable-grapher >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-util/systemtap-4.5-r1/work/systemtap-4.5 ... make -j4 sed -e "s#@pkgdatadir@#/usr/share/systemtap#g" < macros.systemtap.in > macros.systemtap /bin/sh ./git_version.sh -k -s . -o git_version.h git_version.sh: Output is new file, creating git_version.h make all-recursive make[1]: Entering directory '/var/tmp/portage/dev-util/systemtap-4.5-r1/work/systemtap-4.5' Making all in . make[2]: Entering directory '/var/tmp/portage/dev-util/systemtap-4.5-r1/work/systemtap-4.5' x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -DBINDIR='"/usr/bin"' -DSYSCONFDIR='"/etc"' -DPKGDATADIR='"/usr/share/systemtap"' -DPKGLIBDIR='"/usr/libexec/systemtap"' -DLOCALEDIR='"/usr/share/locale"' -DDOCDIR='"/usr/share/doc/systemtap-4.5-r1"' -DPYEXECDIR='"/usr/lib/python3.9/site-packages"' -DPY3EXECDIR='"/usr/lib/python3.9/site-packages"' -I./includes -I./includes/sys -DSTAP_SDT_V2 -I/usr/include/nss -I/usr/include/nspr -Wall -Wextra -fPIE -I/usr/include/nss -I/usr/include/nspr -fstack-protector-all -D_FORTIFY_SOURCE=2 -pipe -march=native -fno-diagnostics-color -O2 -c -o stap-main.o `test -f 'main.cxx' || echo './'`main.cxx x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -DBINDIR='"/usr/bin"' -DSYSCONFDIR='"/etc"' -DPKGDATADIR='"/usr/share/systemtap"' -DPKGLIBDIR='"/usr/libexec/systemtap"' -DLOCALEDIR='"/usr/share/locale"' -DDOCDIR='"/usr/share/doc/systemtap-4.5-r1"' -DPYEXECDIR='"/usr/lib/python3.9/site-packages"' -DPY3EXECDIR='"/usr/lib/python3.9/site-packages"' -I./includes -I./includes/sys -DSTAP_SDT_V2 -I/usr/include/nss -I/usr/include/nspr -Wall -Wextra -fPIE -I/usr/include/nss -I/usr/include/nspr -fstack-protector-all -D_FORTIFY_SOURCE=2 -pipe -march=native -fno-diagnostics-color -O2 -c -o stap-session.o `test -f 'session.cxx' || echo './'`session.cxx x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -DBINDIR='"/usr/bin"' -DSYSCONFDIR='"/etc"' -DPKGDATADIR='"/usr/share/systemtap"' -DPKGLIBDIR='"/usr/libexec/systemtap"' -DLOCALEDIR='"/usr/share/locale"' -DDOCDIR='"/usr/share/doc/systemtap-4.5-r1"' -DPYEXECDIR='"/usr/lib/python3.9/site-packages"' -DPY3EXECDIR='"/usr/lib/python3.9/site-packages"' -I./includes -I./includes/sys -DSTAP_SDT_V2 -I/usr/include/nss -I/usr/include/nspr -Wall -Wextra -fPIE -I/usr/include/nss -I/usr/include/nspr -fstack-protector-all -D_FORTIFY_SOURCE=2 -pipe -march=native -fno-diagnostics-color -O2 -c -o stap-parse.o `test -f 'parse.cxx' || echo './'`parse.cxx x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -DBINDIR='"/usr/bin"' -DSYSCONFDIR='"/etc"' -DPKGDATADIR='"/usr/share/systemtap"' -DPKGLIBDIR='"/usr/libexec/systemtap"' -DLOCALEDIR='"/usr/share/locale"' -DDOCDIR='"/usr/share/doc/systemtap-4.5-r1"' -DPYEXECDIR='"/usr/lib/python3.9/site-packages"' -DPY3EXECDIR='"/usr/lib/python3.9/site-packages"' -I./includes -I./includes/sys -DSTAP_SDT_V2 -I/usr/include/nss -I/usr/include/nspr -Wall -Wextra -fPIE -I/usr/include/nss -I/usr/include/nspr -fstack-protector-all -D_FORTIFY_SOURCE=2 -pipe -march=native -fno-diagnostics-color -O2 -c -o stap-staptree.o `test -f 'staptree.cxx' || echo './'`staptree.cxx session.cxx: In member function 'int systemtap_session::parse_cmdline(int, char* const*)': session.cxx:1511:23: error: 'canonicalize_file_name' was not declared in this scope 1511 | spath = canonicalize_file_name (optarg); | ^~~~~~~~~~~~~~~~~~~~~~ main.cxx: In function 'int collect_stp(const char*, const stat*, int, FTW*)': main.cxx:477:16: error: 'FTW_SKIP_SUBTREE' was not declared in this scope 477 | return FTW_SKIP_SUBTREE; | ^~~~~~~~~~~~~~~~ main.cxx:479:10: error: 'FTW_CONTINUE' was not declared in this scope; did you mean 'CLD_CONTINUED'? 479 | return FTW_CONTINUE; | ^~~~~~~~~~~~ | CLD_CONTINUED main.cxx: In function 'int collect_stpm(const char*, const stat*, int, FTW*)': main.cxx:496:16: error: 'FTW_SKIP_SUBTREE' was not declared in this scope 496 | return FTW_SKIP_SUBTREE; | ^~~~~~~~~~~~~~~~ main.cxx:498:10: error: 'FTW_CONTINUE' was not declared in this scope; did you mean 'CLD_CONTINUED'? 498 | return FTW_CONTINUE; | ^~~~~~~~~~~~ | CLD_CONTINUED main.cxx: In function 'int passes_0_4(systemtap_session&)': main.cxx:619:61: error: 'FTW_ACTIONRETVAL' was not declared in this scope 619 | (void) nftw(path_dir.c_str(), collect_stp, 1, FTW_ACTIONRETVAL); | ^~~~~~~~~~~~~~~~ main.cxx:711:27: error: 'FTW_ACTIONRETVAL' was not declared in this scope 711 | int flags = FTW_ACTIONRETVAL; | ^~~~~~~~~~~~~~~~ main.cxx:793:27: error: 'FTW_ACTIONRETVAL' was not declared in this scope 793 | int flags = FTW_ACTIONRETVAL; | ^~~~~~~~~~~~~~~~ make[2]: *** [Makefile:1204: stap-session.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [Makefile:1190: stap-main.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/dev-util/systemtap-4.5-r1/work/systemtap-4.5' make[1]: *** [Makefile:2109: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/dev-util/systemtap-4.5-r1/work/systemtap-4.5' make: *** [Makefile:791: all] Error 2 * ERROR: dev-util/systemtap-4.5-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-util/systemtap-4.5-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-util/systemtap-4.5-r1::gentoo'`. * The complete build log is located at '/var/log/portage/dev-util:systemtap-4.5-r1:20211210-085620.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-util/systemtap-4.5-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/systemtap-4.5-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-util/systemtap-4.5-r1/work/systemtap-4.5' * S: '/var/tmp/portage/dev-util/systemtap-4.5-r1/work/systemtap-4.5'