Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 712784 - Gentoo Prefix on x86 bootstrap Stage 3 fails with net-misc/wget-1.20.3-r3 undefined references to GLIBC_PRIVATE
Summary: Gentoo Prefix on x86 bootstrap Stage 3 fails with net-misc/wget-1.20.3-r3 und...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-16 03:47 UTC by Sammy Pfeiffer
Modified: 2020-03-20 08:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sammy Pfeiffer 2020-03-16 03:47:11 UTC
The error:

2020-03-15T17:43:16.8266447Z i686-pc-linux-gnu-gcc  -DHAVE_LIBSSL  -DNDEBUG   -Wl,-O1 -Wl,--as-needed -o wget connect.o convert.o cookies.o ftp.o css_.o css-url.o ftp-basic.o ftp-ls.o hash.o host.o hsts.o html-parse.o html-url.o http.o init.o log.o main.o netrc.o progress.o ptimer.o recur.o res.o retr.o spider.o url.o warc.o xattr.o utils.o exits.o build_info.o   version.o ftp-opie.o openssl.o ../lib/libgnu.a               -lpcre2-8  -lssl -lcrypto  -lz  
2020-03-15T17:43:16.8953570Z /tmp/gentoo/usr/lib/gcc/i686-pc-linux-gnu/9.2.0/../../../../i686-pc-linux-gnu/bin/ld: /lib/i386-linux-gnu/libpthread.so.0: undefined reference to `__libc_dl_error_tsd@GLIBC_PRIVATE'
2020-03-15T17:43:16.8955325Z /tmp/gentoo/usr/lib/gcc/i686-pc-linux-gnu/9.2.0/../../../../i686-pc-linux-gnu/bin/ld: /lib/i386-linux-gnu/libpthread.so.0: undefined reference to `__libc_vfork@GLIBC_PRIVATE'
2020-03-15T17:43:16.8956077Z collect2: error: ld returned 1 exit status
2020-03-15T17:43:16.8957103Z make[3]: *** [Makefile:1687: wget] Error 1
2020-03-15T17:43:16.8957883Z make[3]: Leaving directory '/tmp/gentoo/var/tmp/portage/net-misc/wget-1.20.3-r3/work/wget-1.20.3/src'
2020-03-15T17:43:16.8963837Z make[2]: *** [Makefile:1586: all] Error 2
2020-03-15T17:43:16.8964686Z make[2]: Leaving directory '/tmp/gentoo/var/tmp/portage/net-misc/wget-1.20.3-r3/work/wget-1.20.3/src'
2020-03-15T17:43:16.8973782Z make[1]: *** [Makefile:1531: all-recursive] Error 1
2020-03-15T17:43:16.8974786Z make[1]: Leaving directory '/tmp/gentoo/var/tmp/portage/net-misc/wget-1.20.3-r3/work/wget-1.20.3'
2020-03-15T17:43:16.8975454Z make: *** [Makefile:1483: all] Error 2
2020-03-15T17:43:16.9000315Z  * ERROR: net-misc/wget-1.20.3-r3::gentoo failed (compile phase):
2020-03-15T17:43:16.9016676Z  *   emake failed

The full log of Stage 3 bootstrap on x86:
https://dev.azure.com/12719821/e566c963-8f77-4f01-b7bc-ae2d91b1334f/_apis/build/builds/1434/logs/41

An online diff/meld of the amd64 (building correctly) vs the x86 (crashing) emerge of wget-1.20.3-r3:
http://www.mergely.com/42ChLUsT/

You can find yourself in a Docker image in exactly this situation by doing:
docker pull awesomebytes/gentoo_prefix_ci_stage3_32b:1434
docker run -it awesomebytes/gentoo_prefix_ci_stage3_32b:1434 /bin/bash
(EPREFIX is /tmp/gentoo)


Note that this stops the bootstrap on x86 sooner than amd64, which is also stopped but later on as reported in: https://bugs.gentoo.org/712296
Comment 1 Sammy Pfeiffer 2020-03-20 08:05:07 UTC
Gentoo Prefix is bootstrapping again (2 successful daily builds worked in both amd64 and x86). The bug is gone, closing.