Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 714069 Details for
Bug 794667
dev-util/systemtap-4.5 - /.../features.h: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-util:systemtap-4.5:20210606-205744.log
dev-util:systemtap-4.5:20210606-205744.log (text/plain), 19.90 KB, created by
Toralf Förster
on 2021-06-07 06:40:06 UTC
(
hide
)
Description:
dev-util:systemtap-4.5:20210606-205744.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2021-06-07 06:40:06 UTC
Size:
19.90 KB
patch
obsolete
> * Package: dev-util/systemtap-4.5 > * Repository: gentoo > * Maintainer: swegener@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_single_target_python3_9 ssl userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox > * Determining the location of the kernel source code > * Unable to find kernel sources at /usr/src/linux > * Please make sure that /usr/src/linux points at your running kernel, > * (or the kernel you wish to build against). > * Alternatively, set the KERNEL_DIR environment variable to the kernel sources location > * Unable to calculate Linux Kernel version for build, attempting to use running version > * Checking for suitable kernel configuration options... > * systemtap requires support for KProbes Instrumentation (KPROBES) - this can be enabled in 'Instrumentation Support -> Kprobes'. > * systemtap works with support for user space relay support (RELAY) - this can be enabled in 'General setup -> Kernel->user space relay support (formerly relayfs)'. > * systemtap works best with support for Debug Filesystem (DEBUG_FS) - this can be enabled in 'Kernel hacking -> Debug Filesystem'. > * Please check to make sure these options are set correctly. > * Failure to do so may cause unexpected problems. > * Using python3.9 to build >>>> Unpacking source... >>>> Unpacking systemtap-4.5.tar.gz to /var/tmp/portage/dev-util/systemtap-4.5/work >>>> Source unpacked in /var/tmp/portage/dev-util/systemtap-4.5/work >>>> Preparing source in /var/tmp/portage/dev-util/systemtap-4.5/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 ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-util/systemtap-4.5/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 >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --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.5 --htmldir=/usr/share/doc/systemtap-4.5/html --libdir=/usr/lib64 --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-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking target system type... x86_64-pc-linux-gnu >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 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-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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-pc-linux-gnu-gcc accepts -g... yes >checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed >checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes >checking dependency style of x86_64-pc-linux-gnu-gcc... none >checking how to run the C preprocessor... x86_64-pc-linux-gnu-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-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc >checking whether we are using the GNU C compiler... (cached) yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes >checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed >checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... (cached) yes >checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none >checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ >checking whether we are using the GNU C++ compiler... yes >checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes >checking dependency style of x86_64-pc-linux-gnu-g++... none >checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E >checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar >checking the archiver (x86_64-pc-linux-gnu-ar) interface... ar >checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-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-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld >checking if the linker (/usr/x86_64-pc-linux-gnu/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... yes >checking whether to use NLS... yes >checking where the gettext function comes from... libc >checking for python... /var/tmp/portage/dev-util/systemtap-4.5/temp/python3.9/bin/python >checking whether /var/tmp/portage/dev-util/systemtap-4.5/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 /usr/bin/python3.9 script directory... ${prefix}/lib/python3.9/site-packages >checking for /usr/bin/python3.9 extension module directory... ${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-pc-linux-gnu-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-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-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... no >checking for ps2pdf... no >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 how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E >checking boost/utility/string_ref.hpp usability... no >checking boost/utility/string_ref.hpp presence... no >checking for boost/utility/string_ref.hpp... no >checking need for -lboost_system library... nope >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.9-config... /usr/bin/python3.9-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 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/work/systemtap-4.5/testsuite) >configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--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.5' '--htmldir=/usr/share/doc/systemtap-4.5/html' '--libdir=/usr/lib64' '--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-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-pipe -march=native -fno-diagnostics-color ' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' 'CXXFLAGS=-pipe -march=native -fno-diagnostics-color ' 'PYTHON=/usr/bin/python3.9' 'PKG_CONFIG_PATH=/var/tmp/portage/dev-util/systemtap-4.5/temp/python3.9/pkgconfig' 'python=/usr/bin/python3.9' 'pyexecdir=${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=. >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 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 busybox >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.5/work/systemtap-4.5 ... >make -j3 >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/work/systemtap-4.5' >Making all in . >make[2]: Entering directory '/var/tmp/portage/dev-util/systemtap-4.5/work/systemtap-4.5' >x86_64-pc-linux-gnu-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"' -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 -Werror -fPIE -I/usr/include/nss -I/usr/include/nspr -fstack-protector-all -D_FORTIFY_SOURCE=2 -pipe -march=native -fno-diagnostics-color -c -o stap-main.o `test -f 'main.cxx' || echo './'`main.cxx >x86_64-pc-linux-gnu-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"' -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 -Werror -fPIE -I/usr/include/nss -I/usr/include/nspr -fstack-protector-all -D_FORTIFY_SOURCE=2 -pipe -march=native -fno-diagnostics-color -c -o stap-session.o `test -f 'session.cxx' || echo './'`session.cxx >x86_64-pc-linux-gnu-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"' -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 -Werror -fPIE -I/usr/include/nss -I/usr/include/nspr -fstack-protector-all -D_FORTIFY_SOURCE=2 -pipe -march=native -fno-diagnostics-color -c -o stap-parse.o `test -f 'parse.cxx' || echo './'`parse.cxx >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/x86_64-pc-linux-gnu/bits/os_defines.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/x86_64-pc-linux-gnu/bits/c++config.h:571, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:59, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_tree.h:63, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/map:60, > from staptree.h:13, > from main.cxx:12: >/usr/include/features.h:397:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] > 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) > | ^~~~~~~ >In file included from /usr/include/libintl.h:23, > from session.h:14, > from session.cxx:10: >/usr/include/features.h:397:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] > 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) > | ^~~~~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/x86_64-pc-linux-gnu/bits/os_defines.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/x86_64-pc-linux-gnu/bits/c++config.h:571, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:59, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_tree.h:63, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/map:60, > from staptree.h:13, > from parse.cxx:13: >/usr/include/features.h:397:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] > 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) > | ^~~~~~~ >cc1plus: all warnings being treated as errors >make[2]: *** [Makefile:1204: stap-session.o] Error 1 >make[2]: *** Waiting for unfinished jobs.... >cc1plus: all warnings being treated as errors >make[2]: *** [Makefile:1190: stap-main.o] Error 1 >cc1plus: all warnings being treated as errors >make[2]: *** [Makefile:1218: stap-parse.o] Error 1 >make[2]: Leaving directory '/var/tmp/portage/dev-util/systemtap-4.5/work/systemtap-4.5' >make[1]: *** [Makefile:2109: all-recursive] Error 1 >make[1]: Leaving directory '/var/tmp/portage/dev-util/systemtap-4.5/work/systemtap-4.5' >make: *** [Makefile:791: all] Error 2 > * ERROR: dev-util/systemtap-4.5::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=dev-util/systemtap-4.5::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-util/systemtap-4.5::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-util:systemtap-4.5:20210606-205744.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-util/systemtap-4.5/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-util/systemtap-4.5/temp/environment'. > * Working directory: '/var/tmp/portage/dev-util/systemtap-4.5/work/systemtap-4.5' > * S: '/var/tmp/portage/dev-util/systemtap-4.5/work/systemtap-4.5' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 794667
:
714066
| 714069 |
714072
|
714075
|
714078
|
714081
|
714084