Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | From 697e2e9ff97487266d817cdd41bacc83f681e3d7 Mon Sep 17 00:00:00 2001 |
| 2 | From: Martin Jansa <Martin.Jansa@gmail.com> |
| 3 | Date: Sun, 29 Apr 2012 00:05:59 +0200 |
| 4 | Subject: [PATCH 4/4] SConstruct: disable html and man docs building because |
| 5 | xmlto-native from OE is broken |
| 6 | |
| 7 | It will try to load dtd and fail: |
| 8 | | xmlto man gpsctl.xml; mv `basename gpsctl.1` gpsctl.1 |
| 9 | | xmlto: /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/gpsd-3.4-r2/gpsd-3.4/gpsctl.xml does not validate (status 3) |
| 10 | | xmlto: Fix document syntax or use --skip-validation option |
| 11 | | I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd |
| 12 | | /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/gpsd-3.4-r2/gpsd-3.4/gpsctl.xml:8: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" |
| 13 | | "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> |
| 14 | | ^ |
| 15 | | I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd |
| 16 | | warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" |
| 17 | | validity error : Could not load the external subset "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" |
| 18 | | Document /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/gpsd-3.4-r2/gpsd-3.4/gpsctl.xml does not validate |
| 19 | | mv: cannot stat `gpsctl.1': No such file or directory |
| 20 | | scons: *** [gpsctl.1] Error 1 |
| 21 | | scons: building terminated because of errors. |
| 22 | |
| 23 | Upstream-Status: Inappropriate [disable feature] |
| 24 | |
| 25 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> |
| 26 | Signed-off-by: Peter A. Bigot <pab@pabigot.com> |
| 27 | --- |
| 28 | SConstruct | 4 ++-- |
| 29 | 1 file changed, 2 insertions(+), 2 deletions(-) |
| 30 | |
| 31 | diff --git a/SConstruct b/SConstruct |
| 32 | index 3318bb48..a5bb756d 100644 |
| 33 | --- a/SConstruct |
| 34 | +++ b/SConstruct |
| 35 | @@ -889,11 +889,11 @@ else: |
| 36 | |
| 37 | manbuilder = htmlbuilder = None |
| 38 | if env['manbuild']: |
| 39 | - if config.CheckXsltproc(): |
| 40 | + if False and config.CheckXsltproc(): |
| 41 | build = "xsltproc --nonet %s $SOURCE >$TARGET" |
| 42 | htmlbuilder = build % docbook_html_uri |
| 43 | manbuilder = build % docbook_man_uri |
| 44 | - elif WhereIs("xmlto"): |
| 45 | + elif False and WhereIs("xmlto"): |
| 46 | xmlto = "xmlto %s $SOURCE || mv `basename $TARGET` " \ |
| 47 | "`dirname $TARGET`" |
| 48 | htmlbuilder = xmlto % "html-nochunks" |
| 49 | -- |
| 50 | 1.8.5.5 |
| 51 | |