Skip to contentSkip to conversation

botan: disable documentation

PATCH New Fabrice Fontaine 2 participants 2 messages Oct 11, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 botan: disable documentation

Fix following error if sphinx is found but its version is too low:
Sphinx version error:
This project needs at least Sphinx v1.2 and therefore cannot be built with this version. Ignoring ImportError and using old theme
ERROR: Error running sphinx-build -q -c ./src/configs/sphinx -b html ./doc/manual build/docs/manual

Fixes:
- http://autobuild.buildroot.net/results/c15715a05a41035954f32510483314060ea31260

---
 package/botan/botan.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
package/botan/botan.mk +2 -1
index 3de54aa3e1..7f0bbb66c9 100644
@@ -17,7 +17,8 @@ BOTAN_CONF_OPTS = \
 	--os=linux \
 	--cc=gcc \
 	--cc-bin="$(TARGET_CXX)" \
-	--prefix=/usr
+	--prefix=/usr \
+	--without-documentation
 
 ifeq ($(BR2_SHARED_LIBS),y)
 BOTAN_CONF_OPTS += \
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 botan: disable documentation

Hello,

Quoted 6 lines · Fabrice Fontaine

Fix following error if sphinx is found but its version is too low:
Sphinx version error:
This project needs at least Sphinx v1.2 and therefore cannot be built with this version. Ignoring ImportError and using old theme
ERROR: Error running sphinx-build -q -c ./src/configs/sphinx -b html ./doc/manual build/docs/manual

Quoted 7 lines

Fixes:
- http://autobuild.buildroot.net/results/c15715a05a41035954f32510483314060ea31260

---
 package/botan/botan.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Applied to master, thanks.

Thomas

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