RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 661770 - can't be rebuild in mock
Summary: can't be rebuild in mock
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: foomatic
Version: 6.0
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: rc
: ---
Assignee: Tim Waugh
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-09 16:04 UTC by Levente Farkas
Modified: 2013-07-18 15:49 UTC (History)
5 users (show)

Fixed In Version: foomatic-4.0.4-3.el6
Doc Type: Bug Fix
Doc Text:
Cause: The installation locations for perl files were incorrect in the spec file. Consequence: The package could not be rebuilt. Fix: The installation locations have been fixed. Result: The package can now be rebuilt.
Clone Of:
Environment:
Last Closed: 2013-07-17 09:26:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
foomatic-perl.patch (1.52 KB, patch)
2010-12-21 16:06 UTC, Tim Waugh
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1084 0 normal SHIPPED_LIVE foomatic bug fix update 2013-07-17 13:22:39 UTC

Description Levente Farkas 2010-12-09 16:04:51 UTC
build always fail in mock with this error:


Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.th4OHJ
+ umask 022
+ cd /builddir/build/BUILD
+ cd foomatic-4.0.4
+ DOCDIR=/builddir/build/BUILDROOT/foomatic-4.0.4-1.el6.i386/usr/share/doc/foomatic-4.0.4
+ export DOCDIR
+ rm -rf /builddir/build/BUILDROOT/foomatic-4.0.4-1.el6.i386/usr/share/doc/foomatic-4.0.4
+ /bin/mkdir -p /builddir/build/BUILDROOT/foomatic-4.0.4-1.el6.i386/usr/share/doc/foomatic-4.0.4
+ cp -pr --parents foomatic-filters-4.0.4/COPYING /builddir/build/BUILDROOT/foomatic-4.0.4-1.el6.i386/usr/share/doc/foomatic-4.0.4
+ cp -pr --parents foomatic-db-engine-4.0.4/COPYING /builddir/build/BUILDROOT/foomatic-4.0.4-1.el6.i386/usr/share/doc/foomatic-4.0.4
+ exit 0
RPM build errors:
    Macro % has illegal name (%define)
    Macro % has illegal name (%define)
    File not found: /builddir/build/BUILDROOT/foomatic-4.0.4-1.el6.i386/usr/share/perl5/Foomatic

Comment 3 Levente Farkas 2010-12-21 13:56:02 UTC
can we wait an update for rhel-6 too?

Comment 4 Tim Waugh 2010-12-21 15:27:16 UTC
We hope to fix this in a future update to Red Hat Enterprise Linux.  Thank you for reporting it.

Comment 5 Levente Farkas 2010-12-21 15:47:35 UTC
and the above patch is wrong for two reason:
- installvendorlib and installvendorarch by default
- INSTALLSITELIB=$RPM_BUILD_ROOT/%{installvendorlib} should have to be INSTALLSITELIB=%{perl_vendorlib} without $RPM_BUILD_ROOT

Comment 6 Tim Waugh 2010-12-21 16:06:49 UTC
Created attachment 470016 [details]
foomatic-perl.patch

Thanks.  Here is a new proposed patch based on your suggestion.

Comment 7 Levente Farkas 2010-12-21 16:23:18 UTC
that's exactly what i did.

Comment 8 Siddharth Nagar 2011-06-09 01:54:26 UTC
Deferring to RHEL 6.3 for possible inclusion. We are unable to accommodate this for RHEL 6.2.

Comment 11 Suzanne Logcher 2012-02-14 23:05:15 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 16 errata-xmlrpc 2013-07-17 09:26:48 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-1084.html


Note You need to log in before you can comment on or make changes to this bug.