Bug 456621

Summary: Duplicate Requires field in pkgconfig file
Product: [Fedora] Fedora Reporter: Peter Gordon <peter>
Component: telepathy-glibAssignee: Brian Pepple <bdpepple>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: johnp, morgan.collett
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.7.12-2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-07-28 23:43:46 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:
Bug Depends On:    
Bug Blocks: 438944, 456565    

Description Peter Gordon 2008-07-25 00:20:15 UTC
Hi, Brian.

While attempting a mock build of telepathy-haze, I noticed that it produced the
following error message which prevented the build from continuing:

---
checking for TP_GLIB... 
configure: error: Package requirements (telepathy-glib >= 0.7) were not met:
Requires field occurs twice in '/usr/lib64/pkgconfig/telepathy-glib.pc'
[...]
error: Bad exit status from /var/tmp/rpm-tmp.J1UUT8 (%build)
---

Indeed, the file contains duplicate Requires fields, which should be merged into
one:

---
Description: GLib utility library for the Telepathy framework
Version: 0.7.12
Requires: pkg-config >= 0.21
Requires: dbus-glib-1 >= 0.73, glib-2.0 >= 2.10, gobject-2.0 >= 2.10
Libs: -L${libdir} -ltelepathy-glib
---

Version-Release number of selected component (if applicable):
telepathy-glib-0.7.12-1.fc10.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Attempt to build anything which uses tp-glib via pkgconfig.
2. ??
3. Profit!

Comment 1 Brian Pepple 2008-07-25 22:28:06 UTC
I'll look at this on Monday, and make sure this isn't another side-effect of our
busted pkgconfig. https://bugzilla.redhat.com/show_bug.cgi?id=436773#c9

Comment 2 Brian Pepple 2008-07-28 23:43:46 UTC
Ok, this should be fixed.  If you still run into problems with this, just holla.

Comment 3 Peter Gordon 2008-07-30 01:25:40 UTC
That did the trick. Thanks! :)