Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jan 2006 00:38:54 +0200
From:      Ion-Mihai Tetcu <itetcu@people.tecnik93.com>
To:        Ion-Mihai Tetcu <itetcu@people.tecnik93.com>
Cc:        ports@freebsd.org, Sten Daniel =?ISO-8859-1?Q?S=F8rsdal?= <lists@wm-access.no>, freebsd-chat@freebsd.org
Subject:   Re: Cleaning up packages after cd /usr/ports && make
Message-ID:  <20060114003854.2b2cc81d@it.buh.tecnik93.com>
In-Reply-To: <20060113175836.5a995dd0@it.buh.tecnik93.com>
References:  <43C7C7EB.5040302@wm-access.no> <20060113175836.5a995dd0@it.buh.tecnik93.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 13 Jan 2006 17:58:36 +0200
Ion-Mihai Tetcu <itetcu@people.tecnik93.com> wrote:

>=20
>  [ this is a ports@ question, cc'ed ]
>=20
> On Fri, 13 Jan 2006 16:31:55 +0100
> Sten Daniel S=F8rsdal <lists@wm-access.no> wrote:
>=20
> > I managed to tell a coworker of mine to go into /usr/ports and and
> > type make on a production server. He let it run for 6 hours before
> > complaining.
> >=20
> > Are there any ways to get a list of leaf packages or build a tree of
> > the dependencies? How do you do it?
>=20
> sysutils/pkg_tree
> sysutils/pkg_cutleaves
> There are others.
>=20
> > Are there any make.conf things that could prevent such a general
> > make order?
>=20
> .if ${.CURDIR} =3D=3D /usr/ports
> .error "Don't do make in /usr/ports"
> .endif
>=20
> I don't know what it could break (at least make index)

It wlll break portupgrade too:

--- Begining building portsdb
Fetching the ports index ... "/etc/make.conf", line 154: "don't do make in =
/usr/ports"
failed to fetch INDEX!
Updating the ports index ... "/etc/make.conf", line 154: "don't do make in =
/usr/ports"
failed to generate INDEX!
portsdb: index generation error
--- Done bulding portsdb

 # ll /usr/ports/INDEX-6
-rw-r--r--  1 root  wheel  7936695 Jan 14 00:35 /usr/ports/INDEX-6

--=20
IOnut - Unregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"

BOFH excuse #43:
boss forgot system password





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