MidnightBSD Magus

net/nss_ldap

RFC 2307 NSS module

Flavor Version Run OSVersion Arch License Restricted Status
1.265 349 1.1 amd64 gpl2 0 fail

Events

Machine Type Time Message
defiant info 2018-11-27 18:49:28.883054 Test Started
defiant fail 2018-11-27 18:49:50.142891 make build returned non-zero: 1
defiant fail 2018-11-27 18:49:50.271305 Test complete.

Log

===>  Building for nss_ldap-1.265
gmake[1]: Entering directory '/magus/work/usr/mports/net/nss_ldap/work/nss_ldap-265'
gmake  all-am
gmake[2]: Entering directory '/magus/work/usr/mports/net/nss_ldap/work/nss_ldap-265'
cc -DHAVE_CONFIG_H -I.   -I/usr/local/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT  -O2 -pipe  -DHAVE_LOGIN_CLASSES -DLDAP_DEPRECATED -fno-strict-aliasing -Wall -fPIC -MT ldap-nss.o -MD -MP -MF .deps/ldap-nss.Tpo -c -o ldap-nss.o ldap-nss.c
cc -DHAVE_CONFIG_H -I.   -I/usr/local/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT  -O2 -pipe  -DHAVE_LOGIN_CLASSES -DLDAP_DEPRECATED -fno-strict-aliasing -Wall -fPIC -MT ldap-pwd.o -MD -MP -MF .deps/ldap-pwd.Tpo -c -o ldap-pwd.o ldap-pwd.c
cc -DHAVE_CONFIG_H -I.   -I/usr/local/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT  -O2 -pipe  -DHAVE_LOGIN_CLASSES -DLDAP_DEPRECATED -fno-strict-aliasing -Wall -fPIC -MT ldap-grp.o -MD -MP -MF .deps/ldap-grp.Tpo -c -o ldap-grp.o ldap-grp.c
cc -DHAVE_CONFIG_H -I.   -I/usr/local/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT  -O2 -pipe  -DHAVE_LOGIN_CLASSES -DLDAP_DEPRECATED -fno-strict-aliasing -Wall -fPIC -MT ldap-netgrp.o -MD -MP -MF .deps/ldap-netgrp.Tpo -c -o ldap-netgrp.o ldap-netgrp.c
cc -DHAVE_CONFIG_H -I.   -I/usr/local/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT  -O2 -pipe  -DHAVE_LOGIN_CLASSES -DLDAP_DEPRECATED -fno-strict-aliasing -Wall -fPIC -MT ldap-rpc.o -MD -MP -MF .deps/ldap-rpc.Tpo -c -o ldap-rpc.o ldap-rpc.c
cc -DHAVE_CONFIG_H -I.   -I/usr/local/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT  -O2 -pipe  -DHAVE_LOGIN_CLASSES -DLDAP_DEPRECATED -fno-strict-aliasing -Wall -fPIC -MT ldap-hosts.o -MD -MP -MF .deps/ldap-hosts.Tpo -c -o ldap-hosts.o ldap-hosts.c
cc -DHAVE_CONFIG_H -I.   -I/usr/local/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT  -O2 -pipe  -DHAVE_LOGIN_CLASSES -DLDAP_DEPRECATED -fno-strict-aliasing -Wall -fPIC -MT ldap-network.o -MD -MP -MF .deps/ldap-network.Tpo -c -o ldap-network.o ldap-network.c
cc -DHAVE_CONFIG_H -I.   -I/usr/local/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT  -O2 -pipe  -DHAVE_LOGIN_CLASSES -DLDAP_DEPRECATED -fno-strict-aliasing -Wall -fPIC -MT ldap-proto.o -MD -MP -MF .deps/ldap-proto.Tpo -c -o ldap-proto.o ldap-proto.c
cc -DHAVE_CONFIG_H -I.   -I/usr/local/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT  -O2 -pipe  -DHAVE_LOGIN_CLASSES -DLDAP_DEPRECATED -fno-strict-aliasing -Wall -fPIC -MT ldap-spwd.o -MD -MP -MF .deps/ldap-spwd.Tpo -c -o ldap-spwd.o ldap-spwd.c
cc -DHAVE_CONFIG_H -I.   -I/usr/local/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT  -O2 -pipe  -DHAVE_LOGIN_CLASSES -DLDAP_DEPRECATED -fno-strict-aliasing -Wall -fPIC -MT ldap-alias.o -MD -MP -MF .deps/ldap-alias.Tpo -c -o ldap-alias.o ldap-alias.c
cc -DHAVE_CONFIG_H -I.   -I/usr/local/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT  -O2 -pipe  -DHAVE_LOGIN_CLASSES -DLDAP_DEPRECATED -fno-strict-aliasing -Wall -fPIC -MT ldap-service.o -MD -MP -MF .deps/ldap-service.Tpo -c -o ldap-service.o ldap-service.c
cc -DHAVE_CONFIG_H -I.   -I/usr/local/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT  -O2 -pipe  -DHAVE_LOGIN_CLASSES -DLDAP_DEPRECATED -fno-strict-aliasing -Wall -fPIC -MT ldap-schema.o -MD -MP -MF .deps/ldap-schema.Tpo -c -o ldap-schema.o ldap-schema.c
ldap-pwd.c:133:18: error: use of undeclared identifier 'UID_NOBODY'
    pw->pw_uid = UID_NOBODY;
                 ^
