From owner-freebsd-ports@FreeBSD.ORG Mon Oct 28 12:00:22 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7A9F31BB for ; Mon, 28 Oct 2013 12:00:22 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from eu1sys200aog121.obsmtp.com (eu1sys200aog121.obsmtp.com [207.126.144.151]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AB5E328D2 for ; Mon, 28 Oct 2013 12:00:21 +0000 (UTC) Received: from mail-we0-f175.google.com ([74.125.82.175]) (using TLSv1) by eu1sys200aob121.postini.com ([207.126.147.11]) with SMTP ID DSNKUm5Rzr/TqddCHzUjJEyObX4w3Nb3F/j+@postini.com; Mon, 28 Oct 2013 12:00:21 UTC Received: by mail-we0-f175.google.com with SMTP id t61so6307709wes.6 for ; Mon, 28 Oct 2013 05:00:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:message-id:to:subject:cc :reply-to:in-reply-to; bh=7glxAB/bNnBOeu557+M2urMftTsOx9kB6yci3gs9xtA=; b=mTuOggLrubMvihaZp24NqQ7DVO96FMEry+a8y5wqN8IAKoHmkcgfVHVh3sUjNTzpVh iOwHwYODIkIit5lxugTvmYzyl8EiqRG3Q+IG+64ZRBEdjTxA1ATpNEis7AGAlyGohglT aNXkpA6uRKDuyBfAuPt1Ba9P7kfTNOu/m2Pv6y1BUiYQNcgfi5PTJB9NtTykFbDUUd4/ BLIsGUoqz/wDJ3EcwxdAJuP/zx1eAvPc6MOnrIcRMloWFQGXNU9WNN9MXGr5YkzKFq0c klfkAgPxtE5RtlWCyoYcLC6moaQHGBlrKHyE2I513YPv7UhTRyeY0ARXYEHIjAeBBEIH ETBw== X-Gm-Message-State: ALoCoQnEowIBcKMJbtojDkaXQcsn5JqFk8+7RtQ7wfkRR0lArgg7MCqM7ycHBliH/DZCKsKZPxWsjVje34J2/xNxrM4jaTi6S+3TXyoeTp5C6HBJ6O2FGEt2zuAkZ1sp3JPvDJIs+HmCzpZR98U6wjzCj5R4nTlUFhecawd936ffFb/1YHVKsB8= X-Received: by 10.194.71.72 with SMTP id s8mr1480376wju.52.1382961614152; Mon, 28 Oct 2013 05:00:14 -0700 (PDT) X-Received: by 10.194.71.72 with SMTP id s8mr1480370wju.52.1382961614047; Mon, 28 Oct 2013 05:00:14 -0700 (PDT) Received: from mech-cluster241.men.bris.ac.uk (mech-cluster241.men.bris.ac.uk. [137.222.187.241]) by mx.google.com with ESMTPSA id pi6sm35147000wic.3.2013.10.28.05.00.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Oct 2013 05:00:13 -0700 (PDT) Sender: Anton Shterenlikht Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6) with ESMTP id r9SC0A9C016264 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 28 Oct 2013 12:00:10 GMT (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6/Submit) id r9SC0AOw016263; Mon, 28 Oct 2013 12:00:10 GMT (envelope-from mexas) Date: Mon, 28 Oct 2013 05:00:13 -0700 (PDT) From: Anton Shterenlikht Message-Id: <201310281200.r9SC0AOw016263@mech-cluster241.men.bris.ac.uk> To: bdrewery@FreeBSD.org, bsam@passap.ru, mexas@bris.ac.uk Subject: Re: poudriere bug [WAS: Re: poudriere zfs setup help ] In-Reply-To: <526E4E30.7040900@FreeBSD.org> Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bris.ac.uk List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Oct 2013 12:00:22 -0000 >From bdrewery@freebsd.org Mon Oct 28 11:46:27 2013 >On 10/28/2013 6:21 AM, Anton Shterenlikht wrote: >>>From bsam@passap.ru Fri Oct 25 11:47:07 2013 >>>>>>>> I'm getting this error: >>>>>>>> =3D> SHA256 Checksum OK for pkg-1.1.4.tar.xz. >>>>>>>> mkdir: /usr/ports/ports-mgmt/pkg/work: Read-only file system >>>>>>>> *** Error code 1 >>>>>>>> >>>>>>>> So something is wrong with my setup? >>>>>>>> Does this look all right: >>>>>>>> >>>>>>>> # poudriere jails -l >>>>>>>> JAILNAME VERSION ARCH METHOD PATH >>>>>>>> ia64 10.0-ALPHA5 r256218 ia64 svn+https /pdr/= >jails/ia64 >>>>>>>> # poudriere ports -l >>>>>>>> PORTSTREE METHOD PATH >>>>>>>> default svn+https /pdr/ports/default >>>>>>>> # df >>>>>>>> Filesystem 1K-blocks Used Avail Capacity= > Mounted on >>>>>>>> /dev/da0p2 60931274 49946430 6110344 89% = > / >>>>>>>> devfs 1 1 0 100% = > /dev >>>>>>>> /dev/da0p1 409504 1184 408320 0% = > /efi >>>>>>>> tank/poudriere/data 31736572 1290 31735281 0% = > /pdr/data >>>>>>>> tank/poudriere/jails/ia64 33931466 2196185 31735281 6% = > /pdr/jails/ia64 >>>>>>>> tank/poudriere/ports/default 32633749 898468 31735281 3% = > /pdr/ports/default >>>>>>>> tank 31735313 32 31735281 0% = > /tank >>>>>>>> tank/poudriere 31735314 33 31735281 0% = > /tank/poudriere >>>>>>>> tank/poudriere/jails 31735312 31 31735281 0% = > /tank/poudriere/jails >>>>>>>> tank/poudriere/ports 31735312 31 31735281 0% = > /tank/poudriere/ports >>>>>>>> #=20 >>>>>>>> >>>>>>>> # grep "^[A-Z]" /usr/local/etc/poudriere.conf >>>>>>>> ZPOOL=3Dtank >>>>>>>> FREEBSD_HOST=3Dhttps://svn0.eu.freebsd.org >>>>>>>> RESOLV_CONF=3D/etc/resolv.conf >>>>>>>> BASEFS=3D/pdr >>>>>>>> USE_PORTLINT=3Dyes >>>>>>>> USE_TMPFS=3Dyes >>>>>>>> DISTFILES_CACHE=3D/usr/ports/distfiles >>>>>>>> SVN_HOST=3Dsvn0.eu.FreeBSD.org >>>>>>>> CHECK_CHANGED_OPTIONS=3Dverbose >>>>>>>> CHECK_CHANGED_DEPS=3Dyes >>>>>>>> PKG_REPO_SIGNING_KEY=3D/root/pkg.key >>>>>>>> CCACHE_DIR=3D/var/cache/ccache >>>>>>>> SAVE_WRKDIR=3Dyes >>>>>>>> #=20 >>>>>>>> >>>>>>>> What am I missing? >>>>>>>> >>>>>>>> On another box I set up poudriere with no zfs >>>>>>>> and it works all right. So I think I messed up >>>>>>>> the zfs setup. >>>>>>> >>>>>>> You may try to use "poudriere testport -i ...". Then poudriere wil= >l >>>>>>> not umount jail (it will be umounted when you exit the jail comman= >d >>>>>>> propmt) and you may explore the system (i.e. mount, jls, etc.) to >>>>>>> find out what's going on. >>>>>> >>>>>> ok, so after a failure, still in a jail: >>>>>> >>>>>> root@ia64-default:~ # df >>>>>> Filesystem 1K-blocks Used Avail Ca= >pacity Mounted on >>>>>> tank/poudriere/jails/ia64-default-ref 33930819 2198542 31732277 = > 6% / >>>>>> root@ia64-default:~ # ls -al /usr/ports/ports-mgmt/pkg >>>>>> total 15 >>>>>> drwxr-xr-x 3 root wheel 8 Oct 9 13:23 . >>>>>> drwxr-xr-x 85 root wheel 86 Oct 9 13:23 .. >>>>>> -rw-r--r-- 1 root wheel 2544 Oct 9 13:23 Makefile >>>>>> -rw-r--r-- 1 root wheel 127 Oct 9 13:23 distinfo >>>>>> drwxr-xr-x 2 root wheel 13 Oct 9 13:23 files >>>>>> -rw-r--r-- 1 root wheel 87 Oct 9 13:23 pkg-descr >>>>>> -rw-r--r-- 1 root wheel 73 Oct 9 13:23 pkg-message >>>>>> -rw-r--r-- 1 root wheel 1420 Oct 9 13:23 pkg-plist >>>>>> root@ia64-default:~ # whoami >>>>>> root >>>>>> root@ia64-default:~ # mkdir /usr/ports/ports-mgmt/pkg/work >>>>>> mkdir: /usr/ports/ports-mgmt/pkg/work: Read-only file system > >The WRKDIRPREFIX should be set to /wrkdirs in the jail's make.conf. Can >you go into the jail and show the contents of /etc/make.conf? ok, after # poudriere testport -j ia64 -i -o ports-mgmt/pkg while inside the jail: root@ia64-default:~ # cat /etc/make.conf PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles DISTDIR=/portdistfiles PACKAGES=/packages root@ia64-default:~ # Thanks Anton