* Package: net-dns/https_dns_proxy-0_pre20200925 * Repository: gentoo * Maintainer: jakov.smolic@sartura.hr proxy-maint@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking https_dns_proxy-0_pre20200925.tar.gz to /var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/work >>> Source unpacked in /var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/work >>> Preparing source in /var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/work/https_dns_proxy-2d9285e2b94bce21c588c8160f8fac660806987a ... * Working in BUILD_DIR: "/var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/work/https_dns_proxy-0_pre20200925_build" * Hardcoded definition(s) removed in CMakeLists.txt: * set(CMAKE_BUILD_TYPE "Debug") >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/work/https_dns_proxy-2d9285e2b94bce21c588c8160f8fac660806987a ... * Working in BUILD_DIR: "/var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/work/https_dns_proxy-0_pre20200925_build" cmake -C /var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/work/https_dns_proxy-0_pre20200925_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/work/https_dns_proxy-0_pre20200925_build/gentoo_toolchain.cmake /var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/work/https_dns_proxy-2d9285e2b94bce21c588c8160f8fac660806987a loading initial cache file /var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/work/https_dns_proxy-0_pre20200925_build/gentoo_common_config.cmake -- The C compiler identification is GNU 10.2.0 -- The CXX compiler identification is GNU 10.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- clang-tidy found: /usr/lib/llvm/11/bin/clang-tidy -- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY) -- <<< Gentoo configuration >>> Build type Gentoo Install path /usr Compiler flags: C -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security C++ -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security Linker flags: Executable -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 Module -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 Shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -- Configuring done -- Generating done -- Build files have been written to: /var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/work/https_dns_proxy-0_pre20200925_build >>> Source configured. >>> Compiling source in /var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/work/https_dns_proxy-2d9285e2b94bce21c588c8160f8fac660806987a ... * Working in BUILD_DIR: "/var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/work/https_dns_proxy-0_pre20200925_build" ninja -v -j1 -l0 [1/7] /usr/bin/cmake -E __run_co_compile --tidy="/usr/lib/llvm/11/bin/clang-tidy;-fix;-checks=*,-clang-analyzer-alpha.*,-misc-unused-parameters,-cert-err34-c,-google-readability-todo,-hicpp-signed-bitwise,-cppcoreguidelines-avoid-magic-numbers,-readability-magic-numbers;--extra-arg-before=--driver-mode=gcc" --source=/var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/work/https_dns_proxy-2d9285e2b94bce21c588c8160f8fac660806987a/src/dns_poller.c -- /usr/bin/x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/work/https_dns_proxy-2d9285e2b94bce21c588c8160f8fac660806987a/src -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -MD -MT CMakeFiles/https_dns_proxy.dir/src/dns_poller.c.o -MF CMakeFiles/https_dns_proxy.dir/src/dns_poller.c.o.d -o CMakeFiles/https_dns_proxy.dir/src/dns_poller.c.o -c /var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/work/https_dns_proxy-2d9285e2b94bce21c588c8160f8fac660806987a/src/dns_poller.c FAILED: CMakeFiles/https_dns_proxy.dir/src/dns_poller.c.o /usr/bin/cmake -E __run_co_compile --tidy="/usr/lib/llvm/11/bin/clang-tidy;-fix;-checks=*,-clang-analyzer-alpha.*,-misc-unused-parameters,-cert-err34-c,-google-readability-todo,-hicpp-signed-bitwise,-cppcoreguidelines-avoid-magic-numbers,-readability-magic-numbers;--extra-arg-before=--driver-mode=gcc" --source=/var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/work/https_dns_proxy-2d9285e2b94bce21c588c8160f8fac660806987a/src/dns_poller.c -- /usr/bin/x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/work/https_dns_proxy-2d9285e2b94bce21c588c8160f8fac660806987a/src -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -MD -MT CMakeFiles/https_dns_proxy.dir/src/dns_poller.c.o -MF CMakeFiles/https_dns_proxy.dir/src/dns_poller.c.o.d -o CMakeFiles/https_dns_proxy.dir/src/dns_poller.c.o -c /var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/work/https_dns_proxy-2d9285e2b94bce21c588c8160f8fac660806987a/src/dns_poller.c error: invalid integral value '32:25:16' in '-falign-functions=32:25:16' [clang-diagnostic-error] /var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/work/https_dns_proxy-2d9285e2b94bce21c588c8160f8fac660806987a/src/dns_poller.c:1:1: warning: system include sys/socket.h not allowed [llvmlibc-restrict-system-libc-headers] #include ^~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/work/https_dns_proxy-2d9285e2b94bce21c588c8160f8fac660806987a/src/dns_poller.c:2:1: warning: system include sys/types.h not allowed [llvmlibc-restrict-system-libc-headers] #include ^~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/work/https_dns_proxy-2d9285e2b94bce21c588c8160f8fac660806987a/src/dns_poller.c:4:1: warning: system include ares.h not allowed [llvmlibc-restrict-system-libc-headers] #include ^~~~~~~~~~~~~~~~~ /var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/work/https_dns_proxy-2d9285e2b94bce21c588c8160f8fac660806987a/src/dns_poller.c:5:1: warning: system include arpa/inet.h not allowed [llvmlibc-restrict-system-libc-headers] #include ^~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/work/https_dns_proxy-2d9285e2b94bce21c588c8160f8fac660806987a/src/dns_poller.c:6:1: warning: system include netdb.h not allowed [llvmlibc-restrict-system-libc-headers] #include ^~~~~~~~~~~~~~~~~~ /var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/work/https_dns_proxy-2d9285e2b94bce21c588c8160f8fac660806987a/src/dns_poller.c:7:1: warning: system include netinet/in.h not allowed [llvmlibc-restrict-system-libc-headers] #include ^~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/work/https_dns_proxy-2d9285e2b94bce21c588c8160f8fac660806987a/src/dns_poller.c:8:1: warning: system include stdlib.h not allowed [llvmlibc-restrict-system-libc-headers] #include ^~~~~~~~~~~~~~~~~~~ /var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/work/https_dns_proxy-2d9285e2b94bce21c588c8160f8fac660806987a/src/dns_poller.c:9:1: warning: system include string.h not allowed [llvmlibc-restrict-system-libc-headers] #include ^~~~~~~~~~~~~~~~~~~ /var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/work/https_dns_proxy-2d9285e2b94bce21c588c8160f8fac660806987a/src/dns_poller.c:10:1: warning: system include unistd.h not allowed [llvmlibc-restrict-system-libc-headers] #include ^~~~~~~~~~~~~~~~~~~ /var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/work/https_dns_proxy-2d9285e2b94bce21c588c8160f8fac660806987a/src/dns_poller.c:14:1: warning: system include math.h not allowed [llvmlibc-restrict-system-libc-headers] #include "math.h" ^~~~~~~~~~~~~~~~~ /var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/work/https_dns_proxy-2d9285e2b94bce21c588c8160f8fac660806987a/src/dns_poller.c:29:5: warning: Call to function 'memmove' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memmove_s' in case of C11 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling] ev_io_init(&d->fd[fd], sock_cb, fd, ^ /usr/include/ev.h:712:51: note: expanded from macro 'ev_io_init' #define ev_io_init(ev,cb,fd,events) do { ev_init ((ev), (cb)); ev_io_set ((ev),(fd),(events)); } while (0) ^ /usr/include/ev.h:694:3: note: expanded from macro 'ev_init' ev_set_cb ((ev), cb_); \ ^ /usr/include/ev.h:744:68: note: expanded from macro 'ev_set_cb' # define ev_set_cb(ev,cb_) (ev_cb_ (ev) = (cb_), memmove (&((ev_watcher *)(ev))->cb, &ev_cb_ (ev), sizeof (ev_cb_ (ev)))) ^ /var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/work/https_dns_proxy-2d9285e2b94bce21c588c8160f8fac660806987a/src/dns_poller.c:29:5: note: Call to function 'memmove' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memmove_s' in case of C11 ev_io_init(&d->fd[fd], sock_cb, fd, ^ /usr/include/ev.h:712:51: note: expanded from macro 'ev_io_init' #define ev_io_init(ev,cb,fd,events) do { ev_init ((ev), (cb)); ev_io_set ((ev),(fd),(events)); } while (0) ^ /usr/include/ev.h:694:3: note: expanded from macro 'ev_init' ev_set_cb ((ev), cb_); \ ^ /usr/include/ev.h:744:68: note: expanded from macro 'ev_set_cb' # define ev_set_cb(ev,cb_) (ev_cb_ (ev) = (cb_), memmove (&((ev_watcher *)(ev))->cb, &ev_cb_ (ev), sizeof (ev_cb_ (ev)))) ^ /var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/work/https_dns_proxy-2d9285e2b94bce21c588c8160f8fac660806987a/src/dns_poller.c:34:5: warning: Call to function 'memmove' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memmove_s' in case of C11 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling] ev_io_init(&d->fd[fd], sock_cb, fd, ^ /usr/include/ev.h:712:51: note: expanded from macro 'ev_io_init' #define ev_io_init(ev,cb,fd,events) do { ev_init ((ev), (cb)); ev_io_set ((ev),(fd),(events)); } while (0) ^ /usr/include/ev.h:694:3: note: expanded from macro 'ev_init' ev_set_cb ((ev), cb_); \ ^ /usr/include/ev.h:744:68: note: expanded from macro 'ev_set_cb' # define ev_set_cb(ev,cb_) (ev_cb_ (ev) = (cb_), memmove (&((ev_watcher *)(ev))->cb, &ev_cb_ (ev), sizeof (ev_cb_ (ev)))) ^ /var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/work/https_dns_proxy-2d9285e2b94bce21c588c8160f8fac660806987a/src/dns_poller.c:34:5: note: Call to function 'memmove' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memmove_s' in case of C11 ev_io_init(&d->fd[fd], sock_cb, fd, ^ /usr/include/ev.h:712:51: note: expanded from macro 'ev_io_init' #define ev_io_init(ev,cb,fd,events) do { ev_init ((ev), (cb)); ev_io_set ((ev),(fd),(events)); } while (0) ^ /usr/include/ev.h:694:3: note: expanded from macro 'ev_init' ev_set_cb ((ev), cb_); \ ^ /usr/include/ev.h:744:68: note: expanded from macro 'ev_set_cb' # define ev_set_cb(ev,cb_) (ev_cb_ (ev) = (cb_), memmove (&((ev_watcher *)(ev))->cb, &ev_cb_ (ev), sizeof (ev_cb_ (ev)))) ^ /var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/work/https_dns_proxy-2d9285e2b94bce21c588c8160f8fac660806987a/src/dns_poller.c:105:3: warning: Call to function 'memmove' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memmove_s' in case of C11 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling] ev_timer_init(&d->timer, timer_cb, 0, POLLER_INTVL_ERR); ^ /usr/include/ev.h:713:51: note: expanded from macro 'ev_timer_init' #define ev_timer_init(ev,cb,after,repeat) do { ev_init ((ev), (cb)); ev_timer_set ((ev),(after),(repeat)); } while (0) ^ /usr/include/ev.h:694:3: note: expanded from macro 'ev_init' ev_set_cb ((ev), cb_); \ ^ /usr/include/ev.h:744:68: note: expanded from macro 'ev_set_cb' # define ev_set_cb(ev,cb_) (ev_cb_ (ev) = (cb_), memmove (&((ev_watcher *)(ev))->cb, &ev_cb_ (ev), sizeof (ev_cb_ (ev)))) ^ /var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/work/https_dns_proxy-2d9285e2b94bce21c588c8160f8fac660806987a/src/dns_poller.c:105:3: note: Call to function 'memmove' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memmove_s' in case of C11 ev_timer_init(&d->timer, timer_cb, 0, POLLER_INTVL_ERR); ^ /usr/include/ev.h:713:51: note: expanded from macro 'ev_timer_init' #define ev_timer_init(ev,cb,after,repeat) do { ev_init ((ev), (cb)); ev_timer_set ((ev),(after),(repeat)); } while (0) ^ /usr/include/ev.h:694:3: note: expanded from macro 'ev_init' ev_set_cb ((ev), cb_); \ ^ /usr/include/ev.h:744:68: note: expanded from macro 'ev_set_cb' # define ev_set_cb(ev,cb_) (ev_cb_ (ev) = (cb_), memmove (&((ev_watcher *)(ev))->cb, &ev_cb_ (ev), sizeof (ev_cb_ (ev)))) ^ 7509 warnings and 1 error generated. Error while processing /var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/work/https_dns_proxy-2d9285e2b94bce21c588c8160f8fac660806987a/src/dns_poller.c. Suppressed 7496 warnings (7496 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. Found compiler errors, but -fix-errors was not specified. Fixes have NOT been applied. Found compiler error(s). ninja: build stopped: subcommand failed. * ERROR: net-dns/https_dns_proxy-0_pre20200925::gentoo failed (compile phase): * ninja -v -j1 -l0 failed * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 1990: Called cmake_src_compile * environment, line 685: Called cmake_build * environment, line 654: Called eninja * environment, line 1106: Called die * The specific snippet of code: * "$@" || die "${nonfatal_args[@]}" "${*} failed" * * If you need support, post the output of `emerge --info '=net-dns/https_dns_proxy-0_pre20200925::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-dns/https_dns_proxy-0_pre20200925::gentoo'`. * The complete build log is located at '/var/log/portage/net-dns:https_dns_proxy-0_pre20200925:20201117-133211.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/temp/environment'. * Working directory: '/var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/work/https_dns_proxy-0_pre20200925_build' * S: '/var/tmp/portage/net-dns/https_dns_proxy-0_pre20200925/work/https_dns_proxy-2d9285e2b94bce21c588c8160f8fac660806987a'