Date: Thu, 3 Dec 2009 17:28:23 -0600 From: Jay Hall <jhall@socket.net> To: freebsd-questions@freebsd.org Subject: Source Code Update Question Message-ID: <473690D7-CF14-4030-AA7D-A6E7C48A6780@socket.net>
next in thread | raw e-mail | index | archive | help
Ladies and Gentlemen, This is the first time I have tried to upgrade FreeBSD's source code, and I have done something wrong, but I am not sure what. I am upgrading from 6.2 to 8.0. First, I upgraded the source code, using csup /root/supfile. Here are the contents of /root/supfile. # IMPORTANT: Change the next line to use one of the CVSup mirror sites # listed at http://www.freebsd.org/doc/handbook/mirrors.html. *default host=cvsup9.us.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs tag=. *default delete use-rel-suffix # If you seem to be limited by CPU rather than network or disk bandwidth, try # commenting out the following line. (Normally, today's CPUs are fast enough # that you want to run compression.) *default compress ## Main Source Tree. # # The easiest way to get the main source tree is to use the "src-all" # mega-collection. It includes all of the individual "src-*" collections. src-all Following is the output from make buildworld. mo-bak-s1# make buildworld -------------------------------------------------------------- >>> World build started on Thu Dec 3 17:01:54 CST 2009 -------------------------------------------------------------- -------------------------------------------------------------- >>> Rebuilding the temporary build tree -------------------------------------------------------------- rm -rf /usr/obj/usr/src/tmp mkdir -p /usr/obj/usr/src/tmp/lib mkdir -p /usr/obj/usr/src/tmp/usr mkdir -p /usr/obj/usr/src/tmp/legacy/usr mtree -deU -f /usr/src/etc/mtree/BSD.usr.dist -p /usr/obj/usr/src/tmp/ legacy/usr >/dev/null mtree -deU -f /usr/src/etc/mtree/BSD.usr.dist -p /usr/obj/usr/src/tmp/ usr >/dev/null mtree -deU -f /usr/src/etc/mtree/BSD.include.dist -p /usr/obj/usr/src/ tmp/usr/include >/dev/null ln -sf /usr/src/sys /usr/obj/usr/src/tmp -------------------------------------------------------------- >>> stage 1.1: legacy release compatibility shims -------------------------------------------------------------- cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/tmp INSTALL="sh /usr/ src/tools/install.sh" PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/ obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/u ===> tools/build (obj,includes,depend,all,install) /usr/obj/usr/src/tmp/usr/src/tools/build created for /usr/src/tools/ build cd /usr/src/tools/build; make buildincludes; make installincludes rm -f .depend mkdep -f .depend -a -I/usr/obj/usr/src/tmp/legacy/usr/include /usr/ src/tools/build/dummy.c cc -O2 -pipe -std=gnu99 -I/usr/obj/usr/src/tmp/legacy/usr/include - c /usr/src/tools/build/dummy.c building static egacy library ranlib libegacy.a sh /usr/src/tools/install.sh -C -o root -g wheel -m 444 libegacy.a / usr/obj/usr/src/tmp/legacy/usr/lib -------------------------------------------------------------- >>> stage 1.2: bootstrap tools -------------------------------------------------------------- cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/tmp INSTALL="sh /usr/ src/tools/install.sh" PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/ obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/u ===> cddl/usr.bin/sgsmsg (obj,depend,all,install) /usr/obj/usr/src/tmp/usr/src/cddl/usr.bin/sgsmsg created for /usr/src/ cddl/usr.bin/sgsmsg rm -f .depend mkdep -f .depend -a -DNEED_SOLARIS_BOOLEAN -I/usr/src/cddl/usr.bin/ sgsmsg/../../../sys/cddl/compat/opensolaris -I/usr/src/cddl/usr.bin/ sgsmsg/../../../cddl/compat/opensolaris/include -I/usr/src/cd In file included from /usr/src/cddl/usr.bin/sgsmsg/../../../cddl/ contrib/opensolaris/cmd/sgs/tools/common/sgsmsg.c:81: /usr/src/cddl/usr.bin/sgsmsg/../../../cddl/contrib/opensolaris/cmd/sgs/ include/sgs.h:57:20: libelf.h: No such file or directory In file included from /usr/src/cddl/usr.bin/sgsmsg/../../../cddl/ contrib/opensolaris/cmd/sgs/include/alist.h:45, from /usr/src/cddl/usr.bin/sgsmsg/../../../cddl/ contrib/opensolaris/cmd/sgs/include/sgs.h:59, from /usr/src/cddl/usr.bin/sgsmsg/../../../cddl/ contrib/opensolaris/cmd/sgs/tools/common/sgsmsg.c:81: /usr/src/cddl/usr.bin/sgsmsg/../../../sys/cddl/compat/opensolaris/sys/ elf.h:30:26: sys/elf.h: No such file or directory In file included from /usr/src/cddl/usr.bin/sgsmsg/../../../cddl/ contrib/opensolaris/cmd/sgs/tools/common/string_table.c:31: /usr/src/cddl/usr.bin/sgsmsg/../../../cddl/contrib/opensolaris/cmd/sgs/ include/sgs.h:57:20: libelf.h: No such file or directory In file included from /usr/src/cddl/usr.bin/sgsmsg/../../../cddl/ contrib/opensolaris/cmd/sgs/include/alist.h:45, from /usr/src/cddl/usr.bin/sgsmsg/../../../cddl/ contrib/opensolaris/cmd/sgs/include/sgs.h:59, from /usr/src/cddl/usr.bin/sgsmsg/../../../cddl/ contrib/opensolaris/cmd/sgs/tools/common/string_table.c:31: /usr/src/cddl/usr.bin/sgsmsg/../../../sys/cddl/compat/opensolaris/sys/ elf.h:30:26: sys/elf.h: No such file or directory In file included from /usr/src/cddl/usr.bin/sgsmsg/../../../cddl/ contrib/opensolaris/cmd/sgs/tools/common/findprime.c:30: /usr/src/cddl/usr.bin/sgsmsg/../../../cddl/contrib/opensolaris/cmd/sgs/ include/sgs.h:57:20: libelf.h: No such file or directory In file included from /usr/src/cddl/usr.bin/sgsmsg/../../../cddl/ contrib/opensolaris/cmd/sgs/include/alist.h:45, from /usr/src/cddl/usr.bin/sgsmsg/../../../cddl/ contrib/opensolaris/cmd/sgs/include/sgs.h:59, from /usr/src/cddl/usr.bin/sgsmsg/../../../cddl/ contrib/opensolaris/cmd/sgs/tools/common/findprime.c:30: /usr/src/cddl/usr.bin/sgsmsg/../../../sys/cddl/compat/opensolaris/sys/ elf.h:30:26: sys/elf.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /usr/src/cddl/usr.bin/sgsmsg. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. I am reasonably sure this is due to something I have done wrong when upgrading the source code. Any suggestion would be greatly appreciated. Thanks, Jay
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?473690D7-CF14-4030-AA7D-A6E7C48A6780>