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 09:11:51
Message-Id: 4210934.aNitXKvxru@peak
In Reply to: Re: [gentoo-user] Systemd-boot not compiling by "J. Roeleveld"
1 On Tuesday, 9 April 2019 06:56:02 BST J. Roeleveld wrote:
2
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 /var/tmp/portage/sys-boot/systemd-boot-241/work/systemd-boot-241-build
9 [...]
10 lrwxrwxrwx 1 portage portage 22 Apr 9 09:26 libnss_myhostname.so -> libnss_myhostname.so.2
11 lrwxrwxrwx 1 portage portage 22 Apr 9 09:26 libnss_mymachines.so -> libnss_mymachines.so.2
12 lrwxrwxrwx 1 portage portage 19 Apr 9 09:26 libnss_resolve.so -> libnss_resolve.so.2
13 lrwxrwxrwx 1 portage portage 19 Apr 9 09:26 libnss_systemd.so -> libnss_systemd.so.2
14 lrwxrwxrwx 1 portage portage 15 Apr 9 09:26 libsystemd.so -> libsystemd.so.0
15 lrwxrwxrwx 1 portage portage 20 Apr 9 09:26 libsystemd.so.0 -> libsystemd.so.0.25.0
16 [...]
17
18 Konsole shows all these in red, indicating nonexistence of the links' targets,
19 and indeed they don't exist, either there or anywhere else in the system. On
20 the other hand, after ebuild ... compile on the main system, which succeeds, I
21 get the same nonexistent links. So that can't be the problem.
22
23 "find . -name Makefile -exec grep '-lw' 'stat' {} +" returns a blank.
24
25 I'm close to getting out of my depth here.
26
27 (This is an openrc box.)
28
29 --
30 Regards,
31 Peter.

Replies

Subject Author
Re: [gentoo-user] Systemd-boot not compiling "J. Roeleveld" <joost@××××××××.org>