Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Dec 2015 06:03:05 +0100
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        Bryan Drewery <bdrewery@FreeBSD.org>
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 1 Dec 2015 14:51:04 -0800
Bryan Drewery <bdrewery@FreeBSD.org> 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" <ohartman@zedat.fu-berlin.de> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151202060305.57c59453>