Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2001 09:50:06 -0700
From:      Bradford Castalia <Castalia@azstarnet.com>
To:        FreeBSD Stable E-mail List <freebsd-stable@FreeBSD.ORG>
Subject:   Re: old port layout?
Message-ID:  <3A92A03E.4D728DEC@azstarnet.com>
References:  <000901c0995f$1236d4a0$00e1fea9@parkson> <20010217212546.A60502@mollari.cthul.hu> <20010219222550.B1163@ameritech.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This seems to be a common gotcha after a cvsup when attempting to build a port:

Error: your port uses an old layout.  Please update it to match this bsd.port.mk.
If you have updated your ports collection via cvsup and are still getting this error,
see Q12 and Q13 in the cvsup FAQ on http://www.polstra.com for further information.
*** Error code 1

When this happened to me after a 4.1.1-RELEASE to 4.2-STABLE update here's what
fixed the problem. As root:

cd /usr/ports
rm -rf *
cvsup -f -L 2 /usr/sup/ports-supfile

The ports-supfile is copied from /usr/src/share/examples/cvsup and edited to set
the host= value appropriately (replace CHANGE_THIS with cvsupN, where N might be
2 or some other server near you).

Drastic (perhaps), simple and effective (definately :-). Ports that would not
build before now build correctly.


-- 

Bradford Castalia                       Castalia@azstarnet.com
Systems Analyst                         http://azstarnet.com/~castalia
idaeim                                  520-624-6629

"Build an image in your mind, fit yourself into it."
    The Log of Cyradis, Seeress of Kell.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A92A03E.4D728DEC>