Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Jun 2014 13:36:21 +0800
From:      Gregory Orange <gregory.orange@calorieking.com>
To:        freebsd-ports@freebsd.org
Subject:   poudriere build failure
Message-ID:  <538EB055.6090006@calorieking.com>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?538EB055.6090006>