Subject: Re: Problem remains with build.sh *not* installing new binaries
To: Xavier HUMBERT <xavier@xavhome.fr.eu.org>
From: Rasputin <rasputin@idoru.mine.nu>
List: current-users
Date: 07/19/2002 11:40:46
* Xavier HUMBERT <xavier@xavhome.fr.eu.org> [020719 10:21]:
> Actually, I simply can't launch sshd, I got
> <<Undefined PLT symbol "arc4random_stir" ....>>
>
> Never mind, I'm bloody sure my userland is not in sync with the kernel,
> and/or with the current sources
>
> So, let's do something drastic :
>
> # cd /usr
> # rm -rf build && mkdir build
> # rm -rf tools && mkdir tools
> # rm -rf obj && mkdir obj
> # /root/bin/buildkernel.sh
> # reboot
> # cd /usr/src
At this point , I'd clean out /usr/src and check it all again,
it's about the onlu thing you haven't tried.
> # ./build.sh -d -D /usr/build
> # ./build.sh -D /
> # ls -l /usr/sbin/sshd /usr/build/usr/sbin/sshd
> -r-xr-xr-x 1 root wheel 309228 Jul 17 18:31 /usr/build/usr/sbin/sshd
> -r-xr-xr-x 1 root wheel 266532 Mar 20 18:04 /usr/sbin/sshd
>
> For god's sake wha is this completely outdated sshd ???
>
> What is broken in nbmake ?
Are you using nbmake? What are TOOLDIR, etc set to in mk.conf?
I normally
build.sh -t -T /usr/tools
(Sort a new kernel and boot from it)
build.sh -T /usr/tools -O /usr/obj -D /usr/local/fakeroot
build.sh -T /usr/tools -O /usr/obj
- seems to work.
(No idea why your steps don't though, but just saying I don't
see this problem so maybe try my steps?)
--
Rasputin :: Jack of All Trades - Master of Nuns