Bug 662056 - pkgconfig file should not list augeas, libxml or libxslt
Summary: pkgconfig file should not list augeas, libxml or libxslt
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: netcf
Version: 14
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Laine Stump
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 682823 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-10 13:14 UTC by Daniel Berrangé
Modified: 2011-09-14 22:41 UTC (History)
2 users (show)

Fixed In Version: netcf-0.1.9-1.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 662057 (view as bug list)
Environment:
Last Closed: 2011-09-14 22:41:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Daniel Berrangé 2010-12-10 13:14:43 UTC
Description of problem:
While netcf does use augeas, libxml and libxslt, this usage is a private internal implementation detail which does not leak out into the public API. There is no need for applications to have augeas, libxml or libxslt header files present to build against netcf. Thus these libraries should not be listed in the 'Requires' of the pkg-config file for netcf. Doing so causes unnecessary '-laugeas' etc lines to be added to apps/libraries building against netcf.

Version-Release number of selected component (if applicable):
netcf-0.1.7-1.fc13.x86_64


How reproducible:
Always

Steps to Reproduce:
1. Build an app against netcf
2.
3.
  
Actual results:
Observe that the compile & link line includes

  -I/usr/include/libxml2   -lnetcf -laugeas -lxslt -lz -lm -lxml2  


Expected results:

Only contains

  -lnetcf



Additional info:

Comment 1 Laine Stump 2011-05-12 13:26:14 UTC
*** Bug 682823 has been marked as a duplicate of this bug. ***

Comment 2 Fedora Update System 2011-08-10 15:09:39 UTC
netcf-0.1.9-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/netcf-0.1.9-1.fc14

Comment 3 Fedora Update System 2011-08-11 23:31:41 UTC
Package netcf-0.1.9-1.fc14:
* should fix your issue,
* was pushed to the Fedora 14 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing netcf-0.1.9-1.fc14'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/netcf-0.1.9-1.fc14
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2011-09-14 22:40:50 UTC
netcf-0.1.9-1.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.