Date: Mon, 15 Dec 2014 10:20:40 -0800 From: Alfred Perlstein <alfred@freebsd.org> To: FreeBSD Ports <ports@freebsd.org> Cc: Bryan Drewery <bdrewery@FreeBSD.org> Subject: poudriere: bulk.sh: cpdup: Permission denied Message-ID: <548F2678.7040903@freebsd.org>
next in thread | raw e-mail | index | archive | help
Hey folks, I'm trying to get started with poudriere. I pulled from the latest version 3.1.1 (9f9e43d3). However I'm getting the following error: build2# env ZPOOL=zroot ZROOTFS=/ports \ GIT_URL=http://gitweb.norse-data.com/git/ports.git \ ./src/bin/poudriere bulk \ -f test_pkg_list -j poudriere-appliance [00:00:00] ====>> Creating the reference jail... done [00:00:01] ====>> Mounting system devices for poudriere-appliance-default [00:00:01] ====>> Mounting ports/packages/distfiles [00:00:01] ====>> Using packages from previously failed build [00:00:01] ====>> Mounting packages from: /usr/local/poudriere/data/packages/poudriere-appliance-default /etc/resolv.conf -> /usr/local/poudriere/data/.m/poudriere-appliance-default/ref/etc/resolv.conf [00:00:01] ====>> Starting jail poudriere-appliance-default /usr/home/alfred/poudriere/src/share/poudriere/bulk.sh: cpdup: Permission denied [00:00:01] ====>> Cleaning up [00:00:01] ====>> Umounting file systems build2# Is there a way to get line numbers or stack trace or any help debugging this issue? grep -r for cpdup hasn't been helpful. I guess I can truss(1)? (set -x isn't very helpful) Is there some magic I can put into PS4 so I can get "file:line" in the "set -x" output? Or is shell just ... limited? Other ideas on sorting out why this is happening? JFYI: here are my notes so far (there are patches to use git(1) as a FreeBSD source tree): env ZPOOL=zroot ZROOTFS=/ports ./src/bin/poudriere jail -j poudriere-appliance -m git+http -b master -U gitweb.norse-data.com/git/trueos.git -c -v TrueOS # make a default ports tree, makes things go easier.... env \ ZPOOL=zroot ZROOTFS=/ports \ GIT_URL=http://gitweb.norse-data.com/git/ports.git \ ./src/bin/poudriere ports -c # make the freebsd chroot for building using git, patches here https://github.com/splbio/poudriere/tree/3.1.1-git env \ ZPOOL=zroot ZROOTFS=/ports \ GIT_URL=http://gitweb.norse-data.com/git/ports.git \ ./src/bin/poudriere ports -c -p poudriere-appliance-ports -m git -B master # start the jail with the ports tree now... env ZPOOL=zroot ZROOTFS=/ports ./src/bin/poudriere jail -s -p poudriere-appliance-ports -j poudriere-appliance # now build? env \ ZPOOL=zroot ZROOTFS=/ports \ GIT_URL=http://gitweb.norse-data.com/git/ports.git \ ./src/bin/poudriere bulk \ -f test_pkg_list -j poudriere-appliance Thanks all, -Alfred
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?548F2678.7040903>