make buildworld fails

Kevin Kinsey kdk at daleco.biz
Mon Feb 13 06:29:23 PST 2006


gandalf wrote:

>
>  Hello,
>
> I have this file /etc/sup.sys:
>
> *default host=cvsup.hu.FreeBSD.org
> *default base=/usr
> *default prefix=/usr
> *default release=cvs tag=RELENG_6
> *default delete use-rel-suffix
> *default compress
> src-all
>
>
> Then I traverse to /usr and execute this command:
>
> cvsup /etc/sup.sys
>
> After successful checkout, I do
>
> cd /usr/src
> make buildworld
>
> This is what I get:
>
> --------------------------------------------------------------
> >>> Building an up-to-date make(1)
> --------------------------------------------------------------
> rm -f .depend
> mkdep -f .depend -a    -I/usr/src/usr.bin/make 
> -DMAKE_VERSION=\"5200408120\" -D__FBSDID=__RCSID 
> -DDEFSHELLNAME=\"sh\"  /usr/src/usr.bin/make/arch.c 
> /usr/src/usr.bin/make/buf.c /usr/src/usr.bin/make/cond.c 
> /usr/src/usr.bin/make/dir.c /usr/src/usr.bin/make/for.c 
> /usr/src/usr.bin/make/hash.c /usr/src/usr.bin/make/hash_tables.c 
> /usr/src/usr.bin/make/job.c /usr/src/usr.bin/make/lst.c 
> /usr/src/usr.bin/make/main.c /usr/src/usr.bin/make/make.c 
> /usr/src/usr.bin/make/parse.c /usr/src/usr.bin/make/proc.c 
> /usr/src/usr.bin/make/shell.c /usr/src/usr.bin/make/str.c 
> /usr/src/usr.bin/make/suff.c /usr/src/usr.bin/make/targ.c 
> /usr/src/usr.bin/make/util.c /usr/src/usr.bin/make/var.c
> In file included from /usr/src/usr.bin/make/arch.c:107:
> /usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
> In file included from /usr/src/usr.bin/make/cond.c:59:
> /usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
> In file included from /usr/src/usr.bin/make/dir.c:97:
> /usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
> In file included from /usr/src/usr.bin/make/for.c:55:
> /usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
> In file included from /usr/src/usr.bin/make/job.c:131:
> /usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
> In file included from /usr/src/usr.bin/make/main.c:84:
> /usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
> In file included from /usr/src/usr.bin/make/make.c:80:
> /usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
> In file included from /usr/src/usr.bin/make/parse.c:86:
> /usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
> In file included from /usr/src/usr.bin/make/str.c:49:
> /usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
> In file included from /usr/src/usr.bin/make/suff.c:102:
> /usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
> In file included from /usr/src/usr.bin/make/targ.c:84:
> /usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
> In file included from /usr/src/usr.bin/make/util.c:59:
> /usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
> In file included from /usr/src/usr.bin/make/var.c:96:
> /usr/src/usr.bin/make/globals.h:49: stdint.h: No such file or directory
> mkdep: compile failed
> *** Error code 1
>
> Stop in /usr/src/usr.bin/make.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
>
>
> What am I doing wrong?
>

Possibly, and I say possibly, and this isn't to be taken personally:
diving in before depth of the water. ;-)

At the very least, you should have run "mergemaster -p" before
make buildworld as this is a giant step (e.g. 4.8->4.11)..  Did you?

Probably the issue is simply the huge distance in time/development
between 4.8 and 6.0.  See below.

> Additional questions:
>
> - Can I upgrade from 4.8 to 6.0 in one step? Or should I upgrade to 
> 5.4 first?


Probably not.  A fresh install would have a benefit: you could re-format
your disks as UFS2.  However, some people have been able to get from 4.11 to
5.X with cvsup/buildworld, and the 5.X -> 6.X jump is "a piece of 
cake".  You
just have to do the jump from 4 to 5 carefully, and from a much more recent
4.X codebase than 4.8 .....

> - I have a .so file for 4.8. I do not have the sources, will it work 
> on 6.0?
>

Dunno.  Probably not natively, but maybe; there is, of course, the 
COMPAT_FREEBSD4
stuff, too.

> Thanks,
>
>   Laszlo


Here's what I would try.  Upgrade to RELENG_4 via the cvsup/buildworld 
process,
read Bruce Mah's 4.11-5.X Migration Guide, and be sure and include
"mergemaster -p" in your buildworld cycle.

HTH,

Kevin Kinsey

-- 
In the next world, you're on your own.




More information about the freebsd-questions mailing list