Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 883285 - net-libs/udns-0.4-r1 fails to compile (CLANG-STRICTER-SYSTEM): rblcheck.c:(.text+0x34f): undefined reference to dns_pton
Summary: net-libs/udns-0.4-r1 fails to compile (CLANG-STRICTER-SYSTEM): rblcheck.c:(.t...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-27 10:58 UTC by Agostino Sarubbo
Modified: 2023-02-16 14:02 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,51.12 KB, text/plain)
2022-11-27 10:58 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-11-27 10:58:20 UTC
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
Comment 1 Agostino Sarubbo gentoo-dev 2022-11-27 10:58:22 UTC
Created attachment 837617 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-11-27 10:58:23 UTC
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)
Comment 3 Agostino Sarubbo gentoo-dev 2023-02-16 14:02:48 UTC
tinderbox_musl has reproduced this issue with version 0.4-r1 - Updating summary.