Need help with mock pkgconfig problem

Rex Dieter rdieter at math.unl.edu
Thu Dec 7 19:50:58 UTC 2006


Michel Salim wrote:

> I'm packaging evolution-remove-duplicates at the moment:
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=218360
> 
> It's an Evolution plugin that checks the set of selected messages for
> duplicates, and move the duplicates to trash.
> 
> It currently builds fine *outside* mock, but not within it (on both
> fedora-6-i386 and fedora-6-x86_64), and I'm not sure why. The package
> depends on evolution-devel, which supplies the .pc file it's claiming
> it could not find, and evolution-devel in turn pulls in pkgconfig as a
> dependency (and the configure script managed to find the pkgconfig
> binary just fine)
> 
> Here's the error I get:
> configure: error: Package requirements (
>                   evolution-plugin-2.8 >= 2.3.2
>                   ) were not met.
> Consider adjusting the PKG_CONFIG_PATH environment variable if you
> installed software in a non-standard prefix.

Broken/missing dependancy.

evolution-devel's evolution-plugin-2.8.pc contains:
Requires: ... camel-provider-1.2

Which is included in evolution-data-provider-devel

So, quick-n-dirty fix is add to your package:
BuildRequires: evolution-data-provider-devel

Long-term, better fix is to add to evolution-devel:
Requires: evolution-data-provider-devel

-- Rex






More information about the fedora-extras-list mailing list