Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713810 - app-shells/pdsh-2.34-r1 : privsep.c:(.text+<snip>): undefined reference to rresvport
Summary: app-shells/pdsh-2.34-r1 : privsep.c:(.text+<snip>): undefined reference to rr...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-03-21 16:17 UTC by Toralf Förster
Modified: 2022-09-25 01:21 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.06 KB, text/plain)
2020-03-21 16:17 UTC, Toralf Förster
Details
app-shells:pdsh-2.26-r1:20200321-154905.log (app-shells:pdsh-2.26-r1:20200321-154905.log,29.88 KB, text/plain)
2020-03-21 16:17 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,237.66 KB, text/plain)
2020-03-21 16:17 UTC, Toralf Förster
Details
environment (environment,17.14 KB, text/plain)
2020-03-21 16:17 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,19.35 KB, application/x-bzip)
2020-03-21 16:17 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,14.83 KB, application/x-bzip)
2020-03-21 16:17 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,10.70 KB, application/x-bzip)
2020-03-21 16:17 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 2020-03-21 16:17:01 UTC
x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wl,-O1 -Wl,--as-needed -o pdsh.inst main.o dsh.o mod.o rcmd.o opt.o privsep.o pcp_server.o pcp_client.o testcase.o wcoll.o cbuf.o xpopen.o ltdl.o config.o -Wl,--export-dynamic  ../../src/common/.libs/libcommon.a -lreadline -lhistory -lncurses -ldl
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: privsep.o: in function privsep_init:
privsep.c:(.text+0x110): undefined reference to rresvport
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: privsep.o: in function privsep_rresvport_af:
privsep.c:(.text+0x4fb): undefined reference to rresvport
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: privsep.c:(.text+0x522): undefined reference to rresvport

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200316-165821

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.1 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat Mar 21 14:38:37 UTC 2020
/var/db/repos/musl	Sat Mar 21 03:09:12 UTC 2020

emerge -qpvO app-shells/pdsh
[ebuild  N    ] app-shells/pdsh-2.26-r1  USE="crypt readline -rsh -static-libs -test"
Comment 1 Toralf Förster gentoo-dev 2020-03-21 16:17:04 UTC
Created attachment 623884 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-21 16:17:07 UTC
Created attachment 623886 [details]
app-shells:pdsh-2.26-r1:20200321-154905.log
Comment 3 Toralf Förster gentoo-dev 2020-03-21 16:17:10 UTC
Created attachment 623888 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-21 16:17:13 UTC
Created attachment 623890 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-21 16:17:16 UTC
Created attachment 623892 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-21 16:17:18 UTC
Created attachment 623894 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-21 16:17:21 UTC
Created attachment 623896 [details]
temp.tbz2
Comment 8 Agostino Sarubbo gentoo-dev 2022-01-04 07:54:33 UTC
tinderbox_musl has reproduced this issue with version 2.34-r1 - Updating summary.
Comment 9 Larry the Git Cow gentoo-dev 2022-09-25 01:21:08 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c93e299c4c4db9edf7c120a87a6f132cbbdfef8

commit 9c93e299c4c4db9edf7c120a87a6f132cbbdfef8
Author:     Petr Vaněk <arkamar@atlas.cz>
AuthorDate: 2022-09-11 19:58:37 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-09-25 01:20:13 +0000

    profiles/features/musl: mask app-shells/pdsh and net-analyzer/ipcad
    
    Both packages require rresvport function, which is not implemented in
    musl.
    
    Closes: https://bugs.gentoo.org/713376
    Closes: https://bugs.gentoo.org/713810
    Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
    Closes: https://github.com/gentoo/gentoo/pull/27212
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/features/musl/package.mask | 5 +++++
 1 file changed, 5 insertions(+)