From nobody@FreeBSD.org  Sun Dec 29 22:29:42 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 964D6612
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 29 Dec 2013 22:29:42 +0000 (UTC)
Received: from oldred.freebsd.org (oldred.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 769581DCB
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 29 Dec 2013 22:29:42 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rBTMTgdA098358
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 29 Dec 2013 22:29:42 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rBTMTgVn098357;
	Sun, 29 Dec 2013 22:29:42 GMT
	(envelope-from nobody)
Message-Id: <201312292229.rBTMTgVn098357@oldred.freebsd.org>
Date: Sun, 29 Dec 2013 22:29:42 GMT
From: Mathieu Simon <mathieu.sim@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Dokuwiki build works but not added into pkgng repo
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         185279
>Category:       ports
>Synopsis:       www/dokuwiki build works but not added into pkgng repo
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    delphij
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 29 22:30:01 UTC 2013
>Closed-Date:    Mon Mar 03 09:06:39 UTC 2014
>Last-Modified:  Mon Mar 03 09:06:39 UTC 2014
>Originator:     Mathieu Simon
>Release:        10.0-RC3
>Organization:
>Environment:
FreeBSD poudriere 10.0-RC3 FreeBSD 10.0-RC3 #0 r259778: Mon Dec 23 23:27:58 UTC 2013     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

poudriere 3.0.13
>Description:
After trying to slim down make.conf I'm not fully but bit more certain something gets messed up when building dokuwiki as package using poudriere.

First: Installing plainly from ports seems to work.

I've come down to a minimal make.conf and a package list only containing www/dokuwiki. The package seems to build (says the log) but package never gets added to the repo. Even when there is no change to the dokuwiki port running a poudriere bulk run it rebuilds dokuwiki.

# poudriere bulk -j 10rc3-test -f /usr/local/etc/poudriere-dokuwiki
====>> Creating the reference jail... done
====>> Mounting system devices for 10rc3-test-default
====>> Mounting ports/packages/distfiles
====>> Mounting packages from: /usr/local/poudriere/data/packages/10rc3-test-default
====>> Mounting /var/db/ports from: /usr/local/etc/poudriere.d/options
====>> Logs: /usr/local/poudriere/data/logs/bulk/10rc3-test-default/2013-12-29_23h23m53s
====>> Appending to make.conf: /usr/local/etc/poudriere.d/10rc3-test-make.conf
/etc/resolv.conf -> /usr/local/poudriere/data/build/10rc3-test-default/ref/etc/resolv.conf
====>> Starting jail 10rc3-test-default
====>> Calculating ports order and dependencies
====>> Sanity checking the repository
====>> Deleting dokuwiki-20131208.txz: new dependency: lang/php5
====>> Deleting stale symlinks
====>> Deleting empty directories
====>> Cleaning the build queue
====>> Building 1 packages using 1 builders
====>> Starting/Cloning builders
====>> Hit CTRL+t at any time to see build progress and stats
====>> [01] Starting build of www/dokuwiki
====>> [01] Finished build of www/dokuwiki: Success
====>> Stopping 1 builders
====>> Creating pkgng repository
Generating repository catalog in /packages: done!
====>> Cleaning up
====>> Umounting file systems
====>> Built ports: www/dokuwiki

====>> [10rc3-test-default] 1 packages built, 0 failures, 0 ignored, 0 skipped

A .txz should get built but it is missing in the packagesite archive thus not indexed in the package repo. Re-running poudriere consistently yields the same results.
>How-To-Repeat:
- Install poudriere from ports or pkg
- Create a fresh poudriere jail with 10.0-RC3 (I used amd64)
- Have package list containing solely www/dokuwiki
- Have a make.conf like this one:
WITH_PKGNG=yes

MASTER_SITE_BACKUP?= \
http://ftp.ch.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR/}
RANDOMIZE_MASTER_SITES=yes

- Run poudriere like this: 
$ poudriere bulk -j 10rc3-test -f /usr/local/etc/poudriere-test.list

A .txz should get built but it is missing in the packagesite archive thus not indexed in the package repo.
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->delphij 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Dec 30 03:01:58 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=185279 

From: Mathieu Simon <mathieu.sim@gmail.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/185279: Dokuwiki build works but not added into pkgng repo
Date: Wed, 8 Jan 2014 00:53:56 +0100

 --001a1135e9d6e22c2304ef6a16df
 Content-Type: text/plain; charset=ISO-8859-1
 
 Hi
 
 bapt@ made a change to this port just a day ago in r338960, unfortunately I
 can't
 say whether this was what caused poudriere to fail, but at least now I can
 build it consistently.
 
 If I don't ping up again please close that PR as solved, thanks!
 
 -- Mathieu
 
 --001a1135e9d6e22c2304ef6a16df
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 
 <div dir=3D"ltr">Hi<div><br></div><div>bapt@ made a change to this port jus=
 t a day ago in r338960, unfortunately I can&#39;t=A0</div><div>say whether =
 this was what caused poudriere to fail, but at least now I can build it con=
 sistently.</div>
 <div><br></div><div>If I don&#39;t ping up again please close that PR as so=
 lved, thanks!</div><div><br></div><div>-- Mathieu</div></div>
 
 --001a1135e9d6e22c2304ef6a16df--
State-Changed-From-To: open->closed 
State-Changed-By: delphij 
State-Changed-When: Mon Mar 3 09:06:28 UTC 2014 
State-Changed-Why:  
Closed per submitter request. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=185279 
>Unformatted:
