Summary: | dev-libs/libstrophe-0.12.2 fails to build with /bin/sh -> dash | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Anna Vyalkova <cyber+gentoo> |
Component: | Current packages | Assignee: | Adrian Schollmeyer <nex+b-g-o> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jstein, proxy-maint |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/strophe/libstrophe/pull/218 | ||
See Also: | https://github.com/gentoo/gentoo/pull/28148 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 526268 | ||
Attachments: |
link.log
build.log config.log |
I'd try append-libs from flag-o-matic.eclass Missing the full build.log and emerge --info. Created attachment 827099 [details]
build.log
Created attachment 827101 [details]
config.log
Ah, it fails to find gnutls
> ./configure: 14622: test: xyes: unexpected operator > ./configure: 14716: test: x: unexpected operator The test is: > if test "x$enable_tls" != xno -a "x$with_gnutls" == xyes But it isn't POSIX so dash (my /bin/sh) doesn't support it. This is the same problem as https://bugs.gentoo.org/877049, just with a different error. I'll wait for upstream to respond to Anna's PR and then backport the fix. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca475f37660c940516572a8c4eee6ec0e017c0f1 commit ca475f37660c940516572a8c4eee6ec0e017c0f1 Author: Adrian Schollmeyer <nex+b-g-o@nexadn.de> AuthorDate: 2022-11-05 19:23:46 +0000 Commit: Florian Schmaus <flow@gentoo.org> CommitDate: 2022-11-06 11:04:24 +0000 dev-libs/libstrophe: Backport /bin/sh -> dash fix Closes: https://bugs.gentoo.org/877049 Closes: https://bugs.gentoo.org/879533 Signed-off-by: Adrian Schollmeyer <nex+b-g-o@nexadn.de> Closes: https://github.com/gentoo/gentoo/pull/28148 Signed-off-by: Florian Schmaus <flow@gentoo.org> dev-libs/libstrophe/Manifest | 1 + dev-libs/libstrophe/libstrophe-0.12.2.ebuild | 11 ++++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=191fbdaf985652a3873a545226a53cc2ad37de41 commit 191fbdaf985652a3873a545226a53cc2ad37de41 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-05-02 22:50:03 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-05-02 22:53:12 +0000 dev-libs/libstrophe: avoid maintainer mode b/c of bashisms patch The bashisms patch touches configure.ac so it causes maintainer mode in src_compile. Run eautoreconf instead. Bug: https://bugs.gentoo.org/877049 Bug: https://bugs.gentoo.org/879533 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/libstrophe/libstrophe-0.12.2.ebuild | 11 +++++++++++ 1 file changed, 11 insertions(+) |
Created attachment 826965 [details] link.log Lots of "undefined references". But if I add "-lgnutls" to LDFLAGS, it works.