PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001627PacketFenceupstreampublic2013-02-01 13:022015-02-12 11:36
Reporterlmunro 
Assigned Tolmunro 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionwon't fix 
PlatformOSOS Version
Product Version3.6.1 
Target VersionFixed in Version 
Summary0001627: pf::web::wispr.pm broken by upstream APR::Request on Centos 5
Descriptionlib/pf/web/wispr.pm fails to compile with the following errors:

Can't load '/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/APR/Request/Request.so' for module APR::Request: /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/APR/Request/Request.so: undefined symbol: apreq_hook_disable_uploads at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230.
 at /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/APR/Request/Param.pm line 27
Compilation failed in require at /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/APR/Request/Param.pm line 27.

BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/APR/Request/Param.pm line 27.
Compilation failed in require at /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Apache2/Request.pm line 2.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Apache2/Request.pm line 2.
Compilation failed in require at lib/pf/web/wispr.pm line 20.
BEGIN failed--compilation aborted at lib/pf/web/wispr.pm line 20.


Indeed apreq_hook_disable_uploads is undefined in Request.so:

# nm /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/APR/Request/Request.so | egrep apreq_hook_disable_uploads
                 U apreq_hook_disable_uploads


apreq_hook_disable_uploads is defined in /usr/lib64/libapreq2.so.3, so the following trick will work:

LD_PRELOAD=/usr/lib64/libapreq2.so.3 perl -c -I /usr/local/pf/lib /usr/local/pf/lib/pf/web/wispr.pm
Additional InformationFound this when upgrading from 3.0.1 to 3.6.1 on Centos 5 on x86_64.
TagsNo tags attached.
fixed in git revision
fixed in mtn revision
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2013-02-01 13:02 lmunro New Issue
2013-02-01 13:53 lmunro Status new => assigned
2013-02-01 13:53 lmunro Assigned To => lmunro
2013-02-01 13:55 lmunro Description Updated
2015-02-11 11:51 lmunro Resolution open => won't fix
2015-02-12 11:36 lmunro Status assigned => closed


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker