From owner-freebsd-ports Tue Feb 18 10:39:41 2003 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F93437B401 for ; Tue, 18 Feb 2003 10:39:39 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-63-207-60-52.dsl.lsan03.pacbell.net [63.207.60.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B4BB43F3F for ; Tue, 18 Feb 2003 10:39:38 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id D3CBB679DA for ; Tue, 18 Feb 2003 10:39:37 -0800 (PST) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id BC3521193; Tue, 18 Feb 2003 10:39:37 -0800 (PST) Date: Tue, 18 Feb 2003 10:39:37 -0800 From: Kris Kennaway To: ports@FreeBSD.org Subject: Bento package builds Message-ID: <20030218183937.GC30562@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Y5rl02BVI9TCfPar" Content-Disposition: inline User-Agent: Mutt/1.4i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --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