Bug 239255 - net/nss-pam-ldapd-sasl: install failure: Error: '/usr/bin/env python' is an invalid shebang you need USES=shebangfix
Summary: net/nss-pam-ldapd-sasl: install failure: Error: '/usr/bin/env python' is an i...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Ryan Steinmetz
URL:
Keywords:
: 238679 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-07-16 17:31 UTC by O. Hartmann
Modified: 2019-10-09 19:53 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (zi)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2019-07-16 17:31:11 UTC
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
Comment 1 Ryan Steinmetz freebsd_committer freebsd_triage 2019-07-16 19:01:58 UTC
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.
Comment 2 O. Hartmann 2019-07-17 04:28:37 UTC
OS revision:

 FreeBSD 13.0-CURRENT #188 r350050: Tue Jul 16 18:09:54 CEST 2019 amd64

The ports tree is at

r506787.
Comment 3 Ryan Steinmetz freebsd_committer freebsd_triage 2019-07-17 13:48:44 UTC
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.
Comment 4 O. Hartmann 2019-10-09 19:53:50 UTC
*** Bug 238679 has been marked as a duplicate of this bug. ***