Bug 108769

Summary: Unable to build mod_perl from source rpm
Product: [Retired] Red Hat Raw Hide Reporter: Russell Inman <serpentx>
Component: mod_perlAssignee: Joe Orton <jorton>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: low Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
URL: http://matrix.csustan.edu/brokenbuild.txt
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-08-08 01:22:46 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:
Attachments:
Description Flags
Patch for mod_perl-1.99_09-10 SRPM none

Description Russell Inman 2003-11-01 14:37:32 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5)
Gecko/20031007 Firebird/0.7

Description of problem:
Apache/Build.pm is missing a line which causes ld to be called
directly during the build of mod_perl.so.  The linker should be
invoked indirectly via gcc.  The fix is trivial and was first reported
on the mod_perl mailing list back in September, but hasn't made it
into the SRPM yet.

See
http://marc.theaimsgroup.com/?l=apache-modperl-cvs&m=106390946300985&w=2
for the patch.

This is also an issue in the Enterprise 3 sources.

Version-Release number of selected component (if applicable):
mod_perl-1.99_09-10

How reproducible:
Always

Steps to Reproduce:
1.rpm -i mod_perl-1.99_09-10.src.rpm
2.cd /usr/src/redhat
3.rpmbuild -v -bb SPECS/mod_perl.spec
    

Actual Results:  Build stops with message "ld: bad -rpath option"

Expected Results:  The build should have completed and produced the
binary RPM's

Additional info:

Comment 1 Russell Inman 2003-11-01 14:46:59 UTC
Created attachment 95647 [details]
Patch for mod_perl-1.99_09-10 SRPM

Quick fix for the impatient.

1. Download and install the mod_perl SRPM.
2. Run 'rpmbuild -bp SPECS/mod_perl.spec'
3. Download the attached patch file to the BUILD directory.
4. Change to the BUILD directory and run 'patch -p0 < initmain.patch'.
5. Return to the original directory and run 'rpmbuild -bc --short-circuit
SPECS/mod_perl.spec'

Comment 2 Kaj J. Niemi 2003-11-17 15:28:30 UTC
You might want to take a look at bug #110249 and build 1.99_11 instead
of short-circuiting which is dirty :)



Comment 3 Bill Nottingham 2006-08-08 01:22:46 UTC
This got fixed I believe when 110249 got fixed.