FreeBSD Port: nss-pam-ldapd-0.7.7

Douglas Thrift douglas at douglasthrift.net
Sat Jul 17 01:10:33 UTC 2010


Hello,

I was upgrading nss_ldapd to nss-pam-ldapd-0.7.7 and noticed that it was
trying to use a GNU sed'ism despite REINPLACE_CMD defaulting to
FreeBSD's sed:

[root at zweihander:nss-pam-ldapd]# make
===>  License accepted by the user
===>  Found saved configuration for nss-pam-ldapd-0.7.7
===>  Extracting for nss-pam-ldapd-0.7.7
=> MD5 Checksum OK for nss-pam-ldapd-0.7.7.tar.gz.
=> SHA256 Checksum OK for nss-pam-ldapd-0.7.7.tar.gz.
sed: 1: "/^$(ACLOCAL_M4/,+2d
": expected context address
*** Error code 1

Stop in /usr/ports/net/nss-pam-ldapd.
*** Error code 1

Stop in /usr/ports/net/nss-pam-ldapd.

After working around that I ran into more problems:

Making all in nslcd
gmake[2]: Entering directory
`/usr/ports/net/nss-pam-ldapd/work/nss-pam-ldapd-0.7.7/nslcd'
cc -DHAVE_CONFIG_H -I. -I..  -I.. -I/usr/local/include -D_THREAD_SAFE
-pthread -O2 -fno-strict-aliasing -pipe -march=nocona -DLDAP_DEPRECATED
-MT nslcd.o -MD -MP -MF .deps/nslcd.Tpo -c -o nslcd.o nslcd.c
nslcd.c: In function 'disable_nss_ldap':
nslcd.c:577: error: 'RTLD_NODELETE' undeclared (first use in this function)
nslcd.c:577: error: (Each undeclared identifier is reported only once
nslcd.c:577: error: for each function it appears in.)
nslcd.c:587: warning: assignment discards qualifiers from pointer target
type
gmake[2]: *** [nslcd.o] Error 1
gmake[2]: Leaving directory
`/usr/ports/net/nss-pam-ldapd/work/nss-pam-ldapd-0.7.7/nslcd'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/net/nss-pam-ldapd/work/nss-pam-ldapd-0.7.7'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/net/nss-pam-ldapd.
*** Error code 1

Stop in /usr/ports/net/nss-pam-ldapd.

Was this port even tested before being committed?
-- 
Douglas William Thrift
<douglas at douglasthrift.net>
<http://douglasthrift.net/>


More information about the freebsd-ports mailing list