gnutls: needs argp-standalone for musl/uclibc
PATCH 1/1 gnutls: needs argp-standalone for musl/uclibc
It's required for crywrap (tools), fixes:
http://autobuild.buildroot.net/results/2d9/2d98fced7ff7c3b5c39a97eb1c8db7dd651fa86c/
--- package/gnutls/Config.in | 2 ++ package/gnutls/gnutls.mk | 6 ++++++ 2 files changed, 8 insertions(+)
package/gnutls/Config.in +2 -0
@@ -14,6 +14,8 @@ if BR2_PACKAGE_GNUTLS config BR2_PACKAGE_GNUTLS_TOOLS bool "install tools" + select BR2_PACKAGE_ARGP_STANDALONE \ + if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL help Install GnuTLS command line tools for various cryptographic tasks.
package/gnutls/gnutls.mk +6 -0
@@ -44,6 +44,12 @@ ifeq ($(BR2_PACKAGE_GNUTLS_TOOLS),) GNUTLS_CONF_OPTS += --disable-crywrap endif +# Prerequisite for crywrap +ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) +GNUTLS_CONF_ENV += LIBS="-largp" +GNUTLS_DEPENDENCIES += argp-standalone +endif + # libidn support for nommu must exclude the crywrap wrapper (uses fork) GNUTLS_CONF_OPTS += $(if $(BR2_USE_MMU),,--disable-crywrap)
Signature · 1 line
2.4.10
PATCH 1/1 gnutls: needs argp-standalone for musl/uclibc
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Gustavo" == Gustavo Zacarias <[email protected]> writes:
It's required for crywrap (tools), fixes:
http://autobuild.buildroot.net/results/2d9/2d98fced7ff7c3b5c39a97eb1c8db7dd651fa86c/Signed-off-by Gustavo Zacarias <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 gnutls: needs argp-standalone for musl/uclibc
In reply to Gustavo ZacariasGustavo,
package/gnutls/Config.in if BR2_PACKAGE_GNUTLS · line 20
Quoted 12 lines · Gustavo Zacarias
package/gnutls/Config.in +2
-0@@ -14,6 +14,8 @@ if BR2_PACKAGE_GNUTLS config BR2_PACKAGE_GNUTLS_TOOLS bool "install tools" + select BR2_PACKAGE_ARGP_STANDALONE \ + if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL help Install GnuTLS command line tools for various cryptographic tasks.
Seems like BR2_PACKAGE_GNUTLS needs argp.h as well, not only BR2_PACKAGE_GNUTLS_TOOLS. See
http://autobuild.buildroot.org/results/d86/d8604fe448bb11395e8443726d09b041eb34c6d5//.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 1/1 gnutls: needs argp-standalone for musl/uclibc
Quoted 10 lines · Thomas Petazzoni
package/gnutls/Config.in if BR2_PACKAGE_GNUTLS · line 20
Quoted 6 lines
config
BR2_PACKAGE_GNUTLS_TOOLS
bool "install tools"package/gnutls/Config.in +2
-0+ select BR2_PACKAGE_ARGP_STANDALONE \ + if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL help Install GnuTLS command line tools for various cryptographic tasks.Seems like
BR2_PACKAGE_GNUTLSneedsargp.has well, not onlyBR2_PACKAGE_GNUTLS_TOOLS. See
http://autobuild.buildroot.org/results/d86/d8604fe448bb11395e8443726d09b041eb34c6d5//.
Hi.
It's still crywrap failing, hence tools.
Probably --disable-crywrap isn't doing it's job efficently, i'll take a look.
Regards.
PATCH 1/1 gnutls: needs argp-standalone for musl/uclibc
Dear Gustavo Zacarias,
Quoted 13 lines · Gustavo Zacarias
Quoted 10 lines · Thomas Petazzoni
package/gnutls/Config.in if BR2_PACKAGE_GNUTLS · line 20
Quoted 6 lines
config
BR2_PACKAGE_GNUTLS_TOOLS
bool "install tools"package/gnutls/Config.in +2
-0+ select BR2_PACKAGE_ARGP_STANDALONE \ + if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL help Install GnuTLS command line tools for various cryptographic tasks.Seems like
BR2_PACKAGE_GNUTLSneedsargp.has well, not onlyBR2_PACKAGE_GNUTLS_TOOLS. See
http://autobuild.buildroot.org/results/d86/d8604fe448bb11395e8443726d09b041eb34c6d5//.
Quoted 2 lines
Hi.
It's still crywrap failing, hence tools.
Well the failing config I'm pointing to has BR2_PACKAGE_GNUTLS_TOOLS disabled, but BR2_PACKAGE_GNUTLS enabled.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 1/1 gnutls: needs argp-standalone for musl/uclibc
Quoted 7 lines · Thomas Petazzoni
Quoted 2 lines
Hi.
It's still crywrap failing, hence tools.Well the failing config I'm pointing to has
BR2_PACKAGE_GNUTLS_TOOLSdisabled, butBR2_PACKAGE_GNUTLSenabled.Thomas
crywrap isn't part of tools in the gnutls sense, it's only so in the buildroot package sense/option.
Essentially --disable-crywrap is a no-op in gnutls, that's what the patch fixes, so it was never disabled.
Regards.