Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 904806 Details for
Bug 940703
net-dns/rbldnsd-0.998b-r3 - [ncurses-6.5] [meson] [libtool] [gcc-15] mempool.c: error: type of emalloc does not match original declaration [-Werror=lto-type-mismatch]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-dns:rbldnsd-0.998b-r3:20241003-082819.log
net-dns:rbldnsd-0.998b-r3:20241003-082819.log (text/plain), 11.41 KB, created by
Toralf Förster
on 2024-10-03 08:30:39 UTC
(
hide
)
Description:
net-dns:rbldnsd-0.998b-r3:20241003-082819.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2024-10-03 08:30:39 UTC
Size:
11.41 KB
patch
obsolete
> * Package: net-dns/rbldnsd-0.998b-r3:0 > * Repository: gentoo > * Maintainer: mjo@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc ipv6 kernel_linux zlib > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking rbldnsd-0.998b.tar.gz to /var/tmp/portage/net-dns/rbldnsd-0.998b-r3/work >>>> Source unpacked in /var/tmp/portage/net-dns/rbldnsd-0.998b-r3/work >>>> Preparing source in /var/tmp/portage/net-dns/rbldnsd-0.998b-r3/work/rbldnsd-0.998b ... > * Applying rbldnsd-0.998b-cstd.patch ... > [ ok ] > * Applying rbldnsd-0.998b-sys-poll.patch ... > [ ok ] > * Applying rbldnsd-0.998b-mallinfo2.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/net-dns/rbldnsd-0.998b-r3/work/rbldnsd-0.998b ... >configure: rbldnsd... 0.998a (06 Sep 2016) >checking for C compiler... $CC (x86_64-pc-linux-gnu-gcc) >checking whether the C compiler (x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto) > can produce executables... yes >checking for ranlib... ranlib >checking for stdint.h... yes >checking whether C compiler defines __SIZEOF_POINTER__... yes >checking byte order... little-endian >checking for inline... yes >checking for socklen_t... yes >checking for libraries needed for connect()... ok (none needed) >checking for IPv6... yes >checking for mallinfo2()... yes >checking for poll()... yes >checking for vsnprintf()... yes >checking for writev()/readv()... yes >checking for setitimer()... yes >checking for zlib support... yes >creating Makefile... ok >creating config.h... ok >creating config.status... ok >all done. >>>> Source configured. >>>> Compiling source in /var/tmp/portage/net-dns/rbldnsd-0.998b-r3/work/rbldnsd-0.998b ... >make -j4 AR=x86_64-pc-linux-gnu-ar CC=x86_64-pc-linux-gnu-gcc RANLIB=x86_64-pc-linux-gnu-ranlib >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c rbldnsd_zones.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c rbldnsd_packet.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c rbldnsd_ip4set.c > > rbldnsd VERSION="0.998a (06 Sep 2016)" > >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c rbldnsd.c -DVERSION="\"0.998a (06 Sep 2016)\"" >rbldnsd_zones.c: In function âds_specialâ: >rbldnsd_zones.c:207:2: warning: #warning NS record compatibility mode: remove for 1.0 final [-Wcpp] > 207 | #warning NS record compatibility mode: remove for 1.0 final > | ^~~~~~~ >rbldnsd_packet.c: In function âlogreplyâ: >rbldnsd_packet.c:1003:5: warning: ignoring return value of âwriteâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 1003 | write(fileno(flog), cbuf, cp - cbuf); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >rbldnsd.c: In function âerrorâ: >rbldnsd.c:83:3: warning: ignoring return value of âwriteâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 83 | write(2, buf, l); > | ^~~~~~~~~~~~~~~~ >rbldnsd.c: In function âinitâ: >rbldnsd.c:614:5: warning: ignoring return value of âwriteâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 614 | write(cfd, "", 1); > | ^~~~~~~~~~~~~~~~~ >rbldnsd.c: In function âdo_reloadâ: >rbldnsd.c:778:30: warning: ignoring return value of âreadvâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 778 | # define ipc_read_stats(fd) readv(fd, stats_iov, numzones) > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >rbldnsd.c:990:5: note: in expansion of macro âipc_read_statsâ > 990 | ipc_read_stats(cfd); > | ^~~~~~~~~~~~~~ >rbldnsd.c: In function âdo_signalledâ: >rbldnsd.c:779:30: warning: ignoring return value of âwritevâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 779 | # define ipc_write_stats(fd) writev(fd, stats_iov, numzones) > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >rbldnsd.c:1002:7: note: in expansion of macro âipc_write_statsâ > 1002 | ipc_write_stats(1); > | ^~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c rbldnsd_ip4tset.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c rbldnsd_ip4trie.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c rbldnsd_ip6tset.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c rbldnsd_ip6trie.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c rbldnsd_dnset.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c rbldnsd_generic.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c rbldnsd_combined.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c rbldnsd_acl.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c rbldnsd_util.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c dns_ptodn.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c dns_dntop.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c dns_dntol.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c dns_dnlen.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c dns_dnlabels.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c dns_dnequ.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c dns_dnreverse.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c dns_findname.c >awk -f dns_maketab.awk dns.h > dns_nametab.c.tmp >rbldnsd_util.c: In function âvdslogâ: >rbldnsd_util.c:558:7: warning: ignoring return value of âwriteâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 558 | write(2, buf, l); > | ^~~~~~~~~~~~~~~~ >rbldnsd_util.c:561:5: warning: ignoring return value of âwriteâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 561 | write(1, buf, l); > | ^~~~~~~~~~~~~~~~ >mv -f dns_nametab.c.tmp dns_nametab.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c ip4parse.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c ip4atos.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c ip4mask.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c ip6addr.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c mempool.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c istream.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c btrie.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c dns_nametab.c >rm -f librbldnsd.a >x86_64-pc-linux-gnu-ar rv librbldnsd.a dns_ptodn.o dns_dntop.o dns_dntol.o dns_dnlen.o dns_dnlabels.o dns_dnequ.o dns_dnreverse.o dns_findname.o dns_nametab.o ip4parse.o ip4atos.o ip4mask.o ip6addr.o mempool.o istream.o btrie.o >x86_64-pc-linux-gnu-ar: creating librbldnsd.a >a - dns_ptodn.o >a - dns_dntop.o >a - dns_dntol.o >a - dns_dnlen.o >a - dns_dnlabels.o >a - dns_dnequ.o >a - dns_dnreverse.o >a - dns_findname.o >a - dns_nametab.o >a - ip4parse.o >a - ip4atos.o >a - ip4mask.o >a - ip6addr.o >a - mempool.o >a - istream.o >a - btrie.o >x86_64-pc-linux-gnu-ranlib librbldnsd.a >x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -o rbldnsd rbldnsd.o rbldnsd_zones.o rbldnsd_packet.o rbldnsd_ip4set.o rbldnsd_ip4tset.o rbldnsd_ip4trie.o rbldnsd_ip6tset.o rbldnsd_ip6trie.o rbldnsd_dnset.o rbldnsd_generic.o rbldnsd_combined.o rbldnsd_acl.o rbldnsd_util.o librbldnsd.a -lz >mempool.c:21:7: error: type of âemallocâ does not match original declaration [-Werror=lto-type-mismatch] > 21 | void *emalloc(unsigned size); > | ^ >rbldnsd_util.c:463:7: note: type mismatch in parameter 1 > 463 | char *emalloc(size_t size) { > | ^ >rbldnsd_util.c:463:7: note: type âsize_tâ should match type âunsigned intâ >rbldnsd_util.c:463:7: note: âemallocâ was previously declared here >rbldnsd_util.c:463:7: note: code may be misoptimized unless â-fno-strict-aliasingâ is used >lto1: some warnings being treated as errors >lto-wrapper: fatal error: x86_64-pc-linux-gnu-gcc returned 1 exit status >compilation terminated. >/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: error: lto-wrapper failed >collect2: error: ld returned 1 exit status >make: *** [Makefile:88: rbldnsd] Error 1 > * ERROR: net-dns/rbldnsd-0.998b-r3::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-dns/rbldnsd-0.998b-r3::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-dns/rbldnsd-0.998b-r3::gentoo'`. > * The complete build log is located at '/var/log/portage/net-dns:rbldnsd-0.998b-r3:20241003-082819.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-dns/rbldnsd-0.998b-r3/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-dns/rbldnsd-0.998b-r3/temp/environment'. > * Working directory: '/var/tmp/portage/net-dns/rbldnsd-0.998b-r3/work/rbldnsd-0.998b' > * S: '/var/tmp/portage/net-dns/rbldnsd-0.998b-r3/work/rbldnsd-0.998b' >
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 940703
:
904800
|
904801
|
904802
|
904803
|
904804
|
904805
| 904806 |
904807
|
904808