Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 861527 - =sys-apps/fwupd-1.8.3: USE=modemmanager now required
Summary: =sys-apps/fwupd-1.8.3: USE=modemmanager now required
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Marek Szuba
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-27 17:36 UTC by Petr Šabata
Modified: 2022-07-28 19:03 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Šabata 2022-07-27 17:36:19 UTC
=sys-apps/fwupd-1.8.3 adds modemmanager to REQUIRED_USE without the question mark, making it a necessity.

Diff from 1.8.1:
@@ -14,13 +14,14 @@
 LICENSE="LGPL-2.1+"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
-IUSE="amt archive bash-completion bluetooth cbor dell elogind fastboot flashrom gnutls gtk-doc gusb introspection log
itech lzma +man minimal modemmanager nvme policykit spi +sqlite synaptics systemd test thunderbolt tpm uefi"
+IUSE="amt archive bash-completion bluetooth cbor dell elogind fastboot flashrom gnutls gtk-doc gusb introspection log
itech lzma +man minimal modemmanager nvme policykit spi +sqlite synaptics systemd test tpm uefi"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}
    ^^ ( elogind minimal systemd )
    dell? ( uefi )
    fastboot? ( gusb )
    logitech? ( gusb )
    minimal? ( !introspection )
+   modemmanager ( gusb )
    spi? ( lzma )
    synaptics? ( gnutls )
    uefi? ( gnutls )


Reproducible: Always

Steps to Reproduce:
1. Attempt to update from earlier versions to 1.8.3 or just install fwupd-1.8.3 with USE=-modemmanager
Actual Results:  
Portage fails with the following:

  The following REQUIRED_USE flag constraints are unsatisfied:
    modemmanager


Expected Results:  
The installation proceeds.


If modemmanager is now a requirement, there's no point in having a USE flag that can't be overridden.

Otherwise, just adding the question mark should resolve this.
Comment 1 Andreas Sturmlechner gentoo-dev 2022-07-27 17:40:54 UTC
Already fixed in 0c372fce00f6baf746c43035cefc188f701a2e55, keeping this open for a bit until mirrors have caught up.