From owner-freebsd-stable Tue Jan 23 23:20:16 2001 Delivered-To: freebsd-stable@freebsd.org Received: from dnvrpop3.dnvr.uswest.net (dnvrpop3.dnvr.uswest.net [206.196.128.5]) by hub.freebsd.org (Postfix) with SMTP id 1B5E937B69F for ; Tue, 23 Jan 2001 23:19:55 -0800 (PST) Received: (qmail 7419 invoked by uid 0); 24 Jan 2001 07:19:53 -0000 Received: from dnvr-dsl-gw7-f-250.dnvr.uswest.net (HELO qwest.net) (63.227.58.250) by dnvrpop3.dnvr.uswest.net with SMTP; 24 Jan 2001 07:19:53 -0000 Date: Wed, 24 Jan 2001 00:20:10 -0700 Message-ID: <3A6E822A.9801D16@qwest.net> From: "Brad Tombaugh" To: freebsd-stable@FreeBSD.ORG Cc: Gordon.Broom@home.com, "Kal Torak" , rtoren@bronzedragon.net, gfoster@gfoster.com X-Mailer: Mozilla 4.75 [en] (X11; U; FreeBSD 4.2-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 Subject: Re: Problems Making Ports References: <3A6D2B4C.4F9382A3@qwest.net> <3A6D4AF3.69241B5E@quake.com.au> <01012322025301.75594@ardbeg> Content-Type: multipart/alternative; boundary="------------5368AA1CBC5514256AF49FCB" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --------------5368AA1CBC5514256AF49FCB Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Thanks to all who responded... I had cvsup'd the ports tree, but this did not update everything. Glen Foster's suggestion to delete the ports tree and cvsup again did the trick! Glen Foster wrote: > Some time last fall the ports tree hierarchy changed eliminating the > subdirectories "pkg" and "patches" in each port directory. This was > announced on the list as a "heads up" at the time and has been covered > several times since then. The presence of these directories generates > the "old layout" message. Do this: > > # cd /usr/ports > # find . -name CVS | xargs rm -rf > # find . -name pkg | xargs rm -rf > # find . -name patches | xargs rm -rf > # make update > > Of course, your /etc/make.conf has to be set correctly for the last to > work. > > Alternatively, delete your entire ports tree and re-cvsup. This is > cleaner but will take longer, remove any local changes, and require > re-fetching distfiles on subsequent port rebuilds.Gord Broom wrote: > On Tue, 23 Jan 2001, Kal Torak wrote: > > Brad Tombaugh wrote: > > > > > > Several people, including me, have posted articles to > > > comp.unix.bsd.frebsd.misc regarding problems making ports after updating > > > to RELENG_4 (4.2-STABLE). > > > > > > The first symptom that I saw after "making world" was that when I > > > attempted to "make" or "make install" any of several ports I got an > > > error: > > > > > > orion# cd /usr/ports/textproc/docproj > > > orion# make > > > Error: your port uses an old layout. Please update it to > > > match this bsd.port.mk. > > > > > > checking /urs/ports/Mk/bsd.port.mk shows several instances of this or > > > similar messages, generally near a declaration for "pre-everything::" > > > > > > If you had read /usr/src/UPDATING then you would of seen that after > > an upgrade to 4.2 you are required to cvsup your whole ports tree since > > changes were made to the base port structure... > > Reading the UPDATING file properly solves almost all upgrading problems... > > > > Also, you may have to delete empty directories in each of the individual ports > (which cvsup left behind, as I've seen CVS do), which confuse both bsd.port.mk > and users. > > I thought I had written down which directories they were, but hunt around in > bsd.ports.mk for the specific error it gives you, and it'll point you there. I > know one of them was 'patches/', I can't remember the second. > > Gord. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message -- Brad Tombaugh mailto:btombau@qwest.net http://www.users.qwest.net/~btombau --------------5368AA1CBC5514256AF49FCB Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Thanks to all who responded...  I had cvsup'd the ports tree, but this did not update everything.  Glen Foster's suggestion to delete the ports tree and cvsup again did the trick!

Glen Foster wrote:

Some time last fall the ports tree hierarchy changed eliminating the
subdirectories "pkg" and "patches" in each port directory.  This was
announced on the list as a "heads up" at the time and has been covered
several times since then.  The presence of these directories generates
the "old layout" message.  Do this:

# cd /usr/ports
# find . -name CVS | xargs rm -rf
# find . -name pkg | xargs rm -rf
# find . -name patches | xargs rm -rf
# make update

Of course, your /etc/make.conf has to be set correctly for the last to
work.

Alternatively, delete your entire ports tree and re-cvsup.  This is
cleaner but will take longer, remove any local changes, and require
re-fetching distfiles on subsequent port rebuilds.Gord Broom wrote:

On Tue, 23 Jan 2001, Kal Torak wrote:
> Brad Tombaugh wrote:
> >
> > Several people, including me, have posted articles to
> > comp.unix.bsd.frebsd.misc regarding problems making ports after updating
> > to RELENG_4 (4.2-STABLE).
> >
> > The first symptom that I saw after "making world" was that when I
> > attempted to "make" or "make install" any of several ports I got an
> > error:
> >
> >      orion# cd /usr/ports/textproc/docproj
> >      orion# make
> >      Error: your port uses an old layout.  Please update it to
> >      match this bsd.port.mk.
> >
> > checking /urs/ports/Mk/bsd.port.mk shows several instances of this or
> > similar messages, generally near a declaration for "pre-everything::"
> >

> If you had read /usr/src/UPDATING then you would of seen that after
> an upgrade to 4.2 you are required to cvsup your whole ports tree since
> changes were made to the base port structure...
> Reading the UPDATING file properly solves almost all upgrading problems...
>

Also, you may have to delete empty directories in each of the individual ports
(which cvsup left behind, as I've seen CVS do), which confuse both bsd.port.mk
and users.

I thought I had written down which directories they were, but hunt around in
bsd.ports.mk for the specific error it gives you, and it'll point you there.  I
know one of them was 'patches/', I can't remember the second.

Gord.

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

-- 
Brad Tombaugh
mailto:btombau@qwest.net
http://www.users.qwest.net/~btombau
  --------------5368AA1CBC5514256AF49FCB-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message