* Package: dev-libs/libdnsres-0.1a-r3:0 * Repository: gentoo * Maintainer: netmon@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking libdnsres-0.1a.tar.gz to /var/tmp/portage/dev-libs/libdnsres-0.1a-r3/work >>> Source unpacked in /var/tmp/portage/dev-libs/libdnsres-0.1a-r3/work >>> Preparing source in /var/tmp/portage/dev-libs/libdnsres-0.1a-r3/work/libdnsres-0.1a ... * Applying libdnsres-0.1a-autotools.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/dev-libs/libdnsres-0.1a-r3/work/libdnsres-0.1a' ... * Running 'libtoolize --install --copy --force --automake' ... [ ok ] * Running 'aclocal --system-acdir=/var/tmp/portage/dev-libs/libdnsres-0.1a-r3/temp/aclocal' ... [ ok ] * This package has a configure.in file which has long been deprecated. Please * update it to use configure.ac instead as newer versions of autotools will die * when it finds this file. See https://bugs.gentoo.org/426262 for details. * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running 'automake --add-missing --copy --foreign --force-missing' ... [ ok ] * Running elibtoolize in: libdnsres-0.1a/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... >>> Source prepared. * Clang 16 testing: this build is using a /etc/portage/bashrc hook! >>> Configuring source in /var/tmp/portage/dev-libs/libdnsres-0.1a-r3/work/libdnsres-0.1a ... * econf: updating libdnsres-0.1a/config.sub with /usr/share/gnuconfig/config.sub * econf: updating libdnsres-0.1a/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/libdnsres-0.1a-r3 --htmldir=/usr/share/doc/libdnsres-0.1a-r3/html --with-sysroot=/ --libdir=/usr/lib64 --disable-static checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports the include directive... yes (GNU style) checking for x86_64-pc-linux-gnu-gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether clang accepts -g... yes checking for clang option to enable C11 features... none needed checking whether clang understands -c and -o together... yes checking dependency style of clang... none checking whether clang and cc understand -c and -o together... yes checking whether ln -s works... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by clang... /usr/lib/llvm/15/bin/x86_64-pc-linux-gnu-ld checking if the linker (/usr/lib/llvm/15/bin/x86_64-pc-linux-gnu-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/lib/llvm/15/bin/x86_64-pc-linux-gnu-ld option to reload object files... -r checking for x86_64-pc-linux-gnu-file... no checking for file... file checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... x86_64-pc-linux-gnu-dlltool checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from clang object... ok checking for sysroot... / checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-pc-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if clang supports -fno-rtti -fno-exceptions... yes checking for clang option to produce PIC... -fPIC -DPIC checking if clang PIC flag -fPIC -DPIC works... yes checking if clang static flag -static works... yes checking if clang supports -c -o file.o... yes checking if clang supports -c -o file.o... (cached) yes checking whether the clang linker (/usr/lib/llvm/15/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux 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... no checking how to run the C preprocessor... clang -E checking whether clang needs -traditional... no checking whether byte ordering is bigendian... no checking for socket in -lsocket... no checking for libevent... yes checking for egrep... (cached) /bin/grep -E checking for fcntl.h... yes checking for stdarg.h... yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for signal.h... yes checking for unistd.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/queue.h... yes checking for sys/ioctl.h... 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 for strlcpy... no checking for arc4random... no checking for gettimeofday... yes checking for vasprintf... yes checking for fcntl... yes checking for fgetln... no checking for issetugid... no checking for F_SETFD in fcntl.h... yes checking for pid_t... yes checking for size_t... yes checking for u_int64_t... yes checking for u_int32_t... yes checking for u_int16_t... yes checking for u_int8_t... yes checking for sin_len... no checking for socklen_t... yes checking whether our compiler supports __func__... no checking whether our compiler supports __FUNCTION__... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands >>> Source configured. '/var/tmp/portage/dev-libs/libdnsres-0.1a-r3/temp/clang16-errors.log' -> '/var/tmp/clang/dev-libs/libdnsres-0.1a-r3/clang16-errors.log' '/var/tmp/portage/dev-libs/libdnsres-0.1a-r3/temp/clang16-safe.log' -> '/var/tmp/clang/dev-libs/libdnsres-0.1a-r3/clang16-safe.log' >>> Compiling source in /var/tmp/portage/dev-libs/libdnsres-0.1a-r3/work/libdnsres-0.1a ... make -j4 make all-recursive make[1]: Entering directory '/var/tmp/portage/dev-libs/libdnsres-0.1a-r3/work/libdnsres-0.1a' Making all in . make[2]: Entering directory '/var/tmp/portage/dev-libs/libdnsres-0.1a-r3/work/libdnsres-0.1a' /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c -o res_comp.lo res_comp.c /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c -o getservbyname.lo getservbyname.c /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c -o res_init.lo res_init.c /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c -o res_query.lo res_query.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c getservbyname.c -fPIC -DPIC -o .libs/getservbyname.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c res_comp.c -fPIC -DPIC -o .libs/res_comp.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c res_query.c -fPIC -DPIC -o .libs/res_query.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c res_init.c -fPIC -DPIC -o .libs/res_init.o res_init.c:207:30: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (issetugid() == 0 && (cp = getenv("LOCALDOMAIN")) != NULL) { ^ ~~~~~~~~~~~~~~~~~~~~~ res_init.c:208:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strlcpy(_resp->defdname, cp, sizeof(_resp->defdname)); ^~ ./resolv.h:363:41: note: passing argument to parameter 'src' here size_t strlcpy(char *dst, const char *src, size_t size); ^ res_init.c:220:9: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] *pp++ = cp; ^ ~~ res_init.c:228:11: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] *pp++ = cp; ^ ~~ res_init.c:250:17: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while ((cp = fgetln(fp, &len)) != NULL) { ^ ~~~~~~~~~~~~~~~~ res_init.c:257:11: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((cp = strpbrk(buf, ";#")) != NULL) ^ ~~~~~~~~~~~~~~~~~~ res_init.c:265:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cp = buf + sizeof("domain") - 1; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ res_init.c:270:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strlcpy(_resp->defdname, cp, sizeof(_resp->defdname)); ^~ ./resolv.h:363:41: note: passing argument to parameter 'src' here size_t strlcpy(char *dst, const char *src, size_t size); ^ res_init.c:271:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((cp = strpbrk(_resp->defdname, " \t\n")) != NULL) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ res_init.c:281:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cp = buf + sizeof("lookup") - 1; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ res_init.c:299:12: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sp = cp; ^ ~~ res_init.c:307:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cp = buf + sizeof("search") - 1; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ res_init.c:312:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strlcpy(_resp->defdname, cp, sizeof(_resp->defdname)); ^~ ./resolv.h:363:41: note: passing argument to parameter 'src' here size_t strlcpy(char *dst, const char *src, size_t size); ^ res_init.c:313:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((cp = strchr(_resp->defdname, '\n')) != NULL) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ res_init.c:319:10: warning: assigning to 'unsigned char *' from 'char[256]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cp = _resp->defdname; ^ ~~~~~~~~~~~~~~~ res_init.c:321:13: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] *pp++ = cp; ^ ~~ res_init.c:327:15: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] *pp++ = cp; ^ ~~ res_init.c:345:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cp = buf + sizeof("nameserver") - 1; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ res_init.c:362:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (getaddrinfo(cp, pbuf, &hints, &res) == 0 && ^~ /usr/include/netdb.h:660:48: note: passing argument to parameter '__name' here extern int getaddrinfo (const char *__restrict __name, ^ res_init.c:391:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cp = buf + sizeof("sortlist") - 1; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ res_init.c:397:8: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] net = cp; ^ ~~ res_init.c:407:9: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] net = cp; ^ ~~ res_init.c:435:12: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] net = cp; ^ ~~ res_comp.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dn_expand(msg, eomorig, comp_dn, exp_dn, length) ^ ./resolv.h:264:19: note: expanded from macro 'dn_expand' #define dn_expand __dnsres_dn_expand ^ res_init.c:490:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (cp = strchr(buf, '.')) != NULL) ^ ~~~~~~~~~~~~~~~~ res_init.c:492:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strlcpy(_resp->defdname, cp + 1, ^~~~~~ ./resolv.h:363:41: note: passing argument to parameter 'src' here size_t strlcpy(char *dst, const char *src, size_t size); ^ res_init.c:504:11: warning: assigning to 'unsigned char *' from 'char[256]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (cp = _resp->defdname; *cp; cp++) ^ ~~~~~~~~~~~~~~~ res_init.c:507:6: warning: assigning to 'unsigned char *' from 'char[256]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cp = _resp->defdname; ^ ~~~~~~~~~~~~~~~ res_init.c:511:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cp = strchr(cp, '.') + 1; /* we know there is one */ ^~ /usr/include/string.h:246:34: note: passing argument to parameter '__s' here extern char *strchr (const char *__s, int __c) ^ res_init.c:511:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cp = strchr(cp, '.') + 1; /* we know there is one */ ^ ~~~~~~~~~~~~~~~~~~~ res_init.c:512:10: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] *pp++ = cp; ^ ~~ res_init.c:529:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if ((cp = getenv("RES_OPTIONS")) != NULL) ^ ~~~~~~~~~~~~~~~~~~~~~ res_init.c:530:25: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] res_setoptions(_resp, cp, "env"); ^~ res_init.c:135:51: note: passing argument to parameter here static void res_setoptions(struct dnsres *, char *, char *); ^ res_comp.c:168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dn_comp(exp_dn, comp_dn, length, dnptrs, lastdnptr) ^ ./resolv.h:255:18: note: expanded from macro 'dn_comp' #define dn_comp __dnsres_dn_comp ^ res_comp.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __dnsres_dn_skipname(comp_dn, eom) ^ res_query.c:586:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while ((cp1 = fgetln(fp, &len)) != NULL) { ^ ~~~~~~~~~~~~~~~~ res_comp.c:277:1: warning: a function definition without a prototype is deprecated in all versions ofres_query.c :C594 :and12 :is warning: notassigning supportedto in'unsigned char *' C2xfrom 'char[8192]'[-Wdeprecated-non-prototype] converts betweenmklower(ch) pointers^ to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (cp1 = buf; *cp1 && !isspace(*cp1); ++cp1) ^ ~~~ res_comp.c:292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dn_find(exp_dn, msg, dnptrs, lastdnptr) ^ res_query.c:607:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strlcpy(abuf, cp1, sizeof(abuf)); ^~~ ./resolv.h:363:41: note: passing argument to parameter 'src' here size_t strlcpy(char *dst, const char *src, size_t size); ^ res_comp.c:292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] res_comp.c:362:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] res_hnok(dn) ^ ./resolv.h:225:18: note: expanded from macro 'res_hnok' #define res_hnok __dnsres_res_hnok ^ res_comp.c:392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] res_ownok(dn) ^ ./resolv.h:226:19: note: expanded from macro 'res_ownok' #define res_ownok __dnsres_res_ownok ^ res_init.c:565:19: warning: initializing 'unsigned char *' with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] unsigned char *p = cp + sizeof("ndots:") - 1; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ res_init.c:566:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]res_comp.c :409:1: l = strtol(p, (char **)&endp, 10);warning: a ^ function /usr/include/stdlib.hdefinition: 177without: 48a: prototypenote: passingis argument deprecatedto inparameter all'__nptr' versionshere of C and extern long int strtol (const char *__restrict __nptr,is ^not supported in C2x [-Wdeprecated-non-prototype] res_mailok(dn) ^ ./resolv.h:227:20: note: expanded from macro 'res_mailok' #define res_mailok __dnsres_res_mailok ^ res_init.c:607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] net_mask(in) /* XXX - should really use system's version of this */ ^ res_comp.c:439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] res_init.c:607res_dnok(dn): 1^: ./resolv.hwarning: :a228 :function18 :definition note: withoutexpanded afrom prototypemacro is'res_dnok' deprecated in all versions #define res_dnok __dnsres_res_dnokof ^C and is not supported in C2x [-Wdeprecated-non-prototype] res_comp.c:455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __dnsres_getshort(msgp) ^ res_comp.c:465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __dnsres_getlong(msgp) ^ res_comp.c:481:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __dnsres_putlong(l, msgp) ^ /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c -o strlcpy.lo strlcpy.c 3 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c strlcpy.c -fPIC -DPIC -o .libs/strlcpy.o /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c -o res_data.lo res_data.c 13 warnings generated. /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c -o res_mkquery.lo res_mkquery.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c res_data.c -fPIC -DPIC -o .libs/res_data.o /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c -o res_debug.lo res_debug.c 36 warnings generated. /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c -o arc4random.lo arc4random.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c res_mkquery.c -fPIC -DPIC -o .libs/res_mkquery.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c res_debug.c -fPIC -DPIC -o .libs/res_debug.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c arc4random.c -fPIC -DPIC -o .libs/arc4random.o /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c -o gethostnamadr.lo gethostnamadr.c res_debug.c:112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dewks(wks) ^ arc4random.c:19:11: error: call to undeclared function 'time'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] res_debug.c:172:1: warning: a function definition without a prototype is srandom(time(NULL));deprecated ^in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] deproto(protonum) ^ 1 error generated. res_debug.c:246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __dnsres_fp_resstat(statp, file) ^ res_debug.c:393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __dnsres_p_cdnname(cp, msg, len, file) ^ res_debug.c:411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __dnsres_p_cdname(cp, msg, file) ^ res_debug.c:423:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __dnsres_p_fqnname(cp, msg, msglen, name, namelen) ^ res_debug.c:447:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __dnsres_p_fqname(cp, msg, file) ^ make[2]: *** [Makefile:540: arc4random.lo] Error 1 shuffle=2044444872 make[2]: *** Waiting for unfinished jobs.... libtool: compile: clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c gethostnamadr.c -fPIC -DPIC -o .libs/gethostnamadr.o res_debug.c:921:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __dnsres_sym_ston(syms, name, success) ^ res_debug.c:939:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __dnsres_sym_ntos(syms, number, success) ^ res_debug.c:962:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __dnsres_sym_ntop(syms, number, success) ^ res_debug.c:986:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __dnsres_p_type(type) ^ res_debug.c:996:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __dnsres_p_class(class) ^ res_debug.c:1006:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __dnsres_p_option(option) ^ res_debug.c:1036:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] p_time(value) ^ ./resolv.h:244:17: note: expanded from macro 'p_time' #define p_time __dnsres_p_time ^ res_debug.c:1118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] precsize_ntoa(prec) ^ res_debug.c:1145:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cp = *strptr; ^ ~~~~~~~ res_debug.c:1171:10: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] *strptr = cp; ^ ~~ res_debug.c:1136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] precsize_aton(strptr) ^ res_debug.c:1186:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cp = *latlonstrptr; ^ ~~~~~~~~~~~~~ res_debug.c:1269:16: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] *latlonstrptr = cp; ^ ~~ res_debug.c:1178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] latlon2ul(latlonstrptr,which) ^ res_debug.c:1277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] loc_aton(ascii, binary) ^ ./resolv.h:235:18: note: expanded from macro 'loc_aton' #define loc_aton __dnsres_loc_aton ^ res_debug.c:1296:22: warning: incompatible pointer types passing 'unsigned char **' to parameter of type 'char **' [-Wincompatible-pointer-types] lltemp1 = latlon2ul(&cp, &which1); ^~~ res_debug.c:1298:22: warning: incompatible pointer types passing 'unsigned char **' to parameter of type 'char **' [-Wincompatible-pointer-types] lltemp2 = latlon2ul(&cp, &which2); ^~~ res_debug.c:1349:22: warning: incompatible pointer types passing 'unsigned char **' to parameter of type 'char **' [-Wincompatible-pointer-types] siz = precsize_aton(&cp); ^~~ res_debug.c:1360:21: warning: incompatible pointer types passing 'unsigned char **' to parameter of type 'char **' [-Wincompatible-pointer-types] hp = precsize_aton(&cp); ^~~ res_debug.c:1371:21: warning: incompatible pointer types passing 'unsigned char **' to parameter of type 'char **' [-Wincompatible-pointer-types] vp = precsize_aton(&cp); ^~~ res_debug.c:1388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] loc_ntoa(binary, ascii) ^ ./resolv.h:234:18: note: expanded from macro 'loc_ntoa' #define loc_ntoa __dnsres_loc_ntoa ^ res_debug.c:1397:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] loc_ntoal(binary, ascii, ascii_len) ^ res_debug.c:1397:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] res_debug.c:1502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __dnsres_dn_count_labels(name) ^ res_debug.c:1533:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] __dnsres_p_secstodate (secs) ^ gethostnamadr.c:644:17: warning: initializing 'unsigned char *' with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] unsigned char *name = state->name; ^ ~~~~~~~~~~~ gethostnamadr.c:681:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strchr(name, '.') && (cp = hostalias(_resp, name))) { ^~~~ /usr/include/string.h:246:34: note: passing argument to parameter '__s' here extern char *strchr (const char *__s, int __c) ^ gethostnamadr.c:681:51: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strchr(name, '.') && (cp = hostalias(_resp, name))) { ^~~~ ./resolv.h:297:54: note: passing argument to parameter here const char * hostalias(struct dnsres *, const char *); ^ gethostnamadr.c:681:32: warning: assigning to 'const unsigned char *' from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strchr(name, '.') && (cp = hostalias(_resp, name))) { ^ ~~~~~~~~~~~~~~~~~~~~~~ gethostnamadr.c:683:28: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] state->name_len = strlen(cp) + 1; ^~ /usr/include/string.h:407:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ gethostnamadr.c:684:24: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] state->name = strdup(cp); ^~ /usr/include/string.h:187:34: note: passing argument to parameter '__s' here extern char *strdup (const char *__s) ^ gethostnamadr.c:688:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] name = state->name; ^ ~~~~~~~~~~~ gethostnamadr.c:705:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (inet_pton(af, name, ^~~~ /usr/include/arpa/inet.h:58:56: note: passing argument to parameter '__cp' here extern int inet_pton (int __af, const char *__restrict __cp, ^ gethostnamadr.c:711:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dnsres_reset_state(state, name); ^~~~ gethostnamadr.c:537:62: note: passing argument to parameter 'name' here dnsres_reset_state(struct dnsres_cbstate *state, const char *name) ^ gethostnamadr.c:724:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((isxdigit(name[0]) && strchr(name, ':') != NULL) || ^~~~ /usr/include/string.h:246:34: note: passing argument to parameter '__s' here extern char *strchr (const char *__s, int __c) ^ gethostnamadr.c:735:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (inet_pton(af, name, ^~~~ /usr/include/arpa/inet.h:58:56: note: passing argument to parameter '__cp' here extern int inet_pton (int __af, const char *__restrict __cp, ^ gethostnamadr.c:741:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dnsres_reset_state(state, name); ^~~~ gethostnamadr.c:537:62: note: passing argument to parameter 'name' here dnsres_reset_state(struct dnsres_cbstate *state, const char *name) ^ 32 warnings generated. 12 warnings generated. make[2]: Leaving directory '/var/tmp/portage/dev-libs/libdnsres-0.1a-r3/work/libdnsres-0.1a' make[1]: *** [Makefile:628: all-recursive] Error 1 shuffle=2044444872 make[1]: Leaving directory '/var/tmp/portage/dev-libs/libdnsres-0.1a-r3/work/libdnsres-0.1a' make: *** [Makefile:423: all] Error 2 shuffle=2044444872 * ERROR: dev-libs/libdnsres-0.1a-r3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-libs/libdnsres-0.1a-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-libs/libdnsres-0.1a-r3::gentoo'`. * The complete build log is located at '/var/log/portage/dev-libs:libdnsres-0.1a-r3:20221107-231408.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-libs/libdnsres-0.1a-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/libdnsres-0.1a-r3/temp/environment'. * Working directory: '/var/tmp/portage/dev-libs/libdnsres-0.1a-r3/work/libdnsres-0.1a' * S: '/var/tmp/portage/dev-libs/libdnsres-0.1a-r3/work/libdnsres-0.1a'