ldap-pwd.c:137:37: error: use of undeclared identifier 'UID_NOBODY'
        _nss_ldap_parse_uid_t (uid, UID_NOBODY, &pw->pw_uid);
                                    ^
ldap-pwd.c:150:18: error: use of undeclared identifier 'UID_NOBODY'
    pw->pw_gid = GID_NOBODY;
                 ^
./ldap-nss.h:459:24: note: expanded from macro 'GID_NOBODY'
#define GID_NOBODY     UID_NOBODY
                       ^
ldap-pwd.c:154:37: error: use of undeclared identifier 'UID_NOBODY'
        _nss_ldap_parse_gid_t (gid, GID_NOBODY, &pw->pw_gid);
                                    ^
./ldap-nss.h:459:24: note: expanded from macro 'GID_NOBODY'
#define GID_NOBODY     UID_NOBODY
                       ^
ldap-pwd.c:187:36: error: no member named 'pw_comment' in 'struct passwd'
                              &pw->pw_comment, &buffer, &buflen);
                               ~~  ^
ldap-pwd.c:193:11: error: no member named 'pw_comment' in 'struct passwd'
      pw->pw_comment = pw->pw_gecos;
      ~~  ^
ldap-pwd.c:195:45: error: no member named 'pw_age' in 'struct passwd'; did you mean 'pw_name'?
  (void) _nss_ldap_assign_emptystring (&pw->pw_age, &buffer, &buflen);
                                            ^~~~~~
                                            pw_name
/usr/include/pwd.h:113:8: note: 'pw_name' declared here
        char    *pw_name;               /* user name */
                 ^
