[publican-list] [Bug 485179] New: new Book_Info.po files have incorrect "Project-Id-Version", causing non en-US builds to fail
bugzilla at redhat.com
bugzilla at redhat.com
Thu Feb 12 05:15:26 UTC 2009
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: new Book_Info.po files have incorrect "Project-Id-Version", causing non en-US builds to fail
https://bugzilla.redhat.com/show_bug.cgi?id=485179
Summary: new Book_Info.po files have incorrect
"Project-Id-Version", causing non en-US builds to fail
Product: Red Hat Enterprise Linux 5
Version: 5.3
Platform: All
OS/Version: Linux
Status: NEW
Severity: medium
Priority: low
Component: publican
AssignedTo: jfearn at redhat.com
ReportedBy: mmcallis at redhat.com
QAContact: ecs-dev-list at redhat.com
CC: publican-list at redhat.com
Classification: Red Hat
Target Release: ---
Description of problem:
Newly created Book_Info.po files (make update-pot update-po-all) contain a
Project-Id-Version similar to the following:
"Project-Id-Version: Security-Enhanced_Linux VERSION\n"
This causes non en-US builds to fail.
Version-Release number of selected component (if applicable):
publican-0.41-3.el5
How reproducible:
Always.
Steps to Reproduce:
0. create_book --name test
1. cd test/
2. uncomment the "OTHER_LANGS" options in Makefile
3. make update-pot update-po-all
4. make html-es-ES (anything other than en-US)
Actual results:
END: test-es-ES Thu Feb 12 15:09:18 EST 2009
START: html-es-ES Thu Feb 12 15:09:18 EST 2009
cd tmp/es-ES/html; if [ -f /usr/share/publican/xsl/common/html.xsl ]; then
xsl_file="/usr/share/publican/xsl/common/html.xsl"; else
xsl_file="/usr/share/publican/xsl/html.xsl";fi; if [ "1" == "1" ]; then echo
"Running Saxon: $xsl_file"; java -cp
"/usr/share/java/saxon.jar:/usr/share/java/xerces-j2.jar:/usr/share/java/xml-commons-resolver.jar:/usr/share/publican/xsl:/usr/share/publican/xsl/saxon65.jar:/usr/share/java/xslthl.jar"
-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl
-Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.XIncludeParserConfiguration
-Dxslthl.config="file:///usr/share/xslthl/xslthl-config.xml"
com.icl.saxon.StyleSheet -x org.apache.xml.resolver.tools.ResolvingXMLReader -y
org.apache.xml.resolver.tools.ResolvingXMLReader -r
org.apache.xml.resolver.tools.CatalogResolver -o tmppoofu.html ../xml/test.xml
$xsl_file doc.url="https://fedorahosted.org/publican"
prod.url="https://fedorahosted.org/publican" toc.section.depth="2"
chunk.section.depth="4" confidential=0 profile.lang="es-ES"
l10n.gentext.language="es-ES" show.comments=0 embedtoc=0
chunk.first.sections="0" generate.section.toc.level=0 use.extensions=1
tablecolumns.extensions=1 package=Documentation-test-0.1-es-ES-0-test VERSION;
rm tmppoofu.html; else echo "Running xsltproc:";
XML_CATALOG_FILES="/usr/share/publican/xsl/docbook/dtd-4.5/catalog.xml
/usr/share/publican/xsl/docbook/1.72.0/catalog.xml" xsltproc --stringparam
doc.url "https://fedorahosted.org/publican" --stringparam prod.url
"https://fedorahosted.org/publican" --stringparam toc.section.depth "2"
--stringparam chunk.section.depth "4" --stringparam confidential "0"
--stringparam profile.lang "es-ES" --stringparam l10n.gentext.language "es-ES"
--stringparam show.comments 0 --stringparam embedtoc 0 --stringparam
chunk.first.sections "0" --stringparam generate.section.toc.level 0
--stringparam package "Documentation-test-0.1-es-ES-0-test VERSION" --xinclude
$xsl_file ../xml/test.xml; fi;
Running Saxon: /usr/share/publican/xsl/html.xsl
Bad param=value pair on command line
SAXON 6.5.5 from Michael Kay
Usage: java com.icl.saxon.StyleSheet [options] source-doc style-doc
{param=value}...
Options:
-a Use xml-stylesheet PI, not style-doc argument
-ds Use standard tree data structure
-dt Use tinytree data structure (default)
-o filename Send output to named file or directory
-m classname Use specified Emitter class for xsl:message output
-r classname Use specified URIResolver class
-t Display version and timing information
-T Set standard TraceListener
-TL classname Set a specific TraceListener
-u Names are URLs not filenames
-w0 Recover silently from recoverable errors
-w1 Report recoverable errors and continue (default)
-w2 Treat recoverable errors as fatal
-x classname Use specified SAX parser for source file
-y classname Use specified SAX parser for stylesheet
-? Display this message
rm: cannot remove `tmppoofu.html': No such file or directory
make: *** [html-es-ES] Error 1
Expected results:
"Project-Id-Version: 0\n" in newly created Book_Info.po files.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the publican-list
mailing list