Gentoo Archives: gentoo-user

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

Replies

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