Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
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]
Summary: net-dns/rbldnsd-0.998b-r3 - [ncurses-6.5] [meson] [libtool] [gcc-15] mempool....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michael Orlitzky
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2024-10-03 08:30 UTC by Toralf Förster
Modified: 2024-10-06 20:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,20.18 KB, text/plain)
2024-10-03 08:30 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,64.00 KB, application/x-xz)
2024-10-03 08:30 UTC, Toralf Förster
Details
environment (environment,64.27 KB, text/plain)
2024-10-03 08:30 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-10-03 08:30 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,23.78 KB, application/x-xz)
2024-10-03 08:30 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,884 bytes, application/x-xz)
2024-10-03 08:30 UTC, Toralf Förster
Details
net-dns:rbldnsd-0.998b-r3:20241003-082819.log (net-dns:rbldnsd-0.998b-r3:20241003-082819.log,11.41 KB, text/plain)
2024-10-03 08:30 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,75.59 KB, application/x-xz)
2024-10-03 08:30 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,403.97 KB, application/x-xz)
2024-10-03 08:30 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-10-03 08:30:30 UTC
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);
      |       ^

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_systemd-20240927-085502

  UNMASKED:
  /etc/portage/package.unmask/60gcc:<sys-devel/gcc-15.0.9999:15
    Requested by sam
    Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson.
  /etc/portage/package.unmask/50unstable:<dev-build/meson-9999
    Issues involving opaque types / incomplete typedefs should block bug 930805
  /etc/portage/package.unmask/50unstable:>=sys-libs/ncurses-6.5

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
clang version 19.1.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/19/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/19
19.1.1
Python 3.12.7
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.81.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.24_p8 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
  [1]   php8.3 *
go version go1.23.1 linux/amd64

  HEAD of ::gentoo
commit e168b275a727d09181d7997281445be57adfb8ba
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Oct 3 07:48:34 2024 +0000

    2024-10-03 07:48:34 UTC

emerge -qpvO =net-dns/rbldnsd-0.998b-r3
[ebuild  N    ] net-dns/rbldnsd-0.998b-r3  USE="ipv6 zlib"
Comment 1 Toralf Förster gentoo-dev 2024-10-03 08:30:31 UTC
Created attachment 904800 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-10-03 08:30:32 UTC
Created attachment 904801 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-10-03 08:30:34 UTC
Created attachment 904802 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-10-03 08:30:35 UTC
Created attachment 904803 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-10-03 08:30:37 UTC
Created attachment 904804 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-10-03 08:30:37 UTC
Created attachment 904805 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-10-03 08:30:39 UTC
Created attachment 904806 [details]
net-dns:rbldnsd-0.998b-r3:20241003-082819.log
Comment 8 Toralf Förster gentoo-dev 2024-10-03 08:30:40 UTC
Created attachment 904807 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-10-03 08:30:42 UTC
Created attachment 904808 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2024-10-04 19:41:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b729405ff0956692a8ee7779025723d74bf346a

commit 1b729405ff0956692a8ee7779025723d74bf346a
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2024-10-04 19:16:11 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2024-10-04 19:41:10 +0000

    net-dns/rbldnsd: new patch to fix a type signature mismatch
    
    Closes: https://bugs.gentoo.org/940703
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 .../files/rbldnsd-0.998b-emalloc-typesig.patch     | 34 +++++++++++
 net-dns/rbldnsd/rbldnsd-0.998b-r4.ebuild           | 68 ++++++++++++++++++++++
 2 files changed, 102 insertions(+)