Gentoo Archives: gentoo-user

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

Replies

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