Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
virtual/libudev upgrade removed sys-fs/eudev here...[RIP]
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3977

PostPosted: Wed Aug 30, 2023 8:44 pm    Post subject: virtual/libudev upgrade removed sys-fs/eudev here...[RIP] Reply with quote

stable sys-fs/eudev- 3.2.11-r4, that is...

Here's openrc.

As virtual/libudev-251-r1 has new USE=eudev I've activated it...
And emerge -C sys-apps/systemd-utils, in order to install sys-fs/eudev-3.2.12-r1

Now
Code:
emerge -uDNUv world
returns:
Code:
The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by dev-libs/libgudev-238-r1::gentoo
# required by gnome-extra/nm-applet-1.32.0::gentoo
# required by @selected
# required by @world (argument)
>=virtual/libudev-251-r1 sticky-tags

!!! The ebuild selected to satisfy ">=virtual/libudev-251:=[sticky-tags(+),abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?]" has unmet requirements.
- virtual/libudev-251-r1::gentoo USE="eudev -sticky-tags -systemd" ABI_X86="-32 (64) (-x32)"

  The following REQUIRED_USE flag constraints are unsatisfied:
    eudev? ( !sticky-tags )

  The above constraints are a subset of the following complete expression:
    at-most-one-of ( eudev systemd ) eudev? ( !sticky-tags )

(dependency required by "dev-libs/libgudev-238-r1::gentoo" [installed])
(dependency required by "sys-fs/udisks-2.9.4-r3::gentoo" [installed])
(dependency required by "app-cdr/isoimagewriter-1.0.0::gentoo" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])
Many knows how innacurate emerge diag may sometimes be...

Anyhow:
Code:
equery d dev-libs/libgudev

gnome-base/gdm-44.1 (>=dev-libs/libgudev-232)
gnome-base/gnome-control-center-44.3 (>=dev-libs/libgudev-232)
gnome-base/gnome-settings-daemon-44.1 (dev-libs/libgudev)
gnome-base/gvfs-1.50.6 (udev ? >=dev-libs/libgudev-147)
gnome-extra/nm-applet-1.32.0 (>=dev-libs/libgudev-147)
media-gfx/gimp-2.10.34-r2 (udev ? dev-libs/libgudev)
media-libs/gst-plugins-base-1.20.6 (gbm ? >=dev-libs/libgudev-147[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
net-misc/modemmanager-1.18.12 (udev ? >=dev-libs/libgudev-232)
sys-apps/fwupd-1.9.3 (>=dev-libs/libgudev-232)
sys-fs/udisks-2.9.4-r3 (daemon ? >=dev-libs/libgudev-165)
sys-power/power-profiles-daemon-0.13 (>=dev-libs/libgudev-234)
sys-power/upower-0.99.20 (kernel_linux ? >=dev-libs/libgudev-236)
x11-misc/colord-1.4.6-r1 (dev-libs/libgudev[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
x11-wm/mutter-44.3 (udev ? >=dev-libs/libgudev-232)
xfce-base/libxfce4ui-4.18.4 (system-info ? dev-libs/libgudev)
xfce-base/thunar-4.18.6 (udisks ? dev-libs/libgudev)


So dev-libs/libgudev is really mandatory here, e.g. mandatory for gnome-extra/nm-applet gnome-base/gdm a sys-power/power-profiles-daemon.

So the virtual/libudev[USE=eudev] is reported to be switched to virtual/libudev[USE=switch-tags].

I must say this cancellation of USE=eudev sounds rather confusing...

I know that sys-fs/eudev thingie has drifted away from gentoo scope... Should I assume this USE=!eudev is temporary? May be there is another explanation?

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "


Last edited by CaptainBlood on Thu Oct 12, 2023 12:17 am; edited 3 times in total
Back to top
View user's profile Send private message
GDH-gentoo
Veteran
Veteran


Joined: 20 Jul 2019
Posts: 1777
Location: South America

PostPosted: Wed Aug 30, 2023 8:56 pm    Post subject: Reply with quote

Known issue. eudev's libudev has become ABI-incompatible with systemd's libudev for version >= 247. And dev-libs/libgudev needs the sticky-tags USE flag enabled for virtual/libudev.
_________________
NeddySeagoon wrote:
I'm not a witch, I'm a retired electronics engineer :)
Ionen wrote:
As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though :)
Back to top
View user's profile Send private message
stefan11111
l33t
l33t


Joined: 29 Jan 2023
Posts: 937
Location: Romania

PostPosted: Wed Aug 30, 2023 9:01 pm    Post subject: Reply with quote

Can't you add virtual/libudev-251-r1 to /etc/portage/profile/package.provided and then emerge --noreplace eudev to fix the issue?

Also, why unsupported software? I thought eudev was supported.
_________________
My overlay: https://github.com/stefan11111/stefan_overlay
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d *udev* /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /usr/bin/gdbus /lib/udev"
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3977

PostPosted: Wed Aug 30, 2023 9:12 pm    Post subject: Reply with quote

GDH-gentoo & stefan11111
+1 for your replies,
I now feel a little less lonely... :)

I feel very uncomfortable about adding things to /etc/portage/profile/package.provided which has remained empty from scratch here...

Unsupported software because how sys-fs/eudev seems to be drifting nowadays...

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
GDH-gentoo
Veteran
Veteran


Joined: 20 Jul 2019
Posts: 1777
Location: South America

PostPosted: Wed Aug 30, 2023 9:30 pm    Post subject: Reply with quote

stefan11111 wrote:
Can't you add virtual/libudev-251-r1 to /etc/portage/profile/package.provided [...]

I would bet on this resulting in a build failure of dev-libs/libgudev...
_________________
NeddySeagoon wrote:
I'm not a witch, I'm a retired electronics engineer :)
Ionen wrote:
As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though :)
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22887

PostPosted: Wed Aug 30, 2023 9:41 pm    Post subject: Reply with quote

stefan11111 wrote:
Can't you add virtual/libudev-251-r1 to /etc/portage/profile/package.provided and then emerge --noreplace eudev to fix the issue?
How does overriding a dependency check fix an issue? If the check is there for a good reason, this will just make something else break in a less obvious way later. If the check is not there for a good reason, it should be reported as a bug and removed. From the discussion in this thread, it looks like the check is there for a good reason.

If you want to override sanity checks, just start using --nodeps on everything.
Back to top
View user's profile Send private message
stefan11111
l33t
l33t


Joined: 29 Jan 2023
Posts: 937
Location: Romania

PostPosted: Wed Aug 30, 2023 10:09 pm    Post subject: Reply with quote

If there is a build error, we deal with it when we happens.
Applying this pr as a patch would likely fix any build failures(if they happen).
For runtime failures, it would likely help(if any failure occurs). In that case try also disabling relevant USE flags for the program exhibiting such failures.
If you don't like using package.provided, add the virtual ebuild to your overlay and fix it there.
Alternatively patch libudev to actually implement the functions or patch libgudev & co to no longer use those functions.
Or just mask the newer libudev/libgudev/<whatever is needed>, but that is likely only a temporary fix.
Or just move away from udev.
https://forums.gentoo.org/viewtopic-t-1103142.html
https://wiki.gentoo.org/wiki/Old_Fashioned_Gentoo_Install
https://wiki.gentoo.org/wiki/Mdev

It's good that you don't use package.provided, but often it is the best/only solution to unneeded dependencies, some being massive.
Writing ebuilds and adding them to your overlay is the "proper" solution, but it requires you to do more work that you don't have to do.
These are the packages currently not being needlessly installed on my system(and their dependencies):
Code:
virtual/tmpfiles-0-r5
virtual/freedesktop-icon-theme-0-r4
x11-themes/hicolor-icon-theme-0.17
dev-util/gtk-update-icon-cache-3.24.31
x11-apps/rgb-1.0.3
x11-apps/iceauth-1.0.9
x11-apps/xrdb-1.2.2
app-crypt/pinentry-1.2.1-r3
app-accessibility/at-spi2-core-2.46.0
dev-util/gdbus-codegen-2.74.6
gnome-base/librsvg-2.56.2
x11-themes/adwaita-icon-theme-44.0

_________________
My overlay: https://github.com/stefan11111/stefan_overlay
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d *udev* /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /usr/bin/gdbus /lib/udev"
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3977

