Build problems - both release and stable
Matthew Dillon
dillon at apollo.backplane.com
Mon Oct 11 23:54:01 PDT 2004
:I installed DragonFly over the weekend, and for the most part things have
:gone pretty smoothly. I'm having some issues now though rebuilding world
:and kernel. I used cvsup to pull down the cvs repo as of 17:00 on 10/11/04.
:I'm having troubles with both the release and stable tags:
:
:...
:I blew away /usr/src and /usr/obj and pulled the Stable tree:
:# cvs -d /home/dcvs co -rDragonFly_Stable src
:Buildworld then went fine. Building a GENERIC kernel, though:
:# make buildkernel KERNCONF=GENERIC
:/usr/obj/usr/src/sys/GENERIC/usr/src/sys/libiconv created for /usr/src/sys/libiconv
:===> bus
:In file included from /usr/src/sys/bus/cam/scsi/scsi_low.c:114:
:...
:/usr/src/sys/bus/cam/scsi/scsi_low.h:77: i386/isa/ccbque.h: Too many levels of symbolic links
:In file included from /usr/src/sys/bus/cam/scsi/scsi_low_pisa.c:129:
:/usr/src/sys/bus/cam/scsi/scsi_low.h:77: i386/isa/ccbque.h: Too many levels of symbolic links
I think this may be classic include file corruption in /usr/include,
especially if you tried to do this on a machine currently running
FreeBSD. You didn't say what version of FreeBSD you were already running
but at this point it might not matter. We are trying to keep the upgrade
path from a FreeBSD-4 userland workable. If you are running FreeBSD-5
there are other issues, like filesystem incompatibilities (i.e. we don't
have ufs2).
It might be best to backup whatever data you want to keep and to
do a fresh install of your HD from a DragonFly CD.
If you really want to try to make this work then, if you have a good
buildworld in hand, you can try something like this:
rm -rf /usr/include
mkdir /usr/include
cd /usr/src
make installworld
And then try doing a buildkernel & installkernel sequence. DragonFly
binaries should (still) be compatible with a FreeBSD-4 kernel but
probably wouldn't be compatible with a FreeBSD-5 kernel.
If that fails I would boot the DFly CD and do surgery on the system...
from the DFly CD login as root, mount up the HD's broken / onto /mnt,
the HD's /usr onto /mnt/usr, and cpdup critical directories from the
CD to the HD.
But the easiest method is a fresh install from CD so you aren't left
with any FreeBSD cruft.
:Any suggestions would be appreciated.
:--
: Jon Hamilton
-Matt
Matthew Dillon
<dillon at xxxxxxxxxxxxx>
More information about the Users
mailing list