This service will be undergoing maintenance at 00:00 UTC, 2016-08-01. It is expected to last about 1 hours
Bug 456621 - Duplicate Requires field in pkgconfig file
Duplicate Requires field in pkgconfig file
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: telepathy-glib (Show other bugs)
rawhide
All Linux
low Severity low
: ---
: ---
Assigned To: Brian Pepple
Fedora Extras Quality Assurance
:
Depends On:
Blocks: F10Target 456565
  Show dependency treegraph
 
Reported: 2008-07-24 20:20 EDT by Peter Gordon
Modified: 2008-07-29 21:25 EDT (History)
2 users (show)

See Also:
Fixed In Version: 0.7.12-2
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-07-28 19:43:46 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Peter Gordon 2008-07-24 20:20:15 EDT
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 18:28:06 EDT
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 19:43:46 EDT
Ok, this should be fixed.  If you still run into problems with this, just holla.
Comment 3 Peter Gordon 2008-07-29 21:25:40 EDT
That did the trick. Thanks! :)

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