Port net/nss-pam-ldapd-sasl fails to install due to the error shown below:
Making install in tests
====> Compressing man pages (compress-man)
===> Staging rc.d startup script(s)
====> Running Q/A tests (stage-qa)
Error: '/usr/bin/env python' is an invalid shebang you need USES=shebangfix for 'share/nslcd-utils/chsh.py'
Error: '/usr/bin/env python' is an invalid shebang you need USES=shebangfix for 'share/nslcd-utils/getent.py'
Warning: Bad symlink '/usr/local/bin/getent.ldap' pointing to an absolute pathname '/usr/local/share/nslcd-utils/getent.py'
Warning: Bad symlink '/usr/local/bin/chsh.ldap' pointing to an absolute pathname '/usr/local/share/nslcd-utils/chsh.py'
Warning: /usr/ports/net/nss-pam-ldapd-sasl/work/stage/usr/local/lib/pam_ldap.so.1 doesn't have a SONAME.
Warning: pkg(8) will not register it as being provided by the port.
Warning: If another port depend on it, pkg will not be able to know where it comes from.
Warning: It is directly in /usr/local/lib, it is probably used by other ports.
*** Error code 1
I'm unable to reproduce this. We don't install any python scripts with this port.
Can you please share your OS version (uname -r), verify that you have a current ports tree and that you are trying to install 0.9.10_1.
FreeBSD 13.0-CURRENT #188 r350050: Tue Jul 16 18:09:54 CEST 2019 amd64
The ports tree is at
Can you share your make.conf and any other build-related settings? In digging through the Makefile, it looks like something is defining ENABLE_UTILS.
*** Bug 238679 has been marked as a duplicate of this bug. ***