Skip to contentSkip to conversation

package/zchunk: needs argp

PATCH Applied Fabrice Fontaine 2 participants 2 messages Dec 28, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/zchunk: needs argp

Fix the following build failure raised since the addition of the package in commit c618da772df32679fdd338b99f44133655c9113f:

../output-1/build/zchunk-1.1.16/meson.build:35:4: ERROR: C shared or static library 'argp' not found

Fixes:
- http://autobuild.buildroot.org/results/f82d06e95ac497aa8215268a7a58e929a05b32e3

---
 package/zchunk/Config.in | 1 +
 package/zchunk/zchunk.mk | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)
package/zchunk/Config.in +1 -0
index d610e15997..2c8db434ce 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_ZCHUNK
 	bool "zchunk"
+	select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL
 	select BR2_PACKAGE_LIBCURL
 	help
 	  A file format designed for highly efficient deltas while
package/zchunk/zchunk.mk +3 -1
index d8538542f1..6f7ac799a0 100644
@@ -9,7 +9,9 @@ ZCHUNK_SITE = $(call github,zchunk,zchunk,$(ZCHUNK_VERSION))
 ZCHUNK_LICENSE = BSD-2-Clause
 ZCHUNK_LICENSE_FILES = LICENSE
 ZCHUNK_INSTALL_STAGING = YES
-ZCHUNK_DEPENDENCIES = libcurl
+ZCHUNK_DEPENDENCIES = \
+	libcurl \
+	$(if $(BR2_PACKAGE_ARGP_STANDALONE),argp-standalone)
 
 ifeq ($(BR2_PACKAGE_OPENSSL),y)
 ZCHUNK_DEPENDENCIES += openssl
Signature · 6 lines
2.33.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 5 lines · On Tue, 28 Dec 2021 11:35:01 +0100 Fabrice Fontaine…

Fix the following build failure raised since the addition of the package in commit c618da772df32679fdd338b99f44133655c9113f:

../output-1/build/zchunk-1.1.16/meson.build:35:4: ERROR: C shared or static library 'argp' not found

Quoted 8 lines

Fixes:
- http://autobuild.buildroot.org/results/f82d06e95ac497aa8215268a7a58e929a05b32e3

---
 package/zchunk/Config.in | 1 +
 package/zchunk/zchunk.mk | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot