Re: 6.3 to 7.0 STABLE upgrade buildworld failures
Can we no longer use make buildworld to upgrade from source builds? Everytime I've tried, I get build errors. I've gotten the impression from a few things I've read that freebsd-update is suppose to be used. I don't want a binary install/upgrade though. I've just sync from CVS with this in the config: well i exactly upgraded this way. no errors. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 6.3 to 7.0 STABLE upgrade buildworld failures
Wojciech Puchar wrote: Can we no longer use make buildworld to upgrade from source builds? Everytime I've tried, I get build errors. I've gotten the impression from a few things I've read that freebsd-update is suppose to be used. I don't want a binary install/upgrade though. I've just sync from CVS with this in the config: well i exactly upgraded this way. no errors. ___ same here. no errors on a few boxes. do you have extra stuff in your make.conf file? if so, comment them out and try again ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 6.3 to 7.0 STABLE upgrade buildworld failures
The problem was not building TOOLCHAIN. So I was not making the includes everything else needed. As of now, upgraded and running merrily. Although, I am having issues with the named rc control script. :-\ Casey - Eric Zimmerman [EMAIL PROTECTED] wrote: Wojciech Puchar wrote: Can we no longer use make buildworld to upgrade from source builds? Everytime I've tried, I get build errors. I've gotten the impression from a few things I've read that freebsd-update is suppose to be used. I don't want a binary install/upgrade though. I've just sync from CVS with this in the config: well i exactly upgraded this way. no errors. ___ same here. no errors on a few boxes. do you have extra stuff in your make.conf file? if so, comment them out and try again ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
6.3 to 7.0 STABLE upgrade buildworld failures
Can we no longer use make buildworld to upgrade from source builds? Everytime I've tried, I get build errors. I've gotten the impression from a few things I've read that freebsd-update is suppose to be used. I don't want a binary install/upgrade though. I've just sync from CVS with this in the config: *default host=cvsup15.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs tag=RELENG_7 *default delete use-rel-suffix *default compress src-all Pretty much the same config I've always used, except the RELENG_7. I continually get errors when make buildworld. I went back to the 6.3 source, and successfully make buildworld. My current attempt at buildword with the 7.0 died like this: * === usr.bin/awk (obj,build-tools) yacc -d -o awkgram.c /usr/src/usr.bin/awk/../../contrib/one-true-awk/awkgram.y yacc: 43 shift/reduce conflicts yacc: 85 reduce/reduce conflicts ln -sf awkgram.h ytab.h cc -O -pipe -DHAS_ISBLANK -I. -I/usr/src/usr.bin/awk/../../contrib/one-true-awk -DFOPEN_MAX=64 -I/usr/obj/usr/src/tmp/legacy/usr/include -L/usr/obj/usr/src/tmp/legacy/usr/lib /usr/src/usr.bin/awk/../../contrib/one-true-awk/maketab.c -o maketab === lib/libmagic (obj,build-tools) cc -DHAVE_CONFIG_H -DCOMPILE_ONLY -I/usr/src/lib/libmagic -I/usr/src/lib/libmagic/../../contrib/file -o mkmagic /usr/src/lib/libmagic/../../contrib/file/apprentice.c /usr/src/lib/libmagic/../../contrib/file/funcs.c /usr/src/lib/libmagic/../../contrib/file/magic.c /usr/src/lib/libmagic/../../contrib/file/print.c === usr.sbin/sysinstall (obj,build-tools) cc -o rtermcap /usr/src/usr.sbin/sysinstall/rtermcap.c -ltermcap === gnu/usr.bin/cc/cc_tools (obj,depend,all) make: don't know how to make /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/ansidecl.h. Stop *** Error code 2 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. * The previous attempt died due to a missing tconfig.h. Can anyone shed some light on this please? I can't remember ever having trouble with a buildworld before!! TIA, Casey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 6.3 to 7.0 STABLE upgrade buildworld failures
Hi, On Thu, Jun 5, 2008 at 7:20 PM, Casey Scott [EMAIL PROTECTED] wrote: Can we no longer use make buildworld to upgrade from source builds? Everytime I've tried, I get build errors. I've gotten the impression from a few things I've read that freebsd-update is suppose to be used. I don't want a binary install/upgrade though. I've just sync from CVS with this in the config: *default host=cvsup15.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs tag=RELENG_7 *default delete use-rel-suffix *default compress src-all Pretty much the same config I've always used, except the RELENG_7. I continually get errors when make buildworld. I went back to the 6.3 source, and successfully make buildworld. My current attempt at buildword with the 7.0 died like this: * === usr.bin/awk (obj,build-tools) yacc -d -o awkgram.c /usr/src/usr.bin/awk/../../contrib/one-true-awk/awkgram.y yacc: 43 shift/reduce conflicts yacc: 85 reduce/reduce conflicts ln -sf awkgram.h ytab.h cc -O -pipe -DHAS_ISBLANK -I. -I/usr/src/usr.bin/awk/../../contrib/one-true-awk -DFOPEN_MAX=64 -I/usr/obj/usr/src/tmp/legacy/usr/include -L/usr/obj/usr/src/tmp/legacy/usr/lib /usr/src/usr.bin/awk/../../contrib/one-true-awk/maketab.c -o maketab === lib/libmagic (obj,build-tools) cc -DHAVE_CONFIG_H -DCOMPILE_ONLY -I/usr/src/lib/libmagic -I/usr/src/lib/libmagic/../../contrib/file -o mkmagic /usr/src/lib/libmagic/../../contrib/file/apprentice.c /usr/src/lib/libmagic/../../contrib/file/funcs.c /usr/src/lib/libmagic/../../contrib/file/magic.c /usr/src/lib/libmagic/../../contrib/file/print.c === usr.sbin/sysinstall (obj,build-tools) cc -o rtermcap /usr/src/usr.sbin/sysinstall/rtermcap.c -ltermcap === gnu/usr.bin/cc/cc_tools (obj,depend,all) make: don't know how to make /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/ansidecl.h. Stop *** Error code 2 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. * The previous attempt died due to a missing tconfig.h. Can anyone shed some light on this please? I can't remember ever having trouble with a buildworld before!! TIA, Casey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Try to remove /usr/obj, if it still does not work run # make cleandir ; make cleandir (yes twice) And don't use -j with make when doing a major upgrade (6.x - 7.x) Hope this helps 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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 6.3 to 7.0 STABLE upgrade buildworld failures
Various parts of the FreeBSD base system are interdependent on each other. It's likely that one of the NO_* lines is breaking it. Since libgcc is what is failing I'd suspect NO_TOOLCHAIN mergemaster is normally done after installworld, but the -p mode is for pre-buildworld. See the man page for details. Casey Scott wrote: I thought mergemaster was done after installworld? I've tried 3 different cvs sources, same result. Maybe its my make.conf? Here's what I've got: CPUTYPE?=p4 CFLAGS= -O -pipe NO_BLUETOOTH= true# do not build Bluetooth related stuff NO_I4B= true# do not build isdn4bsd package NO_LPR= true# do not build lpr and related programs NO_SENDMAIL=true# do not build sendmail and related programs NO_SHAREDOCS= true# do not build the 4.4BSD legacy docs NO_TOOLCHAIN= true# do not build programs for program development NO_USB= true# do not build usbd(8) and related programs NO_VINUM= true# do not build Vinum utilities NO_ATM= true# do not build ATM related programs and libraries NO_GAMES= true# do not build games (games/ subdir) NO_INET6= true# do not build IPv6 related programs and libraries NO_PROFILE= true# Avoid compiling profiled libraries SENDMAIL_MAP_PERMS= WITHOUT_X11=yes PERL_VER=5.8.8 PERL_VERSION=5.8.8 # make buildworld dies here. ln -sf /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-generic.h unwind.h make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc gthr-default.h ln -sf /usr/src/gnu/lib/libgcc/../../../contrib/gcc/gthr-posix.h gthr-default.h cc -c -O -pipe -march=pentium4 -DIN_GCC -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -DHAVE_GTHR_DEFAULT -I/usr/src/gnu/lib/libgcc/../../../contrib/gcclibs/include -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc/config -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I. -I/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools -fvisibility=hidden -DHIDE_EXPORTS -fPIC -fexceptions -D__GLIBC__=3 -DElfW=__ElfN -o unwind-dw2.o /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c In file included from /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:32: /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:47:20: error: stddef.h: No such file or directory /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:48:19: error: float.h: No such file or directory /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:87:20: error: stdarg.h: No such file or directory /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:90:19: error: stdio.h: No such file or directory /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:96:19: error: errno.h: No such file or directory /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:103:20: error: string.h: No such file or directory /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:104:20: error: stdlib.h: No such file or directory /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:105:20: error: unistd.h: No such file or directory /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:108:20: error: limits.h: No such file or directory /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:111:18: error: time.h: No such file or directory In file included from /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:40: /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h: In function 'size_of_encoded_value': /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h:90: warning: incompatible implicit declaration of built-in function 'abort' /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h: In function 'base_of_encoded_value': /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h:122: warning: incompatible implicit declaration of built-in function 'abort' /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h: In function 'read_encoded_value_with_base': /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h:259: warning: incompatible implicit declaration of built-in function 'abort' In file included from /usr/src/gnu/lib/libgcc/../../../contrib/gcc/gthr.h:114, from /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:42: ./gthr-default.h:43:21: error: pthread.h: No such file or directory In file included from /usr/src/gnu/lib/libgcc/../../../contrib/gcc/gthr.h:114, from /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:42: ./gthr-default.h: At top level: ./gthr-default.h:92: error: 'pthread_once' undeclared here (not in a function) ./gthr-default.h:93: error: 'pthread_getspecific' undeclared
Re: 6.3 to 7.0 STABLE upgrade buildworld failures
commenting NO_TOOLCHAIN did the trick. Thanks, Casey - Chris St Denis [EMAIL PROTECTED] wrote: Various parts of the FreeBSD base system are interdependent on each other. It's likely that one of the NO_* lines is breaking it. Since libgcc is what is failing I'd suspect NO_TOOLCHAIN mergemaster is normally done after installworld, but the -p mode is for pre-buildworld. See the man page for details. Casey Scott wrote: I thought mergemaster was done after installworld? I've tried 3 different cvs sources, same result. Maybe its my make.conf? Here's what I've got: CPUTYPE?=p4 CFLAGS= -O -pipe NO_BLUETOOTH= true# do not build Bluetooth related stuff NO_I4B= true# do not build isdn4bsd package NO_LPR= true# do not build lpr and related programs NO_SENDMAIL=true# do not build sendmail and related programs NO_SHAREDOCS= true# do not build the 4.4BSD legacy docs NO_TOOLCHAIN= true# do not build programs for program development NO_USB= true# do not build usbd(8) and related programs NO_VINUM= true# do not build Vinum utilities NO_ATM= true# do not build ATM related programs and libraries NO_GAMES= true# do not build games (games/ subdir) NO_INET6= true# do not build IPv6 related programs and libraries NO_PROFILE= true# Avoid compiling profiled libraries SENDMAIL_MAP_PERMS= WITHOUT_X11=yes PERL_VER=5.8.8 PERL_VERSION=5.8.8 # make buildworld dies here. ln -sf /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-generic.h unwind.h make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc gthr-default.h ln -sf /usr/src/gnu/lib/libgcc/../../../contrib/gcc/gthr-posix.h gthr-default.h cc -c -O -pipe -march=pentium4 -DIN_GCC -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -DHAVE_GTHR_DEFAULT -I/usr/src/gnu/lib/libgcc/../../../contrib/gcclibs/include -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc/config -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I. -I/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools -fvisibility=hidden -DHIDE_EXPORTS -fPIC -fexceptions -D__GLIBC__=3 -DElfW=__ElfN -o unwind-dw2.o /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c In file included from /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:32: /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:47:20: error: stddef.h: No such file or directory /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:48:19: error: float.h: No such file or directory /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:87:20: error: stdarg.h: No such file or directory /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:90:19: error: stdio.h: No such file or directory /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:96:19: error: errno.h: No such file or directory /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:103:20: error: string.h: No such file or directory /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:104:20: error: stdlib.h: No such file or directory /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:105:20: error: unistd.h: No such file or directory /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:108:20: error: limits.h: No such file or directory /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:111:18: error: time.h: No such file or directory In file included from /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:40: /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h: In function 'size_of_encoded_value': /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h:90: warning: incompatible implicit declaration of built-in function 'abort' /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h: In function 'base_of_encoded_value': /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h:122: warning: incompatible implicit declaration of built-in function 'abort' /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h: In function 'read_encoded_value_with_base': /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h:259: warning: incompatible implicit declaration of built-in function 'abort' In file included from /usr/src/gnu/lib/libgcc/../../../contrib/gcc/gthr.h:114, from /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:42: ./gthr-default.h:43:21: error: pthread.h: No such file or directory In file included from /usr/src/gnu/lib/libgcc/../../../contrib/gcc/gthr.h:114, from