From owner-freebsd-ports@FreeBSD.ORG Mon Dec 15 18:20:11 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 02683457; Mon, 15 Dec 2014 18:20:11 +0000 (UTC) Received: from elvis.mu.org (elvis.mu.org [IPv6:2001:470:1f05:b76::196]) by mx1.freebsd.org (Postfix) with ESMTP id E507825C; Mon, 15 Dec 2014 18:20:10 +0000 (UTC) Received: from AlfredMacbookAir.local (c-76-21-10-192.hsd1.ca.comcast.net [76.21.10.192]) by elvis.mu.org (Postfix) with ESMTPSA id 9FC80341F83D; Mon, 15 Dec 2014 10:20:10 -0800 (PST) Message-ID: <548F2678.7040903@freebsd.org> Date: Mon, 15 Dec 2014 10:20:40 -0800 From: Alfred Perlstein Organization: FreeBSD User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: FreeBSD Ports Subject: poudriere: bulk.sh: cpdup: Permission denied Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Bryan Drewery X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Dec 2014 18:20:11 -0000 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