Bug 748 - docbook-utils-native-0.6.14-r1: task do_compile: Failed
Summary: docbook-utils-native-0.6.14-r1: task do_compile: Failed
Status: VERIFIED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 1.0
Hardware: x86 Multiple
: High critical
Target Milestone: 1.0 M4
Assignee: Scott Garman
QA Contact:
URL:
Whiteboard:
: 740 (view as bug list)
Depends on:
Blocks: 741
  Show dependency tree
 
Reported: 2011-02-21 17:47 UTC by Dexuan Cui
Modified: 2011-02-28 10:58 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified: Program Management
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dexuan Cui 2011-02-21 17:47:36 UTC
A snippet about the log: http://autobuilder.pokylinux.org:8010/builders/nightly-internal/builds/59/steps/shell_1/logs/stdio

OE Build Configuration:
BB_VERSION        = "1.11.0"
METADATA_BRANCH   = "master"
METADATA_REVISION = "e79a8a6d1752d43746aa0cc09b8c20bfeabb2d95"
TARGET_ARCH       = "i586"
TARGET_OS         = "linux"
MACHINE           = "qemux86"
DISTRO            = "poky"
DISTRO_VERSION    = "0.9+snapshot-20110221"
TARGET_FPU        = ""

...

| jade:../ERROR: Function 'do_compile' failed (see /builds2/pokybuilds/nightly-internal/build/build/tmp/work/x86_64-linux/docbook-utils-native-0.6.14-r1/temp/log.do_compile.13036 for further information)
| ../doc/refentry/jw.sgml:60:12:E: element "ARG" undefined
| jade:../../doc/refentry/jw.sgml:60:20:E: element "OPTION" undefined
| jade:../../doc/refentry/jw.sgml:60:48:E: element "REPLACEABLE" undefined
| jade:../../doc/refentry/jw.sgml:61:18:E: element "SBR" undefined
| jade:../../doc/refentry/jw.sgml:63:25:E: element "GROUP" undefined
| jade:../../doc/refentry/jw.sgml:64:12:E: element "ARG" undefined
| jade:../../doc/refentry/jw.sgml:64:20:E: element "OPTION" undefined
| jade:../../doc/refentry/jw.sgml:64:45:E: element "REPLACEABLE" undefined
| jade:../../doc/refentry/jw.sgml:65:12:E: element "ARG" undefined
| jade:../../doc/refentry/jw.sgml:65:20:E: element "OPTION" undefined
| jade:../../doc/refentry/jw.sgml:65:53:E: element "REPLACEABLE" undefined
| jade:../../doc/refentry/jw.sgml:66:18:E: element "SBR" undefined
| jade:../../doc/refentry/jw.sgml:68:25:E: element "GROUP" undefined
| jade:../../doc/refentry/jw.sgml:69:12:E: element "ARG" undefined
| jade:../../doc/refentry/jw.sgml:69:20:E: element "OPTION" undefined
| jade:../../doc/refentry/jw.sgml:69:45:E: element "REPLACEABLE" undefined
| jade:../../doc/refentry/jw.sgml:70:12:E: element "ARG" undefined
| jade:../../doc/refentry/jw.sgml:70:20:E: element "OPTION" undefined
| jade:../../doc/refentry/jw.sgml:70:51:E: element "REPLACEABLE" undefined
| jade:../../doc/refentry/jw.sgml:71:18:E: element "SBR" undefined
| jade:../../doc/refentry/jw.sgml:73:25:E: element "GROUP" undefined
| jade:../../doc/refentry/jw.sgml:74:12:E: element "ARG" undefined
| jade:../../doc/refentry/jw.sgml:74:20:E: element "OPTION" undefined
| jade:../../doc/refentry/jw.sgml:74:45:E: element "REPLACEABLE" undefined
| jade:../../doc/refentry/jw.sgml:75:12:E: element "ARG" undefined
| jade:../../doc/refentry/jw.sgml:75:20:E: element "OPTION" undefined
| jade:../../doc/refentry/jw.sgml:75:51:E: element "REPLACEABLE" undefined
| jade:../../doc/refentry/jw.sgml:76:18:E: element "SBR" undefined
| jade:../../doc/refentry/jw.sgml:78:18:E: there is no attribute "CHOICE"
| jade:../../doc/refentry/jw.sgml:78:23:E: element "ARG" undefined
| jade:../../doc/refentry/jw.sgml:78:31:E: element "OPTION" undefined
| jade:../../doc/refentry/jw.sgml:79:20:E: element "REPLACEABLE" undefined
| jade:../../doc/refentry/jw.sgml:79:57:E: element "REPLACEABLE" undefined
| jade:../../doc/refentry/jw.sgml:79:88:E: element "SBR" undefined
| jade:../../doc/refentry/jw.sgml:81:25:E: element "GROUP" undefined
| jade:../../doc/refentry/jw.sgml:82:12:E: element "ARG" undefined
| jade:../../doc/refentry/jw.sgml:82:20:E: element "OPTION" undefined
| jade:I: maximum number of errors (200) reached; change with -E option
| make[2]: *** [intro-sgmldiff.html] Error 1
| make[2]: *** Waiting for unfinished jobs....
| make[2]: *** [api.html] Error 1
| make[2]: *** [introduction.html] Error 1
| make[2]: *** [frontend-spec.html] Error 1
| make[2]: *** [backend-spec.html] Error 1
| make[2]: *** [jw.html] Error 1
| make[2]: *** [helpers.html] Error 1
| make[2]: *** [fdl.html] Error 1
| make[2]: *** [intro-jw.html] Error 1
| make[2]: *** [sgmldiff.html] Error 1
| make[2]: *** [index.html] Error 1
| make[2]: *** [docbook2man.html] Error 1
| make[2]: *** [docbook2texi.html] Error 1
| make[2]: Leaving directory `/builds2/pokybuilds/nightly-internal/build/build/tmp/work/x86_64-linux/docbook-utils-native-0.6.14-r1/docbook-utils-0.6.14/doc/HTML'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/builds2/pokybuilds/nightly-internal/build/build/tmp/work/x86_64-linux/docbook-utils-native-0.6.14-r1/docbook-utils-0.6.14/doc'
| make: *** [all-recursive] Error 1
| FATAL: oe_runmake failed
NOTE: package docbook-utils-native-0.6.14-r1: task do_compile: Failed
NOTE: package module-init-tools-3.12-r1: task do_patch: Succeeded
ERROR: Task 6622 (/builds2/pokybuilds/nightly-internal/build/meta/recipes-devtools/docbook-utils/docbook-utils-native_0.6.14.bb, do_compile) failed with exit code '1'
NOTE: Running task 2249 of 8568 (ID: 7821, /builds2/pokybuilds/nightly
Comment 1 Joshua Lock - Disabled 2011-02-22 04:11:31 UTC
*** Bug 740 has been marked as a duplicate of this bug. ***
Comment 2 Scott Garman 2011-02-22 15:05:47 UTC
This error indicates that a DTD or entity definition is missing. It is missing because in the native sysroot, etc/sgml/catalog only contains:

CATALOG .../tmp/sysroots/x86_64-linux/etc/sgml/dsssl-docbook-stylesheets.cat
CATALOG .../tmp/sysroots/x86_64-linux/etc/sgml/sgml-docbook.cat
CATALOG .../tmp/sysroots/x86_64-linux/etc/sgml/openjade-1.3.2.cat

The catalog *should* contain:

CATALOG .../tmp/sysroots/x86_64-linux/etc/sgml/sgml-ent.cat
CATALOG .../tmp/sysroots/x86_64-linux/etc/sgml/sgml-docbook.cat
CATALOG .../tmp/sysroots/x86_64-linux/etc/sgml/sgml-docbook-dtd-3.1.cat
CATALOG .../tmp/sysroots/x86_64-linux/etc/sgml/dsssl-docbook-stylesheets.cat
CATALOG .../tmp/sysroots/x86_64-linux/etc/sgml/openjade-1.3.2.cat

I notice that sgml-ent.cat and sgml-docbook-dtd-3.1.cat exist in etc/sgml/, and that they have older timestamps than the catalog file. 

So there is an issue with how install-catalog is being run. Possibly a race condition. I am currently investigating.
Comment 3 Scott Garman 2011-02-23 09:47:48 UTC
This should be fixed with commit series leading up to and including 	dca876b8f611704a238842c9e4db293d1a1be247

http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=dca876b8f611704a238842c9e4db293d1a1be247
Comment 4 Dexuan Cui 2011-02-24 22:59:17 UTC
(In reply to comment #3)
> This should be fixed with commit series leading up to and including    
> dca876b8f611704a238842c9e4db293d1a1be247
> http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=dca876b8f611704a238842c9e4db293d1a1be247

I don't meet with the bug now.