Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

qemu-7.1.0-r2 cannot be built with USE="-seccomp"

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
proteusx
Guru
Guru
User avatar
Posts: 340
Joined: Mon Jan 21, 2008 11:35 am

qemu-7.1.0-r2 cannot be built with USE="-seccomp"

  • Quote

Post by proteusx » Wed Nov 23, 2022 1:18 pm

I always compile qemu with USE="-seccomp" but with qemu-7.1.0-r2 I get this:

Code: Select all

 # USE="-seccomp" emerge -vp qemu

!!! Problem resolving dependencies for app-emulation/qemu

!!! The ebuild selected to satisfy "qemu" has unmet requirements.
- app-emulation/qemu-7.1.0-r2::gentoo USE="aio alsa bzip2 caps capstone curl doc
  fdt filecaps gnutls gtk iscsi jpeg ncurses nls opengl oss pam
  pin-upstream-blobs png pulseaudio python sdl slirp smartcard spice ssh udev
  usb usbredir vde vhost-net virtfs vnc vte xattr -accessibility -bpf -debug
  -fuse -glusterfs -infiniband -io-uring -jack -jemalloc -lzo -multipath -nfs
  -numa -plugins -rbd -sasl -sdl-image -seccomp (-selinux) -snappy -static
  -static-user -systemtap -test -virgl -xen -zstd" ABI_X86="(64)"
  PYTHON_TARGETS="python3_8 -python3_10 -python3_11 -python3_9"
  QEMU_SOFTMMU_TARGETS="i386 x86_64 -aarch64 -alpha -arm -avr -cris -hppa
  -loongarch64 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel
  -nios2 -or1k -ppc -ppc64 -riscv32 -riscv64 -rx -s390x -sh4 -sh4eb -sparc
  -sparc64 -tricore -xtensa -xtensaeb" QEMU_USER_TARGETS="i386 x86_64 -aarch64
  -aarch64_be -alpha -arm -armeb -cris -hexagon -hppa -loongarch64 -m68k
  -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -mipsn32 -mipsn32el
  -nios2 -or1k -ppc -ppc64 -ppc64le -riscv32 -riscv64 -s390x -sh4 -sh4eb -sparc
  -sparc32plus -sparc64 -xtensa -xtensaeb"

----------------------------------------------------------------------------
    The following REQUIRED_USE flag constraints are unsatisfied:
        seccomp
----------------------------------------------------------------------------

          The above constraints are a subset of the following complete
          expression:
              caps seccomp any-of ( python_targets_python3_8
              python_targets_python3_9 python_targets_python3_10
              python_targets_python3_11 ) qemu_softmmu_targets_arm? ( fdt
              ) qemu_softmmu_targets_microblaze? ( fdt
              ) qemu_softmmu_targets_mips64el? ( fdt
              ) qemu_softmmu_targets_ppc64? ( fdt ) qemu_softmmu_targets_ppc?
              ( fdt ) qemu_softmmu_targets_riscv32? ( fdt
              ) qemu_softmmu_targets_riscv64? ( fdt
              ) qemu_softmmu_targets_x86_64? ( fdt ) sdl-image? ( sdl ) static?
              ( static-user !alsa !gtk !jack !opengl !pam !pulseaudio !plugins
              !rbd !snappy !udev ) static-user? ( !plugins ) virgl? ( opengl
              ) virtfs? ( caps xattr ) vnc? ( gnutls ) vte? ( gtk ) multipath?
              ( udev ) plugins? ( !static !static-user )
qemu-7.1.0-r2.ebuild shows this:

Code: Select all

REQUIRED_USE="caps seccomp
...................... etc.
Hence it appears that building qemu without USE="caps seccomp" is now impossible.

Is this intentional or is it a mistake in the latest ebuild?
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Wed Nov 23, 2022 1:52 pm

proteusx wrote:Is this intentional or is it a mistake in the latest ebuild?
It's intentional, look this commit and bug #873190.
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
proteusx
Guru
Guru
User avatar
Posts: 340
Joined: Mon Jan 21, 2008 11:35 am

  • Quote

Post by proteusx » Wed Nov 23, 2022 3:15 pm

fedeliallalinea wrote:It's intentional, look this commit and bug #873190.
Thank you for the reply.
I had already seen that bug report but It does not say why USE="seccomp" must be applied in all cases.
Also, if the ebuild specifies unconditionally REQUIRED_USE="caps seccomp", doesn't this make the option seccomp (and caps) functionally unavailing?
Top
grknight
Retired Dev
Retired Dev
Posts: 2560
Joined: Fri Feb 20, 2015 9:36 pm

  • Quote

Post by grknight » Wed Nov 23, 2022 3:22 pm

proteusx wrote:
fedeliallalinea wrote:It's intentional, look this commit and bug #873190.
Thank you for the reply.
I had already seen that bug report but It does not say why USE="seccomp" must be applied in all cases.
Also, if the ebuild specifies unconditionally REQUIRED_USE="caps seccomp", doesn't this make the option seccomp (and caps) functionally unavailing?
The USE vhost-user-fs was removed which previously required caps and seccomp.

I have responded to the bug on your final point and agree it has not gone far enough. If something is required, make it required.
Top
Post Reply

4 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic