Skip to contentSkip to conversation

package/python3: fix bzip2 build

PATCH In review Fabrice Fontaine 2 participants 2 messages Oct 17, 2021 – Oct 18, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python3: fix bzip2 build

Fix the following build failure raised since commit 21a56f9edbca8dd8b19567be6be2b32e44ebb860 which wrongly removed the select on BR2_PACKAGE_BZIP2 from BR2_PACKAGE_PYTHON3_BZIP2:

Makefile:587: *** bzip2 is in the dependency chain of python3 that has added it to its _DEPENDENCIES variable without selecting it or depending on it from Config.in. Stop.

Fixes:
- http://autobuild.buildroot.org/results/041a2f9c536fce1a1acf6da0464855e4f1e1604f

---
 package/python3/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/python3/Config.in +1 -0
index 18b6d6367b..efc4dbb3d4 100644
@@ -54,6 +54,7 @@ config BR2_PACKAGE_PYTHON3_BERKELEYDB
 
 config BR2_PACKAGE_PYTHON3_BZIP2
 	bool "bz2 module"
+	select BR2_PACKAGE_BZIP2
 	help
 	  bzip2 module for Python3
 
Signature · 6 lines
2.33.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 6 lines · On Sun, 17 Oct 2021 22:05:58 +0200 Fabrice Fontaine…

Fix the following build failure raised since commit 21a56f9edbca8dd8b19567be6be2b32e44ebb860 which wrongly removed the select on BR2_PACKAGE_BZIP2 from BR2_PACKAGE_PYTHON3_BZIP2:

Makefile:587: *** bzip2 is in the dependency chain of python3 that has added it to its _DEPENDENCIES variable without selecting it or depending on it from Config.in. Stop.

Quoted 7 lines

Fixes:
- http://autobuild.buildroot.org/results/041a2f9c536fce1a1acf6da0464855e4f1e1604f

---
 package/python3/Config.in | 1 +
 1 file changed, 1 insertion(+)

Indeed, there's been a misunderstanding. Arnout asked to drop the "select BR2_PACKAGE_HOST_BZIP2" from package/python3/Config.in.host, but Adam removed the "select BR2_PACKAGE_BZIP2" from package/python3/Config.in instead, and Arnout didn't spot the mistake when applying.

Anyway, I've applied your patch, and did another to drop the bogus select BR2_PACKAGE_HOST_BZIP2. Thanks for fixing this!

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