Making all in stapbpf make[2]: Entering directory '/var/tmp/portage/dev-util/systemtap-4.0/work/systemtap-4.0/stapbpf' make -C .. git_version.stamp make[3]: Entering directory '/var/tmp/portage/dev-util/systemtap-4.0/work/systemtap-4.0' /bin/sh ./git_version.sh -k -s . -o git_version.h git_version.sh: Not a git repo, keeping existing git_version.h make[3]: Leaving directory '/var/tmp/portage/dev-util/systemtap-4.0/work/systemtap-4.0' make all-am make[3]: Entering directory '/var/tmp/portage/dev-util/systemtap-4.0/work/systemtap-4.0/stapbpf' hppa2.0-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -I./../includes -I./../includes/sys -DBINDIR='"/usr/bin"' -DSYSCONFDIR='"/etc"' -DPKGDAT ADIR='"/usr/share/systemtap"' -DPKGLIBDIR='"/usr/libexec/systemtap"' -DLOCALEDIR='"/usr/share/locale"' -Wall -Wextra -Werror -Wunused -W -Wformat=2 -fPIE -fstack-protector-all -D_FORTIFY_SOURCE=2 -mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe -c -o stapbpf-stapbpf.o `test -f 'stapbpf.cxx' || echo './'`stapbpf.cxx hppa2.0-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -I./../includes -I./../includes/sys -DBINDIR='"/usr/bin"' -DSYSCONFDIR='"/etc"' -DPKGDATADIR='"/usr/share/systemtap"' -DPKGLIBDIR='"/usr/libexec/systemtap"' -DLOCALEDIR='"/usr/share/locale"' -Wall -Wextra -Werror -Wunused -W -Wformat=2 -fPIE -fstack-protector-all -D_FORTIFY_SOURCE=2 -mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe -c -o stapbpf-bpfinterp.o `test -f 'bpfinterp.cxx' || echo './'`bpfinterp.cxx hppa2.0-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -I./../includes -I./../includes/sys -DBINDIR='"/usr/bin"' -DSYSCONFDIR='"/etc"' -DPKGDATADIR='"/usr/share/systemtap"' -DPKGLIBDIR='"/usr/libexec/systemtap"' -DLOCALEDIR='"/usr/share/locale"' -Wall -Wextra -Werror -Wunused -W -Wformat=2 -fPIE -fstack-protector-all -D_FORTIFY_SOURCE=2 -mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe -Wno-comment -c -o stapbpf-libbpf.o `test -f 'libbpf.c' || echo './'`libbpf.c cc1plus: error: -fstack-protector not supported for this target [-Werror] <command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror] <built-in>: note: this is the location of the previous definition cc1plus: error: -fstack-protector not supported for this target [-Werror] cc1: error: -fstack-protector not supported for this target [-Werror] <command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror] <built-in>: note: this is the location of the previous definition <command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror] <built-in>: note: this is the location of the previous definition cc1: all warnings being treated as errors make[3]: *** [Makefile:568: stapbpf-libbpf.o] Error 1 make[3]: *** Waiting for unfinished jobs.... cc1plus: all warnings being treated as errors make[3]: *** [Makefile:612: stapbpf-bpfinterp.o] Error 1 cc1plus: all warnings being treated as errors make[3]: *** [Makefile:598: stapbpf-stapbpf.o] Error 1 make[3]: Leaving directory '/var/tmp/portage/dev-util/systemtap-4.0/work/systemtap-4.0/stapbpf'
diff --git a/dev-util/systemtap/systemtap-4.0.ebuild b/dev-util/systemtap/systemtap-4.0.ebuild index b70a28bdbe5..4f0c2ac0dd9 100644 --- a/dev-util/systemtap/systemtap-4.0.ebuild +++ b/dev-util/systemtap/systemtap-4.0.ebuild @@ -65,8 +65,9 @@ src_prepare() { -e 's:-Werror::g' \ configure.ac \ Makefile.am \ - staprun/Makefile.am \ + stapbpf/Makefile.am \ stapdyn/Makefile.am \ + staprun/Makefile.am \ testsuite/systemtap.unprivileged/unprivileged_probes.exp \ testsuite/systemtap.unprivileged/unprivileged_myproc.exp \ testsuite/systemtap.base/stmt_rel_user.exp \
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a81f45d61008004da762f1b8657ffefb216addaa commit a81f45d61008004da762f1b8657ffefb216addaa Author: Jeroen Roovers <jer@gentoo.org> AuthorDate: 2019-01-09 15:53:45 +0000 Commit: Jeroen Roovers <jer@gentoo.org> CommitDate: 2019-01-09 15:54:10 +0000 dev-util/systemtap: Remove one more -Werror Package-Manager: Portage-2.3.53, Repoman-2.3.12 Fixes: https://bugs.gentoo.org/674996 Signed-off-by: Jeroen Roovers <jer@gentoo.org> dev-util/systemtap/systemtap-4.0.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)