* Package: dev-libs/libdnsres-0.1a-r3 * Repository: gentoo * Maintainer: netmon@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox @@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; This ebuild was merged at the following commit: https://github.com/gentoo-mirror/gentoo/commit/a7bd5f4a18cc84818a9cfb5ef9e1eb965070534b @@@@@ END @@@@@ >>> 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 ... [ 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. >>> 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.7/ebuild-helpers/xattr/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 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... x86_64-pc-linux-gnu-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 we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-clang accepts -g... yes checking for x86_64-pc-linux-gnu-clang option to accept ISO C89... none needed checking whether x86_64-pc-linux-gnu-clang understands -c and -o together... yes checking dependency style of x86_64-pc-linux-gnu-clang... none checking whether x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-clang... ld.lld checking if the linker (ld.lld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... llvm-nm checking the name lister (llvm-nm) 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 ld.lld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... llvm-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... llvm-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... llvm-strip checking for x86_64-pc-linux-gnu-ranlib... llvm-ranlib checking command to parse llvm-nm output from x86_64-pc-linux-gnu-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 how to run the C preprocessor... x86_64-pc-linux-gnu-clang-cpp 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 for dlfcn.h... yes checking for objdir... .libs checking if x86_64-pc-linux-gnu-clang supports -fno-rtti -fno-exceptions... yes checking for x86_64-pc-linux-gnu-clang option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-clang PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-clang static flag -static works... yes checking if x86_64-pc-linux-gnu-clang supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-clang supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-clang linker (ld.lld -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 whether x86_64-pc-linux-gnu-clang needs -traditional... no checking whether byte ordering is bigendian... no checking for socket in -lsocket... no checking for libevent... yes checking for ANSI C header files... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking for unistd.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/queue.h usability... yes checking sys/queue.h presence... yes checking for sys/queue.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... 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 whether time.h and sys/time.h may both be included... yes 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. >>> Compiling source in /var/tmp/portage/dev-libs/libdnsres-0.1a-r3/work/libdnsres-0.1a ... make -j2 V=1 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' x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -c -o simple_test.o `test -f 'test/simple_test.c' || echo './'`test/simple_test.c /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -c -o res_comp.lo res_comp.c libtool: compile: x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -c res_comp.c -fPIC -DPIC -o .libs/res_comp.o /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -c -o res_debug.lo res_debug.c libtool: compile: x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -c res_debug.c -fPIC -DPIC -o .libs/res_debug.o /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -c -o res_mkquery.lo res_mkquery.c res_debug.c:1145:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] cp = *strptr; ^ ~~~~~~~ res_debug.c:1171:10: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] *strptr = cp; ^ ~~ res_debug.c:1186:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] cp = *latlonstrptr; ^ ~~~~~~~~~~~~~ res_debug.c:1269:16: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] *latlonstrptr = cp; ^ ~~ 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); ^~~ libtool: compile: x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -c res_mkquery.c -fPIC -DPIC -o .libs/res_mkquery.o /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -c -o res_random.lo res_random.c libtool: compile: x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -c res_random.c -fPIC -DPIC -o .libs/res_random.o /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -c -o res_data.lo res_data.c libtool: compile: x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -c res_data.c -fPIC -DPIC -o .libs/res_data.o /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -c -o res_init.lo res_init.c libtool: compile: x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -c res_init.c -fPIC -DPIC -o .libs/res_init.o res_init.c9 warnings generated. :207:30: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-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 with different sign [-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 with different sign [-Wpointer-sign] *pp++ = cp; ^ ~~ res_init.c:228:11: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] *pp++ = cp; ^ ~~ res_init.c:/bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -c -o res_query.lo res_query.c 250:17: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-Wpointer-sign] sp = cp; ^ ~~ res_init.c:307:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-Wpointer-sign] cp = _resp->defdname; ^ ~~~~~~~~~~~~~~~ res_init.c:321:13: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] *pp++ = cp; ^ ~~ res_init.c:327:15: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] *pp++ = cp; ^ ~~ res_init.c:345:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-Wpointer-sign] net = cp; ^ ~~ res_init.c:407:9: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] net = cp; ^ ~~ res_init.c:435:12: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] net = cp; ^ ~~ res_init.c:490:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-Wpointer-sign] cp = strchr(cp, '.') + 1; /* we know there is one */ ^~ /usr/include/string.h:226: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 with different sign [-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 with different sign [-Wpointer-sign] *pp++ = cp; ^ ~~ res_init.c:529:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-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 with different sign [-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_init.c:565:19: warning: initializing 'unsigned char *' with an expression of type 'char *' converts between pointers to integer types with different sign [-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 with different sign [-Wpointer-sign] l = strtol(p, (char **)&endp, 10); ^ /usr/include/stdlib.h:176:48: note: passing argument to parameter '__nptr' here extern long int strtol (const char *__restrict __nptr, ^ libtool: compile: x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -c res_query.c -fPIC -DPIC -o .libs/res_query.o res_query.c:586:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] while ((cp1 = fgetln(fp, &len)) != NULL) { ^ ~~~~~~~~~~~~~~~~ res_query.c:594:12: warning: assigning to 'unsigned char *' from 'char [8192]' converts between pointers to integer types with different sign [-Wpointer-sign] for (cp1 = buf; *cp1 && !isspace(*cp1); ++cp1) ^ ~~~ res_query.c:607:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-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); ^ 34 warnings generated. /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -c -o res_send.lo res_send.c 3 warnings generated. /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -c -o gethostnamadr.lo gethostnamadr.c libtool: compile: x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -c res_send.c -fPIC -DPIC -o .libs/res_send.o libtool: compile: x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -c gethostnamadr.c -fPIC -DPIC -o .libs/gethostnamadr.o gethostnamadr.c:644:17: warning: initializing 'unsigned char *' with an expression of type 'char *' converts between pointers to integer types with different sign [-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 with different sign [-Wpointer-sign] if (!strchr(name, '.') && (cp = hostalias(_resp, name))) { ^~~~ /usr/include/string.h:226: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 with different sign [-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 with different sign [-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 with different sign [-Wpointer-sign] state->name_len = strlen(cp) + 1; ^~ /usr/include/string.h:385: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 with different sign [-Wpointer-sign] state->name = strdup(cp); ^~ /usr/include/string.h:167: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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-Wpointer-sign] if ((isxdigit(name[0]) && strchr(name, ':') != NULL) || ^~~~ /usr/include/string.h:226: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 with different sign [-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 with different sign [-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) ^ /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -c -o getaddrinfo.lo getaddrinfo.c libtool: compile: x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -c getaddrinfo.c -fPIC -DPIC -o .libs/getaddrinfo.o 12 warnings generated. /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -c -o getservbyname.lo getservbyname.c getaddrinfo.c:613:6: warning: variable 'error' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if (state->sentinel.ai_next) ^~~~~~~~~~~~~~~~~~~~~~~ getaddrinfo.c:616:6: note: uninitialized use occurs here if (error) ^~~~~ getaddrinfo.c:613:2: note: remove the 'if' if its condition is always true if (state->sentinel.ai_next) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ getaddrinfo.c:610:11: note: initialize the variable 'error' to silence this warning int error; ^ = 0 libtool: compile: x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -c getservbyname.c -fPIC -DPIC -o .libs/getservbyname.o /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -c -o getservent.lo getservent.c libtool: compile: x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -c getservent.c -fPIC -DPIC -o .libs/getservent.o /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -c -o base64.lo base64.c libtool: compile: x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -c base64.c -fPIC -DPIC -o .libs/base64.o 1 warning generated. /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -c -o strlcpy.lo strlcpy.c /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -c -o arc4random.lo arc4random.c libtool: compile: x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -c strlcpy.c -fPIC -DPIC -o .libs/strlcpy.o libtool: compile: x86_64-pc-linux-gnu-clang -DHAVE_CONFIG_H -I. -I./compat -I/usr/include -Wall -g -DRESOLVSORT -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -c arc4random.c -fPIC -DPIC -o .libs/arc4random.o arc4random.c:19:11: warning: implicit declaration of function 'time' is invalid in C99 [-Wimplicit-function-declaration] srandom(time(NULL)); ^ 1 warning generated. /bin/sh ./libtool --tag=CC --mode=link x86_64-pc-linux-gnu-clang -Wall -g -DRESOLVSORT -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -version-info 0:1:0 -Wl,-O1 -Wl,--as-needed -fuse-ld=lld -Wl,--defsym=__gentoo_check_ldflags__=0 -o libdnsres.la -rpath /usr/lib64 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 strlcpy.lo arc4random.lo libtool: link: x86_64-pc-linux-gnu-clang -shared -fPIC -DPIC .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 .libs/strlcpy.o .libs/arc4random.o -Wl,--as-needed -g -O2 -march=native -Wl,-O1 -fuse-ld=lld -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-soname -Wl,libdnsres.so.0 -o .libs/libdnsres.so.0.0.1 libtool: link: (cd ".libs" && rm -f "libdnsres.so.0" && ln -s "libdnsres.so.0.0.1" "libdnsres.so.0") libtool: link: (cd ".libs" && rm -f "libdnsres.so" && ln -s "libdnsres.so.0.0.1" "libdnsres.so") libtool: link: ( cd ".libs" && rm -f "libdnsres.la" && ln -s "../libdnsres.la" "libdnsres.la" ) /bin/sh ./libtool --tag=CC --mode=link x86_64-pc-linux-gnu-clang -Wall -g -DRESOLVSORT -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -Wl,-O1 -Wl,--as-needed -fuse-ld=lld -Wl,--defsym=__gentoo_check_ldflags__=0 -o simple_test simple_test.o libdnsres.la -L/usr/lib -levent libtool: link: x86_64-pc-linux-gnu-clang -Wall -g -DRESOLVSORT -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -Wl,-O1 -fuse-ld=lld -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/simple_test simple_test.o -Wl,--as-needed ./.libs/libdnsres.so -L/usr/lib -levent ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../lib64/crt1.o is incompatible with elf_x86_64 ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../lib64/crti.o is incompatible with elf_x86_64 ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/crtbegin.o is incompatible with elf_x86_64 ld.lld: error: simple_test.o is incompatible with elf_x86_64 ld.lld: error: ./.libs/libdnsres.so is incompatible with elf_x86_64 ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../lib64/libevent.so is incompatible with elf_x86_64 ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/libgcc_s.so.1 is incompatible with elf_x86_64 ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/libgcc_s.so.1 is incompatible with elf_x86_64 ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/crtend.o is incompatible with elf_x86_64 ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../lib64/crtn.o is incompatible with elf_x86_64 clang-10: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [Makefile:522: simple_test] Error 1 make[2]: Leaving directory '/var/tmp/portage/dev-libs/libdnsres-0.1a-r3/work/libdnsres-0.1a' make[1]: *** [Makefile:625: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/dev-libs/libdnsres-0.1a-r3/work/libdnsres-0.1a' make: *** [Makefile:420: all] Error 2 * 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/emerge-log/build/dev-libs/libdnsres-0.1a-r3:20200627-040514.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' emerge --info: Portage 2.3.103 (python 3.7.7-final-0, default/linux/amd64/17.1, gcc-10.1.0, glibc-2.31-r5, 5.4.0-1015-aws x86_64) ================================================================= System uname: Linux-5.4.0-1015-aws-x86_64-AMD_EPYC_7571-with-gentoo-2.7 KiB Mem: 7895548 total, 2666432 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Sat, 27 Jun 2020 13:35:18 +0000 sh bash 5.0_p17 ld GNU ld (Gentoo 2.34 p4) 2.34.0 app-shells/bash: 5.0_p17::gentoo dev-lang/perl: 5.30.3-r2::gentoo dev-lang/python: 2.7.18::gentoo, 3.7.7-r2::gentoo, 3.8.3::gentoo, 3.9.0_beta3::gentoo dev-util/cmake: 3.18.0_rc2::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.20::gentoo sys-devel/autoconf: 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.34-r1::gentoo sys-devel/gcc: 10.1.0-r1::gentoo sys-devel/gcc-config: 2.3.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.7::gentoo (virtual/os-headers) sys-libs/glibc: 2.31-r5::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: yes ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CC="x86_64-pc-linux-gnu-clang" CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXX="x86_64-pc-linux-gnu-clang++" CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y --binpkg-respect-use=y -1 -b -k" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -fuse-ld=lld -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j2 V=1" PKGDIR="/root/.packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bzip2 cli crypt dri fortran gdbm iconv ipv6 libtirpc multilib ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS