x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -Wextra -I. -Iinclude/ -include config.h -Wimplicit -D_GNU_SOURCE -D__linux__ -std=gnu11 -Wdeclaration-after-statement -Wformat=2 -Winit-self -Wnested-externs -Wpacked -Wshadow -Wswitch-enum -Wundef -Wwrite-strings -Wno-format-nonliteral -Wstrict-prototypes -Wmissing-prototypes -fsigned-char -Wlogical-op -Wstrict-aliasing=3 -Wno-maybe-uninitialized -o fds/memfd.o -c fds/memfd.c fds/memfd.c:19:12: error: static declaration of ‘memfd_create’ follows non-static declaration static int memfd_create(__unused__ const char *uname, __unused__ unsigned int flag) ^~~~~~~~~~~~ In file included from /usr/include/bits/mman-linux.h:115:0, ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-no-multilib-hardened_20180224-090843 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.0 * Available Python interpreters, in order of preference: [1] python3.5 [2] python2.7 (fallback) Available Ruby profiles: [1] ruby22 (with Rubygems) [2] ruby23 (with Rubygems) * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.6.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm emerge -qpv dev-util/trinity [ebuild N ] dev-util/trinity-1.8 USE="-examples"
Created attachment 521242 [details] emerge-info.txt
Created attachment 521244 [details] dev-util:trinity-1.8:20180226-230450.log
Created attachment 521246 [details] emerge-history.txt
Created attachment 521248 [details] environment
Created attachment 521250 [details] etc.portage.tbz2
Created attachment 521252 [details] temp.tbz2
Upstream patch 2018-03-13: memfd: fix build with glibc 2.27 at https://github.com/kernelslacker/trinity/commit/c93bb184ce996c4d77eefbae2ab0bf74f396ec45
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13fb235948d859e2c248f68bc92644412a7f8a1b commit 13fb235948d859e2c248f68bc92644412a7f8a1b Author: Pacho Ramos <pacho@gentoo.org> AuthorDate: 2018-10-20 11:57:59 +0000 Commit: Pacho Ramos <pacho@gentoo.org> CommitDate: 2018-10-20 12:16:49 +0000 dev-util/trinity: Apply Fedora/Debian fixes Closes: https://bugs.gentoo.org/642936 Closes: https://bugs.gentoo.org/648962 Signed-off-by: Pacho Ramos <pacho@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 dev-util/trinity/files/trinity-autofs.patch | 53 +++++++++++++++ dev-util/trinity/files/trinity-irda.patch | 47 +++++++++++++ dev-util/trinity/files/trinity-memfd.patch | 79 ++++++++++++++++++++++ dev-util/trinity/files/trinity-net-protocols.patch | 11 +++ dev-util/trinity/trinity-1.8.ebuild | 15 +++- 5 files changed, 202 insertions(+), 3 deletions(-)