Bug 810542 - Please make perl bootstrapping easier
Summary: Please make perl bootstrapping easier
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: foomatic
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-06 15:21 UTC by Paul Howarth
Modified: 2012-04-10 12:16 UTC (History)
3 users (show)

Fixed In Version: foomatic-4.0.8-9.fc18
Clone Of:
Environment:
Last Closed: 2012-04-10 12:16:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Paul Howarth 2012-04-06 15:21:03 UTC
All perl packages get rebuilt with a new perl version every other Fedora release, and the build-requirement that foomatic has for itself causes problems with this (e.g. Bug #725979).

There are many circular dependency chains in the perl ecosystem so the Perl SIG is adopting a methodology of doing a mass rebuild with the %perl_bootstrap macro set, such that packages with circular build dependencies can use this to break the cycles.

To that end, it would be good if you could tweak the foomatic spec as shown below to help the perl 5.16 boot process that will happen sometime during the Fedora 18 development cycle:

diff --git a/foomatic.spec b/foomatic.spec
index b5ffc67..29a7035 100644
--- a/foomatic.spec
+++ b/foomatic.spec
@@ -40,7 +40,10 @@ BuildRequires: mpage
 
 # Make sure we get postscriptdriver tags.  Safe to comment out when
 # bootstrapping a new architecture.
-BuildRequires: python-cups, cups, foomatic, foomatic-db
+BuildRequires: python-cups, cups
+%if 0%{!?perl_bootstrap:1}
+BuildRequires: foomatic, foomatic-db
+%endif
 
 Requires: foomatic-db
 Requires: cups

Comment 1 Tim Waugh 2012-04-10 12:16:50 UTC
Thanks for the suggestion.


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