Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 827858 - sys-apps/systemd-249.6-r1 dependency issues with hwids
Summary: sys-apps/systemd-249.6-r1 dependency issues with hwids
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-29 19:25 UTC by nvaert1986
Modified: 2021-12-08 08:33 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 nvaert1986 2021-11-29 19:25:18 UTC
I am unable to emerge systemd-249.6-r1 due to a dependency issue with sys-apps/hwids which requires met to disable systemd and udev support, while I will be using this package using systemd?  Is this expected? 

For now I've removed the ~amd64 keyword from systemd. I had this enabled, because older versions of systemd were giving me compilation failures with linux-headers-5.15


Reproducible: Always

Steps to Reproduce:
1.emerge systemd-249.6-r1 while having hwids with the udev and systemd USE flag enabled
Actual Results:  
[blocks B      ] sys-apps/hwids[udev] ("sys-apps/hwids[udev]" is soft blocking sys-apps/systemd-249.6-r1)


Expected Results:  
An updated systemd

[ebuild  N     ] sys-apps/hwdata-0.353::gentoo  2,155 KiB
[ebuild     U  ] sys-apps/systemd-249.6-r1:0/2::gentoo [249.6:0/2::gentoo] USE="acl cryptsetup curl dns-over-tls fido2 gcrypt homed idn kmod lz4 lzma pam pcre pkcs11 policykit pwquality qrcode repart resolvconf seccomp (split-usr) sysv-utils tpm xkb zstd -apparmor -audit -build -cgroup-hybrid -elfutils -gnuefi -http -importd -nat (-selinux) -test -vanilla (-hwdb%*)" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild   R    ] sys-apps/hwids-20210613-r2::gentoo  USE="net pci systemd udev usb" 0 KiB
[ebuild     U  ] sys-apps/pciutils-3.7.0-r2::gentoo [3.7.0-r1::gentoo] USE="dns kmod udev zlib -static-libs" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild     U  ] sys-apps/usbutils-014-r1::gentoo [014::gentoo] USE="python" PYTHON_SINGLE_TARGET="python3_9 -python3_8" 0 KiB
[blocks B      ] sys-apps/hwids[udev] ("sys-apps/hwids[udev]" is soft blocking sys-apps/systemd-249.6-r1)

Total: 5 packages (3 upgrades, 1 new, 1 reinstall), Size of downloads: 2,155 KiB
Conflict: 1 block (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (sys-apps/hwids-20210613-r2:0/0::gentoo, ebuild scheduled for merge) pulled in by
    sys-apps/hwids required by (x11-libs/libpciaccess-0.16:0/0::gentoo, installed) USE="zlib" ABI_X86="32 (64) (-x32)"
    sys-apps/hwids required by @selected 
    sys-apps/hwids required by (dev-libs/libgusb-0.3.7:0/0::gentoo, installed) USE="introspection vala -gtk-doc -static-libs -test" ABI_X86="32 (64) (-x32)"
    hwids

  (sys-apps/systemd-249.6-r1:0/2::gentoo, ebuild scheduled for merge) pulled in by
    >=sys-apps/systemd-44:0= required by (x11-misc/colord-1.4.5-r1:0/2::gentoo, installed) USE="extra-print-profiles introspection scanner systemd udev vala -argyllcms -examples -gtk-doc -test" ABI_X86="32 (64) (-x32)"
    sys-apps/systemd:0/2= required by (x11-misc/sddm-0.18.1-r5:0/0::gentoo, installed) USE="pam systemd (-elogind) -test" ABI_X86="(64)"
    sys-apps/systemd:0/2= required by (media-gfx/sane-backends-1.0.31-r2:0/0::gentoo, installed) USE="gphoto2 ipv6 systemd usb v4l zeroconf -snmp -threads -xinetd" ABI_X86="32 (64) (-x32)" SANE_BACKENDS="abaton agfafocus apple artec artec_eplus48u as6e avision bh canon canon630u canon_dr canon_lide70 cardscan coolscan coolscan2 coolscan3 dc210 dc240 dc25 dell1600n_net dmc epjitsu epson epson2 escl fujitsu genesys gt68xx hp hp3500 hp3900 hp4200 hp5400 hp5590 hpljm1005 hs2p ibm kodak kodakaio kvs1025 kvs20xx leo lexmark ma1509 magicolor matsushita microtek microtek2 muste
Comment 1 Ben Kohler gentoo-dev 2021-11-29 19:30:37 UTC
hwids is obsolete but you have it recorded in your world file, please deselect it
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-11-29 19:32:20 UTC
Also, if you're using ~arch systemd, you may occasionally (like in this case) need to use ~arch versions of other packages, like here you may need to do that for libpciaccess and libgusb.
Comment 3 nvaert1986 2021-11-29 19:36:38 UTC
(In reply to Ben Kohler from comment #1)
> hwids is obsolete but you have it recorded in your world file, please
> deselect it

I have not recorded hwids in my world file, but do have various packages depending on it on my system:

equery depends hwids
 * These packages depend on hwids:
dev-libs/libgusb-0.3.7 (sys-apps/hwids)
sys-apps/pciutils-3.7.0-r1 (sys-apps/hwids)
sys-apps/systemd-249.6 (hwdb ? sys-apps/hwids[systemd(+),udev])
sys-apps/usbutils-014 (sys-apps/hwids)
x11-libs/libpciaccess-0.16 (sys-apps/hwids)
nvanaert@nvazsgpc01 ~ $ emerge -pv usbutils pciutils

(In reply to Sam James from comment #2)
> Also, if you're using ~arch systemd, you may occasionally (like in this
> case) need to use ~arch versions of other packages, like here you may need
> to do that for libpciaccess and libgusb.

Would the following resolve the issue? Then emerging systemd after?

ACCEPT_KEYWORDS="~amd64" emerge -pv pciutils usbutils libgusb libpciaccess

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] sys-apps/hwdata-0.353::gentoo  2,155 KiB
[ebuild     U  ] sys-apps/pciutils-3.7.0-r2::gentoo [3.7.0-r1::gentoo] USE="dns kmod udev zlib -static-libs" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild     U  ] x11-libs/libpciaccess-0.16-r1::gentoo [0.16::gentoo] USE="zlib" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild     U  ] sys-apps/usbutils-014-r1::gentoo [014::gentoo] USE="python" PYTHON_SINGLE_TARGET="python3_9 -python3_8" 0 KiB
[ebuild     U  ] dev-libs/libgusb-0.3.7-r1::gentoo [0.3.7::gentoo] USE="introspection vala -gtk-doc -static-libs -test" ABI_X86="32 (64) (-x32)" 0 KiB
Comment 4 Ben Kohler gentoo-dev 2021-11-29 19:37:29 UTC
"sys-apps/hwids required by @selected"
Comment 5 ChaosEngine 2021-12-08 08:33:54 UTC
Yup,  emerge --deselect sys-apps/hwids helped for me also, now it's only soft blocking:

[uninstall     ] sys-apps/hwids-20210613-r2::gentoo  USE="net pci udev usb -systemd"
[blocks b      ] sys-apps/hwids[udev] ("sys-apps/hwids[udev]" is soft blocking sys-fs/udev-249.6-r1)