[Bug 535458] New: docbook-to-man (and others) don't find charmaps
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.
http://bugzilla.novell.com/show_bug.cgi?id=535458 User david@dhaller.de added comment http://bugzilla.novell.com/show_bug.cgi?id=535458#c1 --- Comment #1 from David Haller <david@dhaller.de> 2009-08-29 18:01:26 MDT --- Created an attachment (id=315855) --> (http://bugzilla.novell.com/attachment.cgi?id=315855) Proposed alternative patch to configure.ac (for upstream?) -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=535458 David Haller <david@dhaller.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=535458 shuang qiu <sqiu@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sqiu@novell.com AssignedTo|bnc-team-screening@forge.pr |ke@novell.com |ovo.novell.com | -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=535458 User ke@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=535458#c2 Karl Eichwalder <ke@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #2 from Karl Eichwalder <ke@novell.com> 2009-09-14 02:02:02 MDT --- Thanks for the report and the proposal to fix it! -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=535458 User ke@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=535458#c3 Karl Eichwalder <ke@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |DUPLICATE --- Comment #3 from Karl Eichwalder <ke@novell.com> 2009-09-21 08:06:39 MDT --- It turned out that that's a dupe. See bug 360447. It is fixed on 11.0 and later. I think we do not need an online update for 10.3. *** This bug has been marked as a duplicate of bug 360447 *** http://bugzilla.novell.com/show_bug.cgi?id=360447 -- 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.
participants (1)
-
bugzilla_noreply@novell.com