Date: Thu, 19 Jun 2014 03:08:01 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 191145] Staging package build can't find info Message-ID: <bug-191145-13-dZgh14zmqI@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-191145-13@https.bugs.freebsd.org/bugzilla/> References: <bug-191145-13@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-191145-13-dZgh14zmqI>