* Package: dev-util/systemtap-4.0-r1 * Repository: gentoo * Maintainer: swegener@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux python_single_target_python3_6 ssl userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Adding group 'stapusr' to your system ... * - Groupid: 156 * Adding group 'stapsys' to your system ... * - Groupid: 157 * Adding group 'stapdev' to your system ... * - Groupid: 158 * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 5.5.9-gentoo * Checking for suitable kernel configuration options... [ ok ] * Using python3.6 to build >>> Unpacking source... >>> Unpacking systemtap-4.0.tar.gz to /var/tmp/portage/dev-util/systemtap-4.0-r1/work >>> Source unpacked in /var/tmp/portage/dev-util/systemtap-4.0-r1/work >>> Preparing source in /var/tmp/portage/dev-util/systemtap-4.0-r1/work/systemtap-4.0 ... * 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. * Fixing shebang in ./doc/SystemTap_Tapset_Reference/overload.py. * Applying systemtap-3.1-ia64.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/dev-util/systemtap-4.0-r1/work/systemtap-4.0/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.0-r1/work/systemtap-4.0' ... * 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.0/ * Running elibtoolize in: systemtap-4.0/testsuite/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-util/systemtap-4.0-r1/work/systemtap-4.0 ... * econf: updating systemtap-4.0/config.sub with /usr/share/gnuconfig/config.sub * econf: updating systemtap-4.0/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 --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/systemtap-4.0-r1 --htmldir=/usr/share/doc/systemtap-4.0-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 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.6/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe 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 we are using the GNU C compiler... yes checking whether x86_64-gentoo-linux-musl-gcc accepts -g... yes checking for x86_64-gentoo-linux-musl-gcc option to accept ISO C89... 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 how to run the C preprocessor... x86_64-gentoo-linux-musl-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... 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 whether ln -s works... yes checking for x86_64-gentoo-linux-musl-gcc... (cached) x86_64-gentoo-linux-musl-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-gentoo-linux-musl-gcc accepts -g... (cached) yes checking for x86_64-gentoo-linux-musl-gcc option to accept ISO C89... (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 we are using the GNU C++ compiler... yes checking whether x86_64-gentoo-linux-musl-g++ accepts -g... yes 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-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 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.0-r1/temp/python3.6/bin/python checking whether /var/tmp/portage/dev-util/systemtap-4.0-r1/temp/python3.6/bin/python is version 2 or 3... 3 checking whether /usr/bin/python3.6 version is >= 2.6... yes checking for /usr/bin/python3.6 version... 3.6 checking for /usr/bin/python3.6 platform... linux checking for /usr/bin/python3.6 script directory... ${prefix}/lib/python3.6/site-packages checking for /usr/bin/python3.6 extension module directory... ${exec_prefix}/lib/python3.6/site-packages checking for python3... /usr/bin/python3.6 checking for python3 version... 3.6 checking for python3 platform... linux checking for python3 script directory... ${prefix}/lib/python3.6/site-packages checking for python3 extension module directory... ${exec_prefix}/lib/python3.6/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 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 latex... no checking for dvips... no 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_get_elfmachine 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 how to run the C++ preprocessor... x86_64-gentoo-linux-musl-g++ -E checking boost/utility/string_ref.hpp usability... yes checking boost/utility/string_ref.hpp presence... yes checking for boost/utility/string_ref.hpp... yes configure: checking dyninst support checking BPatch_object.h usability... no checking BPatch_object.h presence... no checking for BPatch_object.h... no checking for libvirt... no checking for libxml2... yes checking for python3.6-config... /usr/bin/python3.6-config checking Python.h usability... yes checking Python.h presence... yes checking for Python.h... yes checking for jsonc... yes checking for ncurses... yes checking for assembler .section "?" flags support... yes checking whether BPF_PROG_TYPE_PERF_EVENT 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 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.0-r1/work/systemtap-4.0/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' '--disable-dependency-tracking' '--disable-silent-rules' '--docdir=/usr/share/doc/systemtap-4.0-r1' '--htmldir=/usr/share/doc/systemtap-4.0-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' 'build_alias=x86_64-gentoo-linux-musl' 'host_alias=x86_64-gentoo-linux-musl' 'CFLAGS=-O2 -pipe -march=native -fno-common -falign-functions=32:25:16' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' 'CXXFLAGS=-O2 -pipe -march=native -fno-common -falign-functions=32:25:16' 'PYTHON=/usr/bin/python3.6' 'PKG_CONFIG_PATH=/var/tmp/portage/dev-util/systemtap-4.0-r1/temp/python3.6/pkgconfig' 'python=/usr/bin/python3.6' 'pyexecdir=${exec_prefix}/lib/python3.6/site-packages' 'python3=/usr/bin/python3.6' 'py3execdir=${exec_prefix}/lib/python3.6/site-packages' --cache-file=/dev/null --srcdir=. checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe 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 checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-util/systemtap-4.0-r1/work/systemtap-4.0 ... make -j1 /bin/sh ./git_version.sh -k -s . -o git_version.h git_version.sh: Output is new file, creating git_version.h sed -e "s#@pkgdatadir@#/usr/share/systemtap#g" < macros.systemtap.in > macros.systemtap make all-recursive make[1]: Entering directory '/var/tmp/portage/dev-util/systemtap-4.0-r1/work/systemtap-4.0' Making all in . make[2]: Entering directory '/var/tmp/portage/dev-util/systemtap-4.0-r1/work/systemtap-4.0' 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.0-r1"' -DPYEXECDIR='"/usr/lib/python3.6/site-packages"' -DPY3EXECDIR='"/usr/lib/python3.6/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 -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o stap-main.o `test -f 'main.cxx' || echo './'`main.cxx main.cxx: In function ‘int collect_stp(const char*, const stat*, int, FTW*)’: main.cxx:381:16: error: ‘FTW_SKIP_SUBTREE’ was not declared in this scope 381 | return FTW_SKIP_SUBTREE; | ^~~~~~~~~~~~~~~~ main.cxx:383:10: error: ‘FTW_CONTINUE’ was not declared in this scope; did you mean ‘CLD_CONTINUED’? 383 | return FTW_CONTINUE; | ^~~~~~~~~~~~ | CLD_CONTINUED main.cxx: In function ‘int collect_stpm(const char*, const stat*, int, FTW*)’: main.cxx:400:16: error: ‘FTW_SKIP_SUBTREE’ was not declared in this scope 400 | return FTW_SKIP_SUBTREE; | ^~~~~~~~~~~~~~~~ main.cxx:402:10: error: ‘FTW_CONTINUE’ was not declared in this scope; did you mean ‘CLD_CONTINUED’? 402 | return FTW_CONTINUE; | ^~~~~~~~~~~~ | CLD_CONTINUED main.cxx: In function ‘int passes_0_4(systemtap_session&)’: main.cxx:518:61: error: ‘FTW_ACTIONRETVAL’ was not declared in this scope 518 | (void) nftw(path_dir.c_str(), collect_stp, 1, FTW_ACTIONRETVAL); | ^~~~~~~~~~~~~~~~ main.cxx:610:27: error: ‘FTW_ACTIONRETVAL’ was not declared in this scope 610 | int flags = FTW_ACTIONRETVAL; | ^~~~~~~~~~~~~~~~ main.cxx:692:27: error: ‘FTW_ACTIONRETVAL’ was not declared in this scope 692 | int flags = FTW_ACTIONRETVAL; | ^~~~~~~~~~~~~~~~ make[2]: *** [Makefile:1184: stap-main.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/dev-util/systemtap-4.0-r1/work/systemtap-4.0' make[1]: *** [Makefile:2103: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/dev-util/systemtap-4.0-r1/work/systemtap-4.0' make: *** [Makefile:787: all] Error 2 * ERROR: dev-util/systemtap-4.0-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-util/systemtap-4.0-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-util/systemtap-4.0-r1::gentoo'`. * The complete build log is located at '/var/log/portage/dev-util:systemtap-4.0-r1:20200318-191513.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-util/systemtap-4.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/systemtap-4.0-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-util/systemtap-4.0-r1/work/systemtap-4.0' * S: '/var/tmp/portage/dev-util/systemtap-4.0-r1/work/systemtap-4.0'