Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Systemd-boot not compiling
Date: Mon, 08 Apr 2019 14:30:00
Message-Id: C3B0840E-19D2-4A04-9310-9937FF15FF50@antarean.org
In Reply to: [gentoo-user] Systemd-boot not compiling by Peter Humphrey
1 On April 8, 2019 1:14:38 PM UTC, Peter Humphrey <peter@××××××××××××.uk> wrote:
2 >Hello list,
3 >
4 >Is anyone else having trouble emerging systemd-boot-241? This machine
5 >has a
6 >small rescue system as an alternative boot, and I get a mysterious
7 >error when
8 >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,-
13 >z,now -Wl,--gc-sections -O2 -march=haswell -pipe -Wl,-O1
14 >-Wl,--as-needed -
15 >Wl,--start-group src/shared/libsystemd-shared-241.a src/libsystemd/
16 >libsystemd_static.a src/basic/libbasic.a /usr/lib64/libblkid.so -lrt
17 >/usr/
18 >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/basic'
21 >-Wl,-
22 >rpath-link,/var/tmp/portage/sys-boot/systemd-boot-241/work/systemd-boot-241-
23 >build/src/shared:/var/tmp/portage/sys-boot/systemd-boot-241/work/systemd-
24 >boot-241-build/src/libsystemd:/var/tmp/portage/sys-boot/systemd-boot-241/work/
25 >systemd-boot-241-build/src/basic
26 >stat: No such file or directory
27 > * ERROR: sys-boot/systemd-boot-241::gentoo failed (compile phase):
28 > * (no error message)
29 >
30 >But it compiles just fine on the main system.
31 >
32 >Perhaps something is missing from the rescue system and hasn't been
33 >caught by
34 >the ebuild, but I can't think of what. If 'stat' had said what file or
35 >directory wasn't present, I'd be able to dig a bit deeper to find the
36 >problem.
37 >
38 >I see the same behaviour on another machine. Both are 64-bit, but only
39 >this
40 >one is ~amd64; the other one has a KEYWORD to enable systemd-boot.
41
42 Have you tried compiling with "MAKEOPTS="-j 1"? (Eg, no parallel build?
43 --
44 Sent from my Android device with K-9 Mail. Please excuse my brevity.

Replies

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