Re: make installkernel: failure: install: /usr/lib/debug/boot/kernel: No such file or directory

From: A FreeBSD User <freebsd_at_walstatt-de.de>
Date: Fri, 07 Feb 2025 15:47:14 UTC
Am Fri, 7 Feb 2025 14:45:04 +0100
A FreeBSD User <freebsd@walstatt-de.de> schrieb:

> Am Fri, 7 Feb 2025 14:08:24 +0100 (CET)
> Ronald Klop <ronald-lists@klop.ws> schrieb:
> 
> > Does it work if you just do
> > 
> > mkdir -p /usr/lib/debug/boot/kernel/
> > 
> > and restart the make installkernel?
> > 
> > Regards,
> > Ronald.  
> 
> 
> Hello Ronald.
> 
> I already did that, but the newly created directory seems to vanish each time I start "make
> installkernel" or "make kernel" (or with "-j8" for parallel install ...).
> 
> I've issued newly "make cleanworld" and "make cleandir" additionaly and do a complete new
> build - again. It takes a least an hour on my 12 years old hardware ;-)
> 
> Will report in when finished/failes again ...
> 
> Kind regards,
> 
> Oliver  


No luck! After a complete fresh buildworld/buildkernel, the failure is persistant.


> > 
> >  
> > Van: A FreeBSD User <freebsd@walstatt-de.de>
> > Datum: vrijdag, 7 februari 2025 13:56
> > Aan: FreeBSD CURRENT <freebsd-current@freebsd.org>
> > Onderwerp: make installkernel: failure: install: /usr/lib/debug/boot/kernel: No such file
> > or directory  
> > > 
> > > Hello,
> > > 
> > > Host is actual running
> > > 
> > > 15.0-CURRENT #40 main-n275030-46a9fb7287f4: Sat Jan 25 07:09:38 CET 2025 amd64
> > > 
> > > Trying to rebuild (from clean/scratch after "make cleanworld") and install kernel/world.
> > > 
> > > make kernel works fine.
> > > make installkernel bails out with:
> > > 
> > > [...]    
> > > ===> usb/rsufw/rsurtl8712fw (install)    
> > > install -T release -o root -g wheel -m 444   rsu-rtl8712fw.ko /boot/kernel/    
> > > ===> usb/mtw (install)    
> > > install -T release -o root -g wheel -m 444   if_mtw.ko /boot/kernel/
> > > install -T dbg -o root -g wheel -m 444   if_mtw.ko.debug /usr/lib/debug/boot/kernel/
> > > install: /usr/lib/debug/boot/kernel: No such file or directory
> > > *** Error code 71
> > > 
> > > Stop.
> > > make[5]: stopped making "install" in /usr/src/sys/modules/usb/mtw
> > > *** Error code 1
> > > 
> > > Stop.
> > > make[4]: stopped making "install" in /usr/src/sys/modules/usb
> > > *** Error code 1
> > > 
> > > Stop.
> > > make[3]: stopped making "install" in /usr/src/sys/modules
> > > *** Error code 1
> > > [...]
> > > 
> > > On a similar box running CURRENT this failure doesn't show up, but the (working) box has
> > > been updated more often within the past two weeks.
> > > 
> > > I fear that I might have issued "make delete-old" on the wrong console prior to "make
> > > installworld", but I do not know wether the failure shown is a typical/well known
> > > symptome.
> > > 
> > > Any tips and tricks to fix this nasty failure?
> > > 
> > > Thanks in advance
> > > 
> > > o.h.
> > > 
> > > -- 
> > > 
> > > A FreeBSD user
> > > 
> > > 
> > > 
> > >      
> > 
> >    
> 
> 
> 



-- 

A FreeBSD user