from sfcontrol.c:37: ../../src/util.h: At top level: ../../src/util.h:374:21: error: static declaration of ‘gettid’ follows non-static declaration 374 | static inline pid_t gettid(void) | ^~~~~~ In file included from /usr/include/unistd.h:1170, ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_hardened-libressl-20190806-091828 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.1.0 * Available Python interpreters, in order of preference: [1] python3.6 [2] python2.7 (fallback) [3] pypy (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) * Available Rust versions: [1] rust-1.36.0 * emerge -qpvO net-analyzer/snort [ebuild N ] net-analyzer/snort-2.9.12 USE="active-response flexresp3 gre (libtirpc) non-ether-decoders perfprofiling ppm react threads -control-socket -debug -file-inspect -high-availability -inline-init-failopen -large-pcap-64bit -linux-smp-stats -open-appid -reload-error-restart (-selinux) -shared-rep -side-channel -sourcefire -static"
Created attachment 586434 [details] emerge-info.txt
Created attachment 586436 [details] emerge-history.txt
Created attachment 586438 [details] environment
Created attachment 586440 [details] etc.portage.tbz2
Created attachment 586442 [details] logs.tbz2
Created attachment 586444 [details] net-analyzer:snort-2.9.12:20190810-044206.log.bz2
Created attachment 586446 [details] temp.tbz2
While we wait for the blocker, how about masking this ebuild? I encountered this, yet snort-2.9.8.3-r2 merged fine.
snort-2.9.15 encounters the same error here.
See solution from arch linux: https://bbs.archlinux.org/viewtopic.php?id=249904 Patch is on arch linux git: https://aur.archlinux.org/cgit/aur.git/plain/001-gettid.patch?h=snort mkdir -p /etc/portage/patches/net-analyzer/snort cd /etc/portage/patches/net-analyzer/snort wget https://aur.archlinux.org/cgit/aur.git/plain/001-gettid.patch?h=snort -O 001-gettid.patch emerge =net-analyzer/snort-2.9.15
(In reply to Joerg Neikes from comment #10) > See solution from arch linux: > > https://bbs.archlinux.org/viewtopic.php?id=249904 > > Patch is on arch linux git: > > https://aur.archlinux.org/cgit/aur.git/plain/001-gettid.patch?h=snort > > > > > mkdir -p /etc/portage/patches/net-analyzer/snort > > cd /etc/portage/patches/net-analyzer/snort > > wget https://aur.archlinux.org/cgit/aur.git/plain/001-gettid.patch?h=snort > -O 001-gettid.patch > > emerge =net-analyzer/snort-2.9.15 Or just bump the ebuild to version 2.9.15.1 which has the required support for glibc-2.30.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af4e0472267d3b89555155ea22f28ddc18d17ae8 commit af4e0472267d3b89555155ea22f28ddc18d17ae8 Author: Jeroen Roovers <jer@gentoo.org> AuthorDate: 2020-01-09 14:07:43 +0000 Commit: Jeroen Roovers <jer@gentoo.org> CommitDate: 2020-01-09 14:08:13 +0000 net-analyzer/snort: Version 2.9.15.1 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Closes: https://bugs.gentoo.org/691886 Signed-off-by: Jeroen Roovers <jer@gentoo.org> net-analyzer/snort/Manifest | 1 + net-analyzer/snort/snort-2.9.15.1.ebuild | 258 +++++++++++++++++++++++++++++++ 2 files changed, 259 insertions(+)