Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 648962 - dev-util/trinity-1.8 : fds/memfd.c:19:12: error: static declaration of memfd_create follows non-static declaration
Summary: dev-util/trinity-1.8 : fds/memfd.c:19:12: error: static declaration of memfd_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard: ~arch only
Keywords:
Depends on:
Blocks: glibc-2.27
  Show dependency tree
 
Reported: 2018-02-27 17:21 UTC by Toralf Förster
Modified: 2018-10-20 12:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.15 KB, text/plain)
2018-02-27 17:22 UTC, Toralf Förster
Details
dev-util:trinity-1.8:20180226-230450.log (dev-util:trinity-1.8:20180226-230450.log,23.09 KB, text/plain)
2018-02-27 17:22 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,120.00 KB, text/plain)
2018-02-27 17:22 UTC, Toralf Förster
Details
environment (environment,43.80 KB, text/plain)
2018-02-27 17:22 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.03 KB, application/x-bzip)
2018-02-27 17:22 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,14.03 KB, application/x-bzip)
2018-02-27 17:22 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-02-27 17:21:57 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2018-02-27 17:22:00 UTC
Created attachment 521242 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-02-27 17:22:03 UTC
Created attachment 521244 [details]
dev-util:trinity-1.8:20180226-230450.log
Comment 3 Toralf Förster gentoo-dev 2018-02-27 17:22:08 UTC
Created attachment 521246 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-02-27 17:22:12 UTC
Created attachment 521248 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-02-27 17:22:15 UTC
Created attachment 521250 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-02-27 17:22:18 UTC
Created attachment 521252 [details]
temp.tbz2
Comment 7 Ulenrich 2018-05-23 11:20:18 UTC
Upstream patch 2018-03-13: memfd: fix build with glibc 2.27
at
https://github.com/kernelslacker/trinity/commit/c93bb184ce996c4d77eefbae2ab0bf74f396ec45
Comment 8 Larry the Git Cow gentoo-dev 2018-10-20 12:17:12 UTC
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(-)