Date: Wed, 3 Apr 2013 14:02:55 +0200 From: Stefan Bethke <stb@lassitu.de> To: Bryan Drewery <bdrewery@FreeBSD.org> Cc: freebsd-ports@freebsd.org Subject: Re: poudriere builds all dependencies, even if packages have already been built Message-ID: <CD690687-9680-48E0-9B80-336AABB5AA94@lassitu.de> In-Reply-To: <515C12D0.4040201@FreeBSD.org> References: <D566DE0C-65DE-4E25-A35F-98538F6AE8F9@lassitu.de> <515C0A2D.3070504@FreeBSD.org> <7347248E-693F-443D-8219-9CD26867F0BF@lassitu.de> <515C12D0.4040201@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <stb@lassitu.de> Fon +49 151 14070811
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CD690687-9680-48E0-9B80-336AABB5AA94>