=> Building devel/libdnsres Started : Thursday, 30 AUG 2018 at 15:03:21 UTC Platform: 5.3-DEVELOPMENT DragonFly 5.3-DEVELOPMENT #140: Wed Aug 29 22:06:30 PDT 2018 root@test.backplane.com:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.3-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.3-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/devel/libdnsres XDG_CONFIG_HOME=/construction/devel/libdnsres HOME=/construction/devel/libdnsres TMPDIR="/tmp" PATH=/construction/devel/libdnsres/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --with-libevent=/usr/local --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/devel/libdnsres XDG_CONFIG_HOME=/construction/devel/libdnsres HOME=/construction/devel/libdnsres TMPDIR="/tmp" PATH=/construction/devel/libdnsres/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/devel/libdnsres/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTVERSION="0.1a" PORTDOCS="" PORTEXAMPLES="" OSREL=5.3 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/libdnsres" EXAMPLESDIR="share/examples/libdnsres" DATADIR="share/libdnsres" WWWDIR="www/libdnsres" ETCDIR="etc/libdnsres" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/libdnsres DOCSDIR=/usr/local/share/doc/libdnsres EXAMPLESDIR=/usr/local/share/examples/libdnsres WWWDIR=/usr/local/www/libdnsres ETCDIR=/usr/local/etc/libdnsres -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=LiveSystem USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=12 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=32 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500316 OSVERSION=9999999 OSREL=5.3 _OSRELEASE=5.3-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> libdnsres-0.1a_9 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_1.txz Installing pkg-1.10.5_1... Extracting pkg-1.10.5_1: .......... done ===> libdnsres-0.1a_9 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of libdnsres-0.1a_9 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> Fetching all distfiles required by libdnsres-0.1a_9 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by libdnsres-0.1a_9 for building => SHA256 Checksum OK for libdnsres-0.1a.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching all distfiles required by libdnsres-0.1a_9 for building ===> Extracting for libdnsres-0.1a_9 => SHA256 Checksum OK for libdnsres-0.1a.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for libdnsres-0.1a_9 ===> Applying ports patches for libdnsres-0.1a_9 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> libdnsres-0.1a_9 depends on file: /usr/local/lib/libevent.a - not found ===> Installing existing package /packages/All/libevent-2.1.8_1.txz Installing libevent-2.1.8_1... `-- Installing libressl-2.7.4... `-- Extracting libressl-2.7.4: .......... done Extracting libevent-2.1.8_1: .......... done ===> libdnsres-0.1a_9 depends on file: /usr/local/lib/libevent.a - found ===> Returning to build of libdnsres-0.1a_9 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for libdnsres-0.1a_9 configure: loading site script /xports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for gcc... cc 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 cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking dependency style of cc... none checking whether cc understands -c and -o together... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking build system type... x86_64-portbld-dragonfly5.3 checking host system type... x86_64-portbld-dragonfly5.3 checking for a sed that does not truncate output... /usr/bin/sed checking for egrep... grep -E checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... cpp 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 for dlfcn.h... (cached) yes checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking dependency style of c++... none checking how to run the C++ preprocessor... c++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... (cached) 262144 checking command to parse /usr/bin/nm -B output from cc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if cc static flag works... yes checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC checking if cc PIC flag -fPIC works... yes checking if cc supports -c -o file.o... yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... dragonfly5.3 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by c++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking for c++ option to produce PIC... -fPIC checking if c++ PIC flag -fPIC works... yes checking if c++ supports -c -o file.o... yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... dragonfly5.3 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking whether cc needs -traditional... no checking whether byte ordering is bigendian... no checking for socket in -lsocket... no checking for libevent... /usr/local checking for ANSI C header files... (cached) yes checking for fcntl.h... (cached) yes checking for stdarg.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for signal.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/time.h... (cached) yes checking sys/queue.h usability... yes checking sys/queue.h presence... yes checking for sys/queue.h... yes checking for sys/ioctl.h... (cached) yes checking for TAILQ_FOREACH in sys/queue.h... yes checking for timeradd in sys/time.h... yes checking for timercmp in sys/time.h... yes checking for timerclear in sys/time.h... yes checking for timerisset in sys/time.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking for strlcpy... (cached) yes checking for arc4random... (cached) yes checking for gettimeofday... (cached) yes checking for vasprintf... (cached) yes checking for fcntl... (cached) yes checking for fgetln... yes checking for issetugid... (cached) yes checking for F_SETFD in fcntl.h... yes checking for pid_t... (cached) yes checking for size_t... (cached) yes checking for u_int64_t... yes checking for u_int32_t... (cached) yes checking for u_int16_t... (cached) yes checking for u_int8_t... (cached) yes checking for sin_len... yes checking for socklen_t... yes checking whether our compiler supports __func__... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for libdnsres-0.1a_9 /usr/bin/make all-recursive Making all in . /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c -o res_comp.lo res_comp.c mkdir .libs cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c res_comp.c -fPIC -DPIC -o .libs/res_comp.o In file included from res_comp.c:71:0: resolv.h:344:4: warning: '__bounded__' attribute directive ignored [-Wattributes] __attribute__((__bounded__(__string__,4,5))); ^ cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c res_comp.c -o res_comp.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c -o res_debug.lo res_debug.c cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c res_debug.c -fPIC -DPIC -o .libs/res_debug.o In file included from res_debug.c:94:0: resolv.h:344:4: warning: '__bounded__' attribute directive ignored [-Wattributes] __attribute__((__bounded__(__string__,4,5))); ^ res_debug.c: In function 'precsize_aton': res_debug.c:1145:5: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cp = *strptr; ^ res_debug.c:1171:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] *strptr = cp; ^ res_debug.c: In function 'latlon2ul': res_debug.c:1186:5: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cp = *latlonstrptr; ^ res_debug.c:1269:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] *latlonstrptr = cp; ^ cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c res_debug.c -o res_debug.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c -o res_mkquery.lo res_mkquery.c cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c res_mkquery.c -fPIC -DPIC -o .libs/res_mkquery.o In file included from res_mkquery.c:97:0: resolv.h:344:4: warning: '__bounded__' attribute directive ignored [-Wattributes] __attribute__((__bounded__(__string__,4,5))); ^ cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c res_mkquery.c -o res_mkquery.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c -o res_random.lo res_random.c cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c res_random.c -fPIC -DPIC -o .libs/res_random.o In file included from res_random.c:65:0: resolv.h:344:4: warning: '__bounded__' attribute directive ignored [-Wattributes] __attribute__((__bounded__(__string__,4,5))); ^ cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c res_random.c -o res_random.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c -o res_data.lo res_data.c cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c res_data.c -fPIC -DPIC -o .libs/res_data.o In file included from res_data.c:68:0: resolv.h:344:4: warning: '__bounded__' attribute directive ignored [-Wattributes] __attribute__((__bounded__(__string__,4,5))); ^ cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c res_data.c -o res_data.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c -o res_init.lo res_init.c cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c res_init.c -fPIC -DPIC -o .libs/res_init.o In file included from res_init.c:105:0: resolv.h:344:4: warning: '__bounded__' attribute directive ignored [-Wattributes] __attribute__((__bounded__(__string__,4,5))); ^ res_init.c: In function 'dnsres_init': res_init.c:207:30: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (issetugid() == 0 && (cp = getenv("LOCALDOMAIN")) != NULL) { ^ res_init.c:208:28: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] strlcpy(_resp->defdname, cp, sizeof(_resp->defdname)); ^ In file included from res_init.c:100:0: /usr/include/string.h:103:9: note: expected 'const char * restrict' but argument is of type 'unsigned char *' size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ res_init.c:220:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] *pp++ = cp; ^ res_init.c:228:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] *pp++ = cp; ^ res_init.c:250:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while ((cp = fgetln(fp, &len)) != NULL) { ^ res_init.c:257:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((cp = strpbrk(buf, ";#")) != NULL) ^ res_init.c:265:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cp = buf + sizeof("domain") - 1; ^ res_init.c:270:32: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] strlcpy(_resp->defdname, cp, sizeof(_resp->defdname)); ^ In file included from res_init.c:100:0: /usr/include/string.h:103:9: note: expected 'const char * restrict' but argument is of type 'unsigned char *' size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ res_init.c:271:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((cp = strpbrk(_resp->defdname, " \t\n")) != NULL) ^ res_init.c:281:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cp = buf + sizeof("lookup") - 1; ^ res_init.c:299:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] sp = cp; ^ res_init.c:307:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cp = buf + sizeof("search") - 1; ^ res_init.c:312:32: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] strlcpy(_resp->defdname, cp, sizeof(_resp->defdname)); ^ In file included from res_init.c:100:0: /usr/include/string.h:103:9: note: expected 'const char * restrict' but argument is of type 'unsigned char *' size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ res_init.c:313:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((cp = strchr(_resp->defdname, '\n')) != NULL) ^ res_init.c:319:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cp = _resp->defdname; ^ res_init.c:321:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] *pp++ = cp; ^ res_init.c:327:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] *pp++ = cp; ^ res_init.c:345:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cp = buf + sizeof("nameserver") - 1; ^ res_init.c:362:23: warning: pointer targets in passing argument 1 of 'getaddrinfo' differ in signedness [-Wpointer-sign] if (getaddrinfo(cp, pbuf, &hints, &res) == 0 && ^ In file included from res_init.c:101:0: /usr/include/netdb.h:264:6: note: expected 'const char * restrict' but argument is of type 'unsigned char *' int getaddrinfo(const char * __restrict, const char * __restrict, ^ res_init.c:391:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cp = buf + sizeof("sortlist") - 1; ^ res_init.c:397:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] net = cp; ^ res_init.c:407:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] net = cp; ^ res_init.c:435:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] net = cp; ^ res_init.c:490:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (cp = strchr(buf, '.')) != NULL) ^ res_init.c:492:28: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] strlcpy(_resp->defdname, cp + 1, ^ In file included from res_init.c:100:0: /usr/include/string.h:103:9: note: expected 'const char * restrict' but argument is of type 'unsigned char *' size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ res_init.c:504:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (cp = _resp->defdname; *cp; cp++) ^ res_init.c:507:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cp = _resp->defdname; ^ res_init.c:511:16: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] cp = strchr(cp, '.') + 1; /* we know there is one */ ^ In file included from res_init.c:100:0: /usr/include/string.h:82:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *strchr(const char *, int) __pure; ^ res_init.c:511:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cp = strchr(cp, '.') + 1; /* we know there is one */ ^ res_init.c:512:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] *pp++ = cp; ^ res_init.c:529:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if ((cp = getenv("RES_OPTIONS")) != NULL) ^ res_init.c:530:25: warning: pointer targets in passing argument 2 of 'res_setoptions' differ in signedness [-Wpointer-sign] res_setoptions(_resp, cp, "env"); ^ res_init.c:135:13: note: expected 'char *' but argument is of type 'unsigned char *' static void res_setoptions(struct dnsres *, char *, char *); ^ res_init.c: In function 'res_setoptions': res_init.c:565:23: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] unsigned char *p = cp + sizeof("ndots:") - 1; ^ res_init.c:566:15: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness [-Wpointer-sign] l = strtol(p, (char **)&endp, 10); ^ In file included from res_init.c:99:0: /usr/include/stdlib.h:113:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' long strtol(const char * __restrict, char ** __restrict, int); ^ cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c res_init.c -o res_init.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c -o res_query.lo res_query.c cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c res_query.c -fPIC -DPIC -o .libs/res_query.o In file included from res_query.c:106:0: resolv.h:344:4: warning: '__bounded__' attribute directive ignored [-Wattributes] __attribute__((__bounded__(__string__,4,5))); ^ res_query.c: In function '__dnsres_hostalias': res_query.c:586:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while ((cp1 = fgetln(fp, &len)) != NULL) { ^ res_query.c:594:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (cp1 = buf; *cp1 && !isspace(*cp1); ++cp1) ^ res_query.c:607:18: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] strlcpy(abuf, cp1, sizeof(abuf)); ^ In file included from res_query.c:100:0: /usr/include/string.h:103:9: note: expected 'const char * restrict' but argument is of type 'unsigned char *' size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c res_query.c -o res_query.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c -o res_send.lo res_send.c cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c res_send.c -fPIC -DPIC -o .libs/res_send.o In file included from res_send.c:113:0: resolv.h:344:4: warning: '__bounded__' attribute directive ignored [-Wattributes] __attribute__((__bounded__(__string__,4,5))); ^ cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c res_send.c -o res_send.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c -o gethostnamadr.lo gethostnamadr.c cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c gethostnamadr.c -fPIC -DPIC -o .libs/gethostnamadr.o In file included from gethostnamadr.c:102:0: resolv.h:344:4: warning: '__bounded__' attribute directive ignored [-Wattributes] __attribute__((__bounded__(__string__,4,5))); ^ gethostnamadr.c: In function 'dnsres_gethostbyname2_internal': gethostnamadr.c:644:24: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] unsigned char *name = state->name; ^ gethostnamadr.c:681:14: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if (!strchr(name, '.') && (cp = hostalias(_resp, name))) { ^ In file included from gethostnamadr.c:93:0: /usr/include/string.h:82:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *strchr(const char *, int) __pure; ^ gethostnamadr.c:681:51: warning: pointer targets in passing argument 2 of '__dnsres_hostalias' differ in signedness [-Wpointer-sign] if (!strchr(name, '.') && (cp = hostalias(_resp, name))) { ^ In file included from gethostnamadr.c:102:0: resolv.h:240:19: note: expected 'const char *' but argument is of type 'unsigned char *' #define hostalias __dnsres_hostalias ^ resolv.h:297:15: note: in expansion of macro 'hostalias' const char * hostalias(struct dnsres *, const char *); ^ gethostnamadr.c:681:32: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!strchr(name, '.') && (cp = hostalias(_resp, name))) { ^ gethostnamadr.c:683:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] state->name_len = strlen(cp) + 1; ^ In file included from gethostnamadr.c:93:0: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'const unsigned char *' size_t strlen(const char *) __pure; ^ gethostnamadr.c:684:24: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] state->name = strdup(cp); ^ In file included from gethostnamadr.c:93:0: /usr/include/string.h:94:7: note: expected 'const char *' but argument is of type 'const unsigned char *' char *strdup(const char *) __malloclike; ^ gethostnamadr.c:688:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] name = state->name; ^ gethostnamadr.c:705:23: warning: pointer targets in passing argument 2 of '__inet_pton' differ in signedness [-Wpointer-sign] if (inet_pton(af, name, ^ In file included from gethostnamadr.c:88:0: /usr/include/arpa/inet.h:130:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' int inet_pton(int, const char * __restrict, void * __restrict); ^ gethostnamadr.c:711:31: warning: pointer targets in passing argument 2 of 'dnsres_reset_state' differ in signedness [-Wpointer-sign] dnsres_reset_state(state, name); ^ gethostnamadr.c:537:1: note: expected 'const char *' but argument is of type 'unsigned char *' dnsres_reset_state(struct dnsres_cbstate *state, const char *name) ^ gethostnamadr.c:724:35: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if ((isxdigit(name[0]) && strchr(name, ':') != NULL) || ^ In file included from gethostnamadr.c:93:0: /usr/include/string.h:82:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *strchr(const char *, int) __pure; ^ gethostnamadr.c:735:23: warning: pointer targets in passing argument 2 of '__inet_pton' differ in signedness [-Wpointer-sign] if (inet_pton(af, name, ^ In file included from gethostnamadr.c:88:0: /usr/include/arpa/inet.h:130:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' int inet_pton(int, const char * __restrict, void * __restrict); ^ gethostnamadr.c:741:31: warning: pointer targets in passing argument 2 of 'dnsres_reset_state' differ in signedness [-Wpointer-sign] dnsres_reset_state(state, name); ^ gethostnamadr.c:537:1: note: expected 'const char *' but argument is of type 'unsigned char *' dnsres_reset_state(struct dnsres_cbstate *state, const char *name) ^ cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c gethostnamadr.c -o gethostnamadr.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c -o getaddrinfo.lo getaddrinfo.c cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c getaddrinfo.c -fPIC -DPIC -o .libs/getaddrinfo.o In file included from getaddrinfo.c:137:0: resolv.h:344:4: warning: '__bounded__' attribute directive ignored [-Wattributes] __attribute__((__bounded__(__string__,4,5))); ^ cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c getaddrinfo.c -o getaddrinfo.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c -o getservbyname.lo getservbyname.c cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c getservbyname.c -fPIC -DPIC -o .libs/getservbyname.o cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c getservbyname.c -o getservbyname.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c -o getservent.lo getservent.c cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c getservent.c -fPIC -DPIC -o .libs/getservent.o In file included from getservent.c:41:0: resolv.h:344:4: warning: '__bounded__' attribute directive ignored [-Wattributes] __attribute__((__bounded__(__string__,4,5))); ^ cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c getservent.c -o getservent.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c -o base64.lo base64.c cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c base64.c -fPIC -DPIC -o .libs/base64.o In file included from base64.c:58:0: resolv.h:344:4: warning: '__bounded__' attribute directive ignored [-Wattributes] __attribute__((__bounded__(__string__,4,5))); ^ cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c base64.c -o base64.o >/dev/null 2>&1 /bin/sh ./libtool --mode=link cc -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -o libdnsres.la -rpath /usr/local/lib -version-info 0:1:0 res_comp.lo res_debug.lo res_mkquery.lo res_random.lo res_data.lo res_init.lo res_query.lo res_send.lo gethostnamadr.lo getaddrinfo.lo getservbyname.lo getservent.lo base64.lo cc -shared .libs/res_comp.o .libs/res_debug.o .libs/res_mkquery.o .libs/res_random.o .libs/res_data.o .libs/res_init.o .libs/res_query.o .libs/res_send.o .libs/gethostnamadr.o .libs/getaddrinfo.o .libs/getservbyname.o .libs/getservent.o .libs/base64.o -Wl,-soname -Wl,libdnsres.so.0 -o .libs/libdnsres.so.0.0.1 (cd .libs && rm -f libdnsres.so.0 && ln -s libdnsres.so.0.0.1 libdnsres.so.0) (cd .libs && rm -f libdnsres.so && ln -s libdnsres.so.0.0.1 libdnsres.so) ar cru .libs/libdnsres.a res_comp.o res_debug.o res_mkquery.o res_random.o res_data.o res_init.o res_query.o res_send.o gethostnamadr.o getaddrinfo.o getservbyname.o getservent.o base64.o /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') ranlib .libs/libdnsres.a creating libdnsres.la (cd .libs && rm -f libdnsres.la && ln -s ../libdnsres.la libdnsres.la) cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/local/include -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -c -o simple_test.o `test -f 'test/simple_test.c' || echo './'`test/simple_test.c In file included from test/simple_test.c:54:0: ./resolv.h:344:4: warning: '__bounded__' attribute directive ignored [-Wattributes] __attribute__((__bounded__(__string__,4,5))); ^ test/simple_test.c: In function 'AddrinfoLookup_cb': test/simple_test.c:194:6: warning: variable 'res2' set but not used [-Wunused-but-set-variable] int res2; ^ /bin/sh ./libtool --mode=link cc -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -o simple_test simple_test.o -L. -ldnsres -L/usr/local/lib -levent cc -pipe -O2 -fno-strict-aliasing -Wall -O0 -g -DRESOLVSORT -o .libs/simple_test simple_test.o -L/construction/devel/libdnsres/libdnsres-0.1a /construction/devel/libdnsres/libdnsres-0.1a/.libs/libdnsres.so -L/usr/local/lib -levent -Wl,--rpath -Wl,/usr/local/lib creating simple_test -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for libdnsres-0.1a_9 ===> Generating temporary packing list Making install in . test -z "/usr/local/lib" || /construction/devel/libdnsres/libdnsres-0.1a/install-sh -d "/construction/devel/libdnsres/stage/usr/local/lib" /bin/sh ./libtool --mode=install /usr/bin/install -c 'libdnsres.la' '/construction/devel/libdnsres/stage/usr/local/lib/libdnsres.la' /usr/bin/install -c .libs/libdnsres.so.0.0.1 /construction/devel/libdnsres/stage/usr/local/lib/libdnsres.so.0.0.1 (cd /construction/devel/libdnsres/stage/usr/local/lib && rm -f libdnsres.so.0 && ln -s libdnsres.so.0.0.1 libdnsres.so.0) (cd /construction/devel/libdnsres/stage/usr/local/lib && rm -f libdnsres.so && ln -s libdnsres.so.0.0.1 libdnsres.so) /usr/bin/install -c .libs/libdnsres.lai /construction/devel/libdnsres/stage/usr/local/lib/libdnsres.la /usr/bin/install -c .libs/libdnsres.a /construction/devel/libdnsres/stage/usr/local/lib/libdnsres.a ranlib /construction/devel/libdnsres/stage/usr/local/lib/libdnsres.a chmod 644 /construction/devel/libdnsres/stage/usr/local/lib/libdnsres.a libtool: install: warning: remember to run `libtool --finish /usr/local/lib' test -z "/usr/local/include" || /construction/devel/libdnsres/libdnsres-0.1a/install-sh -d "/construction/devel/libdnsres/stage/usr/local/include" install -m 0644 'dnsres.h' '/construction/devel/libdnsres/stage/usr/local/include/dnsres.h' test -z "/usr/local/man/man3" || /construction/devel/libdnsres/libdnsres-0.1a/install-sh -d "/construction/devel/libdnsres/stage/usr/local/man/man3" install -m 0644 './dnsres.3' '/construction/devel/libdnsres/stage/usr/local/man/man3/dnsres.3' ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for libdnsres-0.1a_9 file sizes/checksums [6]: . done packing files [6]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 30 AUG 2018 at 15:03:41 UTC Duration: 00:00:20