Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bootparam_prot.h: No such file or diretory



On 16/01/2008, Iain Hibbert <plunky%rya-online.net@localhost> wrote:
> On Tue, 15 Jan 2008, David Holland wrote:
>
> > On Tue, Jan 15, 2008 at 03:20:44PM +0000, Iain Hibbert wrote:
> >  > > exec ./build.sh -u -O /usr/obj "$@"
> >  >
> >  > > nothing special really, with exception of /usr/src and /usr/obj being
> >  > > nfs mounted, /usr/src being read-only
> >  >
> >  > to be honest I'm no expert here but this seems like a stale dependency of
> >  > some kind and -u can cause trouble like that if files have been added or
> >  > removed since the last successful build. I don't see how that should make
> >  > a difference though if you emptied /usr/obj first.
> >
> > Maybe some directories were (partially) built without making obj?
>
> count be tainted source tree (though IIRC Kimi downloaded a new set?)

yes, multiple times through csup & different mirrors. I had even
downloaded an ISO and supposedly matching source sets from
ftp.netbsd.org from what I thought the ISO was built from to see if it
would sort my problem out. obviously theory failed and I am here
asking for help

it is funny I have built netbsd from /usr/src a fair few times before
now. something has changed from many months ago when I did this.

I even questioned to be flaky hardware, so tested exactly how I did
things on real hardware under VMware Workstation (I would use Qemu, if
I did not have vmware license) yet, same results.

so to summarize what I do:

I download latest ISO from NetBSD-Daily/HEAD on ftp.netbsd.org for my
platform which is AMD64.
wait 5 minutes
check the checksums
burn ISO to CD-RW
place the CD-RW media in target machine
let it boot & reach sysinst
follow through, giving whole disc to NetBSD, do a full install
tap return a few times
wait for installtion/extraction of sets.
answer questions like no root password, set shell to ksh & password
algo to blowfish
finish & reboot
remove media disc
let the machine boot

type root at login prompt
# rm /etc/motd && touch /etc/motd
# echo "ccd=NO" >> /etc/rc.conf
# echo "cgd=NO" >> /etc/rc.conf
# echo "raidframe=NO" >> /etc/rc.conf
# echo "quota=NO" >> /etc/rc.conf
# echo "inetd=NO" >> /etc/rc.conf
# echo "update_motd=NO" >> /etc/rc.conf
# echo "dhclient=YES" >> /etc/rc.conf
# echo 'hostname="NetBSD-x86_64" >> /etc/rc.conf
# echo "mynfsserver:/media/data/netbsd/current/src /usr/src nfs ro" >>
/etc/fstab
# echo "mynfsserver:/media/data/netbsd/current/src /usr/obj nfs rw" >>
/etc/fstab
# shutdown -r now && clear && exit

...wait for system to do its thing..

back to login prompt & enter root
# cd /usr/src
# ./builder.sh build

...wait for a while..

dependall ===> lib/librpcsvc
bootparam_prot_xdr.c:6:28: error: bootparam_prot.h: No such file or
directory nbmkdep:compile failed.

or whatever stone/rock it decides to throw at me next

>
> > In that case something like this might help:
> >
> >    cd /usr/src
> >    find . -type l -name obj -print | xargs rm
> >    make cleandir
> >    make obj
>
> I'm not so sure but using build.sh with -O doesn't normally make any
> touching in the source tree.
>
> If links are being used though, I wonder if the NFS setup has blocked
> them?
>
> iain
>

thanks for your patience

-- 
Regards,
 Kimi



Home | Main Index | Thread Index | Old Index