From owner-freebsd-perl@FreeBSD.ORG Tue Oct 8 07:00:02 2013 Return-Path: Delivered-To: perl@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4444F723 for ; Tue, 8 Oct 2013 07:00:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 324A5284B for ; Tue, 8 Oct 2013 07:00:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r98701Sk097444 for ; Tue, 8 Oct 2013 07:00:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r98701rv097443; Tue, 8 Oct 2013 07:00:01 GMT (envelope-from gnats) Date: Tue, 8 Oct 2013 07:00:01 GMT Message-Id: <201310080700.r98701rv097443@freefall.freebsd.org> To: perl@FreeBSD.org From: "Dewayne" Subject: Re: ports/182790: Perl 5.16.3 & 5.18.1_1 package build failure X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Dewayne List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Oct 2013 07:00:02 -0000 The following reply was made to PR ports/182790; it has been noted by GNATS. From: "Dewayne" To: Cc: Subject: Re: ports/182790: Perl 5.16.3 & 5.18.1_1 package build failure Date: Tue, 8 Oct 2013 17:52:00 +1100 The following make command, compresses the man pages and the package is built: make __MAKE_CONF=/dev/null WRKDIRPREFIX=/var/ports DISTDIR=/distfiles TMPDIR=/tmp PACKAGES=/packages -DBATCH DEFAULT_VERSIONS=perl5=5.16 clean deinstall package The following installs, but does not produce a package due to absent pkg-plist man pages: make __MAKE_CONF=/dev/null WRKDIRPREFIX=/var/ports DISTDIR=/distfiles TMPDIR=/tmp PACKAGES=/packages -DNO_STAGE -DBATCH DEFAULT_VERSIONS=perl5=5.16 clean deinstall package Clearly when NO_STAGE is set, it inhibits the "Compressing man pages" phase for devel/autoconf, lang/perl5.16 and lang/perl5.18; and prevents the success of a package build. It is an intended effect that if NO_STAGE is set that the port is installed in the usual place /usr/local. Though I've only focused on these three packages). As a suggested workaround for those building packages, I'd suggest adding to make.conf, something like: STAGEDIR= /staging Because some ports do look for other components before they will correctly build. (and no, STAGEDIR=/dev/null does not work, and is a little silly) The ports system will create $STAGEDIR (using mkdir) and populate the BSD tree, under /usr. Aside: I wonder what happens if PREFIX=/not-under-usr ;) Regards, Dewayne.