Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jul 2010 18:09:29 -0700
From:      Douglas Thrift <douglas@douglasthrift.net>
To:        melifaro@ipfw.ru
Cc:        ports@FreeBSD.org, ports@christianserving.org, timur@FreeBSD.org
Subject:   FreeBSD Port: nss-pam-ldapd-0.7.7
Message-ID:  <4C4102C9.4030201@douglasthrift.net>

next in thread | raw e-mail | index | archive | help
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@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@douglasthrift.net>
<http://douglasthrift.net/>;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C4102C9.4030201>