After enabling the Python bindings in the configuration of unbound 1.4.22_4, the installation procedure fails with the following error: ===> Installing for unbound-1.4.22_4 ===> unbound-1.4.22_4 depends on file: /usr/local/lib/libcrypto.so.8 - found ===> unbound-1.4.22_4 depends on file: /usr/local/bin/python2.7 - found ===> unbound-1.4.22_4 depends on shared library: libexpat.so - found (/usr/local/lib/libexpat.so.6.0.0) ===> unbound-1.4.22_4 depends on shared library: libldns.so - found (/usr/local/lib/libldns.so.1.6.17) ===> Registering installation for unbound-1.4.22_4 pkg-static: lstat(/usr/ports/dns/unbound/work/stage/usr/local/lib/python2.7/site-packages/_unbound.so.4): No such file or directory *** Error code 74 The pkg-plist contains the line: %%PYTHON%%%%PYTHON_SITELIBDIR%%/_unbound.so.4 This file does not seem to exist after building: $ pwd /usr/ports/dns/unbound/work/stage/usr/local/lib/python2.7/site-packages $ ls -al total 308 drwxr-xr-x 2 root wheel 512 Aug 27 22:46 . drwxr-xr-x 3 root wheel 512 Aug 27 22:46 .. -rw-r--r-- 1 root wheel 108664 Aug 27 22:46 _unbound.a lrwxr-xr-x 1 root wheel 17 Aug 27 22:46 _unbound.so -> _unbound.so.2.2.1 lrwxr-xr-x 1 root wheel 17 Aug 27 22:46 _unbound.so.2 -> _unbound.so.2.2.1 -rwxr-xr-x 1 root wheel 87349 Aug 27 22:46 _unbound.so.2.2.1 -rw-r--r-- 1 root wheel 34891 Aug 27 22:46 unbound.py -rw-r--r-- 1 root wheel 66776 Aug 27 22:46 unboundmodule.py
This was fixed in r366293 [1] that fixed bug 193057 Can you update your tree and confirm please. [1] https://svnweb.freebsd.org/changeset/ports/366293
Confirmed as duplicate of bug 193057 and fixed now. *** This bug has been marked as a duplicate of bug 193057 ***