Red Hat Bugzilla – Bug 103630
Missed buildreq: perl >= 5.8.1
Last modified: 2007-04-18 12:57:20 EDT
Description of problem:
foomatic rpm cannot be rebuilt from non-root user because it tries to write to
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. set up non-root rpm building environment
2. rpmbuild --rebuild foomatic-3.0.0-7.src.rpm
make: Entering directory
Warning: You do not have permissions to install into
/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
Successful building of package
Works for me. Please provide the complete build log.
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.
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.
Works for me.
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.