x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -c -o sngrep-capture.o test -f capture.c || echo ./capture.c capture.c: In function capture_offline: capture.c:194:21: error: assignment of read-only variable stdin 194 | if (!(stdin = freopen(/dev/tty, r, stdin))) { | ^ make[2]: *** [Makefile:555: sngrep-capture.o] Error 1 ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl-20200328-141627 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-gentoo-linux-musl-9.3.0 * Available Python interpreters, in order of preference: [1] python3.8 [2] python3.7 [3] python3.6 [4] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * timestamp of HEAD at this tinderbox image: /var/db/repos/gentoo Sun Mar 29 00:09:08 UTC 2020 /var/db/repos/musl Fri Mar 27 00:25:27 UTC 2020 emerge -qpvO net-analyzer/sngrep [ebuild N ] net-analyzer/sngrep-1.4.6-r1 USE="ipv6 pcre unicode -eep -gnutls -openssl"
Created attachment 626732 [details] emerge-info.txt
Created attachment 626734 [details] emerge-history.txt
Created attachment 626736 [details] environment
Created attachment 626738 [details] etc.portage.tbz2
Created attachment 626740 [details] logs.tbz2
Created attachment 626742 [details] net-analyzer:sngrep-1.4.6-r1:20200329-020323.log
Created attachment 626744 [details] temp.tbz2
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75dee2285b1309f42d7490673d94a682fe30b1fa commit 75dee2285b1309f42d7490673d94a682fe30b1fa Author: Jeroen Roovers <jer@gentoo.org> AuthorDate: 2020-03-29 12:19:34 +0000 Commit: Jeroen Roovers <jer@gentoo.org> CommitDate: 2020-03-29 12:24:04 +0000 net-analyzer/sngrep: Fix building against sys-libs/musl See also: https://github.com/irontec/sngrep/commit/604f6d0ce2ec42ac494d76c95e68850ea6e7da8f Package-Manager: Portage-2.3.96, Repoman-2.3.22 Closes: https://bugs.gentoo.org/715256 Signed-off-by: Jeroen Roovers <jer@gentoo.org> net-analyzer/sngrep/files/sngrep-1.4.6-stdin.patch | 11 ++++++ net-analyzer/sngrep/sngrep-1.4.6-r2.ebuild | 44 ++++++++++++++++++++++ 2 files changed, 55 insertions(+)