Bug 103630
| Summary: | Missed buildreq: perl >= 5.8.1 | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux Beta | Reporter: | Leonid Kanter <leon> |
| Component: | foomatic | Assignee: | Tim Waugh <twaugh> |
| Status: | CLOSED RAWHIDE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | beta1 | CC: | ekanter, ted |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 3.0.0-8 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2003-09-04 09:42:39 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 100643 | ||
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: /var/tmp/foomatic-3.0.0-13-root/usr/lib*/perl5/vendor_perl/*/Foomatic 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 /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/Foomatic 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. With 5.8.1. |
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): 3.0.0-7 How reproducible: always 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 `/home/leon/RPM/BUILD/foomatic-3.0.0/foomatic-db-engine-3.0.0/lib' 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