Summary: | net-proxy/dante-1.4.1-r6: fails to compile with musl/clang: call to undeclared function 'bindresvport' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Elizabeth Doughty <thymelizabeth> |
Component: | Current packages | Assignee: | Robin Johnson <robbat2> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | joneqdaniel, musl, sigsegv |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | Yes | |
Bug Depends on: | |||
Bug Blocks: | 870412 | ||
Attachments: |
net-proxy/dante-1.4.1-r6 build log
build.log error: implicit declaration of function gets |
Description
Elizabeth Doughty
2023-07-03 12:11:44 UTC
Created attachment 865091 [details]
net-proxy/dante-1.4.1-r6 build log
I think this is more of an issue when compiling against musl than it seems at first. Actually with a simple test: Minimal test.c like this: int main() { } $ cc -o test test.c -lsocks /usr/lib/gcc/x86_64-pc-linux-musl/13/../../../../x86_64-pc-linux-musl/bin/ld: /usr/lib/gcc/x86_64-pc-linux-musl/13/../../../../lib/libsocks.so: undefined reference to `bindresvport' collect2: error: ld returned 1 exit status The bindresvport is a glibc-function. So unfortunately this creates a slightly broken shared object on musl. (See also my comment on https://bugs.gentoo.org/931321 ) Created attachment 899489 [details]
build.log error: implicit declaration of function gets
Please retest against dante-1.4.3 due to major changes upstream & in the patch-set. |