Skip to contentSkip to conversation

package/s390-tools: add zlib dependency

PATCH New Alexander Egorenkov 2 participants 2 messages Oct 20, 2020 – Oct 24, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/s390-tools: add zlib dependency

zlib is required to build s390-tools and cannot be disabled for now due to libvmdump.

Fixes:

$BUILD_DIR/host/bin/s390x-buildroot-linux-gnu-g++ ... -c vmdump_convert.cpp -o vmdump_convert.o lkcd_dump.cpp:15:10: fatal error: zlib.h: No such file or directory
15 | #include <zlib.h>

      |          ^~~~~~~~

compilation terminated.

---
 package/s390-tools/Config.in     | 1 +
 package/s390-tools/s390-tools.mk | 1 +
 2 files changed, 2 insertions(+)
package/s390-tools/Config.in +1 -0
index a553b5eeab..4aede4e265 100644
@@ -7,6 +7,7 @@ config BR2_PACKAGE_S390_TOOLS
 	depends on BR2_s390x
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_TOOLCHAIN_USES_GLIBC
+	select BR2_PACKAGE_ZLIB
 	help
 	  Tools for use with the s390 Linux kernel and device drivers.
 
package/s390-tools/s390-tools.mk +1 -0
index 4d4c8188fe..d186f85cd3 100644
@@ -8,6 +8,7 @@ S390_TOOLS_VERSION = 2.14.0
 S390_TOOLS_SITE = $(call github,ibm-s390-tools,s390-tools,v$(S390_TOOLS_VERSION))
 S390_TOOLS_LICENSE = MIT
 S390_TOOLS_LICENSE_FILES = LICENSE
+S390_TOOLS_DEPENDENCIES = zlib
 
 S390_TOOLS_MAKE_OPTS = \
 	ARCH=$(BR2_ARCH) \
Signature · 1 line
2.26.2
#1 lore raw

PATCH 1/1 package/s390-tools: add zlib dependency

Quoted 8 lines · On Tue, 20 Oct 2020 12:39:04 +0200 Alexander Egorenkov…

zlib is required to build s390-tools and cannot be disabled for now due to libvmdump.

Fixes:

$BUILD_DIR/host/bin/s390x-buildroot-linux-gnu-g++ ... -c vmdump_convert.cpp -o vmdump_convert.o lkcd_dump.cpp:15:10: fatal error: zlib.h: No such file or directory
15 | #include <zlib.h>

Quoted 8 lines
      |          ^~~~~~~~

compilation terminated.

---
 package/s390-tools/Config.in     | 1 +
 package/s390-tools/s390-tools.mk | 1 +
 2 files changed, 2 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com