PostPosted: Wed Aug 30, 2023 10:27 pm    Post subject: Reply with quote

Seems like WIP...
I'll be very conservative on that one...
Hoping #upstreams will do their job soon enough...

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
Ridrok
Tux's lil' helper
Tux's lil' helper


Joined: 26 Jan 2014
Posts: 116
Location: France

PostPosted: Sat Sep 02, 2023 9:16 pm    Post subject: Reply with quote

package.mask

Code:
>sys-apps/systemd-utils-252.9
>=virtual/libudev-251-r1
>=dev-libs/libgudev-238-r1


Done.
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3977

PostPosted: Sun Sep 03, 2023 9:30 am    Post subject: Reply with quote

Ridrok wrote:
package.mask

Code:
>sys-apps/systemd-utils-252.9
>=virtual/libudev-251-r1
>=dev-libs/libgudev-238-r1


Done.
same here but sys-apps/systemd-utils which doesn't seem to cause issues:
Code:
eix systemd-utils
[I] sys-apps/systemd-utils
     Installed versions:  253.6^t(14:15:58 31/08/2023)(split-usr tmpfiles -acl -boot -kmod -secureboot -selinux -sysusers -test -udev ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")

There may be good reasons to mask it, though.

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3977

PostPosted: Wed Sep 06, 2023 1:30 pm    Post subject: Reply with quote

Humm,

Getting a little harder imho

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "


Last edited by CaptainBlood on Wed Sep 06, 2023 1:34 pm; edited 1 time in total
Back to top
View user's profile Send private message
stefan11111
l33t
l33t


Joined: 29 Jan 2023
Posts: 937
Location: Romania

PostPosted: Wed Sep 06, 2023 1:32 pm    Post subject: Reply with quote

CaptainBlood wrote:
Humm,

Getting a little harder imhp

Thks 4 ur attention, interest & support.

https://wiki.gentoo.org/wiki/Creating_an_ebuild_repository
_________________
My overlay: https://github.com/stefan11111/stefan_overlay
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d *udev* /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /usr/bin/gdbus /lib/udev"
Back to top
View user's profile Send private message
iromeister
n00b
n00b


Joined: 04 Feb 2017
Posts: 31
Location: Berlin

PostPosted: Tue Sep 12, 2023 8:46 am    Post subject: Reply with quote

Related question: how do I avoid setting udev USE flag for systemd-utils? Or do I have to swallow that in order to go on with my world update?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54644
Location: 56N 3W

PostPosted: Tue Sep 12, 2023 9:24 am    Post subject: Reply with quote

iromeister,

Something needs to provide udev, unless you do without udev altogether. That's a Wiki page or two and I don't recommend it.
I do it but my memory goes back a long way. :)

There are several alternative somethings with varying feature compatibility with systemd-utils[udev]
eudev has not kept up, hence this topic.

If you want to try alternatives, you need to be preprepared to deal with the fallout.

If you really want systemd-utils without udev set USE=-udev on systemd-utils at the package level.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
iromeister
n00b
n00b


Joined: 04 Feb 2017
Posts: 31
Location: Berlin

PostPosted: Tue Sep 12, 2023 1:35 pm    Post subject: Reply with quote

NeddySeagoon wrote:
If you really want systemd-utils without udev set USE=-udev on systemd-utils at the package level.


Of course that is already set like this on my system, but emerge world still wants to set the udev flag.

When I build systemd-utils with udev flag, can I still use eudev for all practical purposes?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54644
Location: 56N 3W

PostPosted: Tue Sep 12, 2023 2:50 pm    Post subject: Reply with quote

iromeister,

Not at the moment, as eudev and udev are not feature compatible.
That's why pretending that you have udev when you really have eudev is a bad idea.
Its also why eudev is masked.

As this is Gentoo, you can always try. However, when (not if) it breaks, you can keep all the pieces.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
GDH-gentoo
Veteran
Veteran


Joined: 20 Jul 2019
Posts: 1777
Location: South America

PostPosted: Tue Sep 12, 2023 2:59 pm    Post subject: Reply with quote

iromeister wrote:
Of course that is already set like this on my system, but emerge world still wants to set the udev flag.

