[Bug 191145] Staging package build can't find info

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jun 19 03:08:01 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191145

--- Comment #1 from dewayne at 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.


More information about the freebsd-ports-bugs mailing list