Opened 15 months ago

Closed 15 months ago

Last modified 14 months ago

#18292 closed defect (fixed)

libgudev-238 FTBFS with eudev

Reported by: pierre Owned by: blfs-book
Priority: normal Milestone: 12.0
Component: BOOK Version: git
Severity: blocker Keywords:
Cc:

Description

libudev requirement is >=251, while eudev has 243. The problem is libgudev uses a feadure introduced in udev-247, see https://gitlab.gnome.org/GNOME/libgudev/-/commit/0cfd33f0c1101b4a93c503cbda4274786a6d41e2

Putting severity as blocker, since this would block a release...

Change History (8)

comment:2 by pierre, 15 months ago

We might want to move to a libudev extracted from systemd, but let's see what eudev folks come with.

comment:3 by pierre, 15 months ago

For reference, a link to an lfs ticket that has a patch for using systemd libudev: https://wiki.linuxfromscratch.org/lfs/ticket/4914

Also, gentoo ebuild: https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-apps/systemd-utils/systemd-utils-253.6.ebuild

But if we go this way, it has to be in an lfs ticket...

comment:4 by Douglas R. Reno, 15 months ago

I'm thinking about creating a branch in LFS for that and giving it a try. It's a complicated procedure but I want to see if it can be cleaned up a bit as well.

We might be able to backport https://github.com/systemd/systemd/commit/3b684be04b95bd5264dff0f2af343c52b4dba86b to eudev, but I feel like that would only be a temporary fix

comment:5 by Douglas R. Reno, 15 months ago

Opened up https://wiki.linuxfromscratch.org/lfs/ticket/5285 for converting LFS from eudev to libudev from systemd.

comment:6 by Bruce Dubbs, 15 months ago

I built lfs using the LFS git branch xry111/systemd-udevd-for-sysv.

From a brand new boot I built:

Sun Jul 16 14:42:58 CDT 2023 /usr/src/libxml2/libxml2-2.10.4.tar.xz
Sun Jul 16 14:43:29 CDT 2023 /usr/src/libxslt/libxslt-1.1.38.tar.xz
Sun Jul 16 14:43:48 CDT 2023 /usr/src/sgml/sgml-common-0.6.3.tgz
Sun Jul 16 14:44:13 CDT 2023 /usr/src/unzip/unzip60.tar.gz
Sun Jul 16 14:44:36 CDT 2023 /usr/src/docbook-xml-45/docbook-xml-4.5.zip
Sun Jul 16 14:47:59 CDT 2023 /usr/src/docbook-xsl/docbook-xsl-nons-1.79.2.tar.bz2
Sun Jul 16 14:49:01 CDT 2023 /usr/src/pcre/pcre2-10.42.tar.bz2
Sun Jul 16 14:49:30 CDT 2023 /usr/src/glib/glib-2.76.4.tar.xz
Sun Jul 16 14:53:57 CDT 2023 /usr/src/libgudev/libgudev-238.tar.xz

Stats at -j1 were

md5sum : 46da30a1c69101c3a13fa660d9ab7b73  /usr/src/libgudev/libgudev-238.tar.xz
32 /usr/src/libgudev/libgudev-238.tar.xz SIZE (.031 MB)
696 kilobytes BUILD SIZE (.679 MB)
SBU=.011

I think we can close this ticket as soon as the systemd-udevd-for-sysv branch is merged into the LFS trunk,

comment:7 by Xi Ruoyao, 15 months ago

Resolution: fixed
Status: newclosed

Fixed in LFS.

comment:8 by Bruce Dubbs, 14 months ago

Milestone: 11.412.0

Milestone renamed

Note: See TracTickets for help on using tickets.