DragonFly BSD
DragonFly users List (threaded) for 2004-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Build problems - both release and stable

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 11 Oct 2004 23:53:26 -0700 (PDT)

: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 

					Matthew Dillon 

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]