https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: net-libs/libssh-0.9.6 fails to compile. Discovered on: amd64 (internal ref: tinderbox_musl) NOTE: This machine uses MUSL libc
Created attachment 768613 [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: -- Could NOT find ABIMap (missing: ABIMAP_EXECUTABLE) (Required is at least version "0.3.1") -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Could not find `abimap` in PATH. It can be found in PyPI as `abimap` (try `pip install abimap`) FAILED: tests/unittests/torture_channel FAILED: tests/unittests/torture_pki_dsa FAILED: tests/unittests/torture_pki_ecdsa FAILED: tests/unittests/torture_pki_ed25519 FAILED: tests/unittests/torture_rand FAILED: tests/unittests/torture_threads_init cmdline.c:(.text+0x55): undefined reference to `argp_parse' collect2: error: ld returned 1 exit status
Created attachment 788096 [details, diff] net-libs/libssh: fix musl build with USE="test" This patch makes the following changes: * adds sys-libs/argp-standalone as dependency * forces cmake to lookup for the argp library
(In reply to CFuga from comment #3) > Created attachment 788096 [details, diff] [details, diff] > net-libs/libssh: fix musl build with USE="test" > > This patch makes the following changes: > > * adds sys-libs/argp-standalone as dependency > * forces cmake to lookup for the argp library Thanks! I've also synced live.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3feebf96ee8ee9375f291bf2d9c128c1fa758052 commit 3feebf96ee8ee9375f291bf2d9c128c1fa758052 Author: Cristian Othón Martínez Vera <cfuga@cfuga.mx> AuthorDate: 2022-06-27 19:23:26 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-27 23:03:08 +0000 net-libs/libssh: fix musl build with USE="test" * add sys-libs/argp-standalone as dependency * force cmake to lookup for the argp library Signed-off-by: Cristian Othón Martínez Vera <cfuga@cfuga.mx> Bug: https://bugs.gentoo.org/836705 Signed-off-by: Sam James <sam@gentoo.org> net-libs/libssh/libssh-0.9.6.ebuild | 9 ++++++++- net-libs/libssh/libssh-9999.ebuild | 11 +++++++++-- 2 files changed, 17 insertions(+), 3 deletions(-)