From owner-freebsd-ports@FreeBSD.ORG Wed Apr 3 12:03:03 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DB060409; Wed, 3 Apr 2013 12:03:03 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from gilb.zs64.net (gilb.zs64.net [212.12.50.234]) by mx1.freebsd.org (Postfix) with ESMTP id 641A89EB; Wed, 3 Apr 2013 12:03:03 +0000 (UTC) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id BF9011603CE; Wed, 3 Apr 2013 12:02:55 +0000 (UTC) Subject: Re: poudriere builds all dependencies, even if packages have already been built Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=iso-8859-1 From: Stefan Bethke In-Reply-To: <515C12D0.4040201@FreeBSD.org> Date: Wed, 3 Apr 2013 14:02:55 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <515C0A2D.3070504@FreeBSD.org> <7347248E-693F-443D-8219-9CD26867F0BF@lassitu.de> <515C12D0.4040201@FreeBSD.org> To: Bryan Drewery X-Mailer: Apple Mail (2.1283) Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Apr 2013 12:03:03 -0000 Am 03.04.2013 um 13:30 schrieb Bryan Drewery: >> I've had some trouble with poudriere not mounting things where they = belong. I manually created /usr/ports and /wrkdirs and recreated the = "clean" snapshot. This worked around the "mount: no such file or = directory" problems, but I guess there might be an underlying cause to = these and a couple more issues. How would I go about identifying these? = I think I followed the installation instructions very carefully. >>=20 >=20 > I have not heard of these issues and it appears your setup is now = messed > up. None of this manual hacking should be needed. I suggest recreating > your jail. OK, sound like a plan. I'm getting further that I used to, but I do get an error when I try to = kick off the bulk build (which poudriere seems to ignore), see below: Here's my poudriere.conf: # egrep -v '^(#.*)?$' /usr/local/etc/poudriere.conf ZPOOL=3Dtank FREEBSD_HOST=3Dhttp://ftp2.de.freebsd.org RESOLV_CONF=3D/etc/resolv.conf BASEFS=3D/var/poudriere USE_PORTLINT=3Dno USE_TMPFS=3Dyes DISTFILES_CACHE=3D/freebsd/distfiles SVN_HOST=3Dmirror.hanse.de CCACHE_DIR=3D${BASEFS}/ccache NO_RESTRICTED=3Dno According to = https://fossil.etoilebsd.net/poudriere/doc/trunk/doc/use_system_ports_tree= .wiki, I've marked my ports tree zfs: # zfs get all tank/freebsd/checkout NAME PROPERTY VALUE = SOURCE tank/freebsd/checkout type filesystem - ... tank/freebsd/checkout poudriere:name systemports = local tank/freebsd/checkout poudriere:type ports = local Created a jail for 9.1-RELEASE: # poudriere jail -c -j 91amd64 -v 9.1-RELEASE cannot open 'tank/poudriere': dataset does not exist =3D=3D=3D=3D>> Creating 91amd64 fs... done =3D=3D=3D=3D>> Fetching base.txz for FreeBSD 9.1-RELEASE amd64 /var/poudriere/jails/91amd64/fromftp/base.txz 100% of 57 MB 9122 kBps =3D=3D=3D=3D>> Extracting base.txz... done =3D=3D=3D=3D>> Fetching src.txz for FreeBSD 9.1-RELEASE amd64 /var/poudriere/jails/91amd64/fromftp/src.txz 100% of 91 MB 10 MBps =3D=3D=3D=3D>> Extracting src.txz... done =3D=3D=3D=3D>> Fetching games.txz for FreeBSD 9.1-RELEASE amd64 /var/poudriere/jails/91amd64/fromftp/games.txz100% of 1091 kB 3878 kBps =3D=3D=3D=3D>> Extracting games.txz... done =3D=3D=3D=3D>> Fetching lib32.txz for FreeBSD 9.1-RELEASE amd64 /var/poudriere/jails/91amd64/fromftp/lib32.txz100% of 9515 kB 7865 kBps =3D=3D=3D=3D>> Extracting lib32.txz... done =3D=3D=3D=3D>> Cleaning up... done =3D=3D=3D=3D>> Jail 91amd64 9.1-RELEASE amd64 is ready to be used # cat /usr/local/etc/poudriere.d/make.conf=20 # General configuration WITH_PKGNG=3Dyes # Port-specific configuration openvpn_UNSET=3D EASYRSA Start building my list of ports: # poudriere bulk -f poudriere-default-ports -j 91amd64 -J 3 -p = systemports =3D=3D=3D=3D>> Mounting system devices for 91amd64 /etc/resolv.conf -> /var/poudriere/jails/91amd64/etc/resolv.conf =3D=3D=3D=3D>> Starting jail 91amd64 realpath: /freebsd/checkout/ports/distfiles: No such file or directory =3D=3D=3D=3D>> Mounting ports from: /freebsd/checkout/ports =3D=3D=3D=3D>> Mounting packages from: = /var/poudriere/data/packages/91amd64-systemports =3D=3D=3D=3D>> Appending to /etc/make.conf: = /root/eisenboot/poudriere.d/make.conf =3D=3D=3D=3D>> Calculating ports order and dependencies =3D=3D=3D=3D>> Sanity checking the repository =3D=3D=3D=3D>> Deleting stale symlinks =3D=3D=3D=3D>> Cleaning the build queue =3D=3D=3D=3D>> Hit ctrl+t at any time to see build progress and stats =3D=3D=3D=3D>> Building 244 packages using 3 builders ^C Not sure what the problem is: # realpath /freebsd/checkout/ports/distfiles /freebsd/checkout/ports/distfiles And I do have pkg installed in the host: # pkg_info pkg-* Information for pkg-1.0.11: Comment: New generation package manager Description: New Generation package management tool for FreeBSD WWW: http://wiki.freebsd.org/pkgng # which -a pkg /usr/sbin/pkg /usr/local/sbin/pkg I'm letting the build run for a while, and will inspect the logs. Thanks for your help, Stefan --=20 Stefan Bethke Fon +49 151 14070811