When I build systemd-utils with udev flag, can I still use eudev for all practical purposes?

sys-fs/eudev and syd-apps/systemd-utils cannot be both installed at the same time if the udev USE flag is set for the latter. It should be possible to unset the USE flag, unless it has been recently forced by the profile (I haven't checked).

Eudev can only be used if you don't have packages that need the new code from systemd's libudev, until eudev's libudev becomes ABI-compatible again (I don't know if that's going to happen eventually :( ). Currently, it appears that only recent libgudev needs that code, but I wouldn't be surprised if the number of such packages keeps growing.
_________________
NeddySeagoon wrote:
I'm not a witch, I'm a retired electronics engineer :)
Ionen wrote:
As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though :)
Back to top
View user's profile Send private message
iromeister
n00b
n00b


Joined: 04 Feb 2017
Posts: 31
Location: Berlin

PostPosted: Tue Sep 12, 2023 3:15 pm    Post subject: Reply with quote

GDH-gentoo wrote:
It should be possible to unset the USE flag, unless it has been recently forced by the profile (I haven't checked).


That seems to be the case... And I simply don't want this systemd sh*t in my system. Not having to use it actually was my reason to switch to Gentoo back in the days.
Back to top
View user's profile Send private message
stefan11111
l33t
l33t


Joined: 29 Jan 2023
Posts: 937
Location: Romania

PostPosted: Tue Sep 12, 2023 3:21 pm    Post subject: Reply with quote

iromeister wrote:
GDH-gentoo wrote:
It should be possible to unset the USE flag, unless it has been recently forced by the profile (I haven't checked).


That seems to be the case... And I simply don't want this systemd sh*t in my system. Not having to use it actually was my reason to switch to Gentoo back in the days.

See: https://wiki.gentoo.org/wiki/Old_Fashioned_Gentoo_Install
_________________
My overlay: https://github.com/stefan11111/stefan_overlay
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d *udev* /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /usr/bin/gdbus /lib/udev"
Back to top
View user's profile Send private message
iromeister
n00b
n00b


Joined: 04 Feb 2017
Posts: 31
Location: Berlin

PostPosted: Tue Sep 12, 2023 3:27 pm    Post subject: Reply with quote

@stefan11111 that amounts to a completely fresh installation, doesn't it? I'm starting to think about Artix Linux...
Back to top
View user's profile Send private message
stefan11111
l33t
l33t


Joined: 29 Jan 2023
Posts: 937
Location: Romania

PostPosted: Tue Sep 12, 2023 3:34 pm    Post subject: Reply with quote

iromeister wrote:
@stefan11111 that amounts to a completely fresh installation, doesn't it? I'm starting to think about Artix Linux...

No. That's just to give you a general direction on how to go to a static /dev.
If you don't need an initrd, all you have to do is mask udev and friends, fix your kernel to work with a static /dev, unmerge udev and friends, unmount the devtmpfs, emerge static-dev.
After that, you have to fix permissions yourself, but after you do it once, you don't really need to mess with it.
_________________
My overlay: https://github.com/stefan11111/stefan_overlay
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d *udev* /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /usr/bin/gdbus /lib/udev"
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 2043

PostPosted: Tue Sep 12, 2023 3:34 pm    Post subject: Reply with quote

Artix uses a split out udev, the same as systemd-utils.
Back to top
View user's profile Send private message
iromeister
n00b
n00b


Joined: 04 Feb 2017
Posts: 31
Location: Berlin

PostPosted: Wed Sep 13, 2023 4:16 pm    Post subject: Reply with quote

Ah, it turned out that I hadn't noticed sys-fs/eudev becoming masked. Now that I unmasked it, everything works as before.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54644
Location: 56N 3W

PostPosted: Wed Sep 13, 2023 6:38 pm    Post subject: Reply with quote

iromeister,

For how long ?

Only until you need the features that eudev does not provide.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Ridrok
Tux's lil' helper
Tux's lil' helper


Joined: 26 Jan 2014
Posts: 116
Location: France

PostPosted: Wed Sep 13, 2023 9:03 pm    Post subject: Reply with quote

We are many people that use Gentoo to not have any Canonical things, fail!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum