* Package:    net-dns/ndu-0.4-r4
 * Repository: gentoo
 * Maintainer: robbat2@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox

>>> Unpacking source...
>>> Unpacking ndu-0.4.tar.gz to /var/tmp/portage/net-dns/ndu-0.4-r4/work
>>> Source unpacked in /var/tmp/portage/net-dns/ndu-0.4-r4/work
>>> Preparing source in /var/tmp/portage/net-dns/ndu-0.4-r4/work/ndu-0.4 ...
 * Applying ndu-0.4-binary-locations.patch ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-dns/ndu-0.4-r4/work/ndu-0.4 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-dns/ndu-0.4-r4/work/ndu-0.4 ...
make -j 1 -C src 'CFLAGS=-pipe -march=native -fno-diagnostics-color  -Og -g' CXX=x86_64-pc-linux-gnu-g++ 
make: Entering directory '/var/tmp/portage/net-dns/ndu-0.4-r4/work/ndu-0.4/src'
Makefile:14: warning: ignoring prerequisites on suffix rule definition
Makefile:14: warning: ignoring prerequisites on suffix rule definition
Makefile:18: warning: ignoring prerequisites on suffix rule definition
Makefile:18: warning: ignoring prerequisites on suffix rule definition
Makefile:14: warning: ignoring prerequisites on suffix rule definition
Makefile:14: warning: ignoring prerequisites on suffix rule definition
Makefile:18: warning: ignoring prerequisites on suffix rule definition
Makefile:18: warning: ignoring prerequisites on suffix rule definition
echo "#define NDU_VERSION \""`cat version`"\"" > version.h
x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color  -Og -g -c ndu.cpp
ndu.cpp: In member function ‘void zone::writeNewRev()’:
ndu.cpp:334:50: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  334 |                                 newFileName->cat(".new");
      |                                                  ^~~~~~
ndu.cpp:370:58: warning: format not a string literal and no format arguments [-Wformat-security]
  370 |                                         fprintf(newfile, buffer);
      |                                                          ^~~~~~
ndu.cpp: In member function ‘void zone::process(char*)’:
ndu.cpp:407:64: error: ordered comparison of pointer with integer zero (‘char*’ and ‘int’)
  407 |                         if(strstr(name->pchar(), IN_ADDR_ARPA) > 0)
      |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
ndu.cpp:415:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  415 |                         fqfn->cat("/");
      |                                   ^~~
ndu.cpp: In constructor ‘conf::conf()’:
ndu.cpp:17:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   17 | #define CONFIG_PATH "/etc/bind/"
      |                     ^
ndu.cpp:20:27: note: in expansion of macro ‘CONFIG_PATH’
   20 | #define NAMED_CONFIG_FILE CONFIG_PATH"named.conf"
      |                           ^~~~~~~~~~~
ndu.cpp:455:38: note: in expansion of macro ‘NAMED_CONFIG_FILE’
  455 |                 namedConfigFile->cat(NAMED_CONFIG_FILE);
      |                                      ^~~~~~~~~~~~~~~~~
ndu.cpp:17:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   17 | #define CONFIG_PATH "/etc/bind/"
      |                     ^
ndu.cpp:19:25: note: in expansion of macro ‘CONFIG_PATH’
   19 | #define NDU_CONFIG_FILE CONFIG_PATH"ndu.conf"
      |                         ^~~~~~~~~~~
ndu.cpp:458:35: note: in expansion of macro ‘NDU_CONFIG_FILE’
  458 |                 if(readConfigFile(NDU_CONFIG_FILE) == 1)
      |                                   ^~~~~~~~~~~~~~~
ndu.cpp: In member function ‘void conf::buildNewTable()’:
ndu.cpp:635:47: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  635 |                                 zoneName->cat(".");
      |                                               ^~~
ndu.cpp:637:47: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  637 |                                 zoneName->cat(".");
      |                                               ^~~
ndu.cpp:23:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   23 | #define IN_ADDR_ARPA ".in-addr.arpa"
      |                      ^~~~~~~~~~~~~~~
ndu.cpp:639:47: note: in expansion of macro ‘IN_ADDR_ARPA’
  639 |                                 zoneName->cat(IN_ADDR_ARPA);
      |                                               ^~~~~~~~~~~~
ndu.cpp:671:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  671 |                                         z->assignFile("");
      |                                                       ^~
ndu.cpp:680:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  680 |                                 address->cat(".");
      |                                              ^~~
ndu.cpp: In member function ‘void zone::writeNewRev()’:
ndu.cpp:353:38: warning: ignoring return value of ‘int chown(const char*, __uid_t, __gid_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  353 |                                 chown(newFileName->pchar(), oldfilestat.st_uid, oldfilestat.st_gid);
      |                                 ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:18: ndu.o] Error 1
make: Leaving directory '/var/tmp/portage/net-dns/ndu-0.4-r4/work/ndu-0.4/src'
 * ERROR: net-dns/ndu-0.4-r4::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=net-dns/ndu-0.4-r4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-dns/ndu-0.4-r4::gentoo'`.
 * The complete build log is located at '/var/log/portage/net-dns:ndu-0.4-r4:20210428-043448.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-dns/ndu-0.4-r4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-dns/ndu-0.4-r4/temp/environment'.
 * Working directory: '/var/tmp/portage/net-dns/ndu-0.4-r4/work/ndu-0.4'
 * S: '/var/tmp/portage/net-dns/ndu-0.4-r4/work/ndu-0.4'