Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 648182 - app-emulation/xen-tools-4.9.1-r1 fails to build with glibc-2.27: /.../memfd.c:40:12: error: static declaration of memfd_create follows non-static declaration
Summary: app-emulation/xen-tools-4.9.1-r1 fails to build with glibc-2.27: /.../memfd.c...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Xen Devs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: glibc-2.27
  Show dependency tree
 
Reported: 2018-02-19 18:56 UTC by Toralf Förster
Modified: 2018-09-12 19:56 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.66 KB, text/plain)
2018-02-19 18:56 UTC, Toralf Förster
Details
app-emulation:xen-tools-4.9.1-r1:20180219-164100.log.bz2 (app-emulation:xen-tools-4.9.1-r1:20180219-164100.log.bz2,23.28 KB, application/x-bzip)
2018-02-19 18:56 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,207.06 KB, text/plain)
2018-02-19 18:56 UTC, Toralf Förster
Details
environment (environment,150.82 KB, text/plain)
2018-02-19 18:56 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.20 KB, application/x-bzip)
2018-02-19 18:56 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,14.50 KB, application/x-bzip)
2018-02-19 18:56 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,56.18 KB, application/x-bzip)
2018-02-19 18:56 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-19 18:56:14 UTC
  CC      util/qemu-thread-posix.o
  CC      util/memfd.o
/var/tmp/portage/app-emulation/xen-tools-4.9.1-r1/work/xen-4.9.1/tools/qemu-xen/util/memfd.c:40:12: error: static declaration of ‘memfd_create’ follows non-static declaration
 static int memfd_create(const char *name, unsigned int flags)
            ^~~~~~~~~~~~
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-systemd_libressl-abi32+64_20180214-191118

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python3.6 (fallback)
  [3]   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 app-emulation/xen-tools
[ebuild  N    ] app-emulation/xen-tools-4.9.1  USE="pam python qemu qemu-traditional -api -custom-cflags -debug -doc -flask -hvm -ocaml -ovmf -pygrub -screen -sdl -static-libs -system-qemu -system-seabios" PYTHON_TARGETS="python2_7"
Comment 1 Toralf Förster gentoo-dev 2018-02-19 18:56:17 UTC
Created attachment 520214 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-02-19 18:56:20 UTC
Created attachment 520216 [details]
app-emulation:xen-tools-4.9.1-r1:20180219-164100.log.bz2
Comment 3 Toralf Förster gentoo-dev 2018-02-19 18:56:23 UTC
Created attachment 520218 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-02-19 18:56:26 UTC
Created attachment 520220 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-02-19 18:56:29 UTC
Created attachment 520222 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-02-19 18:56:32 UTC
Created attachment 520224 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-02-19 18:56:35 UTC
Created attachment 520226 [details]
temp.tbz2
Comment 8 Tomáš Mózes 2018-02-23 02:10:32 UTC
https://patchwork.ozlabs.org/patch/842091/