Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 552036 - Transition to dev-libs/libgudev
Summary: Transition to dev-libs/libgudev
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
: 552718 (view as bug list)
Depends on: 568006
Blocks:
  Show dependency tree
 
Reported: 2015-06-13 19:53 UTC by Mike Gilbert
Modified: 2021-04-16 14:45 UTC (History)
10 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 Mike Gilbert gentoo-dev 2015-06-13 19:53:03 UTC
I recently added dev-libs/libgudev to the tree. This package replaces the libgudev library provided by sys-fs/eudev[gudev], sys-fs/udev[gudev], and sys-apps/systemd[gudev].

When I added dev-libs/libgudev, I also revbumped virtual/libgudev to add the new provider. However, it seems quite difficult to get portage to automatically switch to using dev-libs/libgudev. A world update produces blocker messages and slot conflicts. It only works if you explicitly specify the new package.

> emerge --oneshot =sys-apps/systemd-9999 dev-libs/libgudev


I think the only workable solution here is to eliminate the || dep in virtual/libgudev and make dev-libs/libgudev the only provider. This probably makes the most sense long-term anyway.

Here's what needs to happen:

1. Add revbumps of eudev, udev, and systemd with gudev forcably disabled. At the same time, add virtual/libgudev-230 with RDEPEND="dev-libs/libgudev".

2. Stabilize dev-libs/libgudev.

3. Stabilize the new versions of eudev, udev, systemd and virtual/libgudev-230.


Does this sound workable to the eudev and udev teams?

If so, please let me know which versions I should revbump for step 1. My preference would be to revbump current stable + current ~arch.
Comment 1 Ian Stakenvicius (RETIRED) gentoo-dev 2015-06-19 20:48:47 UTC
I did some testing with other options, and nothing seems better than this one.

I also confirmed that we can't add virtual/libgudev-230 without the ebuilds that drop gudev from IUSE being available in the tree.
Comment 2 Anthony Basile gentoo-dev 2015-06-19 21:56:07 UTC
(In reply to Mike Gilbert from comment #0)
> 
> Does this sound workable to the eudev and udev teams?
> 
> If so, please let me know which versions I should revbump for step 1. My
> preference would be to revbump current stable + current ~arch.

Sounds workable for eudev.  Let's revbump eudev-3.1.2 for the ~arch version which I added to the tree today.  Future versions of eudev will have no libgudev.
Comment 3 Mike Gilbert gentoo-dev 2015-06-19 21:57:38 UTC
(In reply to Ian Stakenvicius from comment #1)
> I also confirmed that we can't add virtual/libgudev-230 without the ebuilds
> that drop gudev from IUSE being available in the tree.

Slight revision to that: I plan on using package.mask to hide the new versions, and then drop the mask once we are ready.
Comment 4 Mike Gilbert gentoo-dev 2015-06-22 01:38:59 UTC
*** Bug 552718 has been marked as a duplicate of this bug. ***
Comment 5 Mike Gilbert gentoo-dev 2015-07-10 01:10:00 UTC
+  10 Jul 2015; Mike Gilbert <floppym@gentoo.org> package.mask:
+  Unmask systemd/udev 222 mask and virtual/libgudev-230.

+*eudev-3.1.2-r10 (10 Jul 2015)
+
+  10 Jul 2015; Mike Gilbert <floppym@gentoo.org> +eudev-3.1.2-r10.ebuild:
+  Revbump for libgudev, bug 552036.
Comment 6 Nikos Chantziaras 2015-07-10 10:30:21 UTC
So how do we resolve the blockers?

[blocks B      ] dev-libs/libgudev ("dev-libs/libgudev" is blocking sys-fs/udev-220-r3)
[blocks B      ] sys-fs/udev[gudev(-)] ("sys-fs/udev[gudev(-)]" is blocking dev-libs/libgudev-230)
Comment 7 Tobias Klausmann (RETIRED) gentoo-dev 2015-07-10 11:17:44 UTC
(In reply to Nikos Chantziaras from comment #6)
> So how do we resolve the blockers?
> 
> [blocks B      ] dev-libs/libgudev ("dev-libs/libgudev" is blocking
> sys-fs/udev-220-r3)
> [blocks B      ] sys-fs/udev[gudev(-)] ("sys-fs/udev[gudev(-)]" is blocking
> dev-libs/libgudev-230)

Remove the gudev USE flag for both sys-fs/udev and virtual/udev
Comment 8 Nikos Chantziaras 2015-07-10 11:27:03 UTC
(In reply to Tobias Klausmann from comment #7)
> (In reply to Nikos Chantziaras from comment #6)
> > So how do we resolve the blockers?
> > 
> > [blocks B      ] dev-libs/libgudev ("dev-libs/libgudev" is blocking
> > sys-fs/udev-220-r3)
> > [blocks B      ] sys-fs/udev[gudev(-)] ("sys-fs/udev[gudev(-)]" is blocking
> > dev-libs/libgudev-230)
> 
> Remove the gudev USE flag for both sys-fs/udev and virtual/udev

Since the packages are unmasked now, shouldn't that mean that this happens automatically? I don't have the USE flag explicitly set.
Comment 9 Mike Gilbert gentoo-dev 2015-07-10 13:39:34 UTC
The gudev use flag was removed from the following packages:

sys-apps/systemd-222
sys-fs/udev-222
sys-fs/eudev-3.1.2-r10

Patrick has since re-masked udev-222, leading to the blocker situation we have now. Once that has been resolved, the blockers should auto-resolve.
Comment 10 Matt Turner gentoo-dev 2021-04-16 14:45:26 UTC
Looks like this was sorted out long ago.