Gentoo Archives: gentoo-user

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