Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jun 2003 11:41:25 -0700 (MST)
From:      xcas@cox.net
To:        Joseph Maxwell <jemaxwell@jaymax.com>
Cc:        FreeBSD Users <questions@freebsd.org>
Subject:   Re: O/S - System upgrade with CVS
Message-ID:  <20030606113701.H43034@localhost.bsd-unix.org>
In-Reply-To: <3EE0DA79.CDE1C92@jaymax.com>
References:  <3EE0DA79.CDE1C92@jaymax.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Fri, 6 Jun 2003, Joseph Maxwell wrote:

> Hello,
> Attempting to update my O/S from 4.2 to 4.8
>
> Existing dir structure : ==> /usr/CVSROOT ( created from dist disks w/
> initial installation )
>
> I used the following cvsup files to acquire & distribute the files for
> the respository, creating /usr/src /usr/ports /usr/doc /usr/packages (MT
> Directory)
>
>
>      *default  host=cvsup3.FreeBSD.org
>      *default  base=/usr
>      *default  prefix=/usr
>      *default  release=cvs
>      *default  tag=.
>      *default  delete use-rel-suffix
>
>      src-all tag=RELENG_4
>
>
>      *default  host=cvsup3.FreeBSD.org
>      *default  base=/usr
>      *default  prefix=/usr
>      *default  release=cvs
>      *default  tag=.
>      *default  delete use-rel-suffix
>
>      ## Ports Collection.
>      #
>      # The easiest way to get the ports tree is to use the
>      "ports-all"
>      # mega-collection.  It includes all of the individual
>      "ports-*"
>      # collections,
>      ports-all
>      doc-all
>      cvs-crypto
>
>
> The documentation "Complete FreeBSD" 3rd Ed. states that CVSROOT is not
> part of the source tree.
>
>      ==> setenv CVSROOT /usr ( hopefully this is the correct path )
>
> I then attempted to do an update
>
>      machine1# cvs update -P -d
>      cvs update: in directory .:
>      cvs [update aborted]: there is no version here; run 'cvs
>      checkout' first
>      machine1# cvs checkout
>      cvs [checkout aborted]: must specify at least one module or
>      directory
>
>
> So I went ahead with a "make world"  ==>
>
>      --
>      --
>      --
>
>      --------------------------------------------------------------
>
>      >>> stage 4: building libraries
>      --------------------------------------------------------------
>
>      cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386
>      MACHINE=i386
>      OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec
>      PERL5LIB=/usr/obj/usr/src/i386/usr/libdata/perl/5.00503
>      GROFF_BIN_PATH=/usr/obj/usr/src/i386/usr/bin
>      GROFF_FONT_PATH=/usr/obj/usr/src/i386/usr/share/groff_font
>      GROFF_TMAC_PATH=/usr/obj/usr/src/i386/usr/share/tmac
>      DESTDIR=/usr/obj/usr/src/i386  INSTALL="sh
>      /usr/src/tools/install.sh"
>      PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
>      make -f Makefile.inc1 -DNOHTML -DNOINFO -DNOMAN -DNOFSCHG
>      libraries
>      cd /usr/src;  make -f Makefile.inc1 _startup_libs;  make -f
>      Makefile.inc1 _prebuild_libs;  make -f Makefile.inc1
>      _generic_libs;
>      echo "===> gnu/lib/csu";  cd /usr/src/gnu/lib/csu;  make
>      DIRPRFX=gnu/lib/csu/ depend;  make DIRPRFX=gnu/lib/csu/ all;
>      make DIRPRFX=gnu/lib/csu/ install
>      ===> gnu/lib/csu
>      echo '#include "i386/i386.h"'   > tm.h
>      echo '#include "i386/att.h"'                    >> tm.h
>      echo '#include <freebsd.h>'                             >>
>      tm.h
>      echo '#include "i386/freebsd.h"'                >> tm.h
>      echo '#include "i386/perform.h"'                >> tm.h
>      rm -f .depend
>      mkdep -f .depend -a
>      -I/usr/src/gnu/lib/csu/../../../contrib/gcc/config -I.
>      -DIN_GCC  /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c
>
>      cc -O -pipe
>      -I/usr/src/gnu/lib/csu/../../../contrib/gcc/config -I.
>      -DIN_GCC  -finhibit-size-directive -fno-inline-functions
>      -fno-exceptions -fno-omit-frame-pointer  -g0 -DCRT_BEGIN  -c
>      -o crtbegin.o
>      /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c
>      *** Signal 10
>
>      Stop in /usr/src/gnu/lib/csu.
>      *** Error code 1
>
>      Stop in /usr/src.
>      *** Error code 1
>
>      Stop in /usr/src.
>      *** Error code 1
>
>      Stop in /usr/src.
>      *** Error code 1
>
>      Stop in /usr/src.
>
> Could someone guide me over this hump?
>
> Thanks
>
> --  Joe --
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>

This is what you want your supfile to be..

# cvsup -g -L 2 supfile
*default base=/usr
*default compress
*default delete
*default host=cvsup.freebsd.org
*default prefix=/usr
*default release=cvs
*default use-rel-suffix

*default tag=RELENG_4_8
src-all

*default tag=.
ports-all

when that's finished..

cd /usr
rm -r obj
cd src
make cleandir && make cleandir (not a typo)
make buildworld
make buildkernel
make installkernel
shutdown now
make installworld
mergemaster
reboot



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030606113701.H43034>