/var/tmp/portage/dev-libs/pegtl-3.2.0/work/PEGTL-3.2.0/src/example/pegtl/abnf2pegtl.cpp: In static member function ‘static std::__cxx11::basic_string<char> tao::pegtl::abnf::make_stringifier()::<lambda(const node_ptr&)>::_FUN(const node_ptr&)’: /var/tmp/portage/dev-libs/pegtl-3.2.0/work/PEGTL-3.2.0/src/example/pegtl/abnf2pegtl.cpp:635:10: error: ‘this’ pointer is null [-Werror=nonnull] 635 | } ); | ^ /var/tmp/portage/dev-libs/pegtl-3.2.0/work/PEGTL-3.2.0/src/example/pegtl/abnf2pegtl.cpp:624:46: note: in a call to non-static member function ‘tao::pegtl::abnf::make_stringifier()::<lambda(const node_ptr&)>’ 624 | nrv.add< grammar::bin_val::value >( []( const node_ptr& n ) { ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome_systemd-20210424-085324 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.1 [2] x86_64-pc-linux-gnu-11.1.0 * clang version 12.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/12/bin /usr/lib/llvm/12 12.0.0 Python 3.8.9 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.51.0 * The following VMs are available for generation-2: 1) IcedTea JDK 3.18.0 [icedtea-8] *) AdoptOpenJDK 8.292_p10 [openjdk-bin-8] Available Java Virtual Machines: [1] icedtea-8 [2] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Mon May 3 06:20:16 UTC 2021 emerge -qpvO dev-libs/pegtl [ebuild N ] dev-libs/pegtl-3.2.0 USE="-test"
Created attachment 705609 [details] emerge-info.txt
Created attachment 705612 [details] dev-libs:pegtl-3.2.0:20210503-064417.log
Created attachment 705615 [details] emerge-history.txt
Created attachment 705618 [details] environment
Created attachment 705621 [details] etc.portage.tar.bz2
Created attachment 705624 [details] logs.tar.bz2
Created attachment 705627 [details] temp.tar.bz2
Seems to use -Werror only when building examples and tests, and then fails because of it if gcc11 and CXXFLAGS=-Og (fine with gcc10 or -O2).
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dc16924bbb14d50d910cebd45987735177fb152 commit 8dc16924bbb14d50d910cebd45987735177fb152 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-06-15 01:37:28 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-06-15 01:37:28 +0000 dev-libs/pegtl: drop -Werror Closes: https://bugs.gentoo.org/787854 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/pegtl/files/pegtl-3.2.0-no-werror.patch | 56 ++++++++++++++++++++++++ dev-libs/pegtl/pegtl-3.2.0.ebuild | 5 ++- 2 files changed, 60 insertions(+), 1 deletion(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f005f84e02bd0e9f13444c49d1c295b4cb86a002 commit f005f84e02bd0e9f13444c49d1c295b4cb86a002 Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2021-09-20 17:45:03 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2021-09-20 17:50:49 +0000 dev-libs/pegtl: Remove old Bug: https://bugs.gentoo.org/787854 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Andreas K. Huettel <dilfridge@gentoo.org> dev-libs/pegtl/Manifest | 1 - dev-libs/pegtl/pegtl-2.8.3-r1.ebuild | 32 -------------------------------- 2 files changed, 33 deletions(-)