x86_64-gentoo-linux-musl-gcc -c -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STRERROR=1 -O2 -pipe -march=native prctl.c In file included from prctl.c:30: /usr/include/sys/prctl.h:88:8: error: redefinition of struct prctl_mm_map 88 | struct prctl_mm_map { | ^~~~~~~~~~~~ In file included from prctl.c:29: ------------------------------------------------------------------- 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 * clang version 10.0.0 Target: x86_64-gentoo-linux-musl Thread model: posix InstalledDir: /usr/lib/llvm/10/bin /usr/lib/llvm/10 10.0.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) * Available Rust versions: [1] rust-1.42.0 * The following VMs are available for generation-2: Available Java Virtual Machines: (none found) timestamp of HEAD at this tinderbox image: /var/db/repos/gentoo Sun Apr 5 08:37:46 UTC 2020 /var/db/repos/musl Sat Apr 4 03:02:24 UTC 2020 emerge -qpvO sys-apps/prctl [ebuild N ] sys-apps/prctl-1.6
Created attachment 630382 [details] emerge-info.txt
Created attachment 630384 [details] emerge-history.txt
Created attachment 630386 [details] environment
Created attachment 630388 [details] etc.portage.tbz2
Created attachment 630390 [details] logs.tbz2
Created attachment 630392 [details] sys-apps:prctl-1.6:20200405-100700.log
Created attachment 630394 [details] temp.tbz2
Struct definition collision. 'prctl_mm_map' comes from two headers: In file included from prctl.c:30: /usr/include/sys/prctl.h:88:8: error: redefinition of 'struct prctl_mm_map' 88 | struct prctl_mm_map { | ^~~~~~~~~~~~ In file included from prctl.c:29: /usr/include/linux/prctl.h:134:8: note: originally defined here 134 | struct prctl_mm_map { | ^~~~~~~~~~~~ make: *** [Makefile:70: prctl.o] Error 1 $ qfile /usr/include/linux/prctl.h sys-kernel/linux-headers: /usr/include/linux/prctl.h $ qfile /usr/include/sys/prctl.h sys-libs/musl: /usr/include/sys/prctl.h
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=632211107cecdc1c9f59a610d1a247c94b2d817e commit 632211107cecdc1c9f59a610d1a247c94b2d817e Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2020-04-06 21:14:22 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2020-04-06 21:14:22 +0000 sys-apps/prctl: use only <sys/prctl.h>, bug #716298 Reported-by: Toralf Förster Closes: https://bugs.gentoo.org/716298 Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> sys-apps/prctl/files/prctl-1.6-no-implicits.patch | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)