Bug 192614

Summary: pam_abl: $RPM_OPT_FLAGS not being used
Product: [Fedora] Fedora Reporter: Ville Skyttä <scop>
Component: pam_ablAssignee: Alexander Dalloz <alex>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: extras-qa, redhat-bugzilla
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.2.3-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-04-16 21:37:16 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 Ville Skyttä 2006-05-21 21:42:14 UTC
pam_abl's build doesn't appear to be honoring $RPM_OPT_FLAGS, reusulting in
compiler security features not being used and a more or less useless debuginfo
package.  More info: http://fedoraproject.org/wiki/Packaging/Debuginfo

Possible fix, in %build:
make %{?_smp_mflags} all CFLAGS="$RPM_OPT_FLAGS -fPIC"

This introduces a build failure on FC5 x86_64 though:
log.o: In function `log_pam_error':
/home/scop/cvs/fedora/extras/pam_abl/devel/pam_abl-20050110-0.2.2/tools/log.c:71:
undefined reference to `pam_strerror'
collect2: ld returned 1 exit status

Comment 1 Robert Scheck 2006-06-17 17:30:53 UTC
Verified...problem can be reproduced on x86_32, too. Upgrade to pam_abl 0.2.3 
seems to resolve the problem (at least on x86_32).

Comment 2 Alexander Dalloz 2006-07-16 19:58:26 UTC
The new 0.2.3-1 package went through the build. Thanks to Robert for his work on
the patch. Can this bug be closed?

Comment 3 Robert Scheck 2007-04-16 21:06:45 UTC
Ping Ville?

Comment 4 Ville Skyttä 2007-04-16 21:37:16 UTC
Yep, 0.2.3-* looks better.