Where to ask questions about poudriere?
Rainer Duffner
rainer at ultra-secure.de
Thu Sep 6 13:49:34 UTC 2012
Am Thu, 6 Sep 2012 14:59:03 +0300
schrieb Alexander Yerenkow <yerenkow at gmail.com>:
> I don't see where you specify your zfs tank, is it missed in mail, or
> in conf?
It slipped into the previous line:
ZPOOL=datapool
FTPHOST=ftp.ch.freebsd.org
FREEBSD_HOST=http://ftp.ch.freebsd.org/
RESOLV_CONF=/etc/resolv.conf
BASEFS=/usr/local/poudriere
USE_PORTLINT=no
USE_TMPFS=yes
DISTFILES_CACHE=/usr/ports/distfiles
CSUP_HOST=localhost
CHECK_CHANGED_OPTIONS=yes
PKG_REPO_SIGNING_KEY=/etc/ssl/keys/repo.bla.ch.key
CCACHE_DIR=/data/cache/ccache
I've somehow missed that poudriere is a shell-script.
somewhere down there, it sets
PORTSDIR=/ports
is that correct?
I think it should be /usr/ports...
+ echo '====>> Starting jail 90amd64'
====>> Starting jail 90amd64
+ jrun 0
+ [ 1 -ne 1 ]
+ local network=0
+ local ipargs
+ [ 0 -eq 0 ]
+ ipargs='ip4.addr=127.0.0.1 ip6.addr=::1'
+ jail -c persist name=90amd64 ip4.addr=127.0.0.1 ip6.addr=::1
path=/usr/local/poudriere/jails/90amd64 host.hostname=90amd64
allow.sysvipc allow.mount allow.socket_af allow.raw_sockets
allow.chflags
+ [ 1 -eq 1 ]
+ export STATUS=1
+ prepare_jail
+ export PACKAGE_BUILDING=yes
+ export USER=root
+ port_get_base default
+ [ 1 -ne 1 ]
+ zfs list -rt filesystem -H -o
poudriere:type,poudriere:name,mountpoint datapool/poudriere
+ awk -v n=default '$1 == "ports" && $2 == n { print $3 }'
+ PORTSDIR=/ports
+ POUDRIERED=/usr/local/share/poudriere/../../etc/poudriere.d
+ [ -z /usr/local/poudriere/jails/90amd64 ]
+ [ -z /ports ]
+ [ -z /usr/local/poudriere/data/packages/90amd64-default ]
+ [ -n '' -a -n yes ]
+ msg 'Mounting ports filesystems for 90amd64'
+ echo '====>> Mounting ports filesystems for 90amd64'
====>> Mounting ports filesystems for 90amd64
+ do_portbuild_mounts 1
+ [ 1 -ne 1 ]
+ local should_mkdir=1
+ [ 1 -eq 1 ]
+ mkdir -p /ports/packages
+ mkdir -p /usr/local/poudriere/data/packages/90amd64-default/All
+ [ -n /usr/ports/distfiles -a -d /usr/ports/distfiles ]
+ mkdir -p /usr/local/poudriere/jails/90amd64/usr/ports/distfiles
+ [ -n /data/cache/ccache -a -d /data/cache/ccache ]
+ mkdir -p /usr/local/poudriere/jails/90amd64/data/cache/ccache
+ msg 'Mounting ccache from /data/cache/ccache'
+ echo '====>> Mounting ccache from /data/cache/ccache'
====>> Mounting ccache from /data/cache/ccache
+ export CCACHE_DIR
+ mount -t nullfs /ports /usr/local/poudriere/jails/90amd64/usr/ports
+ mount -t
nullfs /usr/local/poudriere/data/packages/90amd64-default /usr/local/poudriere/jails/90amd64/usr/ports/packages
+ [ -n /usr/ports/distfiles -a -d /usr/ports/distfiles ]
+ mount -t
nullfs /usr/ports/distfiles /usr/local/poudriere/jails/90amd64/usr/ports/distfiles
mount: /usr/local/poudriere/jails/90amd64/usr/ports/distfiles: No
such file or directory
+ err 1 'Failed to mount the distfile directory'
> 2012/9/6 Rainer Duffner <rainer at ultra-secure.de>
>
> > Hi,
> >
> > I'm trying to get poudriere working with the following settings:
> >
> > f2d169d8-20d2-41d4-8e43-8a9fc5a2b509#
> > cat /usr/local/etc/poudriere.conf |grep -v ^# |grep -v ^$
> > ZPOOL=datapool FTPHOST=ftp.ch.freebsd.org
> > FREEBSD_HOST=http://ftp.ch.freebsd.org/
> > RESOLV_CONF=/etc/resolv.conf
> > BASEFS=/usr/local/poudriere
> > USE_PORTLINT=no
> > USE_TMPFS=yes
> > DISTFILES_CACHE=/usr/ports/distfiles
> > CSUP_HOST=localhost
> > CHECK_CHANGED_OPTIONS=yes
> > PKG_REPO_SIGNING_KEY=/etc/ssl/keys/repo.bla.ch.key
> > CCACHE_DIR=/data/cache/ccache
> >
> >
> > f2d169d8-20d2-41d4-8e43-8a9fc5a2b509#
> > cat /usr/local/etc/poudriere.d/make.conf WITH_CCACHE_BUILD=yes
> > USE_LOCAL_MK=yes
> >
> > f2d169d8-20d2-41d4-8e43-8a9fc5a2b509# poudriere bulk -f
> > ~/portlist-current-php53-mysql55 -j 90amd64 ====>> Mounting system
> > devices for 90amd64 /etc/resolv.conf
> > -> /usr/local/poudriere/jails/90amd64/etc/resolv.conf ====>>
> > Starting jail 90amd64 ====>> Mounting ports filesystems for 90amd64
> > ====>> Mounting ccache from /data/cache/ccache
> > mount: /usr/local/poudriere/jails/90amd64/usr/ports/distfiles: No
> > such file or directory ====>> Umounting file systems
> > Failed to mount the distfile directory
> > You have new mail.
> >
> >
> > f2d169d8-20d2-41d4-8e43-8a9fc5a2b509# zfs list
> > NAME USED AVAIL REFER MOUNTPOINT
> > datapool 1.51G 47.5G 32K /datapool
> > datapool/poudriere 1.51G 47.5G
> > 33K /datapool/poudriere datapool/poudriere/data 36K
> > 47.5G 36K /usr/local/poudriere/data
> > datapool/poudriere/jails 1017M 47.5G
> > 31K /datapool/poudriere/jails datapool/poudriere/jails/90amd64
> > 1017M 47.5G 1017M /usr/local/poudriere/jails/90amd64
> > datapool/poudriere/ports 534M 47.5G
> > 31K /datapool/poudriere/ports datapool/poudriere/ports/current
> > 534M 47.5G 534M /usr/local/poudriere/ports/current
> >
> >
> > What is the problem?
> >
> >
> >
> > _______________________________________________
> > freebsd-current at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to
> > "freebsd-current-unsubscribe at freebsd.org"
> >
>
>
>
--
--
Everyware AG
Rainer Duffner
CISSP, LPI, MCSE
Zurlindenstrasse 52a
CH-8003 Zurich
Telefon +41 44 466 60 25
Telefax +41 44 466 60 10
More information about the freebsd-current
mailing list