From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jun 19 03:08:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@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 B5126364 for ; Thu, 19 Jun 2014 03:08:01 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 827412D69 for ; Thu, 19 Jun 2014 03:08:01 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5J381lb035970 for ; Thu, 19 Jun 2014 04:08:01 +0100 (BST) (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 191145] Staging package build can't find info Date: Thu, 19 Jun 2014 03:08:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Infrastructure X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dewayne@heuristicsystems.com.au X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jun 2014 03:08:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191145 --- Comment #1 from dewayne@heuristicsystems.com.au --- Please close this port. The solution is to use pkgng. Building net/samba41 and security/heimdal (heimdal uses PREFIX!=/usr/local) using pkg_* tools on both i386 and amd64 based systems using FreeBSD 9.3-Beta3, results in: Failure for net/samba41 (PREFIX=/usr/local) ===> Staging rc.d startup script(s) *** [pre-build] Error code 71 (ignored) ... (11 of the above error code 71) ===> Building package for samba41-4.1.7 tar: lib/python2.7/site-packages/samba/external/dns/__init__.py: Cannot stat: No such file or directory tar: lib/python2.7/site-packages/samba/external/dns/dnssec.py: Cannot stat: No such file or directory ... Failure for security/heimdal (PREFIX=/usr) Creating bzip'd tar ball in '/var/ports/usr/ports/security/heimdal/work/pkg/heimdal-1.5.2_5.tbz' tar: share/info/heimdal.info: Cannot stat: No such file or directory tar: share/info/hx509.info: Cannot stat: No such file or directory Clearly there's a pattern. After days of struggling with this and similar problems that are not attributable to the application's port, the solution is to: cd /usr/ports/ports-mgmt/pkg && make install echo "WITH_PKGNG=yes" >> /etc/make.conf pkg2ng and then your package failures magically disappear, along with the illusion that pkg_* is supported. Aside: Packages which are build with pkg_* do not work with pkg, and vice versa. -- You are receiving this mail because: You are the assignee for the bug.