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

Bug 714106

Summary: app-emulation/qemu-4.2.0-r2 : /.../syscall.c: error: F_EXLCK undeclared (first use in this function)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: tamiko, virtualization
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 430702    
Attachments: emerge-info.txt
app-emulation:qemu-4.2.0-r2:20200323-190704.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2

Description Toralf Förster gentoo-dev 2020-03-23 20:04:50 UTC
/var/tmp/portage/app-emulation/qemu-4.2.0-r2/work/qemu-4.2.0/linux-user/syscall.c: In function target_to_host_flock:
/var/tmp/portage/app-emulation/qemu-4.2.0-r2/work/qemu-4.2.0/linux-user/syscall.c:6030:22: error: F_EXLCK undeclared (first use in this function); did you mean F_RDLCK?
 6030 |     TRANSTBL_CONVERT(F_EXLCK); \
      |                      ^~~~~~~
/var/tmp/portage/app-emulation/qemu-4.2.0-r2/work/qemu-4.2.0/linux-user/syscall.c:6036:53: note: in definition of macro TRANSTBL_CONVERT

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200316-165821

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

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.41.1 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon Mar 23 17:38:44 UTC 2020
/var/db/repos/musl	Sun Mar 22 15:02:57 UTC 2020

emerge -qpvO app-emulation/qemu
[ebuild  N    ] app-emulation/qemu-4.2.0-r2  USE="aio bzip2 caps curl fdt filecaps jpeg ncurses nls oss pin-upstream-blobs png seccomp vhost-net vnc xattr xkb -accessibility -alsa -capstone -debug -doc -glusterfs -gnutls -gtk -infiniband -iscsi -jemalloc -lzo -nfs -numa -opengl -plugins -pulseaudio -python -rbd -sasl -sdl -sdl-image (-selinux) -smartcard -snappy -spice -ssh -static -static-user -systemtap -tci -test -usb -usbredir -vde -vhost-user-fs -virgl -virtfs -vte -xen -xfs" PYTHON_TARGETS="python3_6 -python3_7" QEMU_SOFTMMU_TARGETS="i386 x86_64 -aarch64 -alpha -arm -cris -hppa -lm32 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -moxie -nios2 -or1k -ppc -ppc64 -riscv32 -riscv64 -s390x -sh4 -sh4eb -sparc -sparc64 -tricore -unicore32 -xtensa -xtensaeb" QEMU_USER_TARGETS="i386 x86_64 -aarch64 -aarch64_be -alpha -arm -armeb -cris -hppa -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -mipsn32 -mipsn32el -nios2 -or1k -ppc -ppc64 -ppc64abi32 -ppc64le -riscv32 -riscv64 -s390x -sh4 -sh4eb -sparc -sparc32plus -sparc64 -tilegx -xtensa -xtensaeb"
Comment 1 Toralf Förster gentoo-dev 2020-03-23 20:04:53 UTC
Created attachment 624770 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-23 20:04:56 UTC
Created attachment 624772 [details]
app-emulation:qemu-4.2.0-r2:20200323-190704.log
Comment 3 Toralf Förster gentoo-dev 2020-03-23 20:04:59 UTC
Created attachment 624774 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-23 20:05:02 UTC
Created attachment 624776 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-23 20:05:05 UTC
Created attachment 624778 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-23 20:05:07 UTC
Created attachment 624780 [details]
logs.tbz2
Comment 8 Sergei Trofimovich (RETIRED) gentoo-dev 2020-06-09 18:09:12 UTC
Thanks for the links! Do you know if they were they proposed or accepted upstream?
Comment 9 tonemgub 2020-09-03 02:30:21 UTC
Just confirming the 3 alpine patches were required and still apply against app-emulation/qemu-5.0.0-r2 as well.