From owner-freebsd-ports@FreeBSD.ORG Wed Feb 26 00:14:02 2014 Return-Path: Delivered-To: freebsd-ports@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 4DCC1FE7; Wed, 26 Feb 2014 00:14:02 +0000 (UTC) Received: from nskntqsrv01p.mx.bigpond.com (nskntqsrv01p.mx.bigpond.com [61.9.168.231]) by mx1.freebsd.org (Postfix) with ESMTP id 888001BA4; Wed, 26 Feb 2014 00:14:01 +0000 (UTC) Received: from nskntcmgw06p ([61.9.169.166]) by nskntmtas06p.mx.bigpond.com with ESMTP id <20140225234701.HLOM7536.nskntmtas06p.mx.bigpond.com@nskntcmgw06p>; Tue, 25 Feb 2014 23:47:01 +0000 Received: from hermes.heuristicsystems.com.au ([121.210.107.100]) by nskntcmgw06p with BigPond Outbound id Wnn01n00X29zwdD01nn0Gf; Tue, 25 Feb 2014 23:47:01 +0000 X-Authority-Analysis: v=2.0 cv=Obga/2vY c=1 sm=1 a=SEJ2iDwVkb98DYvesvueMw==:17 a=JipEcVzqA9wA:10 a=8nJEP1OIZ-IA:10 a=GHIR_BbyAAAA:8 a=yJIqcyT6bu4A:10 a=6I5d2MoRAAAA:8 a=D3gPm5nsoyiBNWQNe-gA:9 a=wPNLvfGTeEIA:10 a=SEJ2iDwVkb98DYvesvueMw==:117 Received: from [10.0.5.3] (ewsw01.hs [10.0.5.3]) (authenticated bits=0) by hermes.heuristicsystems.com.au (8.14.5/8.13.6) with ESMTP id s1PNl3tW096102 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 26 Feb 2014 10:47:04 +1100 (EST) (envelope-from dewayne.geraghty@heuristicsystems.com.au) Message-ID: <530D2B6E.2060908@heuristicsystems.com.au> Date: Wed, 26 Feb 2014 10:46:54 +1100 From: Dewayne Geraghty User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Baptiste Daroussin Subject: Re: Support for pkg_* References: <530C5793.2070208@heuristicsystems.com.au> <20140225164611.GJ83610@ithaqua.etoilebsd.net> In-Reply-To: <20140225164611.GJ83610@ithaqua.etoilebsd.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "freebsd-ports@freebsd.org" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Feb 2014 00:14:02 -0000 On 26/02/2014 3:46 AM, Baptiste Daroussin wrote: > On Tue, Feb 25, 2014 at 07:42:59PM +1100, Dewayne Geraghty wrote: >> Has support for the pkg_* suite of tools gone away? After performing an >> svn update of my ports tree last night; both openssl and monit failed to >> build packages, due to missing man pages >> >> openssl failed, as follows >> Creating bzip'd tar ball in >> '/var/ports/usr/ports/security/openssl/work/openssl-1.0.1_9.tbz' >> tar: man/man1/CA.pl.1.gz: Cannot stat: No such file or directory >> tar: man/man1/asn1parse.1.gz: Cannot stat: No such file or directory >> ... >> tar: man/man7/des_modes.7.gz: Cannot stat: No such file or directory >> tar: Error exit delayed from previous errors. >> pkg_create: make_dist: tar command failed with code 256 >> *** [do-package] Error code 1 >> >> Stop in /usr/ports/security/openssl. >> >> >> So I reverted /usr/ports/security/openssl to 340722, but now >> >> >> monit also stops with >> >> ===> Building package for monit-5.7 >> tar: man/man1/monit.1.gz: Cannot stat: No such file or directory >> tar: Error exit delayed from previous errors. >> pkg_create: make_dist: tar command failed with code 256 >> Creating package /var/ports/usr/ports/sysutils/monit/work/monit-5.7.tbz >> Registering depends:. >> Creating bzip'd tar ball in >> '/var/ports/usr/ports/sysutils/monit/work/monit-5.7.tbz' >> *** [do-package] Error code 1 >> > What options do you have for both prots? > > regards, > Bapt Of course, I should've checked make __MAKE_CONF=/dev/null before sending, but nothing had changed between yesterday and 13 days ago when the last build-set completed. An oversight. After doing the above and working through the make.conf and ports.conf files, the issue is that I use PREFIX=/usr for many ports that provide a common service to various jails. Both openssl and monit, along with 19 other ports use this PREFIX. With everything else fixed, setting PREFIX=/usr/local builds the package, while changing the PREFIX doesn't. For monit the settings in ports.conf are: PREFIX=/usr | monit_SET=SSL & for openssl PREFIX=/usr | UNSET=I386 RC5 | openssl_SET=SSE2 ASM MD2 OPENSSL_COMPRESSION PADLOCK EC others port related being: PACKAGES=/packages STAGEDIR=/usr/staging FAVORITE_COMPILER=gcc DEFAULT_VERSIONS=perl5=5.16 python=2.7 python2=2.7 apache=22 WITH_CCACHE_BUILD=yes Further details in the PR http://www.freebsd.org/cgi/query-pr.cgi?pr=187076 Its a reflection of tiredness and frustration that I didn't include the 9.2 Stable version details, which I've frequently asked other "listers", offline to provide. Regards, Dewayne.