Rebuilding World Failed

Dominique Goncalves dominique.goncalves at gmail.com
Tue Apr 3 08:45:48 UTC 2007


Hi,

On 4/3/07, Schiz0 <schiz0phrenic21 at gmail.com> wrote:
> Hello,
>
> I'm running FreeBSD 6.2-Stable. I'm getting errors when I try to rebuild
> world. I have followed the steps in the handbook at:
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
>
> I used csup to get the latest updates of both "ports-all tag=." and "src-all
> tag=RELENG_6"
>
> What I did:
> -updated via csup
> -droped to single user mode
> -cleared out /usr/obj
> -make -j4 buildworld
> -make buildkernel KERNCONF=<my kern config>
> -make installkernel KERNCONF=<my kern config>
> -rebooted into the new kernel; everything worked fine
> -dropped to single user mode
> -make installworld
>
> During the installworld process I got the following output (Caught with
> "script installworld.out"):
>
> ********************************************************
> Script started on Mon Apr  2 23:42:05 2007
> # pwd
> /usr/src
> # make installworld
> mkdir -p /tmp/install.hC53vnAg
> for prog in [ awk cap_mkdb cat chflags chmod chown  date echo egrep find
> grep install-info  ln lockf make mkdir mtree mv pwd_mkdb rm sed sh sysctl
> test true uname wc zic; do  cp `which $prog` /tmp/install.hC53vnAg;  done
> cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  MACHINE=i386
> CPUTYPE=  GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin
> GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font
> GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac
> PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.hC53vnAg
> /usr/obj/usr/src/make.i386/make -f Makefile.inc1 reinstall
> awk: Permission denied
> "/usr/src/Makefile.inc1", line 101: warning: "awk
> '/^#define[[:space:]]*__FreeBSD_version/ { print $3 }'
> /usr/include/osreldate.h" returned non-zero status
> echo:Permission denied
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
> # exit
>
> Script done on Mon Apr  2 23:42:14 2007
>
> ********************************************************

Do you have your root partitions (/, /usr ...) in r/w mode ?
There is a paragraph in the handbook
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html#MAKEWORLD-SINGLEUSER

Hope this helps.
_______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>

Regards.

-- 
There's this old saying: "Give a man a fish, feed him for a day. Teach
a man to fish, feed him for life."


More information about the freebsd-questions mailing list