Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 702993 Details for
Bug 786276
net-dns/ndu-0.4-r4 - ndu.cpp: error: ordered comparison of pointer with integer zero (char* and int)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-dns:ndu-0.4-r4:20210428-043448.log
net-dns:ndu-0.4-r4:20210428-043448.log (text/plain), 6.25 KB, created by
Toralf Förster
on 2021-04-28 07:12:23 UTC
(
hide
)
Description:
net-dns:ndu-0.4-r4:20210428-043448.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2021-04-28 07:12:23 UTC
Size:
6.25 KB
patch
obsolete
> * 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' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 786276
:
702981
|
702984
|
702987
|
702990
| 702993 |
702996