Bug 8216
| Summary: | Bugs in spec file | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | andrewem |
| Component: | perl | Assignee: | Crutcher Dunnavant <crutcher> |
| Status: | CLOSED RAWHIDE | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.1 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2000-01-15 14:57:02 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: | |||
1) Better explanation:
installprefix=/var/tmp/perl-root/usr
since /var/tmp/perl-root does not exist yet
mkdir $installprefix/usr
will of course fail.
2) Oops...I forgot the quotes :(
optimize="$RPM_OPT_FLAGS"
Fixed in perl-5.00503-8 in Raw Hide. |
The spec file creates a configuration override file "config.over" that has a few bugs in it: 1) The following will always fail as installprefix is the buildroot test -d \$installprefix || mkdir \$installprefix test -d \$installprefix/bin || mkdir \$installprefix/bin To fix, use "mkdir -p" or "makedirhier" instead of "mkdir". 2) By default, Perl builds with "-O2" as the ccflags. Add this line: optimize=$RPM_OPT_FLAGS