Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Jun 2017 12:21:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 219772] net/openldap24-client build fails after recent update of server
Message-ID:  <bug-219772-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219772

            Bug ID: 219772
           Summary: net/openldap24-client build fails after recent update
                    of server
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: delphij@FreeBSD.org
          Reporter: jakub_lach@mailplus.pl
          Assignee: delphij@FreeBSD.org
             Flags: maintainer-feedback?(delphij@FreeBSD.org)

/bin/sh ../../libtool  --mode=3Dcompile  cc -O2 -pipe -march=3Dnative=20
-DMDB_DSYNC=3DO_SYNC -Dfdatasync=3Dfsync -fstack-protector -fno-strict-alia=
sing
-I../../include -I../../include   -I/usr/local/include  -DLDAP_LIBRARY -c
tls_o.c
--- tls2.lo ---
tls2.c:238:3: warning: data argument not used by format string
[-Wformat-extra-args]
                Debug( LDAP_DEBUG_ANY,
                ^
./ldap-int.h:87:41: note: expanded from macro 'Debug'
        ldap_log_printf( NULL, (level), (fmt), (arg1), (arg2), (arg3) ); \
                                         ~~~   ^
tls2.c:294:3: warning: data argument not used by format string
[-Wformat-extra-args]
                Debug( LDAP_DEBUG_ANY,"TLS: can't create ssl handle.\n",0,0=
,0);
                ^                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ldap-int.h:87:41: note: expanded from macro 'Debug'
        ldap_log_printf( NULL, (level), (fmt), (arg1), (arg2), (arg3) ); \
                                         ~~~   ^
tls2.c:386:3: warning: data argument not used by format string
[-Wformat-extra-args]
                Debug( LDAP_DEBUG_ANY,"TLS: can't connect: %s.\n",
                ^                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ldap-int.h:87:49: note: expanded from macro 'Debug'
        ldap_log_printf( NULL, (level), (fmt), (arg1), (arg2), (arg3) ); \
                                         ~~~           ^
tls2.c:438:4: warning: data argument not used by format string
[-Wformat-extra-args]
                        Debug( LDAP_DEBUG_ANY,"TLS: can't accept: %s.\n",
                        ^                     ~~~~~~~~~~~~~~~~~~~~~~~~~~
./ldap-int.h:87:49: note: expanded from macro 'Debug'
        ldap_log_printf( NULL, (level), (fmt), (arg1), (arg2), (arg3) ); \
                                         ~~~           ^
--- tls_o.lo ---
 cc -O2 -pipe -march=3Dnative -DMDB_DSYNC=3DO_SYNC -Dfdatasync=3Dfsync
-fstack-protector -fno-strict-aliasing -I../../include -I../../include
-I/usr/local/include -DLDAP_LIBRARY -c tls_o.c  -fPIC -DPIC -o .libs/tls_o.o
tls_o.c:165:2: warning: implicit declaration of function 'OPENSSL_init_ssl'=
 is
invalid in C99 [-Wimplicit-function-declaration]
        OPENSSL_init_ssl(0, NULL);
        ^
tls_o.c:211:2: warning: implicit declaration of function 'SSL_CTX_up_ref' is
invalid in C99 [-Wimplicit-function-declaration]
        SSL_CTX_up_ref( c );
        ^
tls_o.c:262:3: warning: data argument not used by format string
[-Wformat-extra-args]
                Debug( LDAP_DEBUG_ANY,
                ^
--- tls2.lo ---
4 warnings generated.
 cc -O2 -pipe -march=3Dnative -DMDB_DSYNC=3DO_SYNC -Dfdatasync=3Dfsync
-fstack-protector -fno-strict-aliasing -I../../include -I../../include
-I/usr/local/include -DLDAP_LIBRARY -c tls2.c -o tls2.o >/dev/null 2>&1
--- tls_o.lo ---
./ldap-int.h:87:49: note: expanded from macro 'Debug'
        ldap_log_printf( NULL, (level), (fmt), (arg1), (arg2), (arg3) ); \
                                         ~~~           ^
tls_o.c:271:4: warning: data argument not used by format string
[-Wformat-extra-args]
                        Debug( LDAP_DEBUG_ANY, "TLS: "
                        ^                      ~~~~~~~
./ldap-int.h:87:41: note: expanded from macro 'Debug'
        ldap_log_printf( NULL, (level), (fmt), (arg1), (arg2), (arg3) ); \
                                         ~~~   ^
tls_o.c:280:4: warning: data argument not used by format string
[-Wformat-extra-args]
                        Debug( LDAP_DEBUG_ANY, "TLS: "
                        ^                      ~~~~~~~
./ldap-int.h:87:57: note: expanded from macro 'Debug'
        ldap_log_printf( NULL, (level), (fmt), (arg1), (arg2), (arg3) ); \
                                         ~~~                   ^
tls_o.c:294:5: warning: data argument not used by format string
[-Wformat-extra-args]
                                Debug( LDAP_DEBUG_ANY, "TLS: "
                                ^                      ~~~~~~~
./ldap-int.h:87:57: note: expanded from macro 'Debug'
        ldap_log_printf( NULL, (level), (fmt), (arg1), (arg2), (arg3) ); \
                                         ~~~                   ^
tls_o.c:311:3: warning: data argument not used by format string
[-Wformat-extra-args]
                Debug( LDAP_DEBUG_ANY,
                ^
./ldap-int.h:87:49: note: expanded from macro 'Debug'
        ldap_log_printf( NULL, (level), (fmt), (arg1), (arg2), (arg3) ); \
                                         ~~~           ^
tls_o.c:323:3: warning: data argument not used by format string
[-Wformat-extra-args]
                Debug( LDAP_DEBUG_ANY,
                ^
./ldap-int.h:87:49: note: expanded from macro 'Debug'
        ldap_log_printf( NULL, (level), (fmt), (arg1), (arg2), (arg3) ); \
                                         ~~~           ^
tls_o.c:336:4: warning: data argument not used by format string
[-Wformat-extra-args]
                        Debug( LDAP_DEBUG_ANY,
                        ^
./ldap-int.h:87:49: note: expanded from macro 'Debug'
        ldap_log_printf( NULL, (level), (fmt), (arg1), (arg2), (arg3) ); \
                                         ~~~           ^
tls_o.c:343:4: warning: data argument not used by format string
[-Wformat-extra-args]
                        Debug( LDAP_DEBUG_ANY,
                        ^
./ldap-int.h:87:49: note: expanded from macro 'Debug'
        ldap_log_printf( NULL, (level), (fmt), (arg1), (arg2), (arg3) ); \
                                         ~~~           ^
tls_o.c:474:3: warning: implicit declaration of function 'X509_NAME_get0_de=
r'
is invalid in C99 [-Wimplicit-function-declaration]
                X509_NAME_get0_der( xn, (const unsigned char
**)&der_dn->bv_val, &len );
                ^
tls_o.c:549:3: warning: data argument not used by format string
[-Wformat-extra-args]
                Debug( LDAP_DEBUG_ANY,
                ^
./ldap-int.h:87:41: note: expanded from macro 'Debug'
        ldap_log_printf( NULL, (level), (fmt), (arg1), (arg2), (arg3) ); \
                                         ~~~   ^
tls_o.c:593:20: warning: implicit declaration of function
'ASN1_STRING_get0_data' is invalid in C99 [-Wimplicit-function-declaration]
                                        sn =3D (char *)
ASN1_STRING_data(gn->d.ia5);
                                                      ^
tls_o.c:51:29: note: expanded from macro 'ASN1_STRING_data'
#define ASN1_STRING_data(x)     ASN1_STRING_get0_data(x)
                                ^
tls_o.c:593:11: warning: cast to 'char *' from smaller integer type 'int'
[-Wint-to-pointer-cast]
                                        sn =3D (char *)
ASN1_STRING_data(gn->d.ia5);
                                             ^
tls_o.c:614:11: warning: cast to 'char *' from smaller integer type 'int'
[-Wint-to-pointer-cast]
                                        sn =3D (char *)
ASN1_STRING_data(gn->d.ia5);
                                             ^
tls_o.c:662:4: warning: data argument not used by format string
[-Wformat-extra-args]
                        Debug( LDAP_DEBUG_ANY,
                        ^
./ldap-int.h:87:41: note: expanded from macro 'Debug'
        ldap_log_printf( NULL, (level), (fmt), (arg1), (arg2), (arg3) ); \
                                         ~~~   ^
tls_o.c:732:2: warning: implicit declaration of function 'BIO_set_init' is
invalid in C99 [-Wimplicit-function-declaration]
        BIO_set_init( b, 1 );
        ^
tls_o.c:733:2: warning: implicit declaration of function 'BIO_set_data' is
invalid in C99 [-Wimplicit-function-declaration]
        BIO_set_data( b, NULL );
        ^
tls_o.c:757:25: warning: implicit declaration of function 'BIO_get_data' is
invalid in C99 [-Wimplicit-function-declaration]
        p =3D (struct tls_data *)BIO_get_data(b);
                               ^
tls_o.c:757:6: warning: cast to 'struct tls_data *' from smaller integer ty=
pe
'int' [-Wint-to-pointer-cast]
        p =3D (struct tls_data *)BIO_get_data(b);
            ^
tls_o.c:784:6: warning: cast to 'struct tls_data *' from smaller integer ty=
pe
'int' [-Wint-to-pointer-cast]
        p =3D (struct tls_data *)BIO_get_data(b);
            ^
tls_o.c:826:8: error: redefinition of 'bio_method_st'
struct bio_method_st {
       ^
/usr/local/include/openssl/bio.h:268:16: note: previous definition is here
typedef struct bio_method_st {
               ^
tls_o.c:1013:3: warning: data argument not used by format string
[-Wformat-extra-args]
                Debug( LDAP_DEBUG_TRACE,
                ^
./ldap-int.h:87:57: note: expanded from macro 'Debug'
        ldap_log_printf( NULL, (level), (fmt), (arg1), (arg2), (arg3) ); \
                                         ~~~                   ^
tls_o.c:1040:4: warning: data argument not used by format string
[-Wformat-extra-args]
                        Debug( LDAP_DEBUG_TRACE,
                        ^
./ldap-int.h:87:57: note: expanded from macro 'Debug'
        ldap_log_printf( NULL, (level), (fmt), (arg1), (arg2), (arg3) ); \
                                         ~~~                   ^
tls_o.c:1044:4: warning: data argument not used by format string
[-Wformat-extra-args]
                        Debug( LDAP_DEBUG_TRACE,
                        ^
./ldap-int.h:87:57: note: expanded from macro 'Debug'
        ldap_log_printf( NULL, (level), (fmt), (arg1), (arg2), (arg3) ); \
                                         ~~~                   ^
tls_o.c:1092:2: warning: data argument not used by format string
[-Wformat-extra-args]
        Debug( LDAP_DEBUG_TRACE, " issuer: %s\n", iname ? iname : "-unknown=
-",
0, 0 );
        ^                        ~~~~~~~~~~~~~~~
./ldap-int.h:87:49: note: expanded from macro 'Debug'
        ldap_log_printf( NULL, (level), (fmt), (arg1), (arg2), (arg3) ); \
                                         ~~~           ^
tls_o.c:1094:3: warning: data argument not used by format string
[-Wformat-extra-args]
                Debug( LDAP_DEBUG_ANY,
                ^
./ldap-int.h:87:49: note: expanded from macro 'Debug'
        ldap_log_printf( NULL, (level), (fmt), (arg1), (arg2), (arg3) ); \
                                         ~~~           ^
26 warnings and 1 error generated.
*** [tls_o.lo] Error code 1

make[4]: stopped in
/usr/obj/usr/ports/net/openldap24-client/work/openldap-2.4.45/libraries/lib=
ldap
1 error

make[4]: stopped in
/usr/obj/usr/ports/net/openldap24-client/work/openldap-2.4.45/libraries/lib=
ldap
*** [all-common] Error code 2

make[3]: stopped in
/usr/obj/usr/ports/net/openldap24-client/work/openldap-2.4.45/libraries
1 error

make[3]: stopped in
/usr/obj/usr/ports/net/openldap24-client/work/openldap-2.4.45/libraries
*** [all-common] Error code 2

make[2]: stopped in
/usr/obj/usr/ports/net/openldap24-client/work/openldap-2.4.45
1 error

make[2]: stopped in
/usr/obj/usr/ports/net/openldap24-client/work/openldap-2.4.45

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219772-13>