Re: HELP! libelf.so: no such file or directory

2015-12-01 Thread O. Hartmann
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


pgp2t2wtKLRQ3.pgp
Description: OpenPGP digital signature


Re: HELP! libelf.so: no such file or directory

2015-12-01 Thread Bryan Drewery
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.

-- 
Regards,
Bryan Drewery



signature.asc
Description: OpenPGP digital signature


Re: HELP! libelf.so: no such file or directory

2015-12-01 Thread Bryan Drewery
On 12/1/2015 2:31 PM, O. Hartmann wrote:
> 
> 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 ...
> 
> 
> 

Just copy it from the obj directory or 'make -C lib/libelf install'.
Several bugs contributed to this.


-- 
Regards,
Bryan Drewery



signature.asc
Description: OpenPGP digital signature


Re: HELP! libelf.so: no such file or directory

2015-12-01 Thread Bryan Drewery
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.

-- 
Regards,
Bryan Drewery



signature.asc
Description: OpenPGP digital signature


Re: HELP! libelf.so: no such file or directory

2015-12-01 Thread O. Hartmann
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

ah 


oh
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: HELP! libelf.so: no such file or directory

2015-12-01 Thread Bryan Drewery
On 12/1/2015 9:03 PM, O. Hartmann wrote:
> 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
> [...]
> 

r291639 will fix that. It's non-default so did not come up in my testing.


-- 
Regards,
Bryan Drewery



signature.asc
Description: OpenPGP digital signature


Re: HELP! libelf.so: no such file or directory

2015-12-01 Thread O. Hartmann
On Tue, 1 Dec 2015 21:23:56 -0800
Bryan Drewery  wrote:

> On 12/1/2015 9:03 PM, O. Hartmann wrote:
> > 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 [...] 
> 
> r291639 will fix that. It's non-default so did not come up in my testing.
> 
> 

I "accidentally" did testing ;-) Thank you very much for that fast fixing.

Kind regards,

Oliver
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"