Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Feb 2003 10:39:37 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        ports@FreeBSD.org
Subject:   Bento package builds
Message-ID:  <20030218183937.GC30562@rot13.obsecurity.org>

next in thread | raw e-mail | index | archive | help

--Y5rl02BVI9TCfPar
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

In case anyone notices some weird error logs on bento for the current
run, I have switched over to building packages in a jail instead of a
chroot.  This has several advantages, but also means that some
operations are currently failing (the problems that I know about are:
SYSV IPC, because I forgot to turn on the relevant sysctl; hostname is
returning something weird in the jail; device nodes cannot be made
inside the jail; and ports that try and fetch files after the 'fetch'
target has completed find they cannot do so).  I can work around
most/all of these problems and expect to have things fully working
again soon.

The last problem I mentioned is an interesting one.  e.g.:

  http://bento.freebsd.org/errorlogs/i386-5-latest/9term-1.6.3.log

===>  Extracting for 9term-1.6.3
>> Checksum OK for 9term.1.6.3.tar.gz.
===>   9term-1.6.3 depends on file: /nonexistent - not found
===>    Verifying build for /nonexistent in /usr/ports/editors/sam
>> sam.msg.gz doesn't seem to exist in /tmp/distfiles/.
>> Attempting to fetch from ftp://ftp-master.freebsd.org/pub/FreeBSD/ports/distfiles//.
fetch: ftp://ftp-master.freebsd.org/pub/FreeBSD/ports/distfiles//sam.msg.gz: Permission denied
...

I can fix this if I manually prefetch the distfiles into the jail
before running 'make package', but we do not appear to have a
bsd.port.mk target that fetches distfiles for only the dependencies
that are not already installed.  e.g. 'make fetch-recursive' will also
fetch distfiles for all the packages that are already installed, which
is a big waste.

If anyone wants to work on a 'fetch-required' target that checks
dependencies and only fetches the distfile if the package is not
already installed, please let me know.

Kris


--Y5rl02BVI9TCfPar
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+Un3pWry0BWjoQKURAksCAJ9MnRg57uaa2LUAypRtnw/DfTQLqACg9KrC
uo+EqnRRBajLYq41IxaUnbo=
=V5Vk
-----END PGP SIGNATURE-----

--Y5rl02BVI9TCfPar--

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




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