Bug 603365

Summary: Perl module Apache2::Request fails to load
Product: [Fedora] Fedora Reporter: Zbigniew Fiedorowicz <fiedorow>
Component: libapreq2Assignee: Bojan Smojver <bojan>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: bojan, mtasaka
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: libapreq2-2.12-6.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-07-06 17:12:09 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:

Description Zbigniew Fiedorowicz 2010-06-12 16:06:54 UTC
Description of problem:


Version-Release number of selected component (if applicable):
perl-libapreq2-2.12-3.fc13.i686

How reproducible:
Provided perl module does not load

Steps to Reproduce:
1. Execute the following script
#!/usr/bin/perl
use Apache2::Request;

2.
3.
  
Actual results:
Produces the following error message:

Can't load '/usr/lib/perl5/auto/APR/Request/Request.so' for module APR::Request: /usr/lib/perl5/auto/APR/Request/Request.so: undefined symbol: apreq_hook_disable_uploads at /usr/lib/perl5/DynaLoader.pm line 200.
 at /usr/lib/perl5/APR/Request/Param.pm line 27
Compilation failed in require at /usr/lib/perl5/APR/Request/Param.pm line 27.
BEGIN failed--compilation aborted at /usr/lib/perl5/APR/Request/Param.pm line 27.
Compilation failed in require at /usr/lib/perl5/Apache2/Request.pm line 2.
BEGIN failed--compilation aborted at /usr/lib/perl5/Apache2/Request.pm line 2.
Compilation failed in require at /tmp/test.pl line 2.
BEGIN failed--compilation aborted at /tmp/test.pl line 2.


Expected results:
Module should load properly

Additional info:

Comment 1 Zbigniew Fiedorowicz 2010-06-12 18:30:26 UTC
Replacing the Fedora 13 version of Request.so with the latest Fedora 12 version of the same file seems to fix the problem.

Comment 2 Mamoru TASAKA 2010-06-13 13:27:46 UTC
Debian seems to have a fix for this:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573062

Comment 3 Bojan Smojver 2010-06-16 01:15:47 UTC
Looks like the fix introduced during F-13 development cycle didn't actually fix this:

http://cvs.fedoraproject.org/viewvc/rpms/libapreq2/devel/libapreq2-2.12-install.patch?revision=1.1&view=markup

Comment 4 Bojan Smojver 2010-06-22 06:25:34 UTC
Somehow mock builds this differently. When I build the same RPM on my box, it works. Digging...

Comment 5 Fedora Update System 2010-06-22 09:20:28 UTC
libapreq2-2.12-6.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/libapreq2-2.12-6.fc13

Comment 6 Fedora Update System 2010-06-22 17:15:58 UTC
libapreq2-2.12-6.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update libapreq2'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/libapreq2-2.12-6.fc13

Comment 7 Fedora Update System 2010-07-06 17:12:04 UTC
libapreq2-2.12-6.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.