ldap-pwd.c:248:1: cc -DHAVE_CONFIG_H -I.   -I/usr/local/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT  -O2 -pipe  -DHAVE_LOGIN_CLASSES -DLDAP_DEPRECATED -fno-strict-aliasing -Wall -fPIC -MT ldap-ethers.o -MD -MP -MF .deps/ldap-ethers.Tpo -c -o ldap-ethers.o ldap-ethers.c
error: conflicting types for '_nss_ldap_getpwnam_r'
_nss_ldap_getpwnam_r (const char *name,
^
./ldap-pwd.h:32:19: note: previous declaration is here
static NSS_STATUS _nss_ldap_getpwnam_r (nss_backend_t * be, void *fakeargs);
                  ^
ldap-pwd.c:252:54: error: too many arguments provided to function-like macro invocation
  LOOKUP_NAME (name, result, buffer, buflen, errnop, _nss_ldap_filt_getpwnam,
                                                     ^
./ldap-parse.h:30:9: note: macro 'LOOKUP_NAME' defined here
#define LOOKUP_NAME(args, filter, selector, parser, req_buflen) \
        ^
ldap-pwd.c:252:3: error: use of undeclared identifier 'LOOKUP_NAME'
  LOOKUP_NAME (name, result, buffer, buflen, errnop, _nss_ldap_filt_getpwnam,
  ^
ldap-pwd.c:266:1: error: conflicting types for '_nss_ldap_getpwuid_r'
_nss_ldap_getpwuid_r (uid_t uid,
^
./ldap-pwd.h:33:19: note: previous declaration is here
static NSS_STATUS _nss_ldap_getpwuid_r (nss_backend_t * be, void *fakeargs);
                  ^
ldap-grp.c:589:33: error: use of undeclared identifier 'UID_NOBODY'
ldap-pwd.c:271:4: error: too many arguments provided to function-like macro invocation
    (*gid == '\0') ? (unsigned) GID_NOBODY : (gid_t) strtoul (gid,
                                ^
                 LM_PASSWD, _nss_ldap_parse_pw, LDAP_NSS_BUFLEN_DEFAULT);
./ldap-nss.h:459:24: note: expanded from macro 'GID_NOBODY'
                 ^
#define GID_NOBODY     UID_NOBODY
                       ^
./ldap-parse.h:52:9: note: macro 'LOOKUP_NUMBER' defined here
#define LOOKUP_NUMBER(args, field, filter, selector, parser, req_buflen) \
        ^
ldap-grp.c:690:11: warning: comparison of constant 9223372036854775807 with expression of type 'gid_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare]
  if (gid == LONG_MAX && errno == ERANGE)
      ~~~ ^  ~~~~~~~~
ldap-pwd.c:270:3: error: use of undeclared identifier 'LOOKUP_NUMBER'
  LOOKUP_NUMBER (uid, result, buffer, buflen, errnop, _nss_ldap_filt_getpwuid,
  ^
ldap-pwd.c:312:1: error: conflicting types for '_nss_ldap_getpwent_r'
_nss_ldap_getpwent_r (struct passwd *result,
^
./ldap-pwd.h:36:19: note: previous declaration is here
ldap-grp.c:1020:19: error: use of undeclared identifier 'user'
static NSS_STATUS _nss_ldap_getpwent_r (nss_backend_t * be, void *fakeargs);
                  ^
  LA_STRING (a) = user;ldap-pwd.c:316:29: error: too many arguments provided to function-like macro invocation

                  ^
                 _nss_ldap_filt_getpwent, LM_PASSWD, _nss_ldap_parse_pw,
                                          ^
cc -DHAVE_CONFIG_H -I.   -I/usr/local/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT  -O2 -pipe  -DHAVE_LOGIN_CLASSES -DLDAP_DEPRECATED -fno-strict-aliasing -Wall -fPIC -MT ldap-bp.o -MD -MP -MF .deps/ldap-bp.Tpo -c -o ldap-bp.o ldap-bp.c
./ldap-parse.h:74:9: note: macro 'LOOKUP_GETENT' defined here
#define LOOKUP_GETENT(args, be, filter, selector, parser, req_buflen) \
        ^
ldap-grp.c:1135:10: error: use of undeclared identifier 'errnop'
                              errnop,
                              ^
ldap-grp.c:1198:1: error: conflicting types for '_nss_ldap_getgrnam_r'ldap-pwd.c:315:3: error: use of undeclared identifier 'LOOKUP_GETENT'

  LOOKUP_GETENT (pw_context, result, buffer, buflen, errnop,
  ^
_nss_ldap_getgrnam_r (const char *name,
^
./ldap-grp.h:35:19: note: previous declaration is here
ldap-spwd.cstatic NSS_STATUS _nss_ldap_getgrnam_r (nss_backend_t * be, void *fakeargs);
                  ^
:16ldap-grp.c error:s1202 generated.
:54: error: too many arguments provided to function-like macro invocation
21  LOOKUP_NAME (name, result, buffer, buflen, errnop, _nss_ldap_filt_getgrnam,
                                                     ^
:13: warning: unused variable 'rcsId' [-Wunused-variable]
./ldap-parse.h:30:9: note: macro 'LOOKUP_NAME' defined here
static char rcsId[] =#define LOOKUP_NAME(args, filter, selector, parser, req_buflen) \

            ^
        ^
ldap-grp.c:1202:3: error: use of undeclared identifier 'LOOKUP_NAME'
  LOOKUP_NAME (name, result, buffer, buflen, errnop, _nss_ldap_filt_getgrnam,
  ^
ldap-grp.c:1216:1: error: conflicting types for '_nss_ldap_getgrgid_r'
_nss_ldap_getgrgid_r (gid_t gid,
^
./ldap-grp.h:36:19: note: previous declaration is here
static NSS_STATUS _nss_ldap_getgrgid_r (nss_backend_t * be, void *fakeargs);
                  ^
ldap-grp.c:1221:4: error: too many arguments provided to function-like macro invocation
                 LM_GROUP, _nss_ldap_parse_gr, LDAP_NSS_BUFLEN_GROUP);
                 ^
./ldap-parse.h:52:9: note: macro 'LOOKUP_NUMBER' defined here
1#define LOOKUP_NUMBER(args, field, filter, selector, parser, req_buflen) \ warning
 generated.
        ^
cc -DHAVE_CONFIG_H -I.   -I/usr/local/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT  -O2 -pipe  -DHAVE_LOGIN_CLASSES -DLDAP_DEPRECATED -fno-strict-aliasing -Wall -fPIC -MT ldap-automount.o -MD -MP -MF .deps/ldap-automount.Tpo -c -o ldap-automount.o ldap-automount.c
ldap-grp.c:1220:3: error: use of undeclared identifier 'LOOKUP_NUMBER'
  LOOKUP_NUMBER (gid, result, buffer, buflen, errnop, _nss_ldap_filt_getgrgid,
  ^
ldap-grp.c:1260:1: error: conflicting types for '_nss_ldap_getgrent_r'
_nss_ldap_getgrent_r (struct group *result,
^
./ldap-grp.h:34:19: note: previous declaration is here
static NSS_STATUS _nss_ldap_getgrent_r (nss_backend_t * be, void *fakeargs);
                  ^
ldap-grp.c:1264:29: error: too many arguments provided to function-like macro invocation
ldap-rpc.c                 _nss_ldap_filt_getgrent, LM_GROUP, _nss_ldap_parse_gr,
                                          ^
:./ldap-parse.h:74:9: note: macro 'LOOKUP_GETENT' defined here
30#define LOOKUP_GETENT(args, be, filter, selector, parser, req_buflen) \
        ^
:13: warning: unused variable 'rcsId' [-Wunused-variable]
static char rcsId[] =
            ^
ldap-hosts.c:23:13: warning: unused variable 'rcsId' [-Wunused-variable]
ldap-rpc.c:73:23: warning: unused variable 'rpc_context' [-Wunused-variable]
static char rcsId[] =static ent_context_t *rpc_context = NULL;ldap-grp.c
:1263                      ^:
3: error: use of undeclared identifier 'LOOKUP_GETENT'

  LOOKUP_GETENT (gr_context, result, buffer, buflen, errnop,
  ^
            ^
ldap-hosts.c:75:23gmake[2]: *** [Makefile:498: ldap-pwd.o] Error 1
:gmake[2]: *** Waiting for unfinished jobs....
 warning: unused variable 'hosts_context' [-Wunused-variable]
static ent_context_t *hosts_context = NULL;
                      ^
1 warning and 12 errors generated.
mv -f .deps/ldap-spwd.Tpo .deps/ldap-spwd.Po
ldap-network.c:25:13: warning: unused variable 'rcsId' [-Wunused-variable]
static char rcsId[] =
            ^
ldap-network.c:74:23: warning: unused variable 'net_context' [-Wunused-variable]
static ent_context_t *net_context = NULL;
                      ^
ldap-netgrp.c:867:1: error: static declaration of '_nss_ldap_setnetgrent' follows non-static declaration
_nss_ldap_setnetgrent (nss_backend_t * be, void *_args)
^
ldap-netgrp.c:351:1: note: previous definition is here
_nss_ldap_setnetgrent (char *group, struct __netgrent *result)
^
gmake[2]: *** [Makefile:498: ldap-grp.o] Error 1
ldap-netgrp.c:962:3: warning: incompatible pointer types initializing 'nss_backend_op_t' (aka 'nss_status_t (*)(struct nss_backend *, void *)') with an expression of type 'NSS_STATUS (char *, struct __netgrent *)' [-Wincompatible-pointer-types]
  _nss_ldap_setnetgrent         /* NSS_DBOP_NETGROUP_SET */
  ^~~~~~~~~~~~~~~~~~~~~
1 warning and 1 errorldap-alias.c:24:13: warning: unused variable 'rcsId' [-Wunused-variable]
 generated.
static char rcsId[] =
            ^
1 warning generated.
ldap-proto.c:30:13: warning: unused variable 'rcsId' [-Wunused-variable]
static char rcsId[] =
            ^
ldap-proto.c:66:223 warning:s  generated.
warning: unused variable 'proto_context' [-Wunused-variable]
static ent_context_t *proto_context = NULL;
                      ^
gmake[2]: *** [Makefile:498: ldap-netgrp.o] Error 1
mv -f .deps/ldap-alias.Tpo .deps/ldap-alias.Po
mv -f .deps/ldap-rpc.Tpo .deps/ldap-rpc.Po
2 warnings generated.
2 warnings generated.
2 warnings generated.
mv -f .deps/ldap-hosts.Tpo .deps/ldap-hosts.Po
mv -f .deps/ldap-network.Tpo .deps/ldap-network.Po
mv -f .deps/ldap-proto.Tpo .deps/ldap-proto.Po
ldap-service.c:30:13: warning: unused variable 'rcsId' [-Wunused-variable]
static char rcsId[] =
            ^
ldap-service.c:71:23: warning: unused variable 'serv_context' [-Wunused-variable]
static ent_context_t *serv_context = NULL;
                      ^
ldap-nss.c:21:13: warning: unused variable 'rcsId' [-Wunused-variable]
static char rcsId[] =
            ^
ldap-bp.c:115:23: warning: unused variable 'be' [-Wunused-variable]
  nss_ldap_backend_t *be;
                      ^
ldap-bp.c:24:13: warning: unused variable 'rcsId' [-Wunused-variable]
static char rcsId[] = "$Id: ldap-bp.c,v 2.27 2006/01/11 18:03:48 lukeh Exp $";
            ^
ldap-bp.c:64:23: warning: unused variable 'bp_context' [-Wunused-variable]
static ent_context_t *bp_context = NULL;
                      ^
ldap-bp.c:106:25: warning: unused variable 'bp_ops' [-Wunused-variable]
static nss_backend_op_t bp_ops[] = {
                        ^
4 warnings generated.
ldap-automount.c:24:13: warning: unused variable 'rcsId' [-Wunused-variable]
static char rcsId[] = "$Id: ldap-automount.c,v 2.10 2009/11/06 10:15:26 lukeh Exp $";
            ^
mv -f .deps/ldap-bp.Tpo .deps/ldap-bp.Po
2 warnings generated.
ldap-ethers.c:24:13: warning: unused variable 'rcsId' [-Wunused-variable]
static char rcsId[] =
            ^
ldap-ethers.c:96:23: warning: unused variable 'ether_context' [-Wunused-variable]
static ent_context_t *ether_context = NULL;
                      ^
mv -f .deps/ldap-service.Tpo .deps/ldap-service.Po
ldap-ethers.c:237:1: warning: unused function '_nss_ldap_setetherent_r' [-Wunused-function]
_nss_ldap_setetherent_r (nss_backend_t * ether_context, void *fakeargs)
^
ldap-ethers.c:249:1: warning: unused function '_nss_ldap_endetherent_r' [-Wunused-function]
_nss_ldap_endetherent_r (nss_backend_t * ether_context, void *fakeargs)
^
ldap-ethers.c:261:1: warning: unused function '_nss_ldap_getetherent_r' [-Wunused-function]
ldap-schema.c:23:13: warning: unused variable 'rcsId' [-Wunused-variable]
_nss_ldap_getetherent_r (nss_backend_t * ether_context, void *args)static char rcsId[] =

^            ^

1 warning generated.
mv -f .deps/ldap-automount.Tpo .deps/ldap-automount.Po
5 warnings generated.
mv -f .deps/ldap-ethers.Tpo .deps/ldap-ethers.Po
1 warning generated.
mv -f .deps/ldap-schema.Tpo .deps/ldap-schema.Po
1 warning generated.
mv -f .deps/ldap-nss.Tpo .deps/ldap-nss.Po
gmake[2]: Leaving directory '/magus/work/usr/mports/net/nss_ldap/work/nss_ldap-265'
gmake[1]: *** [Makefile:394: all] Error 2
gmake[1]: Leaving directory '/magus/work/usr/mports/net/nss_ldap/work/nss_ldap-265'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/mports/net/nss_ldap

Links

Depends On

Depend Of

Nothing

Categories