Gentoo Archives: gentoo-user

From: Matthias Hanft <mh@×××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Apache not starting after upgrading Apache/glibc...
Date: Sat, 13 Apr 2019 14:39:00
Message-Id: 6b844cf3-cb3c-72e3-7517-4fd57f5baa4d@hanft.de
In Reply to: Re: [gentoo-user] Re: Apache not starting after upgrading Apache/glibc... by Matthias Hanft
1 Matthias Hanft wrote:
2 >
3 > So it seems that I cannot emerge "patch" because I need to patch
4 > "patch" :-( Am I stuck now??? What to do??
5
6 I copied "/usr/bin/patch" from another (glibc-2.27) Gentoo system.
7 Patching now works, but at every emerge (for example, binutils),
8 I get something like
9
10 checking whether make sets $(MAKE)... yes
11 checking whether make supports nested variables... yes
12 checking whether make supports nested variables... (cached) yes
13 checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
14 checking whether the C compiler works... no
15 configure: error: in `/var/tmp/portage/sys-devel/patch-2.7.6-r3/work/patch-2.7.6':
16 configure: error: C compiler cannot create executables
17 See `config.log' for more details
18
19 Despite gcc was *not* recompiled after the glibc upgrade, it now
20 tells
21
22 $ gcc -o hello hello.c
23 /usr/lib/gcc/i686-pc-linux-gnu/8.2.0/../../../../i686-pc-linux-gnu/bin/as: /lib/libc.so.6: version `GLIBC_2.28' not found (required by
24 /usr/lib/binutils/i686-pc-linux-gnu/2.31.1/libbfd-2.31.1.gentoo-sys-devel-binutils-st.so)
25
26 Argh!!!
27
28 I *do* have another working Gentoo system (with the old glibc 2.27 and
29 Apache 2.4.38 and all binutils and all that - everything is still fine
30 there). Can I use this just to copy some files (libs) to the "sick"
31 system? Just until I can re-emerge everything into a consistent state
32 there?
33
34 -Matt

Replies