Re:(solved) World doesn't build correctly
Am Donnerstag 19 Februar 2009 21:07:47 schrieb Polytropon: > On Thu, 19 Feb 2009 18:14:01 +0100, Frank Wißmann wrote: > > I did it now the way you told me but it still shows 7.0-Release at > > uname -a. I attach my "make.conf" and "cvs-supfile"' maybe there is > > something wrong? > > I've found something strange in the CVSup files: > > Your file My file > - > *default base=/usr/src *default base=/var/db > *default prefix=/usr/src*default prefix=/usr > *default release=cvs*default release=cvs tag=RELENG_7 > > You see these differences: base and prefix are set incorrectly and > release / tag is incomplete. You should follow Mel's advice and > take the file /usr/share/examples/cvsup/stable-supfile as a starting > point. Of course, you can cut the many comments, but be sure that > the settings are valid (as shown above). Yip-yip-yeah! Once you make it right it works :-). Thanks to all who helped. Greetings Frank -- GU d- s:+ a+ C+>$ UBS>$ P L- !E--- W N+@ !o K--? !w--- O !M- !V- PS+ PE Y? !PGP- t+ 5 X !R tv- b++ DI !D G e h+ r- y? When pack meets pack in the jungle and no one will move from the trail wait till the leaders have spoken it may be fair words shall prevail (Rudyard Kipling) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: World doesn't build correctly
On Thu, 19 Feb 2009 18:14:01 +0100, Frank Wißmann wrote: > I did it now the way you told me but it still shows 7.0-Release at > uname -a. I attach my "make.conf" and "cvs-supfile"' maybe there is > something wrong? I've found something strange in the CVSup files: Your file My file - *default base=/usr/src *default base=/var/db *default prefix=/usr/src*default prefix=/usr *default release=cvs*default release=cvs tag=RELENG_7 You see these differences: base and prefix are set incorrectly and release / tag is incomplete. You should follow Mel's advice and take the file /usr/share/examples/cvsup/stable-supfile as a starting point. Of course, you can cut the many comments, but be sure that the settings are valid (as shown above). -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: World doesn't build correctly
On Thursday 19 February 2009 08:14:01 Frank Wißmann wrote: > I did it now the way you told me but it still shows 7.0-Release at > uname -a. I attach my "make.conf" and "cvs-supfile"' maybe there is > something wrong? Yep. You're using the cvs-supfile, which does not update the source tree, but makes a cvs repository copy. You will now have: /usr/src/src /usr/src/CVSROOT-* /usr/src/doc /usr/src/ports /usr/src/www /usr/src/sup You should delete those, using rm -rf. Next: 1) cp /usr/share/examples/cvsup/stable-supfile /etc/ 2) sed -i.bak -e 's/CHANGE_THIS/cvsup.de/' /etc/stable-supfile 3) csup -L2 /etc/stable-supfile 4) cd /usr/src Now rebuild world and kernel as you've done before. You will want to run mergemaster as mergemaster -iU. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: World doesn't build correctly
Am Donnerstag 19 Februar 2009 10:53:43 schrieb Polytropon: > On Wed, 18 Feb 2009 21:50:25 +0100, Frank Wißmann wrote: > > Well, I used your settings of "default release=cvs tag=RELENG_7", > > but the answer is still this: > > FreeBSD grissom.einundvierzig.org 7.0-RELEASE FreeBSD 7.0-RELEASE > > #0: Wed Feb 18 21:36:57 CET 2009 > > r...@grissom.einundvierzig.org:/usr/obj/usr/src/sys/GRISSOM amd64 > > > > Any ideas, folks? Or should I post something more? > > may I ask how exactly you did the update? As it has mentioned > before, the handbook (even the german version) gives a good > "routeplan" for this. > > In general: > > # cd /usr/src > # make update > # make buildworld buildkernel KERNCONF=GRISSOM > # make installkernel KERNCONF=GRISSOM > # reboot > boot -s > fsck and mount -a > # cd /usr/src > # mergemaster -p > # make installworld > # mergemaster > # reboot > > (Hope that's correct from my mind, check handbook anyway.)FreeBSD grissom.einundvierzig.org 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Wed Feb 18 21:36:57 CET 2009 r...@grissom.einundvierzig.org:/usr/obj/usr/src/sys/GRISSOM amd64 > > Note that the configuration files mentioned above usually employ > the "make update" command from within /usr/src. Kernel and world > have to be the same version. > > Oh yes, and check your /boot/loader.conf if eventually a previous > kernel is loaded, maybe you stored a "spare kernel" in /boot and > the loader loads this, instead of /boot/kernel/kernel? Just to be > sure... I mention this because I had a "spare" 6.0-GENERIC kernel > saved in /boot, a setting in /boot/loader.conf for some testing, > then updated the system (which affected /boot/kernel/kernel, > but not /boot/kernel/kernel.GENERIC which was instead loaded). :-) I did it now the way you told me but it still shows 7.0-Release at uname -a. I attach my "make.conf" and "cvs-supfile"' maybe there is something wrong? Greetings Frank -- GU d- s:+ a+ C+>$ UBS>$ P L- !E--- W N+@ !o K--? !w--- O !M- !V- PS+ PE Y? !PGP- t+ 5 X !R tv- b++ DI !D G e h+ r- y? When pack meets pack in the jungle and no one will move from the trail wait till the leaders have spoken it may be fair words shall prevail (Rudyard Kipling) *default host=cvsup.FreeBSD.org *default base=/usr/src *default prefix=/usr/src *default release=cvs *default delete use-rel-suffix *default compress *default release=cvs tag=RELENG_7 src-all ports-all doc-all www cvsroot-all CPUTYPE?= opteron NO_CPU_CFLAGS= true NO_CPU_COPTFLAGS= true CFLAGS= -O -fno-strict-aliasing -pipe WITH_OPTIMIZED_CFLAGS= true CXXFLAGS+= -fconserve-space MAKE_SHELL?=sh BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast \ -Wcast-align -Wcast-qual -Wchar-subscripts \ -Winline -Wmissing-prototypes -Wnested-externs \ -Wpointer-arith -Wredundant-decls -Wshadow \ -Wstrict-prototypes -Wwrite-strings COPTFLAGS= -O -pipe INSTALL=install -C KERNCONF= GRISSOM MTREE_FOLLOWS_SYMLINKS= -L PPP_NOSUID= true ENABLE_SUID_SSH=true ENABLE_SUID_NEWGRP= true NO_ACPI=true NO_FORTRAN= true NO_IPFILTER=true NO_KERBEROS=true NO_NIS= true NO_ATM= true WITH_BIND_LIBS= true MODULES_WITH_WORLD= true MAKE_IDEA= yes PRINTERDEVICE= ps SUP_UPDATE= yes SUP=/usr/local/bin/cvsup SUPFLAGS= -g -L 2 SUPHOST=cvsup.de.FreeBSD.org SUPFILE=/etc/cvs-supfile PORTSSUPFILE= /etc/cvs-supfile DOCSUPFILE= /etc/cvs-supfile TOP_TABLE_SIZE= 101 DOC_LANG= en_US.ISO8859-1 de_DE.ISO8859-15 PERL_VER= 5.8.8 PERL_VERSION= 5.8.8 # Begin portconf settings # Do not touch these lines .if !empty(.CURDIR:M/usr/ports*) && exists(/usr/local/libexec/portconf) _PORTCONF!=/usr/local/libexec/portconf .for i in ${_PORTCONF:S/|/ /g} ${i:S/%/ /g} .endfor .endif # End portconf settings ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: World doesn't build correctly
On Wed, 18 Feb 2009 21:50:25 +0100, Frank Wißmann wrote: > Well, I used your settings of "default release=cvs tag=RELENG_7", but > the answer is still this: > FreeBSD grissom.einundvierzig.org 7.0-RELEASE FreeBSD 7.0-RELEASE #0: > Wed Feb 18 21:36:57 CET 2009 > r...@grissom.einundvierzig.org:/usr/obj/usr/src/sys/GRISSOM amd64 > > Any ideas, folks? Or should I post something more? may I ask how exactly you did the update? As it has mentioned before, the handbook (even the german version) gives a good "routeplan" for this. In general: # cd /usr/src # make update # make buildworld buildkernel KERNCONF=GRISSOM # make installkernel KERNCONF=GRISSOM # reboot boot -s fsck and mount -a # cd /usr/src # mergemaster -p # make installworld # mergemaster # reboot (Hope that's correct from my mind, check handbook anyway.) Note that the configuration files mentioned above usually employ the "make update" command from within /usr/src. Kernel and world have to be the same version. Oh yes, and check your /boot/loader.conf if eventually a previous kernel is loaded, maybe you stored a "spare kernel" in /boot and the loader loads this, instead of /boot/kernel/kernel? Just to be sure... I mention this because I had a "spare" 6.0-GENERIC kernel saved in /boot, a setting in /boot/loader.conf for some testing, then updated the system (which affected /boot/kernel/kernel, but not /boot/kernel/kernel.GENERIC which was instead loaded). :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: World doesn't build correctly
On Wed, Feb 18, 2009 at 12:50 PM, Frank Wißmann wrote: > Am Dienstag 17 Februar 2009 21:20:15 schrieb Polytropon: >> On Tue, 17 Feb 2009 20:14:58 +0100, Frank Wißmann > wrote: >> > What is going wrong here? Why isn't ther build a 7_STABLE as I >> > desire? What do I need to change to get my wanted results? >> >> Are you sure you have the correct sources? How did you update them? >> >> I'm using the following settings (as an example): >> >> In /etc/make.conf: >> >> SUP_UPDATE= yes >> SUP=/usr/bin/csup >> SUPFLAGS= -g -L 2 >> SUPHOST=cvsup.freebsd.org >> SUPFILE=/etc/sup/stable.sup >> >> And in /etc/sup/stable.sup: >> >> *default host=cvsup.freebsd.org >> *default base=/var/db >> *default prefix=/usr >> *default release=cvs tag=RELENG_7 >> *default delete use-rel-suffix >> *default compress >> src-all >> >> For csup, the tag is "RELENG_7". You used "7_STABLE", maybe this is >> the reason why you checked out the sources of 7.0-RELEASE? > > Well, I used your settings of "default release=cvs tag=RELENG_7", but > the answer is still this: > FreeBSD grissom.einundvierzig.org 7.0-RELEASE FreeBSD 7.0-RELEASE #0: > Wed Feb 18 21:36:57 CET 2009 > r...@grissom.einundvierzig.org:/usr/obj/usr/src/sys/GRISSOM amd64 > > Any ideas, folks? Or should I post something more? You know you have to build and install the world and kernel after performing a csup, right? See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading.html (Auf Deutsch: http://www.freebsd.org/doc/de_DE.ISO8859-1/books/handbook/updating-upgrading.html) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: World doesn't build correctly
Am Dienstag 17 Februar 2009 21:20:15 schrieb Polytropon: > On Tue, 17 Feb 2009 20:14:58 +0100, Frank Wißmann wrote: > > What is going wrong here? Why isn't ther build a 7_STABLE as I > > desire? What do I need to change to get my wanted results? > > Are you sure you have the correct sources? How did you update them? > > I'm using the following settings (as an example): > > In /etc/make.conf: > > SUP_UPDATE= yes > SUP=/usr/bin/csup > SUPFLAGS= -g -L 2 > SUPHOST=cvsup.freebsd.org > SUPFILE=/etc/sup/stable.sup > > And in /etc/sup/stable.sup: > > *default host=cvsup.freebsd.org > *default base=/var/db > *default prefix=/usr > *default release=cvs tag=RELENG_7 > *default delete use-rel-suffix > *default compress > src-all > > For csup, the tag is "RELENG_7". You used "7_STABLE", maybe this is > the reason why you checked out the sources of 7.0-RELEASE? Well, I used your settings of "default release=cvs tag=RELENG_7", but the answer is still this: FreeBSD grissom.einundvierzig.org 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Wed Feb 18 21:36:57 CET 2009 r...@grissom.einundvierzig.org:/usr/obj/usr/src/sys/GRISSOM amd64 Any ideas, folks? Or should I post something more? TIA Frank -- GU d- s:+ a+ C+>$ UBS>$ P L- !E--- W N+@ !o K--? !w--- O !M- !V- PS+ PE Y? !PGP- t+ 5 X !R tv- b++ DI !D G e h+ r- y? When pack meets pack in the jungle and no one will move from the trail wait till the leaders have spoken it may be fair words shall prevail (Rudyard Kipling) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: World doesn't build correctly
--On Tuesday, February 17, 2009 13:14:58 -0600 Frank Wißmann wrote: Hello, list! When I try to build my new world with todays sources I don't get properly what I want. I configured my cvs-supfile with "default tag=7_STABLE" Should be default tag=RELENG_7 -- Paul Schmehl (pa...@utdallas.edu) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Re: World doesn't build correctly
7_STABLE is incorrect. . = CURRENT RELENG_X = X-STABLE RELENG_X_Y = X.Y-RELEASE so you probably want RELENG_7 On Tue, 2009-02-17 at 20:14 +0100, Frank Wißmann wrote: > Hello, list! > When I try to build my new world with todays sources I don't get > properly what I want. I configured my cvs-supfile with > > "default tag=7_STABLE" > > and all I get is this from dmesg: > > FreeBSD 7.0-RELEASE #0: Tue Feb 17 19:02:23 CET 2009 > > and from "uname -a': > > FreeBSD grissom.einundvierzig.org 7.0-RELEASE FreeBSD 7.0-RELEASE #0: > Tue Feb 17 19:02:23 CET 2009 > r...@grissom.einundvierzig.org:/usr/obj/usr/src/sys/GRISSOM amd64 > > What is going wrong here? Why isn't ther build a 7_STABLE as I desire? > What do I need to change to get my wanted results? > > TIA Frank > -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: jci...@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: World doesn't build correctly
On Tue, 17 Feb 2009 20:14:58 +0100, Frank Wißmann wrote: > What is going wrong here? Why isn't ther build a 7_STABLE as I desire? > What do I need to change to get my wanted results? Are you sure you have the correct sources? How did you update them? I'm using the following settings (as an example): In /etc/make.conf: SUP_UPDATE= yes SUP=/usr/bin/csup SUPFLAGS= -g -L 2 SUPHOST=cvsup.freebsd.org SUPFILE=/etc/sup/stable.sup And in /etc/sup/stable.sup: *default host=cvsup.freebsd.org *default base=/var/db *default prefix=/usr *default release=cvs tag=RELENG_7 *default delete use-rel-suffix *default compress src-all For csup, the tag is "RELENG_7". You used "7_STABLE", maybe this is the reason why you checked out the sources of 7.0-RELEASE? -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
World doesn't build correctly
Hello, list! When I try to build my new world with todays sources I don't get properly what I want. I configured my cvs-supfile with "default tag=7_STABLE" and all I get is this from dmesg: FreeBSD 7.0-RELEASE #0: Tue Feb 17 19:02:23 CET 2009 and from "uname -a': FreeBSD grissom.einundvierzig.org 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Tue Feb 17 19:02:23 CET 2009 r...@grissom.einundvierzig.org:/usr/obj/usr/src/sys/GRISSOM amd64 What is going wrong here? Why isn't ther build a 7_STABLE as I desire? What do I need to change to get my wanted results? TIA Frank -- GU d- s:+ a+ C+>$ UBS>$ P L- !E--- W N+@ !o K--? !w--- O !M- !V- PS+ PE Y? !PGP- t+ 5 X !R tv- b++ DI !D G e h+ r- y? When pack meets pack in the jungle and no one will move from the trail wait till the leaders have spoken it may be fair words shall prevail (Rudyard Kipling) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"