[publican-list] odd publican package error

Douglas Silas dhensley at redhat.com
Thu Aug 5 15:30:27 UTC 2010


Hi,

Trying to package the latest RHEL5 DG (after bumping the pubsnumber) 
on brew with this command:

publican package --brew --lang=es-ES

...or seemingly any other non-en-US language, fails with the 
following excised error message in build.log:

<SNIP>
+ export 
CLASSPATH=:/usr/share/java/ant/ant-trax-1.7.0.jar:/usr/share/java/xmlgraphics-commons.jar:/usr/share/java/batik-all.jar:/usr/share/java/xml-commons-apis.jar:/usr/share/java/xml-commons-apis-ext.jar
+ 
CLASSPATH=:/usr/share/java/ant/ant-trax-1.7.0.jar:/usr/share/java/xmlgraphics-commons.jar:/usr/share/java/batik-all.jar:/usr/share/java/xml-commons-apis.jar:/usr/share/java/xml-commons-apis-ext.jar
+ publican build --embedtoc 
--formats=html,html-single,html-desktop,pdf,epub --langs=es-ES --publish

DEBUG: Publican: config loaded
Invalid format for release. Value (ARRAY(0xd12e2f0)) does not 
conform to constraint ([^0-9.]) at /usr/bin/publican line 514
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.10233 (%build)
     Bad exit status from /var/tmp/rpm-tmp.10233 (%build)
Child returncode was: 1
EXCEPTION: Command failed. See logs for output.
  # ['bash', '--login', '-c', 'rpmbuild -bb --target noarch --nodeps 
builddir/build/SPECS/Red_Hat_Enterprise_Linux-Deployment_Guide-5-web-es-ES.spec']
Traceback (most recent call last):
</SNIP>

The relevant error message there seems to be:

Invalid format for release. Value (ARRAY(0xd12e2f0)) does not 
conform to constraint ([^0-9.]) at /usr/bin/publican line 514

According to Jarek, this error message means that publican is trying 
to run the regex [^0-9.] on an array itself, not one of its members 
(such as a string). Additionally, the line number the error message 
provides is incorrect.

Packaging on brew succeeds as expected when lang=en-US.

Any ideas about what might be happening here?

Thanks,
-- 
Douglas Silas
Technical Writer | Red Hat, Inc.
Purkyňova 99 | Brno, Czech Republic
Office Direct Dial—62116
Brno Office—(+420) 532 294 111 ext. 10718




More information about the publican-list mailing list