prt-get: updating /usr/ports/opt/cyrus-sasl prt-get: starting build Thu Apr 25 20:09:34 2019 =======> Building '/usr/ports/pkg/cyrus-sasl#2.1.26-2.pkg.tar.gz'. bsdtar -p -o -C /usr/ports/opt/cyrus-sasl/work/src -xf /usr/ports/src/cyrus-sasl-2.1.26.tar.gz cp saslauthd /usr/ports/opt/cyrus-sasl/work/src cp fix-CVE-2013-4122.diff /usr/ports/opt/cyrus-sasl/work/src + build + cd cyrus-sasl-2.1.26 + patch -i ../fix-CVE-2013-4122.diff -p1 patching file pwcheck/pwcheck_getpwnam.c patching file pwcheck/pwcheck_getspnam.c patching file saslauthd/auth_getpwent.c patching file saslauthd/auth_shadow.c + sed -i '228i\#include ' include/sasl.h + ./configure --prefix=/usr --sysconfdir=/etc/sasl --with-plugindir=/usr/lib/sasl2 --with-saslauthd=/var/sasl/saslauthd --with-dbpath=/etc/sasl/sasldb2 --with-dblib=berkeley --with-bdb-incdir=/usr/include --with-bdb-libdir=/usr/lib --with-openssl=/usr --enable-login --enable-cram --enable-digest --enable-shared configure: creating cache ./config.cache checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for gawk... (cached) gawk checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for a BSD-compatible install... /usr/bin/install -c checking for __attribute__... yes checking for runpath switch... -Wl,-rpath, checking for ranlib... ranlib checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD-compatible nm... /usr/bin/nm -B configure: updating cache ./config.cache loading cache ./config.cache within ltconfig checking for object suffix... o checking for executable suffix... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions ... no checking if gcc static flag -static works... -static checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking command to parse /usr/bin/nm -B output... ok checking how to hardcode library paths into programs... immediate checking for /usr/bin/ld option to reload object files... -r checking dynamic linker characteristics... Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for objdir... .libs creating libtool updating cache ./config.cache configure: loading cache ./config.cache checking for connect... yes checking for res_search... no checking for dn_expand... no checking for dns_lookup... no checking DB path to use... /etc/sasl/sasldb2 checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking db.h usability... yes checking db.h presence... yes checking for db.h... yes checking DB library to use... berkeley checking if Berkeley DB handle is kept open in SASLDB... no checking for dlopen in -ldl... yes checking /dev/random to use... /dev/random checking for nm... /usr/bin/nm -B checking for underscore before symbols... conftest.c:1:1: warning: return type defaults to 'int' [-Wimplicit-int] main(){int i=1;} ^~~~ conftest.c:2:5: warning: return type defaults to 'int' [-Wimplicit-int] foo(){int i=6;} ^~~ no checking for syslog... yes checking security/pam_appl.h usability... yes checking security/pam_appl.h presence... yes checking for security/pam_appl.h... yes checking pam/pam_appl.h usability... no checking pam/pam_appl.h presence... no checking for pam/pam_appl.h... no checking for pam_start... no checking if I should include saslauthd... /var/sasl/saslauthd checking to include Courier authdaemond support... /dev/null checking if I should include pwcheck... no checking if I should include the alwaystrue verifier... no checking if we should enable sasl_checkapop... enabled checking CRAM-MD5... enabled checking size of long... 8 checking what directory libraries are found in... lib64 checking for RSAPublicEncrypt in -lrsaref... no checking openssl/evp.h usability... yes checking openssl/evp.h presence... yes checking for openssl/evp.h... yes checking for EVP_DigestInit in -lcrypto... yes checking for OpenSSL... yes checking for des_cbc_encrypt in -lcrypto... no checking for DES_cbc_encrypt in -lcrypto... yes checking openssl/des.h usability... yes checking openssl/des.h presence... yes checking for openssl/des.h... yes checking DIGEST-MD5... enabled checking SCRAM... enabled checking OTP... enabled checking for opiechallenge in -lopie... no checking for OPIE... no checking SRP... disabled checking KERBEROS_V4... disabled checking for crypt... no checking for crypt in -lcrypt... yes checking gssapi.h usability... yes checking gssapi.h presence... yes checking for gssapi.h... yes checking gssapi/gssapi_ext.h usability... yes checking gssapi/gssapi_ext.h presence... yes checking for gssapi/gssapi_ext.h... yes checking for res_search in -lresolv... no checking for gss_unwrap in -lgssapi... no checking for krb5int_getspecific in -lkrb5support... yes checking for gss_unwrap in -lgssapi_krb5... yes checking GSSAPI... with implementation mit checking for res_search in -lresolv... (cached) no checking for gsskrb5_register_acceptor_identity... no checking for gss_decapsulate_token... yes checking for gss_encapsulate_token... yes checking for gss_oid_equal... yes checking for gss_get_name_attribute... yes checking for SPNEGO support in GSSAPI libraries... yes checking to use mutexes aroung GSS calls... yes checking PLAIN... enabled checking ANONYMOUS... enabled checking LOGIN... enabled checking NTLM... disabled checking PASSDSS... disabled checking SQL... disabled checking LDAPDB... disabled checking for dmalloc library... no checking for sfio library... no checking for getsubopt... yes checking for snprintf... yes checking for vsnprintf... yes checking for inet_aton in -lresolv... yes checking for getaddrinfo... yes checking for gai_strerror... yes checking for getnameinfo... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for mode_t... yes checking for pid_t... yes checking return type of signal handlers... void checking whether time.h and sys/time.h may both be included... yes checking for ANSI C header files... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for sys/wait.h that is POSIX.1 compatible... yes checking des.h usability... no checking des.h presence... no checking for des.h... no checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking for strings.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for inttypes.h... (cached) yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sysexits.h usability... yes checking sysexits.h presence... yes checking for sysexits.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking varargs.h usability... no checking varargs.h presence... no checking for varargs.h... no checking whether you have ss_family in struct sockaddr_storage... yes checking whether you have sa_len in struct sockaddr... no checking for socklen_t... yes checking for gethostname... yes checking for getdomainname... yes checking for getpwnam... yes checking for getspnam... yes checking for gettimeofday... yes checking for inet_aton... yes checking for memcpy... yes checking for mkdir... yes checking for select... yes checking for socket... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strspn... yes checking for strstr... yes checking for strtol... yes checking for jrand48... yes checking for getpassphrase... no configure: updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating libsasl2.pc config.status: creating include/Makefile config.status: creating sasldb/Makefile config.status: creating plugins/Makefile config.status: creating lib/Makefile config.status: creating utils/Makefile config.status: creating doc/Makefile config.status: creating sample/Makefile config.status: creating java/Makefile config.status: creating java/CyrusSasl/Makefile config.status: creating java/Test/Makefile config.status: creating java/javax/Makefile config.status: creating java/javax/security/Makefile config.status: creating java/javax/security/auth/Makefile config.status: creating java/javax/security/auth/callback/Makefile config.status: creating pwcheck/Makefile config.status: creating man/Makefile config.status: creating config.h config.status: executing depfiles commands === configuring in saslauthd (/usr/ports/opt/cyrus-sasl/work/src/cyrus-sasl-2.1.26/saslauthd) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--sysconfdir=/etc/sasl' '--with-plugindir=/usr/lib/sasl2' '--with-saslauthd=/var/sasl/saslauthd' '--with-dbpath=/etc/sasl/sasldb2' '--with-dblib=berkeley' '--with-bdb-incdir=/usr/include' '--with-bdb-libdir=/usr/lib' '--with-openssl=/usr' '--enable-login' '--enable-cram' '--enable-digest' '--enable-shared' 'CFLAGS=-O2 -march=x86-64 -pipe' --cache-file=.././config.cache --srcdir=. configure: loading cache .././config.cache checking build system type... (cached) x86_64-unknown-linux-gnu checking host system type... (cached) x86_64-unknown-linux-gnu checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking for gcc... (cached) gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking for style of include used by make... GNU checking dependency style of gcc... (cached) gcc3 checking how to run the C preprocessor... (cached) gcc -E checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking whether ln -s works... yes checking for a BSD-compatible install... /usr/bin/install -c checking for __attribute__... (cached) yes checking for runpath switch... (cached) -Wl,-rpath, checking for connect... (cached) yes checking for res_search... (cached) no checking for dn_expand... (cached) no checking for dns_lookup... (cached) no checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/grep -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking size of long... (cached) 8 checking what directory libraries are found in... (cached) lib64 checking for RSAPublicEncrypt in -lrsaref... (cached) no checking for openssl/evp.h... (cached) yes checking for EVP_DigestInit in -lcrypto... (cached) yes checking for OpenSSL... yes checking for des_cbc_encrypt in -lcrypto... (cached) no checking for DES_cbc_encrypt in -lcrypto... (cached) yes checking for openssl/des.h... (cached) yes checking KERBEROS_V4... disabled checking for crypt... (cached) no checking for crypt in -lcrypt... (cached) yes checking for gssapi.h... (cached) yes checking for gssapi/gssapi_ext.h... (cached) yes checking for res_search in -lresolv... (cached) no checking for gss_unwrap in -lgssapi... (cached) no checking for krb5int_getspecific in -lkrb5support... (cached) yes checking for gss_unwrap in -lgssapi_krb5... (cached) yes checking GSSAPI... with implementation mit checking for res_search in -lresolv... (cached) no checking for gsskrb5_register_acceptor_identity... (cached) no checking for gss_decapsulate_token... (cached) yes checking for gss_encapsulate_token... (cached) yes checking for gss_oid_equal... (cached) yes checking for gss_get_name_attribute... (cached) yes checking for SPNEGO support in GSSAPI libraries... yes checking for crypt... (cached) no checking for crypt in -lcrypt... (cached) yes checking for pam_start in -lpam... yes checking for security/pam_appl.h... (cached) yes checking for PAM support... yes checking for inet_aton in -lresolv... (cached) yes checking to include LDAP support... no checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking for fcntl.h... (cached) yes checking krb5.h usability... yes checking krb5.h presence... yes checking for krb5.h... yes checking for strings.h... (cached) yes checking for syslog.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/uio.h... (cached) yes checking for an ANSI C-conforming const... (cached) yes checking for pid_t... (cached) yes checking whether gcc implements __func__... yes checking return type of signal handlers... (cached) void checking for gethostname... (cached) yes checking for mkdir... (cached) yes checking for socket... (cached) yes checking for strdup... (cached) yes checking for getspnam... (cached) yes checking for asprintf... yes checking for strlcat... no checking for strlcpy... no checking if getpwnam_r/getspnam_r take 5 arguments... yes checking for getaddrinfo... (cached) yes checking for getnameinfo... (cached) yes checking whether you have ss_family in struct sockaddr_storage... (cached) yes checking whether you have sa_len in struct sockaddr... (cached) no checking for socklen_t... (cached) yes configure: updating cache .././config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating saslauthd.h config.status: executing depfiles commands Configuration Complete. Type 'make' to build. + make -j1 make all-recursive make[1]: Entering directory '/usr/ports/opt/cyrus-sasl/work/src/cyrus-sasl-2.1.26' Making all in include make[2]: Entering directory '/usr/ports/opt/cyrus-sasl/work/src/cyrus-sasl-2.1.26/include' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT makemd5.o -MD -MP -MF .deps/makemd5.Tpo -c -o makemd5.o makemd5.c makemd5.c: In function 'try_signed': makemd5.c:112:16: warning: '%s' directive writing up to 127 bytes into a region of size 115 [-Wformat-overflow=] sprintf(tmp2, "typedef %s %s;", #TYPE, tmp); \ ^~~~~~~~~~~~~~~~ ~~~ makemd5.c:128:5: note: in expansion of macro 'BITSIZE' BITSIZE(long); ^~~~~~~ makemd5.c:112:2: note: 'sprintf' output between 15 and 142 bytes into a destination of size 128 sprintf(tmp2, "typedef %s %s;", #TYPE, tmp); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makemd5.c:128:5: note: in expansion of macro 'BITSIZE' BITSIZE(long); ^~~~~~~ makemd5.c:112:16: warning: '%s' directive writing up to 127 bytes into a region of size 116 [-Wformat-overflow=] sprintf(tmp2, "typedef %s %s;", #TYPE, tmp); \ ^~~~~~~~~~~~~~~~ ~~~ makemd5.c:127:5: note: in expansion of macro 'BITSIZE' BITSIZE(int); ^~~~~~~ makemd5.c:112:2: note: 'sprintf' output between 14 and 141 bytes into a destination of size 128 sprintf(tmp2, "typedef %s %s;", #TYPE, tmp); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makemd5.c:127:5: note: in expansion of macro 'BITSIZE' BITSIZE(int); ^~~~~~~ makemd5.c:112:16: warning: '%s' directive writing up to 127 bytes into a region of size 114 [-Wformat-overflow=] sprintf(tmp2, "typedef %s %s;", #TYPE, tmp); \ ^~~~~~~~~~~~~~~~ ~~~ makemd5.c:126:5: note: in expansion of macro 'BITSIZE' BITSIZE(short); ^~~~~~~ makemd5.c:112:2: note: 'sprintf' output between 16 and 143 bytes into a destination of size 128 sprintf(tmp2, "typedef %s %s;", #TYPE, tmp); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makemd5.c:126:5: note: in expansion of macro 'BITSIZE' BITSIZE(short); ^~~~~~~ makemd5.c:112:16: warning: '%s' directive writing up to 127 bytes into a region of size 108 [-Wformat-overflow=] sprintf(tmp2, "typedef %s %s;", #TYPE, tmp); \ ^~~~~~~~~~~~~~~~ ~~~ makemd5.c:125:5: note: in expansion of macro 'BITSIZE' BITSIZE(signed char); ^~~~~~~ makemd5.c:112:2: note: 'sprintf' output between 22 and 149 bytes into a destination of size 128 sprintf(tmp2, "typedef %s %s;", #TYPE, tmp); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makemd5.c:125:5: note: in expansion of macro 'BITSIZE' BITSIZE(signed char); ^~~~~~~ makemd5.c: In function 'try_unsigned': makemd5.c:112:16: warning: '%s' directive writing up to 127 bytes into a region of size 106 [-Wformat-overflow=] sprintf(tmp2, "typedef %s %s;", #TYPE, tmp); \ ^~~~~~~~~~~~~~~~ ~~~ makemd5.c:141:5: note: in expansion of macro 'BITSIZE' BITSIZE(unsigned long); ^~~~~~~ makemd5.c:112:2: note: 'sprintf' output between 24 and 151 bytes into a destination of size 128 sprintf(tmp2, "typedef %s %s;", #TYPE, tmp); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makemd5.c:141:5: note: in expansion of macro 'BITSIZE' BITSIZE(unsigned long); ^~~~~~~ makemd5.c:112:16: warning: '%s' directive writing up to 127 bytes into a region of size 107 [-Wformat-overflow=] sprintf(tmp2, "typedef %s %s;", #TYPE, tmp); \ ^~~~~~~~~~~~~~~~ ~~~ makemd5.c:140:5: note: in expansion of macro 'BITSIZE' BITSIZE(unsigned int); ^~~~~~~ makemd5.c:112:2: note: 'sprintf' output between 23 and 150 bytes into a destination of size 128 sprintf(tmp2, "typedef %s %s;", #TYPE, tmp); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makemd5.c:140:5: note: in expansion of macro 'BITSIZE' BITSIZE(unsigned int); ^~~~~~~ makemd5.c:112:16: warning: '%s' directive writing up to 127 bytes into a region of size 105 [-Wformat-overflow=] sprintf(tmp2, "typedef %s %s;", #TYPE, tmp); \ ^~~~~~~~~~~~~~~~ ~~~ makemd5.c:139:5: note: in expansion of macro 'BITSIZE' BITSIZE(unsigned short); ^~~~~~~ makemd5.c:112:2: note: 'sprintf' output between 25 and 152 bytes into a destination of size 128 sprintf(tmp2, "typedef %s %s;", #TYPE, tmp); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makemd5.c:139:5: note: in expansion of macro 'BITSIZE' BITSIZE(unsigned short); ^~~~~~~ makemd5.c:112:16: warning: '%s' directive writing up to 127 bytes into a region of size 106 [-Wformat-overflow=] sprintf(tmp2, "typedef %s %s;", #TYPE, tmp); \ ^~~~~~~~~~~~~~~~ ~~~ makemd5.c:138:5: note: in expansion of macro 'BITSIZE' BITSIZE(unsigned char); ^~~~~~~ makemd5.c:112:2: note: 'sprintf' output between 24 and 151 bytes into a destination of size 128 sprintf(tmp2, "typedef %s %s;", #TYPE, tmp); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makemd5.c:138:5: note: in expansion of macro 'BITSIZE' BITSIZE(unsigned char); ^~~~~~~ mv -f .deps/makemd5.Tpo .deps/makemd5.Po /bin/sh ../libtool --mode=link gcc -Wall -W -O2 -march=x86-64 -pipe -L/usr/lib64 -Wl,-rpath,/usr/lib64 -o makemd5 makemd5.o -lresolv mkdir .libs gcc -Wall -W -O2 -march=x86-64 -pipe -L/usr/lib64 -Wl,-rpath,/usr/lib64 -o makemd5 makemd5.o -lresolv rm -f md5global.h ./makemd5 md5global.h make[2]: Leaving directory '/usr/ports/opt/cyrus-sasl/work/src/cyrus-sasl-2.1.26/include' Making all in sasldb make[2]: Entering directory '/usr/ports/opt/cyrus-sasl/work/src/cyrus-sasl-2.1.26/sasldb' /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT allockey.lo -MD -MP -MF .deps/allockey.Tpo -c -o allockey.lo allockey.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT allockey.lo -MD -MP -MF .deps/allockey.Tpo -c allockey.c -fPIC -DPIC -o allockey.lo mv -f .deps/allockey.Tpo .deps/allockey.Plo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT db_berkeley.lo -MD -MP -MF .deps/db_berkeley.Tpo -c -o db_berkeley.lo db_berkeley.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT db_berkeley.lo -MD -MP -MF .deps/db_berkeley.Tpo -c db_berkeley.c -fPIC -DPIC -o db_berkeley.lo mv -f .deps/db_berkeley.Tpo .deps/db_berkeley.Plo /bin/sh ../libtool --mode=link gcc -Wall -W -O2 -march=x86-64 -pipe -L/usr/lib64 -Wl,-rpath,/usr/lib64 -o libsasldb.la allockey.lo db_berkeley.lo -lresolv mkdir .libs ar cru .libs/libsasldb.al allockey.lo db_berkeley.lo ranlib .libs/libsasldb.al creating libsasldb.la (cd .libs && rm -f libsasldb.la && ln -s ../libsasldb.la libsasldb.la) gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT db_berkeley.o -MD -MP -MF .deps/db_berkeley.Tpo -c -o db_berkeley.o db_berkeley.c mv -f .deps/db_berkeley.Tpo .deps/db_berkeley.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT allockey.o -MD -MP -MF .deps/allockey.Tpo -c -o allockey.o allockey.c mv -f .deps/allockey.Tpo .deps/allockey.Po ar cru .libs/libsasldb.a db_berkeley.o allockey.o make[2]: Leaving directory '/usr/ports/opt/cyrus-sasl/work/src/cyrus-sasl-2.1.26/sasldb' Making all in lib make[2]: Entering directory '/usr/ports/opt/cyrus-sasl/work/src/cyrus-sasl-2.1.26/lib' ln -s ../plugins/gssapi.c ../plugins/gs2.c . make all-am make[3]: Entering directory '/usr/ports/opt/cyrus-sasl/work/src/cyrus-sasl-2.1.26/lib' /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT auxprop.lo -MD -MP -MF .deps/auxprop.Tpo -c -o auxprop.lo auxprop.c gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT auxprop.lo -MD -MP -MF .deps/auxprop.Tpo -c auxprop.c -fPIC -DPIC -o auxprop.lo mv -f .deps/auxprop.Tpo .deps/auxprop.Plo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT canonusr.lo -MD -MP -MF .deps/canonusr.Tpo -c -o canonusr.lo canonusr.c gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT canonusr.lo -MD -MP -MF .deps/canonusr.Tpo -c canonusr.c -fPIC -DPIC -o canonusr.lo canonusr.c: In function 'sasl_canonuser_add_plugin': canonusr.c:336:5: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] strncpy(new_item->name, plugname, PATH_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/canonusr.Tpo .deps/canonusr.Plo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT checkpw.lo -MD -MP -MF .deps/checkpw.Tpo -c -o checkpw.lo checkpw.c gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT checkpw.lo -MD -MP -MF .deps/checkpw.Tpo -c checkpw.c -fPIC -DPIC -o checkpw.lo checkpw.c: In function '_sasl_make_plain_secret': checkpw.c:119:27: warning: pointer targets in passing argument 2 of '_sasl_MD5Update' differ in signedness [-Wpointer-sign] _sasl_MD5Update(&ctx, salt, 16); ^~~~ In file included from ../include/saslplug.h:11, from checkpw.c:53: ../include/md5.h:37:6: note: expected 'const unsigned char *' but argument is of type 'const char *' void _sasl_MD5Update (MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~ checkpw.c:120:27: warning: pointer targets in passing argument 2 of '_sasl_MD5Update' differ in signedness [-Wpointer-sign] _sasl_MD5Update(&ctx, "sasldb", 6); ^~~~~~~~ In file included from ../include/saslplug.h:11, from checkpw.c:53: ../include/md5.h:37:6: note: expected 'const unsigned char *' but argument is of type 'char *' void _sasl_MD5Update (MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~ checkpw.c:121:27: warning: pointer targets in passing argument 2 of '_sasl_MD5Update' differ in signedness [-Wpointer-sign] _sasl_MD5Update(&ctx, passwd, (unsigned int) passlen); ^~~~~~ In file included from ../include/saslplug.h:11, from checkpw.c:53: ../include/md5.h:37:6: note: expected 'const unsigned char *' but argument is of type 'const char *' void _sasl_MD5Update (MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~ checkpw.c: In function '_sasl_auxprop_verify_apop': checkpw.c:371:27: warning: pointer targets in passing argument 2 of '_sasl_MD5Update' differ in signedness [-Wpointer-sign] _sasl_MD5Update(&ctx, challenge, strlen(challenge)); ^~~~~~~~~ In file included from ../include/saslplug.h:11, from checkpw.c:53: ../include/md5.h:37:6: note: expected 'const unsigned char *' but argument is of type 'const char *' void _sasl_MD5Update (MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~ checkpw.c:372:51: warning: pointer targets in passing argument 2 of '_sasl_MD5Update' differ in signedness [-Wpointer-sign] _sasl_MD5Update(&ctx, auxprop_values[0].values[0], ~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ../include/saslplug.h:11, from checkpw.c:53: ../include/md5.h:37:6: note: expected 'const unsigned char *' but argument is of type 'const char *' void _sasl_MD5Update (MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~~~~~~~ checkpw.c: In function 'saslauthd_verify_password': checkpw.c:662:49: warning: passing argument 3 of '_sasl_getcallback' from incompatible pointer type [-Wincompatible-pointer-types] if (_sasl_getcallback(conn, SASL_CB_GETOPT, &getopt, &context) == SASL_OK) { ^~~~~~~ In file included from checkpw.c:54: saslint.h:405:24: note: expected 'int (**)(void)' but argument is of type 'int (**)(void *, const char *, const char *, const char **, unsigned int *)' sasl_callback_ft * pproc, ~~~~~~~~~~~~~~~~~~~^~~~~ checkpw.c: In function 'authdaemon_verify_password': checkpw.c:1044:49: warning: passing argument 3 of '_sasl_getcallback' from incompatible pointer type [-Wincompatible-pointer-types] if (_sasl_getcallback(conn, SASL_CB_GETOPT, &getopt, &context) == SASL_OK) { ^~~~~~~ In file included from checkpw.c:54: saslint.h:405:24: note: expected 'int (**)(void)' but argument is of type 'int (**)(void *, const char *, const char *, const char **, unsigned int *)' sasl_callback_ft * pproc, ~~~~~~~~~~~~~~~~~~~^~~~~ checkpw.c: In function 'write_wait': checkpw.c:435:9: warning: this statement may fall through [-Wimplicit-fallthrough=] if (errno == EINTR || errno == EAGAIN) ^ checkpw.c:437:2: note: here default: ^~~~~~~ checkpw.c: In function 'read_wait': checkpw.c:597:9: warning: this statement may fall through [-Wimplicit-fallthrough=] if (errno == EINTR || errno == EAGAIN) ^ checkpw.c:599:2: note: here default: ^~~~~~~ checkpw.c: In function 'saslauthd_verify_password': checkpw.c:666:2: warning: 'strncpy' specified bound 108 equals destination size [-Wstringop-truncation] strncpy(pwpath, p, sizeof(pwpath)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/checkpw.Tpo .deps/checkpw.Plo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT client.lo -MD -MP -MF .deps/client.Tpo -c -o client.lo client.c gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT client.lo -MD -MP -MF .deps/client.Tpo -c client.c -fPIC -DPIC -o client.lo mv -f .deps/client.Tpo .deps/client.Plo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT common.lo -MD -MP -MF .deps/common.Tpo -c -o common.lo common.c gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT common.lo -MD -MP -MF .deps/common.Tpo -c common.c -fPIC -DPIC -o common.lo common.c:116:22: warning: cast between incompatible function types from 'int (*)(void *, const char **)' to 'int (*)(void)' [-Wcast-function-type] SASL_CB_GETPATH, (sasl_callback_ft)&_sasl_getpath, NULL ^ common.c:119:26: warning: cast between incompatible function types from 'int (*)(void *, char **)' to 'int (*)(void)' [-Wcast-function-type] SASL_CB_GETCONFPATH, (sasl_callback_ft)&_sasl_getconfpath, NULL ^ common.c: In function 'sasl_set_path': common.c:232:39: warning: cast between incompatible function types from 'int (*)(void *, const char **)' to 'int (*)(void)' [-Wcast-function-type] default_getpath_cb.proc = (sasl_callback_ft)&_sasl_getpath_simple; ^ common.c:246:43: warning: cast between incompatible function types from 'int (*)(void *, const char **)' to 'int (*)(void)' [-Wcast-function-type] default_getconfpath_cb.proc = (sasl_callback_ft)&_sasl_getconfpath_simple; ^ common.c: In function 'sasl_getprop': common.c:1048:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] *(void **)pvalue = ^ common.c:1051:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] *(void **)pvalue = ^ common.c: In function '_sasl_global_getopt': common.c:1414:9: warning: cast between incompatible function types from 'int (* const)(void)' to 'int (*)(void *, const char *, const char *, const char **, unsigned int *)' [-Wcast-function-type] if (((sasl_getopt_t *)(callback->proc))(callback->context, ^ common.c: In function '_sasl_conn_getopt': common.c:1455:9: warning: cast between incompatible function types from 'int (* const)(void)' to 'int (*)(void *, const char *, const char *, const char **, unsigned int *)' [-Wcast-function-type] && (((sasl_getopt_t *)(callback->proc))(callback->context, ^ common.c: In function '_sasl_getsimple': common.c:1528:16: warning: variable 'conn' set but not used [-Wunused-but-set-variable] sasl_conn_t *conn; ^~~~ common.c: In function '_sasl_getcallback': common.c:1732:13: warning: cast between incompatible function types from 'int (*)(void *, const char *, const char *, const char **, unsigned int *)' to 'int (*)(void)' [-Wcast-function-type] *pproc = (sasl_callback_ft)&_sasl_conn_getopt; ^ common.c:1735:13: warning: cast between incompatible function types from 'int (*)(void *, const char *, const char *, const char **, unsigned int *)' to 'int (*)(void)' [-Wcast-function-type] *pproc = (sasl_callback_ft)&_sasl_global_getopt; ^ common.c:1780:14: warning: cast between incompatible function types from 'int (*)(void *, int, const char *)' to 'int (*)(void)' [-Wcast-function-type] *pproc = (sasl_callback_ft)&_sasl_syslog; ^ common.c:1793:14: warning: cast between incompatible function types from 'int (*)(void *, int, const char **, size_t *)' {aka 'int (*)(void *, int, const char **, long unsigned int *)'} to 'int (*)(void)' [-Wcast-function-type] *pproc = (sasl_callback_ft)&_sasl_getsimple; ^ common.c:1797:14: warning: cast between incompatible function types from 'int (*)(void *, char *, int)' to 'int (*)(void)' [-Wcast-function-type] *pproc = (sasl_callback_ft)&_sasl_verifyfile; ^ common.c:1801:14: warning: cast between incompatible function types from 'int (*)(sasl_conn_t *, void *, const char *, unsigned int, const char *, unsigned int, const char *, unsigned int, struct propctx *)' {aka 'int (*)(struct sasl_conn *, void *, const char *, unsigned int, const char *, unsigned int, const char *, unsigned int, struct propctx *)'} to 'int (*)(void)' [-Wcast-function-type] *pproc = (sasl_callback_ft)&_sasl_proxy_policy; ^ common.c: In function '_sasl_find_verifyfile_callback': common.c:2157:5: warning: cast between incompatible function types from 'int (*)(void *, char *, int)' to 'int (*)(void)' [-Wcast-function-type] (sasl_callback_ft)&_sasl_verifyfile, ^ At top level: common.c:89:19: warning: 'build_ident' defined but not used [-Wunused-const-variable=] static const char build_ident[] = "$Build: libsasl " PACKAGE "-" VERSION " $"; ^~~~~~~~~~~ mv -f .deps/common.Tpo .deps/common.Plo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT config.lo -MD -MP -MF .deps/config.Tpo -c -o config.lo config.c gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT config.lo -MD -MP -MF .deps/config.Tpo -c config.c -fPIC -DPIC -o config.lo mv -f .deps/config.Tpo .deps/config.Plo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT external.lo -MD -MP -MF .deps/external.Tpo -c -o external.lo external.c gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT external.lo -MD -MP -MF .deps/external.Tpo -c external.c -fPIC -DPIC -o external.lo external.c:60:19: warning: 'plugin_id' defined but not used [-Wunused-const-variable=] static const char plugin_id[] = "$Id: external.c,v 1.24 2009/03/10 16:27:52 mel Exp $"; ^~~~~~~~~ mv -f .deps/external.Tpo .deps/external.Plo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT md5.lo -MD -MP -MF .deps/md5.Tpo -c -o md5.lo md5.c gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT md5.lo -MD -MP -MF .deps/md5.Tpo -c md5.c -fPIC -DPIC -o md5.lo mv -f .deps/md5.Tpo .deps/md5.Plo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT saslutil.lo -MD -MP -MF .deps/saslutil.Tpo -c -o saslutil.lo saslutil.c gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT saslutil.lo -MD -MP -MF .deps/saslutil.Tpo -c saslutil.c -fPIC -DPIC -o saslutil.lo saslutil.c: In function 'sasl_encode64': saslutil.c:134:11: warning: variable 'blah' set but not used [-Wunused-but-set-variable] char *blah; ^~~~ saslutil.c: In function 'sasl_utf8verify': saslutil.c:312:29: warning: bitwise comparison always evaluates to true [-Wtautological-compare] if ((str[++i] & 0xC0) != 0xF0) return SASL_BADPROT; /* needed a 10 octet */ ^~ mv -f .deps/saslutil.Tpo .deps/saslutil.Plo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT server.lo -MD -MP -MF .deps/server.Tpo -c -o server.lo server.c gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT server.lo -MD -MP -MF .deps/server.Tpo -c server.c -fPIC -DPIC -o server.lo server.c: In function 'load_config': server.c:619:15: warning: cast between incompatible function types from 'int (* const)(void)' to 'int (*)(void *, char **)' [-Wcast-function-type] result = ((sasl_getconfpath_t *)(getconfpath_cb->proc))(getconfpath_cb->context, ^ server.c:653:43: warning: field precision specifier '.*' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] snprintf(config_filename, len, "%.*s%c%s.conf", path_len, path_to_config, ~~^~ ~~~~~~~~ server.c:657:19: warning: cast between incompatible function types from 'int (* const)(void)' to 'int (*)(void *, const char *, sasl_verify_type_t)' {aka 'int (*)(void *, const char *, enum )'} [-Wcast-function-type] result = ((sasl_verifyfile_t *)(verifyfile_cb->proc))(verifyfile_cb->context, ^ server.c: In function 'sasl_server_init': server.c:909:9: warning: cast between incompatible function types from 'int (* const)(void)' to 'int (*)(void *, const char *, sasl_verify_type_t)' {aka 'int (*)(void *, const char *, enum )'} [-Wcast-function-type] ret = ((sasl_verifyfile_t *)(vf->proc))(vf->context, ^ mv -f .deps/server.Tpo .deps/server.Plo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT seterror.lo -MD -MP -MF .deps/seterror.Tpo -c -o seterror.lo seterror.c gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT seterror.lo -MD -MP -MF .deps/seterror.Tpo -c seterror.c -fPIC -DPIC -o seterror.lo mv -f .deps/seterror.Tpo .deps/seterror.Plo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT dlopen.lo -MD -MP -MF .deps/dlopen.Tpo -c -o dlopen.lo dlopen.c gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT dlopen.lo -MD -MP -MF .deps/dlopen.Tpo -c dlopen.c -fPIC -DPIC -o dlopen.lo dlopen.c: In function '_sasl_get_plugin': dlopen.c:362:10: warning: cast between incompatible function types from 'int (* const)(void)' to 'int (*)(void *, const char *, sasl_verify_type_t)' {aka 'int (*)(void *, const char *, enum )'} [-Wcast-function-type] r = ((sasl_verifyfile_t *)(verifyfile_cb->proc)) ^ dlopen.c: In function '_sasl_load_plugins': dlopen.c:462:15: warning: cast between incompatible function types from 'int (* const)(void)' to 'int (*)(void *, const char **)' [-Wcast-function-type] result = ((sasl_getpath_t *)(getpath_cb->proc))(getpath_cb->context, ^ mv -f .deps/dlopen.Tpo .deps/dlopen.Plo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT plugin_common.lo -MD -MP -MF .deps/plugin_common.Tpo -c -o plugin_common.lo `test -f '../plugins/plugin_common.c' || echo './'`../plugins/plugin_common.c gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT plugin_common.lo -MD -MP -MF .deps/plugin_common.Tpo -c ../plugins/plugin_common.c -fPIC -DPIC -o plugin_common.lo mv -f .deps/plugin_common.Tpo .deps/plugin_common.Plo /bin/sh ../libtool --mode=link gcc -Wall -W -O2 -march=x86-64 -pipe -version-info 3:0:0 -L/usr/lib64 -Wl,-rpath,/usr/lib64 -o libsasl2.la -rpath /usr/lib auxprop.lo canonusr.lo checkpw.lo client.lo common.lo config.lo external.lo md5.lo saslutil.lo server.lo seterror.lo dlopen.lo plugin_common.lo -ldl -lresolv mkdir .libs (cd . && ln -s auxprop.lo auxprop.o) (cd . && ln -s canonusr.lo canonusr.o) (cd . && ln -s checkpw.lo checkpw.o) (cd . && ln -s client.lo client.o) (cd . && ln -s common.lo common.o) (cd . && ln -s config.lo config.o) (cd . && ln -s external.lo external.o) (cd . && ln -s md5.lo md5.o) (cd . && ln -s saslutil.lo saslutil.o) (cd . && ln -s server.lo server.o) (cd . && ln -s seterror.lo seterror.o) (cd . && ln -s dlopen.lo dlopen.o) (cd . && ln -s plugin_common.lo plugin_common.o) gcc -shared auxprop.lo canonusr.lo checkpw.lo client.lo common.lo config.lo external.lo md5.lo saslutil.lo server.lo seterror.lo dlopen.lo plugin_common.lo -L/usr/lib64 -ldl -lresolv -lc -Wl,-soname -Wl,libsasl2.so.3 -o .libs/libsasl2.so.3.0.0 (cd .libs && rm -f libsasl2.so.3 && ln -s libsasl2.so.3.0.0 libsasl2.so.3) (cd .libs && rm -f libsasl2.so && ln -s libsasl2.so.3.0.0 libsasl2.so) creating libsasl2.la (cd .libs && rm -f libsasl2.la && ln -s ../libsasl2.la libsasl2.la) make[3]: Leaving directory '/usr/ports/opt/cyrus-sasl/work/src/cyrus-sasl-2.1.26/lib' make[2]: Leaving directory '/usr/ports/opt/cyrus-sasl/work/src/cyrus-sasl-2.1.26/lib' Making all in plugins make[2]: Entering directory '/usr/ports/opt/cyrus-sasl/work/src/cyrus-sasl-2.1.26/plugins' /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT sasldb.lo -MD -MP -MF .deps/sasldb.Tpo -c -o sasldb.lo sasldb.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT sasldb.lo -MD -MP -MF .deps/sasldb.Tpo -c sasldb.c -fPIC -DPIC -o sasldb.lo sasldb.c: In function 'sasldb_auxprop_store': sasldb.c:251:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] char * value = (cur->values && cur->values[0]) ? cur->values[0] : NULL; ^ mv -f .deps/sasldb.Tpo .deps/sasldb.Plo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT sasldb_init.lo -MD -MP -MF .deps/sasldb_init.Tpo -c -o sasldb_init.lo sasldb_init.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT sasldb_init.lo -MD -MP -MF .deps/sasldb_init.Tpo -c sasldb_init.c -fPIC -DPIC -o sasldb_init.lo mv -f .deps/sasldb_init.Tpo .deps/sasldb_init.Plo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT plugin_common.lo -MD -MP -MF .deps/plugin_common.Tpo -c -o plugin_common.lo plugin_common.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT plugin_common.lo -MD -MP -MF .deps/plugin_common.Tpo -c plugin_common.c -fPIC -DPIC -o plugin_common.lo mv -f .deps/plugin_common.Tpo .deps/plugin_common.Plo /bin/sh ../libtool --mode=link gcc -Wall -W -O2 -march=x86-64 -pipe -module -export-dynamic -rpath /usr/lib/sasl2 -version-info 3:0:0 -L/usr/lib64 -Wl,-rpath,/usr/lib64 -o libsasldb.la sasldb.lo sasldb_init.lo plugin_common.lo ../sasldb/libsasldb.la -L/usr/lib -Wl,-rpath,/usr/lib -ldb -lresolv mkdir .libs (cd . && ln -s sasldb.lo sasldb.o) (cd . && ln -s sasldb_init.lo sasldb_init.o) (cd . && ln -s plugin_common.lo plugin_common.o) gcc -shared sasldb.lo sasldb_init.lo plugin_common.lo -Wl,--whole-archive ../sasldb/.libs/libsasldb.al -Wl,--no-whole-archive -L/usr/lib64 -lresolv -L/usr/lib -ldb -lresolv -lc -Wl,-soname -Wl,libsasldb.so.3 -o .libs/libsasldb.so.3.0.0 (cd .libs && rm -f libsasldb.so.3 && ln -s libsasldb.so.3.0.0 libsasldb.so.3) (cd .libs && rm -f libsasldb.so && ln -s libsasldb.so.3.0.0 libsasldb.so) creating libsasldb.la (cd .libs && rm -f libsasldb.la && ln -s ../libsasldb.la libsasldb.la) /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT cram.lo -MD -MP -MF .deps/cram.Tpo -c -o cram.lo cram.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT cram.lo -MD -MP -MF .deps/cram.Tpo -c cram.c -fPIC -DPIC -o cram.lo cram.c:68:19: warning: 'plugin_id' defined but not used [-Wunused-const-variable=] static const char plugin_id[] = "$Id: cram.c,v 1.87 2011/09/07 13:19:44 murch Exp $"; ^~~~~~~~~ mv -f .deps/cram.Tpo .deps/cram.Plo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT crammd5_init.lo -MD -MP -MF .deps/crammd5_init.Tpo -c -o crammd5_init.lo crammd5_init.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT crammd5_init.lo -MD -MP -MF .deps/crammd5_init.Tpo -c crammd5_init.c -fPIC -DPIC -o crammd5_init.lo mv -f .deps/crammd5_init.Tpo .deps/crammd5_init.Plo /bin/sh ../libtool --mode=link gcc -Wall -W -O2 -march=x86-64 -pipe -module -export-dynamic -rpath /usr/lib/sasl2 -version-info 3:0:0 -L/usr/lib64 -Wl,-rpath,/usr/lib64 -o libcrammd5.la cram.lo crammd5_init.lo plugin_common.lo -lresolv rm -fr .libs/libcrammd5.la .libs/libcrammd5.* .libs/libcrammd5.* (cd . && ln -s cram.lo cram.o) (cd . && ln -s crammd5_init.lo crammd5_init.o) gcc -shared cram.lo crammd5_init.lo plugin_common.lo -L/usr/lib64 -lresolv -lc -Wl,-soname -Wl,libcrammd5.so.3 -o .libs/libcrammd5.so.3.0.0 (cd .libs && rm -f libcrammd5.so.3 && ln -s libcrammd5.so.3.0.0 libcrammd5.so.3) (cd .libs && rm -f libcrammd5.so && ln -s libcrammd5.so.3.0.0 libcrammd5.so) creating libcrammd5.la (cd .libs && rm -f libcrammd5.la && ln -s ../libcrammd5.la libcrammd5.la) /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT digestmd5.lo -MD -MP -MF .deps/digestmd5.Tpo -c -o digestmd5.lo digestmd5.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT digestmd5.lo -MD -MP -MF .deps/digestmd5.Tpo -c digestmd5.c -fPIC -DPIC -o digestmd5.lo digestmd5.c: In function 'digestmd5_server_mech_step': digestmd5.c:3051:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] text->nonce = text->realm = NULL; ^ digestmd5.c: In function 'parse_server_challenge': digestmd5.c:3653:10: warning: variable 'IsUTF8' set but not used [-Wunused-but-set-variable] bool IsUTF8 = FALSE; ^~~~~~ digestmd5.c: In function 'digestmd5_client_mech_step': digestmd5.c:4503:5: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!serverin) { ^ digestmd5.c:4531:5: note: here case 3: ^~~~ digestmd5.c:4555:16: warning: this statement may fall through [-Wimplicit-fallthrough=] ctext->cipher = NULL; ^ digestmd5.c:4557:5: note: here case 2: ^~~~ At top level: digestmd5.c:125:19: warning: 'plugin_id' defined but not used [-Wunused-const-variable=] static const char plugin_id[] = "$Id: digestmd5.c,v 1.205 2011/05/13 19:18:37 murch Exp $"; ^~~~~~~~~ mv -f .deps/digestmd5.Tpo .deps/digestmd5.Plo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT digestmd5_init.lo -MD -MP -MF .deps/digestmd5_init.Tpo -c -o digestmd5_init.lo digestmd5_init.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT digestmd5_init.lo -MD -MP -MF .deps/digestmd5_init.Tpo -c digestmd5_init.c -fPIC -DPIC -o digestmd5_init.lo mv -f .deps/digestmd5_init.Tpo .deps/digestmd5_init.Plo /bin/sh ../libtool --mode=link gcc -Wall -W -O2 -march=x86-64 -pipe -module -export-dynamic -rpath /usr/lib/sasl2 -version-info 3:0:0 -L/usr/lib64 -Wl,-rpath,/usr/lib64 -o libdigestmd5.la digestmd5.lo digestmd5_init.lo plugin_common.lo -lcrypto -lresolv rm -fr .libs/libdigestmd5.la .libs/libdigestmd5.* .libs/libdigestmd5.* (cd . && ln -s digestmd5.lo digestmd5.o) (cd . && ln -s digestmd5_init.lo digestmd5_init.o) gcc -shared digestmd5.lo digestmd5_init.lo plugin_common.lo -L/usr/lib64 -lcrypto -lresolv -lc -Wl,-soname -Wl,libdigestmd5.so.3 -o .libs/libdigestmd5.so.3.0.0 (cd .libs && rm -f libdigestmd5.so.3 && ln -s libdigestmd5.so.3.0.0 libdigestmd5.so.3) (cd .libs && rm -f libdigestmd5.so && ln -s libdigestmd5.so.3.0.0 libdigestmd5.so) creating libdigestmd5.la (cd .libs && rm -f libdigestmd5.la && ln -s ../libdigestmd5.la libdigestmd5.la) /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT scram.lo -MD -MP -MF .deps/scram.Tpo -c -o scram.lo scram.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT scram.lo -MD -MP -MF .deps/scram.Tpo -c scram.c -fPIC -DPIC -o scram.lo scram.c: In function 'Hi': scram.c:302:7: warning: pointer targets in passing argument 4 of 'HMAC' differ in signedness [-Wpointer-sign] initial_key, ^~~~~~~~~~~ In file included from scram.c:68: /usr/include/openssl/hmac.h:39:16: note: expected 'const unsigned char *' but argument is of type 'char *' unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len, ^~~~ scram.c:318:4: warning: pointer targets in passing argument 4 of 'HMAC' differ in signedness [-Wpointer-sign] temp_result, ^~~~~~~~~~~ In file included from scram.c:68: /usr/include/openssl/hmac.h:39:16: note: expected 'const unsigned char *' but argument is of type 'char *' unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len, ^~~~ scram.c: In function 'scram_server_user_salt': scram.c:348:43: warning: pointer targets in passing argument 4 of 'Hi' differ in signedness [-Wpointer-sign] Hi(utils, username, strlen(username), g_salt_key, SALT_SIZE, 20 /* iterations */, result); ^~~~~~~~~~ scram.c:274:1: note: expected 'const char *' but argument is of type 'unsigned char *' Hi (const sasl_utils_t * utils, ^~ scram.c:350:12: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] return result; ^~~~~~ scram.c: In function 'GenerateScramSecrets': scram.c:389:5: warning: pointer targets in passing argument 2 of 'Hi' differ in signedness [-Wpointer-sign] sec->data, ~~~^~~~~~ scram.c:274:1: note: expected 'const char *' but argument is of type 'unsigned char *' Hi (const sasl_utils_t * utils, ^~ scram.c:97:33: warning: pointer targets in passing argument 4 of 'HMAC' differ in signedness [-Wpointer-sign] #define CLIENT_KEY_CONSTANT "Client Key" ^~~~~~~~~~~~ scram.c:400:7: note: in expansion of macro 'CLIENT_KEY_CONSTANT' CLIENT_KEY_CONSTANT, ^~~~~~~~~~~~~~~~~~~ In file included from scram.c:68: /usr/include/openssl/hmac.h:39:16: note: expected 'const unsigned char *' but argument is of type 'char *' unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len, ^~~~ scram.c:410:14: warning: pointer targets in passing argument 1 of 'SHA1' differ in signedness [-Wpointer-sign] if (SHA1(ClientKey, SCRAM_HASH_SIZE, StoredKey) == NULL) { ^~~~~~~~~ In file included from scram.c:66: /usr/include/openssl/sha.h:44:16: note: expected 'const unsigned char *' but argument is of type 'char *' unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md); ^~~~ scram.c:410:42: warning: pointer targets in passing argument 3 of 'SHA1' differ in signedness [-Wpointer-sign] if (SHA1(ClientKey, SCRAM_HASH_SIZE, StoredKey) == NULL) { ^~~~~~~~~ In file included from scram.c:66: /usr/include/openssl/sha.h:44:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md); ^~~~ scram.c:98:33: warning: pointer targets in passing argument 4 of 'HMAC' differ in signedness [-Wpointer-sign] #define SERVER_KEY_CONSTANT "Server Key" ^~~~~~~~~~~~ scram.c:421:7: note: in expansion of macro 'SERVER_KEY_CONSTANT' SERVER_KEY_CONSTANT, ^~~~~~~~~~~~~~~~~~~ In file included from scram.c:68: /usr/include/openssl/hmac.h:39:16: note: expected 'const unsigned char *' but argument is of type 'char *' unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len, ^~~~ scram.c: In function 'scram_server_mech_step1': scram.c:786:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] text->salt = scram_server_user_salt(sparams->utils, text->authentication_id, &text->salt_len); ^ scram.c:792:11: warning: passing argument 4 of 'sparams->utils->getopt' from incompatible pointer type [-Wincompatible-pointer-types] &s_iteration_count, ^~~~~~~~~~~~~~~~~~ scram.c:792:11: note: expected 'const char **' but argument is of type 'char **' scram.c:902:7: warning: passing argument 5 of 'sparams->utils->decode64' from incompatible pointer type [-Wincompatible-pointer-types] &text->salt_len) != SASL_OK) { ^~~~~~~~~~~~~~~ scram.c:902:7: note: expected 'unsigned int *' but argument is of type 'size_t *' {aka 'long unsigned int *'} scram.c:512:18: warning: unused variable 'hash_len' [-Wunused-variable] unsigned int hash_len = 0; ^~~~~~~~ scram.c: In function 'scram_server_mech_step2': scram.c:1307:11: warning: pointer targets in passing argument 4 of 'HMAC' differ in signedness [-Wpointer-sign] text->auth_message, ~~~~^~~~~~~~~~~~~~ In file included from scram.c:68: /usr/include/openssl/hmac.h:39:16: note: expected 'const unsigned char *' but argument is of type 'char *' unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len, ^~~~ scram.c:1339:14: warning: pointer targets in passing argument 1 of 'SHA1' differ in signedness [-Wpointer-sign] if (SHA1(ReceivedClientKey, SCRAM_HASH_SIZE, CalculatedStoredKey) == NULL) { ^~~~~~~~~~~~~~~~~ In file included from scram.c:66: /usr/include/openssl/sha.h:44:16: note: expected 'const unsigned char *' but argument is of type 'char *' unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md); ^~~~ scram.c:1339:50: warning: pointer targets in passing argument 3 of 'SHA1' differ in signedness [-Wpointer-sign] if (SHA1(ReceivedClientKey, SCRAM_HASH_SIZE, CalculatedStoredKey) == NULL) { ^~~~~~~~~~~~~~~~~~~ In file included from scram.c:66: /usr/include/openssl/sha.h:44:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md); ^~~~ scram.c:1358:11: warning: pointer targets in passing argument 4 of 'HMAC' differ in signedness [-Wpointer-sign] text->auth_message, ~~~~^~~~~~~~~~~~~~ In file included from scram.c:68: /usr/include/openssl/hmac.h:39:16: note: expected 'const unsigned char *' but argument is of type 'char *' unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len, ^~~~ scram.c: In function 'scram_setpass': scram.c:1575:11: warning: passing argument 4 of 'sparams->utils->getopt' from incompatible pointer type [-Wincompatible-pointer-types] &s_iteration_count, ^~~~~~~~~~~~~~~~~~ scram.c:1575:11: note: expected 'const char **' but argument is of type 'char **' scram.c:1666:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(sec->data, ~~~^~~~~~ In file included from scram.c:49: /usr/include/stdio.h:334:12: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern int sprintf (char *__restrict __s, ^~~~~~~ scram.c:1673:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sec->len = (unsigned int) strlen(sec->data); ~~~^~~~~~ In file included from ../config.h:540, from scram.c:45: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ scram.c:1687:27: warning: pointer targets in passing argument 3 of 'sparams->utils->prop_set' differ in signedness [-Wpointer-sign] (sec ? sec->data : NULL), ~~~~~~~~~~~~~~~~~^~~~~~~ scram.c:1687:27: note: expected 'const char *' but argument is of type 'unsigned char *' scram.c: In function 'scram_client_mech_step1': scram.c:1992:7: warning: passing argument 2 of 'encode_saslname' from incompatible pointer type [-Wincompatible-pointer-types] &encoded_authorization_id, ^~~~~~~~~~~~~~~~~~~~~~~~~ scram.c:166:17: note: expected 'const char **' but argument is of type 'char **' const char **encoded_saslname, ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ scram.c:2003:10: warning: passing argument 2 of 'encode_saslname' from incompatible pointer type [-Wincompatible-pointer-types] &encoded_authcid, ^~~~~~~~~~~~~~~~ scram.c:166:17: note: expected 'const char **' but argument is of type 'char **' const char **encoded_saslname, ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ scram.c: In function 'scram_client_mech_step2': scram.c:2280:23: warning: pointer targets in assignment from 'const unsigned char * const' to 'const char *' differ in signedness [-Wpointer-sign] channel_binding_data = params->cbinding->data; ^ scram.c:2371:16: warning: pointer targets in passing argument 2 of 'Hi' differ in signedness [-Wpointer-sign] text->password->data, ~~~~~~~~~~~~~~^~~~~~ scram.c:274:1: note: expected 'const char *' but argument is of type 'unsigned char *' Hi (const sasl_utils_t * utils, ^~ scram.c:97:33: warning: pointer targets in passing argument 4 of 'HMAC' differ in signedness [-Wpointer-sign] #define CLIENT_KEY_CONSTANT "Client Key" ^~~~~~~~~~~~ scram.c:2384:7: note: in expansion of macro 'CLIENT_KEY_CONSTANT' CLIENT_KEY_CONSTANT, ^~~~~~~~~~~~~~~~~~~ In file included from scram.c:68: /usr/include/openssl/hmac.h:39:16: note: expected 'const unsigned char *' but argument is of type 'char *' unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len, ^~~~ scram.c:2397:14: warning: pointer targets in passing argument 1 of 'SHA1' differ in signedness [-Wpointer-sign] if (SHA1(ClientKey, SCRAM_HASH_SIZE, StoredKey) == NULL) { ^~~~~~~~~ In file included from scram.c:66: /usr/include/openssl/sha.h:44:16: note: expected 'const unsigned char *' but argument is of type 'char *' unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md); ^~~~ scram.c:2397:42: warning: pointer targets in passing argument 3 of 'SHA1' differ in signedness [-Wpointer-sign] if (SHA1(ClientKey, SCRAM_HASH_SIZE, StoredKey) == NULL) { ^~~~~~~~~ In file included from scram.c:66: /usr/include/openssl/sha.h:44:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md); ^~~~ scram.c:2410:11: warning: pointer targets in passing argument 4 of 'HMAC' differ in signedness [-Wpointer-sign] text->auth_message, ~~~~^~~~~~~~~~~~~~ In file included from scram.c:68: /usr/include/openssl/hmac.h:39:16: note: expected 'const unsigned char *' but argument is of type 'char *' unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len, ^~~~ scram.c: In function 'scram_client_mech_step3': scram.c:98:33: warning: pointer targets in passing argument 4 of 'HMAC' differ in signedness [-Wpointer-sign] #define SERVER_KEY_CONSTANT "Server Key" ^~~~~~~~~~~~ scram.c:2538:7: note: in expansion of macro 'SERVER_KEY_CONSTANT' SERVER_KEY_CONSTANT, ^~~~~~~~~~~~~~~~~~~ In file included from scram.c:68: /usr/include/openssl/hmac.h:39:16: note: expected 'const unsigned char *' but argument is of type 'char *' unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len, ^~~~ scram.c:2552:11: warning: pointer targets in passing argument 4 of 'HMAC' differ in signedness [-Wpointer-sign] text->auth_message, ~~~~^~~~~~~~~~~~~~ In file included from scram.c:68: /usr/include/openssl/hmac.h:39:16: note: expected 'const unsigned char *' but argument is of type 'char *' unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len, ^~~~ At top level: scram.c:260:1: warning: 'print_hash' defined but not used [-Wunused-function] print_hash (const char * func, const char * hash) ^~~~~~~~~~ scram.c:72:19: warning: 'plugin_id' defined but not used [-Wunused-const-variable=] static const char plugin_id[] = "$Id: scram.c,v 1.26 2011/09/07 16:09:40 murch Exp $"; ^~~~~~~~~ mv -f .deps/scram.Tpo .deps/scram.Plo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT scram_init.lo -MD -MP -MF .deps/scram_init.Tpo -c -o scram_init.lo scram_init.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT scram_init.lo -MD -MP -MF .deps/scram_init.Tpo -c scram_init.c -fPIC -DPIC -o scram_init.lo mv -f .deps/scram_init.Tpo .deps/scram_init.Plo /bin/sh ../libtool --mode=link gcc -Wall -W -O2 -march=x86-64 -pipe -module -export-dynamic -rpath /usr/lib/sasl2 -version-info 3:0:0 -L/usr/lib64 -Wl,-rpath,/usr/lib64 -o libscram.la scram.lo scram_init.lo plugin_common.lo -lcrypto -lresolv rm -fr .libs/libscram.la .libs/libscram.* .libs/libscram.* (cd . && ln -s scram.lo scram.o) (cd . && ln -s scram_init.lo scram_init.o) gcc -shared scram.lo scram_init.lo plugin_common.lo -L/usr/lib64 -lcrypto -lresolv -lc -Wl,-soname -Wl,libscram.so.3 -o .libs/libscram.so.3.0.0 (cd .libs && rm -f libscram.so.3 && ln -s libscram.so.3.0.0 libscram.so.3) (cd .libs && rm -f libscram.so && ln -s libscram.so.3.0.0 libscram.so) creating libscram.la (cd .libs && rm -f libscram.la && ln -s ../libscram.la libscram.la) /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT otp.lo -MD -MP -MF .deps/otp.Tpo -c -o otp.lo otp.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -I/usr/include -DOBSOLETE_CRAM_ATTR=1 -I/usr/include -Wall -W -O2 -march=x86-64 -pipe -MT otp.lo -MD -MP -MF .deps/otp.Tpo -c otp.c -fPIC -DPIC -o otp.lo otp.c: In function 'otp_hash': otp.c:121:16: error: storage size of 'mdctx' isn't known EVP_MD_CTX mdctx; ^~~~~ otp.c:129:29: warning: pointer targets in passing argument 2 of 'EVP_DigestFinal' differ in signedness [-Wpointer-sign] EVP_DigestFinal(&mdctx, hash, &hashlen); ^~~~ In file included from otp.c:56: /usr/include/openssl/evp.h:556:12: note: expected 'unsigned char *' but argument is of type 'char *' __owur int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, ^~~~~~~~~~~~~~~ otp.c:121:16: warning: unused variable 'mdctx' [-Wunused-variable] EVP_MD_CTX mdctx; ^~~~~ otp.c: In function 'generate_otp': otp.c:168:36: warning: pointer targets in passing argument 4 of 'otp_hash' differ in signedness [-Wpointer-sign] otp_hash(md, key, strlen(key), otp, alg->swab); ^~~ otp.c:118:13: note: expected 'unsigned char *' but argument is of type 'char *' static void otp_hash(const EVP_MD *md, char *in, size_t inlen, ^~~~~~~~ otp.c:172:35: warning: pointer targets in passing argument 4 of 'otp_hash' differ in signedness [-Wpointer-sign] otp_hash(md, otp, OTP_HASH_SIZE, otp, alg->swab); ^~~ otp.c:118:13: note: expected 'unsigned char *' but argument is of type 'char *' static void otp_hash(const EVP_MD *md, char *in, size_t inlen, ^~~~~~~~ otp.c: In function 'make_secret': otp.c:615:13: warning: pointer targets in passing argument 1 of 'bin2hex' differ in signedness [-Wpointer-sign] bin2hex(otp, OTP_HASH_SIZE, buf); ^~~ otp.c:100:6: note: expected 'unsigned char *' but argument is of type 'char *' void bin2hex(unsigned char *bin, int binlen, char *hex) ^~~~~~~ otp.c:618:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(data, "%s\t%04d\t%s\t%s\t%020ld", ^~~~ In file included from otp.c:46: /usr/include/stdio.h:334:12: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern int sprintf (char *__restrict __s, ^~~~~~~ otp.c: In function 'parse_secret': otp.c:645:4: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] c = secret; ^ otp.c:650:17: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] *seq = strtoul(c, NULL, 10); ^ In file included from ../config.h:528, from otp.c:45: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ otp.c: In function 'word2bin': otp.c:755:17: error: storage size of 'mdctx' isn't known EVP_MD_CTX mdctx; ^~~~~ otp.c:761:30: warning: pointer targets in passing argument 2 of 'EVP_DigestFinal' differ in signedness [-Wpointer-sign] EVP_DigestFinal(&mdctx, hash, &hashlen); ^~~~ In file included from otp.c:56: /usr/include/openssl/evp.h:556:12: note: expected 'unsigned char *' but argument is of type 'char *' __owur int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, ^~~~~~~~~~~~~~~ otp.c:761:36: warning: pointer targets in passing argument 3 of 'EVP_DigestFinal' differ in signedness [-Wpointer-sign] EVP_DigestFinal(&mdctx, hash, &hashlen); ^~~~~~~~ In file included from otp.c:56: /usr/include/openssl/evp.h:556:12: note: expected 'unsigned int *' but argument is of type 'int *' __owur int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, ^~~~~~~~~~~~~~~ otp.c:755:17: warning: unused variable 'mdctx' [-Wunused-variable] EVP_MD_CTX mdctx; ^~~~~ otp.c: In function 'verify_response': otp.c:853:15: warning: pointer targets in passing argument 2 of 'otp_hash' differ in signedness [-Wpointer-sign] otp_hash(md, cur_otp, OTP_HASH_SIZE, prev_otp, text->alg->swab); ^~~~~~~ otp.c:118:13: note: expected 'char *' but argument is of type 'unsigned char *' static void otp_hash(const EVP_MD *md, char *in, size_t inlen, ^~~~~~~~ otp.c: In function 'otp_server_mech_step1': otp.c:1059:21: warning: pointer targets in passing argument 5 of 'make_secret' differ in signedness [-Wpointer-sign] text->seed, text->otp, ~~~~^~~~~ otp.c:590:12: note: expected 'char *' but argument is of type 'unsigned char *' static int make_secret(const sasl_utils_t *utils, ^~~~~~~~~~~ otp.c:1074:10: warning: pointer targets in passing argument 3 of 'params->utils->prop_set' differ in signedness [-Wpointer-sign] sec->data, sec->len); ~~~^~~~~~ otp.c:1074:10: note: expected 'const char *' but argument is of type 'unsigned char *' otp.c: In function 'otp_server_mech_step2': otp.c:1143:21: warning: pointer targets in passing argument 5 of 'make_secret' differ in signedness [-Wpointer-sign] text->seed, text->otp, 0, &sec); ~~~~^~~~~ otp.c:590:12: note: expected 'char *' but argument is of type 'unsigned char *' static int make_secret(const sasl_utils_t *utils, ^~~~~~~~~~~ otp.c:1156:10: warning: pointer targets in passing argument 3 of 'params->utils->prop_set' differ in signedness [-Wpointer-sign] sec->data, sec->len); ~~~^~~~~~ otp.c:1156:10: note: expected 'const char *' but argument is of type 'unsigned char *' otp.c: In function 'otp_server_mech_dispose': otp.c:1232:20: warning: pointer targets in passing argument 5 of 'make_secret' differ in signedness [-Wpointer-sign] text->seed, text->otp, 0, &sec); ~~~~^~~~~ otp.c:590:12: note: expected 'char *' but argument is of type 'unsigned char *' static int make_secret(const sasl_utils_t *utils, ^~~~~~~~~~~ otp.c:1247:22: warning: pointer targets in passing argument 3 of 'utils->prop_set' differ in signedness [-Wpointer-sign] (sec ? sec->data : NULL), ~~~~~~~~~~~~~~~~~^~~~~~~ otp.c:1247:22: note: expected 'const char *' but argument is of type 'unsigned char *' otp.c: In function 'otp_setpass': otp.c:1367:27: warning: pointer targets in passing argument 3 of 'sparams->utils->prop_set' differ in signedness [-Wpointer-sign] (sec ? sec->data : NULL), ~~~~~~~~~~~~~~~~~^~~~~~~ otp.c:1367:27: note: expected 'const char *' but argument is of type 'unsigned char *' otp.c: In function 'otp_client_mech_step2': otp.c:1697:24: warning: pointer targets in passing argument 5 of 'generate_otp' differ in signedness [-Wpointer-sign] text->password->data, otp); ~~~~~~~~~~~~~~^~~~~~ otp.c:147:12: note: expected 'char *' but argument is of type 'unsigned char *' static int generate_otp(const sasl_utils_t *utils, ^~~~~~~~~~~~ otp.c:1720:31: warning: pointer targets in passing argument 5 of 'generate_otp' differ in signedness [-Wpointer-sign] new_seed, text->password->data, new_otp); ~~~~~~~~~~~~~~^~~~~~ otp.c:147:12: note: expected 'char *' but argument is of type 'unsigned char *' static int generate_otp(const sasl_utils_t *utils, ^~~~~~~~~~~~ otp.c:1725:11: warning: pointer targets in passing argument 1 of 'bin2hex' differ in signedness [-Wpointer-sign] bin2hex(otp, OTP_HASH_SIZE, ^~~ otp.c:100:6: note: expected 'unsigned char *' but argument is of type 'char *' void bin2hex(unsigned char *bin, int binlen, char *hex) ^~~~~~~ otp.c:1729:11: warning: pointer targets in passing argument 1 of 'bin2hex' differ in signedness [-Wpointer-sign] bin2hex(new_otp, OTP_HASH_SIZE, ^~~~~~~ otp.c:100:6: note: expected 'unsigned char *' but argument is of type 'char *' void bin2hex(unsigned char *bin, int binlen, char *hex) ^~~~~~~ otp.c:1741:14: warning: pointer targets in passing argument 1 of 'bin2hex' differ in signedness [-Wpointer-sign] bin2hex(otp, OTP_HASH_SIZE, text->out_buf+strlen(text->out_buf)); ^~~ otp.c:100:6: note: expected 'unsigned char *' but argument is of type 'char *' void bin2hex(unsigned char *bin, int binlen, char *hex) ^~~~~~~ At top level: otp.c:71:19: warning: 'plugin_id' defined but not used [-Wunused-const-variable=] static const char plugin_id[] = "$Id: otp.c,v 1.43 2011/09/01 14:12:18 mel Exp $"; ^~~~~~~~~ make[2]: *** [Makefile:592: otp.lo] Error 1 make[2]: Leaving directory '/usr/ports/opt/cyrus-sasl/work/src/cyrus-sasl-2.1.26/plugins' make[1]: *** [Makefile:457: all-recursive] Error 1 make[1]: Leaving directory '/usr/ports/opt/cyrus-sasl/work/src/cyrus-sasl-2.1.26' make: *** [Makefile:364: all] Error 2 =======> ERROR: Building '/usr/ports/pkg/cyrus-sasl#2.1.26-2.pkg.tar.gz' failed.