bootstrap-prefix.sh tries to build net-misc/wget-1.13.4 during bootstrap on (SunOS solaris 5.11 11.2 i86pc i386 i86pc Solaris). This attempt fails with: connect.o: In function `connect_with_timeout_callback': connect.c:(.text+0x2fa): undefined reference to `__xnet_connect' connect.o: In function `connect_to_ip': connect.c:(.text+0x477): undefined reference to `__xnet_socket' connect.c:(.text+0x4b2): undefined reference to `setsockopt' connect.c:(.text+0x544): undefined reference to `setsockopt' connect.c:(.text+0x588): undefined reference to `__xnet_bind' connect.o: In function `bind_local': connect.c:(.text+0x7c0): undefined reference to `__xnet_socket' connect.c:(.text+0x7f3): undefined reference to `setsockopt' connect.c:(.text+0x843): undefined reference to `__xnet_bind' connect.c:(.text+0x899): undefined reference to `getsockname' connect.c:(.text+0x8da): undefined reference to `listen' connect.o: In function `accept_connection': connect.c:(.text+0x995): undefined reference to `accept' connect.o: In function `socket_ip_address': connect.c:(.text+0x9fc): undefined reference to `getsockname' connect.c:(.text+0xa1f): undefined reference to `getpeername' connect.o: In function `sock_peek': connect.c:(.text+0xdfc): undefined reference to `recv' host.o: In function `lookup_host': host.c:(.text+0xa11): undefined reference to `gai_strerror' ../lib/libgnu.a(getaddrinfo.o): In function `getaddrinfo': getaddrinfo.c:(.text+0x111): undefined reference to `getservbyname' getaddrinfo.c:(.text+0x19e): undefined reference to `gethostbyname' collect2: ld returned 1 exit status Reproducible: Always Steps to Reproduce: ./bootstrap-prefix.sh
Created attachment 362580 [details] build.log
I updated the bootstrap snapshot, wget-1.14 should be taken now. Could you please try if that helps?
I tried bootstrapping with latest script. wget-1.14 is not pulled in because bootstrap-prefix.sh explicitly demands lower version to be installed. line 858 bootstrap_gnu wget 1.13.4 line 1226 local pkgs=( "<net-misc/wget-1.13.4-r1" # until we fix #393277 virtual/os-headers ) emerge_pkgs "" "${pkgs[@]}" || return 1 After replacing "<net-misc/wget-1.13.4-r1" with "net-misc/wget" whole bunch of new packages is about to be installed, but this attempt ends badly because configure of dev-util/pkgconfig-0.28 fails with ... checking for arpa/nameser_compat.h... yes checking for res_query... configure: error: not found configure: error: ./configure failed for glib While I can get it to compile with changing compiler flags like this CFLAGS="-lresolv -lsocket -lnsl -L/lib -lz I do not know whether this is correct approach. Nevertheless, even with modified CFLAGS script fails later trying to build libxml2.
This block is gone now, and I could bootstrap on OpenIndiana, so hopefully this is also fixed for you.