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 05:56:23
Message-Id: 4395659.AzKjb2Py9o@eve
In Reply to: Re: [gentoo-user] Systemd-boot not compiling by Peter Humphrey
1 On Monday, April 8, 2019 4:44:58 PM CEST Peter Humphrey wrote:
2 > On Monday, 8 April 2019 15:29:47 BST J. Roeleveld wrote:
3 > > On April 8, 2019 1:14:38 PM UTC, Peter Humphrey <peter@××××××××××××.uk>
4 >
5 > wrote:
6 > > >Hello list,
7 > > >
8 > > >Is anyone else having trouble emerging systemd-boot-241? This machine
9 > > >has a small rescue system as an alternative boot, and I get a mysterious
10 > > >error when I emerge the package. The end of the log shows this:
11 > > >
12 > > >[248/248] x86_64-pc-linux-gnu-gcc -o bootctl 'bootctl@exe/
13 > > >src_boot_bootctl.c.o' -Wl,--no-undefined -Wl,--as-needed -Wl,-z,relro
14 > > >-Wl,- z,now -Wl,--gc-sections -O2 -march=haswell -pipe -Wl,-O1
15 > > >-Wl,--as-needed -Wl,--start-group src/shared/libsystemd-shared-241.a src/
16 > > >libsystemd/libsystemd_static.a src/basic/libbasic.a
17 > > >/usr/lib64/libblkid.so
18 > > >-lrt/usr/lib64/libcap.so /usr/lib64/libmount.so -lrt -lm -Wl,--end-group
19 > > >-pthread
20 > > >'-Wl,-rpath,$ORIGIN/src/shared:$ORIGIN/src/libsystemd:$ORIGIN/src/
21 > > >basic'-Wl,-rpath-link,/var/tmp/portage/sys-boot/systemd-boot-241/work/
22 > > >systemd-boot-241- build/src/shared:/var/tmp/portage/sys-boot/systemd
23 > > >-boot-241/work/systemd-boot-241-build/src/libsystemd:/var/tmp/portage/sys
24 > > >-
25 > > >boot/systemd-boot-241/work/ systemd-boot-241-build/src/basic
26 > > >stat: No such file or directory
27 > > >
28 > > > * ERROR: sys-boot/systemd-boot-241::gentoo failed (compile phase):
29 > > > * (no error message)
30 > > >
31 > > >But it compiles just fine on the main system.
32 > > >
33 > > >Perhaps something is missing from the rescue system and hasn't been
34 > > >caught by the ebuild, but I can't think of what. If 'stat' had said what
35 > > >file or directory wasn't present, I'd be able to dig a bit deeper to find
36 > > >the problem.
37 > > >
38 > > >I see the same behaviour on another machine. Both are 64-bit, but only
39 > > >this one is ~amd64; the other one has a KEYWORD to enable systemd-boot.
40 > >
41 > > Have you tried compiling with "MAKEOPTS="-j 1"? (Eg, no parallel build?
42 >
43 > I knew I'd missed something out - yes, that's the first thing I tried.
44
45 if you search for "stat" in the build-log and/or makefile(s), does it show
46 which file(s) it is checking?
47
48 --
49 Joost

Replies

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