Bug 661775
Summary: | can't be rebuild in mock | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Levente Farkas <lfarkas> | ||||
Component: | linuxdoc-tools | Assignee: | Martin Milata <mmilata> | ||||
Status: | CLOSED WONTFIX | QA Contact: | BaseOS QE - Apps <qe-baseos-apps> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 6.0 | CC: | amyagi, redhatbugs | ||||
Target Milestone: | rc | Keywords: | EasyFix | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-10-05 14:31:47 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Levente Farkas
2010-12-09 16:10:44 UTC
Thanks for report. This "Macro % has illegal name (%define)" comes from rpm, which is probably newer than the one from RHEL-6 - of course, %global macro should be used there, but the real problem is in perl change - see https://bugzilla.redhat.com/show_bug.cgi?id=661697 for details. As linuxdoc-tools uses "eval `perl '-V:installvendorlib'`" to find out perl vendor lib - which was /usr/share/perl5 in the time of last linuxdoc-tools build for RHEL-6 - this is a bit fragile to perl changes. Now the installvendorlib was changed to /usr/share/perl5/vendor_lib/ - and as the filelists contain the old perl vendorlib path, mock rebuild just fails. Fix is easy ... to use the same directory in build and in the filelists. Probably by some global macro. solution is the same as in #661770 This issue was proposed for RHEL 6.1 FasTrack but did not get resolved in time. It has been moved to RHEL 6.2 FasTrack. (In reply to comment #3) I'm not sure, but I think this one goes a bit deeper. doc/Makedoc.sh creates $TMPDIR/linuxdoc with incorrect paths and that breaks the build with -------- Building linuxdoc-tools docs --------- Installed tree: /root/rpmbuild/BUILDROOT/linuxdoc-tools-0.9.65-3.el6.x86_64/usr Using temporary directory: /tmp/ldt.6MQ2rXGlNo - Building txt docs Processing file ./guide <standard input>:2242: warning [p 21, 7.2i]: can't break line - Building latex docs Processing file ./guide fmt_latex2e::postASP: LaTeX first run problem. Aborting ... make: *** [install] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.VSHtDz (%install) Created attachment 487243 [details] Install Perl-related files in the Perl vendor directory. Patch to fix the issue, based on the two commits that fixed it in Fedora: - http://pkgs.fedoraproject.org/gitweb/?p=linuxdoc-tools.git;h=e1b3b255bd85ab4ca190ae5581b560212f5597ed - http://pkgs.fedoraproject.org/gitweb/?p=linuxdoc-tools.git;h=cf768c499eff73855468ed5ee44feae5b42f4205 Thank you for submitting this request for inclusion in Red Hat Enterprise Linux. We've carefully evaluated the request, but are unable to include it in a future release. To request that Red Hat re-consider this request, please re-open the bugzilla via your designated support representative and provide additional business and/or technical details. |