Re: make installworld broke / how to recover

From: John <tech-lists_at_zyxst.net>
Date: Thu, 22 Feb 2018 11:40:30 +0000
Hi, thanks for responding

On Thu, 22 Feb 2018, at 11:10, Jack L. wrote:
> maybe try a clean buildworld, update /usr/src to the latest version, rm -rf
> /usr/obj, then make buildworld && make installworld && make kernel and see
> if that fixes the issue?

I booted to the old kernel as it's apparently in sync with the (broken) world:

root_at_desktop:/usr/src# make -j32 cleandir && make -j32 clean && make -j32 clean <-- just to make sure!
[...]
root_at_desktop:/usr/src# less /etc/make.conf
/etc/make.conf: No such file or directory
root_at_desktop:/usr/src# less /etc/src.conf
/etc/src.conf: No such file or directory
root_at_desktop:/usr/src# svnlite update
Updating '.':
At revision 329819.
root_at_desktop:/usr/src# rm -rf /obj/* [ my /usr/obj is symlinked to /obj as /obj is on a SSD]
root_at_desktop:/usr/src# uname -KU
1101510 1101510

root_at_desktop:/usr/src# make -j1 buildworld

[...]

===> usr.bin/xinstall (obj,all,install)
/usr/obj/storage/usr/src/tmp/storage/usr/src/usr.bin/xinstall created for /storage/usr/src/usr.bin/xinstall
echo xinstall.full: /usr/lib/libc.a /usr/lib/libmd.a /usr/obj/storage/usr/src/tmp/legacy/usr/lib/libegacy.a >> .depend
cc -O2 -pipe  -I/storage/usr/src/contrib/mtree -I/storage/usr/src/lib/libnetbsd -g -MD  -MF.depend.xinstall.o -MTxinstall.o -std=gnu99  -Qunused-arguments  -I/usr/obj/storage/usr/src/tmp/legacy/usr/include -c /storage/usr/src/usr.bin/xinstall/xinstall.c -o xinstall.o
cc -O2 -pipe  -I/storage/usr/src/contrib/mtree -I/storage/usr/src/lib/libnetbsd -g -MD  -MF.depend.getid.o -MTgetid.o -std=gnu99  -Qunused-arguments  -I/usr/obj/storage/usr/src/tmp/legacy/usr/include -c /storage/usr/src/contrib/mtree/getid.c -o getid.o
cc -O2 -pipe -I/storage/usr/src/contrib/mtree -I/storage/usr/src/lib/libnetbsd -g -std=gnu99 -Qunused-arguments -I/usr/obj/storage/usr/src/tmp/legacy/usr/include  -static -L/usr/obj/storage/usr/src/tmp/legacy/usr/lib -o xinstall.full xinstall.o getid.o   -lmd -legacy
objcopy --only-keep-debug xinstall.full install.debug
objcopy --strip-debug --add-gnu-debuglink=install.debug  xinstall.full xinstall
sh /storage/usr/src/tools/install.sh  -s -o root -g wheel -m 555   xinstall /usr/obj/storage/usr/src/tmp/legacy/usr/bin/install
sh /storage/usr/src/tools/install.sh  -o root -g wheel -m 444  install.debug /usr/obj/storage/usr/src/tmp/legacy/usr/lib/debug/usr/bin/install.debug
install: install.debug: Inappropriate file type or format
*** [_proginstall] Error code 71

make[3]: stopped in /storage/usr/src/usr.bin/xinstall
1 error

make[3]: stopped in /storage/usr/src/usr.bin/xinstall
*** [_bootstrap-tools-usr.bin/xinstall] Error code 2

make[2]: stopped in /storage/usr/src
1 error

make[2]: stopped in /storage/usr/src
*** [_bootstrap-tools] Error code 2

make[1]: stopped in /storage/usr/src
1 error

make[1]: stopped in /storage/usr/src
*** [buildworld] Error code 2

make: stopped in /storage/usr/src
1 error

make: stopped in /storage/usr/src

-- 
  John
  tech-lists_at_zyxst.net
Received on Thu Feb 22 2018 - 10:40:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:15 UTC