Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 103630 - Missed buildreq: perl >= 5.8.1
Missed buildreq: perl >= 5.8.1
Product: Red Hat Linux Beta
Classification: Retired
Component: foomatic (Show other bugs)
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Tim Waugh
Depends On:
Blocks: CambridgeBlocker
  Show dependency treegraph
Reported: 2003-09-03 07:28 EDT by Leonid Kanter
Modified: 2007-04-18 12:57 EDT (History)
2 users (show)

See Also:
Fixed In Version: 3.0.0-8
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-09-04 05:42:39 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Leonid Kanter 2003-09-03 07:28:54 EDT
Description of problem:

foomatic rpm cannot be rebuilt from non-root user because it tries to write to
root filesystem

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. set up non-root rpm building environment
2. rpmbuild --rebuild foomatic-3.0.0-7.src.rpm
Actual results:

make[1]: Entering directory
Warning: You do not have permissions to install into
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi at
/usr/lib/perl5/5.8.0/ExtUtils/Install.pm line 84.
Cannot forceunlink /usr/lib/perl5/vendor_perl/5.8.0/Foomatic/DB.pm: Permission
denied at /usr/lib/perl5/5.8.0/File/Find.pm line 849

Expected results:

Successful building of package
Comment 1 Tim Waugh 2003-09-03 12:50:53 EDT
Works for me.  Please provide the complete build log.
Comment 2 Leonid Kanter 2003-09-04 05:11:01 EDT
My build environment was based on partially upgraded RH9, and this problem was
fixed for me by updating perl from 5.8.0-88 to 5.8.1-90.rc4.2. So the reason of
bug report is missed build requirement.
Comment 3 Thomas Dodd 2003-12-16 16:05:13 EST
I'me confused as to what requires the newer Perl here.

The description sounds like a problem with the Install.pm no
installing to $RPM_BUILD_ROOT like it should. Why would using a newer
perl be the fix? Souns like $RPM_BUILD_ROOT is not getting passed/used
correctly in foomatic-db-engine.

FWIW, Removing the BuildRequires and Requires line goes farther
(building as root). But it stops in the files section with:

File not found by glob:

Looks like the make files are setting INSTALLSITELIB to
/usr/lib/perl5/vendor_perl/5.8.0 (similar for INSTALLSITEARCH).

For example, a .packlist file is created in
instead of under $RPM_BUILD_ROOT.
Comment 4 Tim Waugh 2003-12-17 10:01:24 EST
Works for me.
Comment 5 Thomas Dodd 2003-12-17 10:57:50 EST
What works? Building with 5.8.0 or something newer?

Not sure what affect changing perl would have, so I'm hesitant to do so.

Have you got a current RHL-9 system to build on?
Could you try it?

If perl5.8.1 is really needed, the foomatic guys should know. If it's
not needed, the dependencies should be changed.

I'd like to check the new printing (foomatic, Omni, cups) system, but
cannot move to FC1 just yet.  I need to change my disk layout, but
haven't been able to backup everything. Trying to get a tape going.
Comment 6 Tim Waugh 2003-12-17 11:03:38 EST
With 5.8.1.

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