Skip to contentSkip to conversation

linknx: add missing libcurl dependency

PATCH New Lada Trimasova 2 participants 2 messages Mar 25, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linknx: add missing libcurl dependency

"LIBCURL_CHECK_CONFIG" macros used in "configure.ac" file can be
resolved only when libcurl is installed.
Earlier we used generated "configure" file with already resolved
"LIBCURL_CHECK_CONFIG" macros. And now we need autoreconf.
(See https://git.busybox.net/buildroot/commit/package/linknx/linknx.mk?id=f35f54585f9e63400bdbd9c9ba2b9fd67be538ea)
So it's impossible to generate configure file without libcurl installed.

Fixes:
http://autobuild.buildroot.net/results/9d2/9d23babaa739ecb8e7c2ad09036a5bc0461d3a8c/build-end.log

Cc Alexey Brodkin <[email protected]>
Cc Thomas Petazzoni <[email protected]>
Cc Peter Korsgaard <[email protected]>
---
 package/linknx/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/linknx/Config.in +1 -0
index 36838fe..55c14ab 100644
@@ -4,6 +4,7 @@ config BR2_PACKAGE_LINKNX
 	select BR2_PACKAGE_ARGP_STANDALONE \
 	       if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL
 	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_PACKAGE_LIBCURL
 	depends on BR2_USE_MMU # libpthsem
 	help
 	  Linknx is an automation platform providing high level functionalities
Signature · 1 line
2.5.0
#1 lore raw

PATCH 1/1 linknx: add missing libcurl dependency

Hello,

Quoted 23 lines · Lada Trimasova

"LIBCURL_CHECK_CONFIG" macros used in "configure.ac" file can be
resolved only when libcurl is installed.
Earlier we used generated "configure" file with already resolved
"LIBCURL_CHECK_CONFIG" macros. And now we need autoreconf.
(See https://git.busybox.net/buildroot/commit/package/linknx/linknx.mk?id=f35f54585f9e63400bdbd9c9ba2b9fd67be538ea)
So it's impossible to generate configure file without libcurl installed.

Fixes:
http://autobuild.buildroot.net/results/9d2/9d23babaa739ecb8e7c2ad09036a5bc0461d3a8c/build-end.log

Cc Alexey Brodkin <[email protected]>
Cc Thomas Petazzoni <[email protected]>
Cc Peter Korsgaard <[email protected]>
---
 package/linknx/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/linknx/Config.in +0 -0
index 36838fe..55c14ab 100644

package/linknx/Config.in config BR2_PACKAGE_LINKNX · line 7

Quoted 4 lines
package/linknx/Config.in +1 -0
@@ -4,6 +4,7 @@ config BR2_PACKAGE_LINKNX
 	select BR2_PACKAGE_ARGP_STANDALONE \
 	       if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL
 	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_PACKAGE_LIBCURL

Adding a depends on for library dependencies is not the approach we use in Buildroot. Rather, we use a select for such dependencies. However, someone else has already submitted a patch fixing the same problem, with a select. See http://patchwork.ozlabs.org/patch/598613/.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com