Subject: Re: security/pam-ldap is broken??
To: None <segv@netctl.net>
From: None <segv@netctl.net>
List: tech-pkg
Date: 12/02/2005 19:31:36
On Fri, 2 Dec 2005 19:19:37 +0000
segv@netctl.net wrote:

> Trying to build this package on Solaris 10, anyone knows how to fix it?
> 
> ===> Patching for pam-ldap-180
> ===> Applying pkgsrc patches for pam-ldap-180
> ===> Overriding tools for pam-ldap-180
> pkg_info: missing package name(s)
> usage: pkg_info [-BbcDdFfhIikLmNnpqRrSsVv] [-e package] [-K pkg_dbdir] [-l
> prefix] pkg-name [...]
>        pkg_info [-a | -u] [flags]
>        pkg_info -Q variable pkg-name [pkg-name ...]
> bmake:
> "../../mk/wrapper/../../mk/buildlink3/../../mk/wrapper/../../mk/buildlink3/bsd.buildlink3.mk"
> line 325: warning: Couldn't read shell's output for "/opt/pkg/sbin/pkg_info
> -K . -qp  | /opt/pkg/bin/nbsed  -e "s,^[^/]*,,;q""
> ===> Creating toolchain wrappers for pam-ldap-180
> /bin/sh: syntax error at line 1: `*not_found' unexpected *** Error code 2
> 
> Stop.
> bmake: stopped in /opt/pkgsrc-171105/security/pam-ldap
> *** Error code 1
> 
> Stop.
> bmake: stopped in /opt/pkgsrc-171105/security/pam-ldap

Well I had PREFER_PKGSRC=yes in my mk.conf, which caused the above errors. Is
there a problem with some makefiles in pkgsrc?