Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 648182

Summary: 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
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Xen Devs <xen>
Status: RESOLVED FIXED    
Severity: normal CC: hydrapolic
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/7261
https://bugs.gentoo.org/show_bug.cgi?id=666104
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 637144    
Attachments: emerge-info.txt
app-emulation:xen-tools-4.9.1-r1:20180219-164100.log.bz2
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

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/