From owner-freebsd-current@freebsd.org Wed Dec 2 05:03:15 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 96A28A3416F for ; Wed, 2 Dec 2015 05:03:15 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 56DA51DF3; Wed, 2 Dec 2015 05:03:14 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.85) with esmtp (envelope-from ) id <1a3zZQ-003KSp-RL>; Wed, 02 Dec 2015 06:03:12 +0100 Received: from p578a69f9.dip0.t-ipconnect.de ([87.138.105.249] helo=freyja.zeit4.iv.bundesimmobilien.de) by inpost2.zedat.fu-berlin.de (Exim 4.85) with esmtpsa (envelope-from ) id <1a3zZQ-0020KO-KZ>; Wed, 02 Dec 2015 06:03:12 +0100 Date: Wed, 2 Dec 2015 06:03:05 +0100 From: "O. Hartmann" To: Bryan Drewery Cc: FreeBSD CURRENT Subject: Re: HELP! libelf.so: no such file or directory Message-ID: <20151202060305.57c59453@freyja.zeit4.iv.bundesimmobilien.de> In-Reply-To: <565E2458.6000505@FreeBSD.org> References: <20151201233145.2b9d7ee5.ohartman@zedat.fu-berlin.de> <20151201233828.1e03c5c6.ohartman@zedat.fu-berlin.de> <565E2341.5010301@FreeBSD.org> <565E2458.6000505@FreeBSD.org> Organization: FU Berlin X-Mailer: Claws Mail 3.13.0 (GTK+ 2.24.28; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Originating-IP: 87.138.105.249 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Dec 2015 05:03:15 -0000 On Tue, 1 Dec 2015 14:51:04 -0800 Bryan Drewery wrote: > On 12/1/2015 2:46 PM, Bryan Drewery wrote: > > On 12/1/2015 2:38 PM, O. Hartmann wrote: > >> Am Tue, 1 Dec 2015 23:31:45 +0100 > >> "O. Hartmann" schrieb: > >> > >>> > >>> Just a few moments ago, I installed via buildworld/buildkernel a new > >>> CURRENT, then did "make delete-old-libs" and by that, libelf.so.2 got > >>> killed! > >>> > >>> After that, I'm unable to build any world to salvage the problem! Moments > >>> later, I did the same procedure on other CURRENT - but in the meanwhile, > >>> the obscure deleteing of libelf.so.2 didn't happen again when issue make > >>> delete-old-libs. What is that? > >>> > >>> More important than to know what shit happened is: how to repair the > >>> system? How's FreeBSD source system to bootstrap itself again to provide > >>> libelf.so.2? It seems, that libelf.so.2 is necessary (nm, for instance) > >>> or linker scripts to install lib. Somehow this is weird ... and leave > >>> those who got trapped by someone eleses mistakes floating dead in the > >>> water ... > >>> > >>> > >>> > >>> oh > >> > >> Great ... CURRENT, at revision 291620. > >> > >> [...] > >> > >> ===> sys/boot/i386/boot0sio (all) > >> --- all_subdir_libexec --- > >> make[4]: make[4]: don't know how to make /Versions.def. Stop > >> > >> make[4]: stopped in /usr/src/libexec/rtld-elf > >> > > > > This is a mistake I just made. Fixing it. > > > > Should be ok now after r291622. > Buildworld fails again: [...] rm -f .depend.wctomb_2_test GPATH GRTAGS GSYMS GTAGS --- io_test.cleandir --- --- cleandepend --- --- cleandir_subdir_usr.sbin --- --- cleanobj --- --- cleandir_subdir_rescue --- --- cleandepend_crunchdir_cp --- --- cleandepend --- --- cleandir_subdir_lib --- --- cleandir_subdir_libnandfs --- make[4]: "/usr/src/share/mk/bsd.libnames.mk" line 164: /usr/src/lib/libnandfs: Missing value for LIBNANDFS in bsd.libnames.mk. Likely should be: LIBNANDFS?= ${DESTDIR}${LIBDIR}/libnandfs.a *** [cleandir_subdir_libnandfs] Error code 1 [...] And when doing a mergemaster, just for the prevention I had something wrong: [...] *** Creating the temporary root environment in /var/tmp/temproot *** /var/tmp/temproot ready for use *** Creating and populating directory structure in /var/tmp/temproot make[4]: "/usr/src/share/mk/bsd.libnames.mk" line 164: /usr/src/lib/libnandfs: Missing value for LIBNANDFS in bsd.libnames.mk. Likely should be: LIBNANDFS?= ${DESTDIR}${LIBDIR}/libnandfs.a *** FATAL ERROR: Cannot 'cd' to /usr/src and install files to the temproot environment aaaaarrrrgggghhhhh .... oh