Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Oct 2013 07:36:10 -0500
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        mexas@bris.ac.uk, bsam@passap.ru
Cc:        freebsd-ports@freebsd.org
Subject:   Re: poudriere bug [WAS:  Re: poudriere zfs setup help ]
Message-ID:  <526E5A3A.1070908@FreeBSD.org>
In-Reply-To: <201310281200.r9SC0AOw016263@mech-cluster241.men.bris.ac.uk>
References:  <201310281200.r9SC0AOw016263@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--H6fpdPFEget1xkjM6PxlaJwRuItcfoThv
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 10/28/2013 7:00 AM, Anton Shterenlikht wrote:
>>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:
>>>>>>>>> =3D3D> 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 /pd=
r/=3D
>> jails/ia64
>>>>>>>>> # poudriere ports -l
>>>>>>>>> PORTSTREE            METHOD     PATH
>>>>>>>>> default              svn+https  /pdr/ports/default
>>>>>>>>> # df
>>>>>>>>> Filesystem                   1K-blocks     Used    Avail Capaci=
ty=3D
>>  Mounted on
>>>>>>>>> /dev/da0p2                    60931274 49946430  6110344    89%=
  =3D
>>  /
>>>>>>>>> devfs                                1        1        0   100%=
  =3D
>>  /dev
>>>>>>>>> /dev/da0p1                      409504     1184   408320     0%=
  =3D
>>  /efi
>>>>>>>>> tank/poudriere/data           31736572     1290 31735281     0%=
  =3D
>>  /pdr/data
>>>>>>>>> tank/poudriere/jails/ia64     33931466  2196185 31735281     6%=
  =3D
>>  /pdr/jails/ia64
>>>>>>>>> tank/poudriere/ports/default  32633749   898468 31735281     3%=
  =3D
>>  /pdr/ports/default
>>>>>>>>> tank                          31735313       32 31735281     0%=
  =3D
>>  /tank
>>>>>>>>> tank/poudriere                31735314       33 31735281     0%=
  =3D
>>  /tank/poudriere
>>>>>>>>> tank/poudriere/jails          31735312       31 31735281     0%=
  =3D
>>  /tank/poudriere/jails
>>>>>>>>> tank/poudriere/ports          31735312       31 31735281     0%=
  =3D
>>  /tank/poudriere/ports
>>>>>>>>> #=3D20
>>>>>>>>>
>>>>>>>>> # grep "^[A-Z]" /usr/local/etc/poudriere.conf
>>>>>>>>> ZPOOL=3D3Dtank
>>>>>>>>> FREEBSD_HOST=3D3Dhttps://svn0.eu.freebsd.org
>>>>>>>>> RESOLV_CONF=3D3D/etc/resolv.conf
>>>>>>>>> BASEFS=3D3D/pdr
>>>>>>>>> USE_PORTLINT=3D3Dyes
>>>>>>>>> USE_TMPFS=3D3Dyes
>>>>>>>>> DISTFILES_CACHE=3D3D/usr/ports/distfiles
>>>>>>>>> SVN_HOST=3D3Dsvn0.eu.FreeBSD.org
>>>>>>>>> CHECK_CHANGED_OPTIONS=3D3Dverbose
>>>>>>>>> CHECK_CHANGED_DEPS=3D3Dyes
>>>>>>>>> PKG_REPO_SIGNING_KEY=3D3D/root/pkg.key
>>>>>>>>> CCACHE_DIR=3D3D/var/cache/ccache
>>>>>>>>> SAVE_WRKDIR=3D3Dyes
>>>>>>>>> #=3D20
>>>>>>>>>
>>>>>>>>> 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 w=
il=3D
>> l
>>>>>>>> not umount jail (it will be umounted when you exit the jail comm=
an=3D
>> d
>>>>>>>> propmt) and you may explore the system (i.e. mount, jls, etc.) t=
o
>>>>>>>> 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=3D
>> pacity  Mounted on
>>>>>>> tank/poudriere/jails/ia64-default-ref  33930819 2198542 31732277 =
  =3D
>>  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. Ca=
n
>> you go into the jail and show the contents of /etc/make.conf?
>=20
> ok, after
>=20
> # poudriere testport -j ia64 -i -o ports-mgmt/pkg
>=20
> while inside the jail:
>=20
> root@ia64-default:~ # cat /etc/make.conf=20
> PORTSDIR=3D/usr/ports
> PACKAGES=3D/packages
> DISTDIR=3D/distfiles
> DISTDIR=3D/portdistfiles
> PACKAGES=3D/packages
> root@ia64-default:~ #=20

How did you create this jail? It is not properly setup.

>=20
> Thanks
>=20
> Anton
>=20


--=20
Regards,
Bryan Drewery


--H6fpdPFEget1xkjM6PxlaJwRuItcfoThv
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJSblo6AAoJEG54KsA8mwz5zQoP/2Pv3a8YpyT9E/PQ6nqdaAnv
4Mljr4+O6K5j4cy2NwuQnzXimaFTjVJ7Gz9Dv0g0BSGJ0vxOfCRF0B93CJzkFP9Y
RmdadhNVCXoJ/9Na2CdWOwP4SKVytEfaYE6VGh2QRssdFR2XPx3ZNsq2H8j/ccXo
3qJCQpaC9oljwTlbchCOCdEaGUEw5nuehOhGS/Z1d6rBfaap3u+tsTUPwOUoVoJH
AsvukcT8l0Hqzssi20mkSPjmkv0rCwb1juXvu032lYU/UaRq4rdQNjLCb7l8wsxY
scptBAbe82HLPmcFoEFiVCoqLMbJElesbov2XPTP6sFJ89G8aw9vT4QZrzRTSZ0n
Bh5VUU8iTXquViqjynAhl/mkOnG0tiN9rjUfnTcw2BD1Om+MZkBb5qGVOoVCF4az
+5SIQAIMOr5n7BLfRjPAo/x0/ktWQ2q7jHHQKRmIyvtO429ZCHUTDU9Mcsj31cTk
4MglxzdenZw7CLGsO91EwoD6lTTtZDt6EuuS50LOvL2mh0xxHI3G8C6Aic8MEURM
lOc9rNqVAuOTsY7ocoFpJk65ZI9Y8X57jvXvzDA/iR/FDWu7A268OQoh3tqUf2Sa
ej2+/H3oT0PMiqAlP4z8dX8bdx9IM8s9lV3wTju0BImYQCUKknJc0vq/+ywXrE6Z
MDjEvv7fxAet+9OlVusA
=zxnb
-----END PGP SIGNATURE-----

--H6fpdPFEget1xkjM6PxlaJwRuItcfoThv--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?526E5A3A.1070908>