makeworld FAILURE on 5.4-STABLE

Gerard Seibert gerard at seibercom.net
Sat May 13 12:09:26 PDT 2006


Lowell Gilbert wrote:

> Kyrre Nygard <kyrreny at broadpark.no> writes:
> 
> > Hello ...
> >
> > When doing makeworld, and this is my exact procedure:
> >
> > cvsup -g -L 2 /etc/cvsupfile
> > cd /usr/obj
> > chflags -R noschg
> > rm -rf *
> > cd /usr/src
> > make clean
> >
> > make buildworld (this is where it fails)
> >
> > make buildkernel KERNCONF=NINJA
> > make installkernel KERNCONF=NINJA
> > make installworld
> > mergemaster
> >
> > With this error:
> >
> > ===> usr.sbin/traceroute (all)
> > cc -O2 -fno-strict-aliasing -pipe  -DHAVE_SYS_SELECT_H=1 
> > -DHAVE_SYS_SOCKIO_H=1  -DHAVE_NET_ROUTE_H=1 
> > -DHAVE_NET_IF_DL_H=1  -DHAVE_STRERROR=1 
> > -DHAVE_USLEEP=1  -DHAVE_SYS_SYSCTL_H=1  -DHAVE_SETLINEBUF=1 
> > -DHAVE_RAW_OPTIONS=1  -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_ICMP_NEXTMTU=1 
> > -DIPSEC 
> > -I/usr/src/usr.sbin/traceroute/../../contrib/traceroute/lbl  -c version.c
> > cc -O2 -fno-strict-aliasing -pipe  -DHAVE_SYS_SELECT_H=1 
> > -DHAVE_SYS_SOCKIO_H=1  -DHAVE_NET_ROUTE_H=1 
> > -DHAVE_NET_IF_DL_H=1  -DHAVE_STRERROR=1 
> > -DHAVE_USLEEP=1  -DHAVE_SYS_SYSCTL_H=1  -DHAVE_SETLINEBUF=1 
> > -DHAVE_RAW_OPTIONS=1  -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_ICMP_NEXTMTU=1 
> > -DIPSEC 
> > -I/usr/src/usr.sbin/traceroute/../../contrib/traceroute/lbl  -c 
> > /usr/src/usr.sbin/traceroute/../../contrib/traceroute/traceroute.c
> > cc -O2 -fno-strict-aliasing -pipe  -DHAVE_SYS_SELECT_H=1 
> > -DHAVE_SYS_SOCKIO_H=1  -DHAVE_NET_ROUTE_H=1 
> > -DHAVE_NET_IF_DL_H=1  -DHAVE_STRERROR=1 
> > -DHAVE_USLEEP=1  -DHAVE_SYS_SYSCTL_H=1  -DHAVE_SETLINEBUF=1 
> > -DHAVE_RAW_OPTIONS=1  -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_ICMP_NEXTMTU=1 
> > -DIPSEC 
> > -I/usr/src/usr.sbin/traceroute/../../contrib/traceroute/lbl  -c 
> > /usr/src/usr.sbin/traceroute/../../contrib/traceroute/ifaddrlist.c
> > cc -O2 -fno-strict-aliasing -pipe  -DHAVE_SYS_SELECT_H=1 
> > -DHAVE_SYS_SOCKIO_H=1  -DHAVE_NET_ROUTE_H=1 
> > -DHAVE_NET_IF_DL_H=1  -DHAVE_STRERROR=1 
> > -DHAVE_USLEEP=1  -DHAVE_SYS_SYSCTL_H=1  -DHAVE_SETLINEBUF=1 
> > -DHAVE_RAW_OPTIONS=1  -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_ICMP_NEXTMTU=1 
> > -DIPSEC 
> > -I/usr/src/usr.sbin/traceroute/../../contrib/traceroute/lbl  -c 
> > /usr/src/usr.sbin/traceroute/../../contrib/traceroute/findsaddr-socket.c
> > cc -O2 -fno-strict-aliasing -pipe  -DHAVE_SYS_SELECT_H=1 
> > -DHAVE_SYS_SOCKIO_H=1  -DHAVE_NET_ROUTE_H=1 
> > -DHAVE_NET_IF_DL_H=1  -DHAVE_STRERROR=1 
> > -DHAVE_USLEEP=1  -DHAVE_SYS_SYSCTL_H=1  -DHAVE_SETLINEBUF=1 
> > -DHAVE_RAW_OPTIONS=1  -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_ICMP_NEXTMTU=1 
> > -DIPSEC 
> > -I/usr/src/usr.sbin/traceroute/../../contrib/traceroute/lbl   -o 
> > traceroute version.o traceroute.o ifaddrlist.o findsaddr-socket.o -lipsec
> > traceroute.o(.text+0x7): In function `usage':
> > : undefined reference to `version'
> > *** Error code 1
> >
> > Stop in /usr/src/usr.sbin/traceroute.
> > *** Error code 1
> >
> > Stop in /usr/src/usr.sbin.
> > *** Error code 1
> >
> > Stop in /usr/src.
> > *** Error code 1
> >
> > Stop in /usr/src.
> > *** Error code 1
> >
> > Stop in /usr/src.
> >
> > Does anyone know what I can do to fix it?
> 
> Did you have sources before you ran cvsup?
> What did the supfile look like?

I believe it should be:

chflags -R noschg /usr/obj/usr
rm -rf /usr/obj/usr
cd /usr/src
make cleandir
make cleandir

Yes, the 'make cleandir' statement is run twice.

-- 
Gerard Seibert
gerard at seibercom.net


And God said, "Let there be light. "But then the program crashed because
he was trying to access the 'light' property of a NULL universe pointer.


More information about the freebsd-questions mailing list