Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Systemd-boot not compiling
Date: Tue, 09 Apr 2019 13:34:29
Message-Id: 1712188.XCUFM8DqhW@eve
In Reply to: Re: [gentoo-user] Systemd-boot not compiling by Peter Humphrey
1 On Tuesday, April 9, 2019 11:11:42 AM CEST Peter Humphrey wrote:
2 > On Tuesday, 9 April 2019 06:56:02 BST J. Roeleveld wrote:
3 > > if you search for "stat" in the build-log and/or makefile(s), does it show
4 > > which file(s) it is checking?
5 >
6 > Looking into the work directory I find this little surprise:
7 >
8 > # ls -l
9 > /var/tmp/portage/sys-boot/systemd-boot-241/work/systemd-boot-241-build
10 > [...]
11 > lrwxrwxrwx 1 portage portage 22 Apr 9 09:26 libnss_myhostname.so ->
12 > libnss_myhostname.so.2 lrwxrwxrwx 1 portage portage 22 Apr 9 09:26
13 > libnss_mymachines.so -> libnss_mymachines.so.2 lrwxrwxrwx 1 portage
14 > portage 19 Apr 9 09:26 libnss_resolve.so -> libnss_resolve.so.2
15 > lrwxrwxrwx 1 portage portage 19 Apr 9 09:26 libnss_systemd.so ->
16 > libnss_systemd.so.2 lrwxrwxrwx 1 portage portage 15 Apr 9 09:26
17 > libsystemd.so -> libsystemd.so.0 lrwxrwxrwx 1 portage portage 20 Apr 9
18 > 09:26 libsystemd.so.0 -> libsystemd.so.0.25.0 [...]
19 >
20 > Konsole shows all these in red, indicating nonexistence of the links'
21 > targets, and indeed they don't exist, either there or anywhere else in the
22 > system. On the other hand, after ebuild ... compile on the main system,
23 > which succeeds, I get the same nonexistent links. So that can't be the
24 > problem.
25 >
26 > "find . -name Makefile -exec grep '-lw' 'stat' {} +" returns a blank.
27 >
28 > I'm close to getting out of my depth here.
29 >
30 > (This is an openrc box.)
31
32 I just tested the compile on my system and I get the exact same error.
33 This is on my primary desktop, so would expect most build-dependencies to be
34 present.
35
36 I also noticed the following bug on b.g.o.:
37 https://bugs.gentoo.org/682908
38
39 For your current issue, you could try version 239, which does compile on my
40 system. I am not going to test installing it as that risks not being able to
41 boot my desktop.
42
43 --
44 Joost

Replies

Subject Author
Re: [gentoo-user] Systemd-boot not compiling Peter Humphrey <peter@××××××××××××.uk>