From nobody@FreeBSD.org  Sat Feb  8 01:25:23 2014
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 C2978438
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  8 Feb 2014 01:25:23 +0000 (UTC)
Received: from newred.freebsd.org (cgiserv.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 AC9451D14
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  8 Feb 2014 01:25:23 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
	by newred.freebsd.org (8.14.7/8.14.7) with ESMTP id s181PNNs046585
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 8 Feb 2014 01:25:23 GMT
	(envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
	by cgiserv.freebsd.org (8.14.7/8.14.7/Submit) id s181PNwE046578;
	Sat, 8 Feb 2014 01:25:23 GMT
	(envelope-from nobody)
Message-Id: <201402080125.s181PNwE046578@cgiserv.freebsd.org>
Date: Sat, 8 Feb 2014 01:25:23 GMT
From: Jason Byrne <slvr32@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: release build fails trying to build pkg-1.2.5/pkg-static
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         186554
>Category:       ports
>Synopsis:       ports-mgmt/pkg: release build fails trying to build pkg-1.2.5/pkg-static
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    re
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 08 01:30:00 UTC 2014
>Closed-Date:    Mon Feb 10 07:18:57 UTC 2014
>Last-Modified:  Mon Feb 10 19:40:00 UTC 2014
>Originator:     Jason Byrne
>Release:        10.0 release
>Organization:
>Environment:
FreeBSD 10.0-RELEASE #0 r260789 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386
>Description:
10.0/releng release build fails on pkg-1.2.5/pkg-static build with error:

===> Installing for pkg-1.2.5
===> Checking if ports-mgmt/pkg already installed
===>  Registering installation for pkg-1.2.5
pkg-static: Cannot open /var/run/ld-elf.so.hints": No such file or directory
*** Error code 1

Stop.
make[2]: stopped in /usr/ports-mgmt/pkg
*** Error code 1

Stop.
make: stopped in /usr/ports/textproc/docproj
>How-To-Repeat:
# mkdir /var/10.0
# cd /usr/src/release
# sh generate-release.sh releng/10.0 /var/10.0

>Fix:
Make sure /var/run/ld-elf.so.hints exists before trying to build pkg-static?

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->portmgr 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Feb 10 05:02:36 UTC 2014 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

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

From: Jason Byrne <slvr32@gmail.com>
To: Bryan Drewery <bdrewery@freebsd.org>
Cc: bug-followup@freebsd.org, portmgr@freebsd.org
Subject: Re: ports/186554: ports-mgmt/pkg: release build fails trying to build pkg-1.2.5/pkg-static
Date: Sun, 9 Feb 2014 21:19:39 -0800

 I was really trying to report this bug in the context of 'release'
 building, if you look at the specifics of the bug report.
 
 On Sun, Feb 9, 2014 at 9:12 PM, Bryan Drewery <bdrewery@freebsd.org> wrote:
 > 1.2.5? Your ports tree is quite outdated. 1.2.6 was released Feb 1st.
 >
 > --
 > Regards,
 > Bryan Drewery

From: Bryan Drewery <bdrewery@FreeBSD.org>
To: Jason Byrne <slvr32@gmail.com>, bug-followup@FreeBSD.org,
        portmgr@FreeBSD.org
Cc:  
Subject: Re: ports/186554: ports-mgmt/pkg: release build fails trying to build
 pkg-1.2.5/pkg-static
Date: Sun, 09 Feb 2014 23:12:28 -0600

 1.2.5? Your ports tree is quite outdated. 1.2.6 was released Feb 1st.
 
 -- 
 Regards,
 Bryan Drewery

From: Bryan Drewery <bdrewery@FreeBSD.org>
To: Jason Byrne <slvr32@gmail.com>
Cc: bug-followup@freebsd.org, portmgr@freebsd.org
Subject: Re: ports/186554: ports-mgmt/pkg: release build fails trying to build
 pkg-1.2.5/pkg-static
Date: Sun, 09 Feb 2014 23:25:01 -0600

 On 2/9/2014 11:19 PM, Jason Byrne wrote:
 > I was really trying to report this bug in the context of 'release'
 > building, if you look at the specifics of the bug report.
 > 
 
 Are you referring to the RELEASE_10_0_0 tagged ports tree? This is
 static and cannot change. Missing /var/run/ld-elf.so.hints is not a
 problem related to pkg. It's there by default so I am not sure what
 happened with your system. Try running 'service ldconfig restart'. That
 should generate the file for you.
 
 -- 
 Regards,
 Bryan Drewery

From: Jason Byrne <slvr32@gmail.com>
To: Bryan Drewery <bdrewery@freebsd.org>
Cc: bug-followup@freebsd.org, portmgr@freebsd.org
Subject: Re: ports/186554: ports-mgmt/pkg: release build fails trying to build pkg-1.2.5/pkg-static
Date: Sun, 9 Feb 2014 21:35:51 -0800

 I think the context is clear in my bug report, and maybe this bug
 report should be moved to another area, not 'ports'?
 
 Release builds happen in a chroot environment, and again, I'm
 reporting this as a bug that breaks 'release' building, and the
 appropriate dependency checking, Makefile targets, etc... before 'pkg'
 is built may be to blame.
Responsible-Changed-From-To: portmgr->bdrewery 
Responsible-Changed-By: bdrewery 
Responsible-Changed-When: Sun Feb 9 23:42:54 CST 2014 
Responsible-Changed-Why:  
generate-release.sh issue 

http://www.freebsd.org/cgi/query-pr.cgi?pr=186554 
Responsible-Changed-From-To: bdrewery->re 
Responsible-Changed-By: bdrewery 
Responsible-Changed-When: Sun Feb 9 23:44:41 CST 2014 
Responsible-Changed-Why:  
generate-release.sh issue 

http://www.freebsd.org/cgi/query-pr.cgi?pr=186554 
State-Changed-From-To: open->closed 
State-Changed-By: gjb 
State-Changed-When: Mon Feb 10 07:18:29 UTC 2014 
State-Changed-Why:  
Fixed in stable/10@261706, stable/9@261707. 


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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/186554: commit references a PR
Date: Mon, 10 Feb 2014 07:16:54 +0000 (UTC)

 Author: gjb
 Date: Mon Feb 10 07:16:46 2014
 New Revision: 261706
 URL: http://svnweb.freebsd.org/changeset/base/261706
 
 Log:
   Run ldconfig(8) rc script before building ports so
   ld-elf.so.hints exists for pkg(8).
   
   This is a direct commit to stable/10 as generate-release.sh
   does not exist in head/.
   
   PR:		186554
   Sponsored by:	The FreeBSD Foundation
 
 Modified:
   stable/10/release/generate-release.sh
 
 Modified: stable/10/release/generate-release.sh
 ==============================================================================
 --- stable/10/release/generate-release.sh	Mon Feb 10 06:29:05 2014	(r261705)
 +++ stable/10/release/generate-release.sh	Mon Feb 10 07:16:46 2014	(r261706)
 @@ -109,6 +109,7 @@ if [ -d ${CHROOTDIR}/usr/doc ]; then 
  	cp /etc/resolv.conf ${CHROOTDIR}/etc/resolv.conf
  
  	# Install docproj to build release documentation
 +	${CHROOT_CMD} /etc/rc.d/ldconfig forcerestart
  	${CHROOT_CMD} /bin/sh -c \
  		'make -C /usr/ports/textproc/docproj \
  			BATCH=yes \
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/186554: commit references a PR
Date: Mon, 10 Feb 2014 07:17:54 +0000 (UTC)

 Author: gjb
 Date: Mon Feb 10 07:17:46 2014
 New Revision: 261707
 URL: http://svnweb.freebsd.org/changeset/base/261707
 
 Log:
   Run ldconfig(8) rc script before building ports so
   ld-elf.so.hints exists for pkg(8).
   
   This is a direct commit to stable/9 as generate-release.sh
   does not exist in head/.
   
   PR:		186554
   Sponsored by:	The FreeBSD Foundation
 
 Modified:
   stable/9/release/generate-release.sh
 
 Modified: stable/9/release/generate-release.sh
 ==============================================================================
 --- stable/9/release/generate-release.sh	Mon Feb 10 07:16:46 2014	(r261706)
 +++ stable/9/release/generate-release.sh	Mon Feb 10 07:17:46 2014	(r261707)
 @@ -109,6 +109,7 @@ if [ -d ${CHROOTDIR}/usr/doc ]; then 
  	cp /etc/resolv.conf ${CHROOTDIR}/etc/resolv.conf
  
  	# Install docproj to build release documentation
 +	${CHROOT_CMD} /etc/rc.d/ldconfig forcerestart
  	${CHROOT_CMD} /bin/sh -c \
  		'make -C /usr/ports/textproc/docproj \
  			BATCH=yes \
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 

From: Jason Byrne <slvr32@gmail.com>
To: Bryan Drewery <bdrewery@freebsd.org>
Cc: bug-followup@freebsd.org, portmgr@freebsd.org
Subject: Re: ports/186554: ports-mgmt/pkg: release build fails trying to build pkg-1.2.5/pkg-static
Date: Mon, 10 Feb 2014 11:19:05 -0800

 I saw gjb's commits to the stable/9 and stable/10 branches to address
 this issue, but could someone please also patch releng/10.0 with this
 fix, since that's
 the branch I mentioned in my original bug report?
 
 On Sun, Feb 9, 2014 at 9:35 PM, Jason Byrne <slvr32@gmail.com> wrote:
 > I think the context is clear in my bug report, and maybe this bug
 > report should be moved to another area, not 'ports'?
 >
 > Release builds happen in a chroot environment, and again, I'm
 > reporting this as a bug that breaks 'release' building, and the
 > appropriate dependency checking, Makefile targets, etc... before 'pkg'
 > is built may be to blame.

From: Glen Barber <gjb@FreeBSD.org>
To: Jason Byrne <slvr32@gmail.com>
Cc: re@FreeBSD.org, bug-followup@FreeBSD.org
Subject: Re: ports/186554: ports-mgmt/pkg: release build fails trying to
 build pkg-1.2.5/pkg-static
Date: Mon, 10 Feb 2014 14:30:22 -0500

 --DHdTHwZuIuFUI+Ax
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Mon, Feb 10, 2014 at 07:20:00PM +0000, Jason Byrne wrote:
 >  I saw gjb's commits to the stable/9 and stable/10 branches to address
 >  this issue, but could someone please also patch releng/10.0 with this
 >  fix, since that's
 >  the branch I mentioned in my original bug report?
 > =20
 
 Already sent this to Jason before seeing the PR updated:
 
 It is unlikely.  At this point, only security fixes and errata items
 will be committed to releng/10.0/.  FWIW, release.sh in releng/10.0/ has
 this fix.  I did not use generate-release.sh for the release builds, so
 did not realize this problem was present there.
 =20
 Glen
 
 
 --DHdTHwZuIuFUI+Ax
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.22 (FreeBSD)
 
 iQIcBAEBCAAGBQJS+SjOAAoJELls3eqvi17QDAwP/3YXm16cF2IxRp/Ik6dgKpu8
 l70F8s8Fww9gVTtwt+illSMiaRgjsw5x3xnW5PcGzLwKAAh7Blk+IAHW0dESnKTS
 /+1U3Pwp/slxWD9KWmAKBHRqOIHsLlsKCJyRmbe9V05pHrriXXXDpsKIKjPkZRtm
 iLS0WU/NoQUUS18h2QWqYs1ABZieAFZ4Qhd93dMBYCOBvsM8Thg1F5aW3pfHWY9K
 gh6K0z/KmsyejeTxTVqWiHDPKGRoDPQmBzbnCNFjAnI8k9Iz+slBFjZ8ZIY/ITOV
 OlWvkns19D60HyQp0yMKLIivtkO2Fslcl+70sh7mkRKPY6y0oFCGvY2RyM6tmxRq
 UcYtjcqt5ehWKkImMMj2/rC+NN56Ymcbz+GGPiZ/PO+Ljaj5xCC3yWV9A4q9gg15
 EbGibDyDoxxgvDx/7AnJDNmc9IY++0+4FV57BNr7QADNOcm7atIwCxAo1vPjK393
 wAeDbmGgjpSYK9Ee1fiC/qLu3h2CdWLnwgBkKX6PUDsVw6KDkLohATlWLZjz01vu
 ysg0SSQyf0GV2+SdVBdEhRwPPEgVIP0hvjUnKpLQtcYWMxeaQFa3qo6kt00zza/s
 NShG9+LuDAl7B2gCe/94vuHVH24Dc2EGDbxy1WJskosjWd966or0ZLA4QK8RcCne
 HuBrpporYVBXSngBSc1t
 =mj7w
 -----END PGP SIGNATURE-----
 
 --DHdTHwZuIuFUI+Ax--
>Unformatted:
