Apache OpenOffice (AOO) Bugzilla – Issue 113247
OOO330_m1: readlicense_oo build failure
Last modified: 2010-08-03 16:02:29 UTC
============= Building module readlicense_oo ============= Entering /Volumes/EXTDisk/Build/BuildDir/ooo_OOO330_m1_src/readlicense_oo Entering /Volumes/EXTDisk/Build/BuildDir/ooo_OOO330_m1_src/readlicense_oo/docs/readme dmake: /Volumes/EXTDisk/Build/BuildDir/ooo_OOO330_m1_src/solenv/inc/tg_merge.mk: line 44: Warning: -- Duplicate target [../../unxmacxi.pro/misc/ooo/readme.xrm] : && DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH+${DYLD_LIBRARY_PATH}:}/Volumes/EXTDisk/Build/Build Dir/ooo_OOO330_m1_src/solver/330/unxmacxi.pro/lib xsltproc --nonet -o ../../unxmacxi.pro/misc/UNX/README_en-US \ --stringparam os1 MACOSX --stringparam gui1 UNX --stringparam com1 GCC \ --stringparam cp1 INTEL --stringparam type text --stringparam lang1 en-US \ ../../unxmacxi.pro/misc/readme_text.xsl ../../unxmacxi.pro/misc/ooo/readme.xrm I/O error : Attempt to load network entity http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd ../../unxmacxi.pro/misc/ooo/readme.xrm:3: warning: failed to load external entity "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> ^ ... </html> ^ unable to parse ../../unxmacxi.pro/misc/ooo/readme.xrm dmake: Error code 6, while making '../../unxmacxi.pro/misc/UNX/README_en-US'
Seems to be from CWS consolidatereadme in DEV300_m84
The readme sources have been converted to XHTML (see i111721). In this case, for the xsltproc parameter --nonet in the makefile suppresses its load from the net (why?) Remedies: 1) remove --nonet from parameter line or 2) have xsltproc run with --novalid to suppress DTD loading all in all
fpe: because a build is supposed to also work without net connection (after you got all the tarballs of course). Relying on a net connection is a serious bug e.g. in Debian.. 1) thus is no option 2) can be done but would violate the spirit, no? Or we "just" add a configure check to check whether the XML Catalog has the DTD.. (No idea how, though)
(but note I can live with 2 if we decide to not want the new requirement and/or can't do a configure check)
/me is also in favour of 2) who will change the makefile ?
Workaround: Disabled validation validation of DTD via readlicense_oo/util/makefile.pmk Set target to 3.4, owner fpe for clarification.
Heiner fixed this one on the master as describedin option 2 below. Validation can be turned off permanently because xslt processor would break on non-wellformed xml anyway.
Assigned to submitter for verification
Verified, closing.