On 18 September 2018 at 10:24, Dmitry Isaykin <dmitry.isai...@gmail.com> wrote: > Public bug reported: > > Error log: > > /tmp/qemu-2.10+dfsg/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/x86_64-linux-gnu/bits/mman-linux.h:115:0, > from /usr/include/x86_64-linux-gnu/bits/mman.h:45, > from /usr/include/x86_64-linux-gnu/sys/mman.h:41, > from /tmp/qemu-2.10+dfsg/include/sysemu/os-posix.h:29, > from /tmp/qemu-2.10+dfsg/include/qemu/osdep.h:104, > from /tmp/qemu-2.10+dfsg/util/memfd.c:28: > /usr/include/x86_64-linux-gnu/bits/mman-shared.h:46:5: note: previous > declaration of ‘memfd_create’ was here > int memfd_create (const char *__name, unsigned int __flags) __THROW; > ^~~~~~~~~~~~ > /tmp/qemu-2.10+dfsg/rules.mak:66: recipe for target 'util/memfd.o' failed
This is fixed in upstream QEMU in commit 75e5b70e6b5dcc, which is in QEMU 2.12.0. If Ubuntu are interested in fixing this they can backport that to the QEMU they are shipping, or alternatively move forward to 2.12. thanks -- PMM -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1793183 Title: apt source --compile qemu-system-x86 fails on last ubuntu 18.04.1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1793183/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs