Hi,
I have a problem actually running builds with poudriere.
I wanted to raise a ticket on the website, but get a 500 code each time...
I use 2.0.1
I tried to install and use poudriere according to this site and Beat's tutorial (http://www.chruetertee.ch/blog/archive/2012/05/05/pkgng-pakete-mit-poudriere-bauen.html)
Here are my config-files:
I've create a jail:
I've created a portstree:
But when I try to run a build:
I just get an an error:
I've modified the scripts so they run with -x:
I think it does not "get" the path to my ports - but I can't figure out how to fix that.
Anyone got an idea?
I have a problem actually running builds with poudriere.
I wanted to raise a ticket on the website, but get a 500 code each time...
I use 2.0.1
I tried to install and use poudriere according to this site and Beat's tutorial (http://www.chruetertee.ch/blog/archive/2012/05/05/pkgng-pakete-mit-poudriere-bauen.html)
Here are my config-files:
Code:
f2d169d8-20d2-41d4-8e43-8a9fc5a2b509# grep -v ^# /usr/local/etc/poudriere.conf | 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
I've create a jail:
# poudriere jail -c -j 90amd64 -v 9.0-RELEASE -a amd64
I've created a portstree:
# poudriere ports -c -p "current" -f datapool
But when I try to run a build:
# poudriere bulk -f portlist-current-php53-mysql55 -j 90amd64 -p current
I just get an an error:
Code:
mount: /usr/local/poudriere/jails/90amd64/usr/ports/distfiles: No such file or directory
Code:
+ set -e
+ realpath /usr/local/share/poudriere/bulk.sh
+ SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
+ dirname /usr/local/share/poudriere/bulk.sh
+ SCRIPTPREFIX=/usr/local/share/poudriere
+ PTNAME=default
+ SKIPSANITY=0
+ CLEAN=0
+ . /usr/local/share/poudriere/common.sh
+ NS=poudriere
+ sysctl -n kern.features.inet
+ sysctl -n kern.features.inet6
+ IPS=11
+ RESOLV_CONF=''
+ STATUS=0
+ test -f /usr/local/share/poudriere/../../etc/poudriere.conf
+ . /usr/local/share/poudriere/../../etc/poudriere.conf
+ 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.everyware.ch.key
+ CCACHE_DIR=/data/cache/ccache
+ test -z datapool
+ [ -z /usr/local/poudriere ]
+ trap sig_handler SIGINT SIGTERM SIGKILL EXIT
+ zpool list datapool
+ zpool list -H -oversion datapool
+ ZVERSION=28
+ [ 28 = - ]
+ get_data_dir
+ local data
+ [ -n '' ]
+ zfs list -rt filesystem -H -o poudriere:type,mountpoint datapool/poudriere
+ awk '$1 == "data" { print $2 }'
+ head -n 1
+ data=/usr/local/poudriere/data
+ [ -n /usr/local/poudriere/data ]
+ echo /usr/local/poudriere/data
+ return
+ POUDRIERE_DATA=/usr/local/poudriere/data
+ : /usr/local/poudriere/data/cron
+ : svn.FreeBSD.org
+ : git://git.freebsd.org/freebsd-ports.git
+ : [url]http://ftp.ch.freebsd.org/[/url]
+ sysctl -n hw.ncpu
+ PARALLEL_JOBS=1
+ getopts f:j:J:cn:p:tsw FLAG
+ LISTPKGS=portlist-current-php53-mysql55
+ getopts f:j:J:cn:p:tsw FLAG
+ jail_exists 90amd64
+ [ 1 -ne 1 ]
+ awk -v n=90amd64 'BEGIN { ret = 1 } $1 == "rootfs" && $2 == n { ret = 0; } END { exit ret }'
+ zfs list -rt filesystem -H -o poudriere:type,poudriere:name datapool/poudriere
+ return 0
+ JAILNAME=90amd64
+ getopts f:j:J:cn:p:tsw FLAG
+ PTNAME=current
+ getopts f:j:J:cn:p:tsw FLAG
+ test -z portlist-current-php53-mysql55
+ test -f portlist-current-php53-mysql55
+ export SKIPSANITY
+ STATUS=0
+ test -z 90amd64
+ PKGDIR=/usr/local/poudriere/data/packages/90amd64-current
+ [ 0 -eq 1 ]
+ jail_get_fs 90amd64
+ [ 1 -ne 1 ]
+ zfs list -rt filesystem -H -s name -o poudriere:type,poudriere:name,name datapool/poudriere
+ awk -v n=90amd64 '$1 == "rootfs" && $2 == n { print $3 }'
+ head -1
+ JAILFS=datapool/poudriere/jails/90amd64
+ jail_get_base 90amd64
+ [ 1 -ne 1 ]
+ zfs list -rt filesystem -H -o poudriere:type,poudriere:name,mountpoint datapool/poudriere
+ awk -v n=90amd64 '$1 == "rootfs" && $2 == n { print $3 }'
+ JAILMNT=/usr/local/poudriere/jails/90amd64
+ export POUDRIERE_BUILD_TYPE=bulk
+ jail_start
+ [ 0 -ne 0 ]
+ local 'NEEDFS=linprocfs linsysfs nullfs procfs'
+ [ -n yes ]
+ NEEDFS='linprocfs linsysfs nullfs procfs tmpfs'
+ lsvfs linprocfs
+ lsvfs linsysfs
+ lsvfs nullfs
+ lsvfs procfs
+ lsvfs tmpfs
+ sysctl -n compat.linux.osrelease
+ jail_exists 90amd64
+ [ 1 -ne 1 ]
+ zfs list -rt filesystem -H -o poudriere:type,poudriere:name datapool/poudriere
+ awk -v n=90amd64 'BEGIN { ret = 1 } $1 == "rootfs" && $2 == n { ret = 0; } END { exit ret }'
+ return 0
+ jail_runs
+ [ 0 -ne 0 ]
+ jls -qj 90amd64 name
+ return 1
+ zset status start:
+ [ 2 -ne 2 ]
+ zfs set poudriere:status=start: datapool/poudriere/jails/90amd64
+ zfs destroy -r datapool/poudriere/jails/90amd64/build
+ :
+ zfs rollback -R datapool/poudriere/jails/90amd64@clean
+ msg 'Mounting system devices for 90amd64'
+ echo '====>> Mounting system devices for 90amd64'
====>> Mounting system devices for 90amd64
+ do_jail_mounts 1
+ [ 1 -ne 1 ]
+ local should_mkdir=1
+ [ 1 -eq 1 ]
+ mkdir -p /usr/local/poudriere/jails/90amd64/proc
+ mkdir -p /usr/local/poudriere/jails/90amd64/compat/linux/proc
+ mkdir -p /usr/local/poudriere/jails/90amd64/compat/linux/sys
+ mount -t devfs devfs /usr/local/poudriere/jails/90amd64/dev
+ mount -t procfs proc /usr/local/poudriere/jails/90amd64/proc
+ mount -t linprocfs linprocfs /usr/local/poudriere/jails/90amd64/compat/linux/proc
+ mount -t linsysfs linsysfs /usr/local/poudriere/jails/90amd64/compat/linux/sys
+ test -n /etc/resolv.conf
+ cp -v /etc/resolv.conf /usr/local/poudriere/jails/90amd64/etc/
/etc/resolv.conf -> /usr/local/poudriere/jails/90amd64/etc/resolv.conf
+ msg 'Starting jail 90amd64'
+ 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 current
+ [ 1 -ne 1 ]
+ zfs list -rt filesystem -H -o poudriere:type,poudriere:name,mountpoint datapool/poudriere
+ awk -v n=current '$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-current ]
+ [ -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-current/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-current /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'
+ [ 2 -ne 2 ]
+ [ 1 -eq 1 ]
+ cleanup
+ [ -n '' ]
+ export CLEANING_UP=1
+ [ -z 90amd64 ]
+ log_stop
+ [ -n '' ]
+ [ '/usr/local/poudriere/jails/90amd64/*.pid' = '/usr/local/poudriere/jails/90amd64/*.pid' ]
+ break
+ wait
+ zfs destroy -r datapool/poudriere/jails/90amd64/build
+ :
+ zfs destroy -r datapool/poudriere/jails/90amd64@prepkg
+ :
+ zfs destroy -r datapool/poudriere/jails/90amd64@prebuild
+ :
+ jail_stop
+ [ 0 -ne 0 ]
+ jail_runs
+ [ 0 -ne 0 ]
+ jls -qj 90amd64 name
+ return 0
+ zset status stop:
+ [ 2 -ne 2 ]
+ zfs set poudriere:status=stop: datapool/poudriere/jails/90amd64
+ jail -r 90amd64
+ [ 1 -ne 0 ]
+ jot -w %02d 1
+ jail -r 90amd64-job-01
+ :
+ msg 'Umounting file systems'
+ echo '====>> Umounting file systems'
====>> Umounting file systems
+ mount
+ awk -v mnt=/usr/local/poudriere/jails/90amd64/ 'BEGIN{ gsub(/\//, "\\\/", mnt); } { if ($3 ~ mnt && $1 !~ /\/dev\/md/ ) { print $3 }}'
+ sort -r
+ umount -f /usr/local/poudriere/jails/90amd64/usr/ports/packages
+ umount -f /usr/local/poudriere/jails/90amd64/usr/ports
+ umount -f /usr/local/poudriere/jails/90amd64/proc
+ umount -f /usr/local/poudriere/jails/90amd64/dev
+ umount -f /usr/local/poudriere/jails/90amd64/compat/linux/sys
+ umount -f /usr/local/poudriere/jails/90amd64/compat/linux/proc
+ [ -n '' ]
+ zfs rollback -R datapool/poudriere/jails/90amd64@clean
+ zset status idle:
+ [ 2 -ne 2 ]
+ zfs set poudriere:status=idle: datapool/poudriere/jails/90amd64
+ export STATUS=0
+ echo 'Failed to mount the distfile directory'
Failed to mount the distfile directory
+ [ -n ]
+
+ exit 1
+ sig_handler
+ [ -z '' ]
+ export CAUGHT_SIGNAL=1
+ [ 0 -eq 1 ]
+ exit
Anyone got an idea?