Bug 858512

Summary: libgpg-error should build static libs for gpgme unit testing
Product: Red Hat Enterprise Linux 6 Reporter: Kevin Clevenger <kcleveng>
Component: libgpg-errorAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED WONTFIX QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.3CC: john, rdieter, slukasik, tmraz
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 855451 Environment:
Last Closed: 2012-09-25 06:49:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 855451    
Bug Blocks: 855454    

Description Kevin Clevenger 2012-09-19 00:11:40 UTC
+++ This bug was initially created as a clone of Bug #855451 +++

Created attachment 610833 [details]
Patch to reenable building static libs in libgpg-error-devel RPM

The libgpg-error-devel RPM does not contain %{_libdir}/libgpg-error.a, needed by gpgme to run the basic gpg unit tests.

gpgme unit tests would currently fail, except they've been disabled because they won't build without these static libs.  (Soon will file a ticket dependent on this bug.)

I'm attaching a patch to re-enable building the static libs.

The patch also updates .gitignore to ignore fedpkg local build artifacts.

Comment 2 John Morris 2012-09-19 02:43:27 UTC
Hi Kevin,

Thanks for looking at #855451.  I'm a bit green around here.  How come you created a new bug?  Only difference I see is that it's been assigned (hi, Nalin!).

   John

Comment 3 Kevin Clevenger 2012-09-19 15:04:45 UTC
BZ #855451 is for Fedora, this needs to be corrected in RHEL 6 as well.

Comment 4 Tomas Mraz 2012-09-25 06:49:25 UTC
Kevin, I don't think shipping static libraries just for gpgme tests is necessary. The tests in gpgme can be patched to use the shared libraries during linking.

Comment 5 John Morris 2012-09-26 05:53:17 UTC
Bug #855451:  a patch to the gpgme package to link against shared libs has been submitted.  Thanks fellas.

    John

Comment 6 John Morris 2012-09-26 05:54:38 UTC
Erm, Bug #855454, that is.