poudriere build failure

Gregory Orange gregory.orange at calorieking.com
Wed Jun 4 05:36:35 UTC 2014


I've got poudriere building most of a set of ports with default 
settings, default jail, 8.4-RELEASE amd64 both host and target.

However, it's failing on a couple at the fetch stage. For example, 
databases/db42, db42-4.2.52_5 fails to build devel/libtool. 
devel/libtool direct succeeds though!

May I have some help troubleshooting this please? Details below.

TIA,
Greg.


CONFIG

$ diff -u poudriere.conf.sample poudriere.conf|egrep "^[+-]"
-#NO_ZFS=yes
+NO_ZFS=yes
-FREEBSD_HOST=_PROTO_://_CHANGE_THIS_
+FREEBSD_HOST=ftp://ftp.freebsd.org


WORKING BUILD (mostly)

# poudriere bulk -C -j 84amd64 devel/libtool
====>> [84amd64-default] 1 packages built, 0 failures, 0 ignored, 0 skipped

# tail -5 
/usr/local/poudriere/data/logs/bulk/84amd64-default/2014-06-04_13h27m55s/logs/libtool-2.4.2_3.log
tar: Error opening archive: Failed to open 
'/packages/All/libtool-2.4.2_3.tbz'
tar: Error opening archive: Failed to open 
'/packages/All/libtool-2.4.2_3.tbz'
tar: Error opening archive: Failed to open 
'/packages/All/libtool-2.4.2_3.tbz'

I think packages should end up in this dir, but it's basically empty:
$ ls -lR /usr/local/poudriere/data/packages/84amd64-default
total 4
drwxr-xr-x  2 root  wheel  512 Jun  4 13:28 All
-rw-r--r--  1 root  wheel  174 Jun  4 13:28 INDEX-8.bz2

/usr/local/poudriere/data/packages/84amd64-default/All:
total 0


FAILING BUILD

# poudriere bulk -C -j 84amd64 databases/db42
====>> Built ports: devel/libtool
====>> Failed ports: databases/db42:build-depends
====>> [84amd64-default] 1 packages built, 1 failures, 0 ignored, 0 skipped

Looking in the log file for the failed db42 build, I get lots of failed 
fetches:
=> libtool-2.4.2.tar.gz doesn't seem to exist in /portdistfiles/.
fetch: 
http://distcache.FreeBSD.org/ports-distfiles/libtool-2.4.2.tar.gz: No 
address record
=> Couldn't fetch it - please try to retrieve this
=> port manually into /portdistfiles/ and try again.
*** Error code 1

In the build prep, it shows the following, so I figure fetch should be 
working:
/etc/resolv.conf -> 
/usr/local/poudriere/data/build/84amd64-default/ref/etc/resolv.conf

Removing and fetching again yields the same file that's already there):
# md5 /usr/ports/distfiles/libtool-2.4.2.tar.gz
MD5 (/usr/ports/distfiles/libtool-2.4.2.tar.gz) = 
d2f3b7d4627e69e13514a40e72a24d50

PS: If this is the wrong list for this, please point me elsewhere if you 
know somewhere better.


More information about the freebsd-ports mailing list