https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: net-libs/udns-0.4 fails to compile (CLANG-STRICTER-SYSTEM). Discovered on: amd64 (internal ref: clang-stricter_tinderbox) NOTE: (CLANG-STRICTER-SYSTEM) in the summary means that the bug was found on a machine that runs clang with stricter mode This machine uses clang with CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types See also: https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240 https://wiki.gentoo.org/wiki/Modern_C_porting
Created attachment 837617 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: /usr/bin/x86_64-pc-linux-gnu-ld.bfd: dnsget.c:(.text+0x1adc): undefined reference to `dns_ntop' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: dnsget.c:(.text+0x3f4): undefined reference to `dns_ntop' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: dnsget.c:(.text+0x508): undefined reference to `dns_pton' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: dnsget.c:(.text+0x53c): undefined reference to `dns_pton' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: rblcheck.c:(.text+0x55d): undefined reference to `dns_ntop' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: rblcheck.c:(.text+0x61a): undefined reference to `dns_ntop' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: rblcheck.c:(.text+0xf6b): undefined reference to `dns_ntop' dnsget.c:(.text+0x17ca): undefined reference to `dns_ntop' dnsget.c:(.text+0x33e): undefined reference to `dns_pton' dnsget.c:(.text+0x9d9): undefined reference to `dns_ntop' ex-rdns.c:(.text+0x154): undefined reference to `dns_pton' rblcheck.c:(.text+0x34f): undefined reference to `dns_pton' rblcheck.c:(.text+0xdc6): undefined reference to `dns_ntop' rblcheck.c:(.text+0xefe): undefined reference to `dns_ntop' clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
tinderbox_musl has reproduced this issue with version 0.4-r1 - Updating summary.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=484780bbcbc5bbace9eebb4ed538760df7dd2343 commit 484780bbcbc5bbace9eebb4ed538760df7dd2343 Author: Violet Purcell <vimproved@inventati.org> AuthorDate: 2023-07-08 18:39:56 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-07-09 02:10:18 +0000 net-libs/udns: Fix detection of inet_pton and inet_ntop with clang 16 Closes: https://bugs.gentoo.org/883285 Signed-off-by: Violet Purcell <vimproved@inventati.org> Closes: https://github.com/gentoo/gentoo/pull/31806 Signed-off-by: Sam James <sam@gentoo.org> .../udns-0.4-configure-pton-ntop-clang16.patch | 22 ++++++++++++++++++++++ .../{udns-0.4-r1.ebuild => udns-0.4-r2.ebuild} | 3 ++- 2 files changed, 24 insertions(+), 1 deletion(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdc52315cd216a96a9956991d21f06348ef9de6e commit fdc52315cd216a96a9956991d21f06348ef9de6e Author: Sam James <sam@gentoo.org> AuthorDate: 2023-12-16 08:11:10 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-12-16 08:23:54 +0000 net-libs/udns: fix (another) modern C issue Bug: https://bugs.gentoo.org/874759 Bug: https://bugs.gentoo.org/883285 Closes: https://bugs.gentoo.org/919260 Signed-off-by: Sam James <sam@gentoo.org> net-libs/udns/files/udns-0.4-configure-c99.patch | 33 +++++++++++++++++ net-libs/udns/udns-0.4-r3.ebuild | 46 ++++++++++++++++++++++++ 2 files changed, 79 insertions(+)