Summary: | Staging package build can't find info | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | dewayne |
Component: | Ports Framework | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> |
Status: | Closed Works As Intended | ||
Severity: | Affects Some People | CC: | dewayne |
Priority: | --- | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
dewayne
2014-06-18 02:59:00 UTC
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. Closed by submitter's request. |