http://bugzilla.novell.com/show_bug.cgi?id=535458 Summary: docbook-to-man (and others) don't find charmaps Classification: openSUSE Product: openSUSE 10.3 Version: Final Platform: All OS/Version: openSUSE 10.3 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: david@dhaller.de QAContact: qa@suse.de Found By: --- Created an attachment (id=315854) --> (http://bugzilla.novell.com/attachment.cgi?id=315854) proposed patch for the .spec file User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.16) Gecko/20080913 SeaMonkey/1.1.11 Mnenhy/0.7.5.666 docbook-to-man has in %db2x_config: 'utf8trans-map-roff' => q<${prefix}/share/docbook2X/charmaps/roff.charmap>, and that will not be expanded. Found this in the build log of an OBS build: make[3]: Entering directory `/usr/src/packages/BUILD/boinc_core_release_6_6_36/doc/manpages' /usr/bin/docbook-to-man boinc.xml /usr/bin/utf8trans:${prefix}/share/docbook2X/charmaps/roff.charmap: No such file or directory make[3]: *** [boinc.1] Error 141 In openSUSE 11.1, docbook-to-man (and the others) contain '/usr' instead of '${prefix}'. I myself don't have 10.3 to reproduce it. Reproducible: Didn't try Steps to Reproduce: 1. probably call docbook-to-man on a utf8 encoded docbook xml. Actual Results: /usr/bin/docbook-to-man boinc.xml /usr/bin/utf8trans:${prefix}/share/docbook2X/charmaps/roff.charmap: No such file or directory Expected Results: docbook-to-man should call utf8trans with the correct path to roff.charmap (see above) The paths should be expanded in configure. With the configure from the tarball, it is not expanded enough. After adding set -x to the appropriate section of the configure I get: checking for getopt_long... yes + eval 'static_datadir=${datarootdir}' ++ static_datadir=${prefix}/share + eval 'static_bindir=${exec_prefix}/bin' Calling ./configure with explicit --datadir=%{_datadir} should be the easiest way to fix this. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.