Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 560572

Summary: dev-libs/libical-1.0.1 generates pkgconfig file with wrong libdir
Product: Gentoo Linux Reporter: Georgi Georgiev <>
Component: Current packagesAssignee: No maintainer - Look at if you want to take care of it <maintainer-needed>
Severity: normal CC: alexander
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 506276    
Attachments: libical-libdir.patch

Description Georgi Georgiev 2015-09-15 19:13:37 UTC
Created attachment 411998 [details, diff]

On a machine with SYMLINK_LIB=no profile (i.e. 32-bit libs in /usr/lib), installing dev-libs/libical-1.0.1 would generate a pkgconfig file looking like this:

> cat /usr/lib64/pkgconfig/libical.pc 
Name: libical
Description: An implementation of basic iCAL protocols
Version: 1.0
Libs: -L${libdir} -lical -licalss -licalvcal ${threadslib}
Cflags: -I${includedir}

With the "libdir" pointing to /usr/lib (which is wrong in this case), and the "-L${libdir}" makes anything using libical (especifically evolution) fail to compile.

Attaching a small patch that fixes the evolution compilation problems for me at least.
Comment 1 Michael Orlitzky gentoo-dev 2016-07-28 18:08:54 UTC
Thanks for the patch! I added the new version 2.0.0 and rebased the patch on that, so hopefully it still fixes the issue for you.

commit 12436d4d974dc5f6de69cfb533c52fb0f426af0e
Author: Michael Orlitzky <>
Date:   Thu Jul 28 13:28:41 2016 -0400

    dev-libs/libical: new version v2.0.0 with fix for bug 560572.

    Gentoo-Bug: 560572

    Package-Manager: portage-2.2.28

 dev-libs/libical/Manifest                        |  1 +
 dev-libs/libical/files/fix-libdir-location.patch | 26 +++++++++++++
 dev-libs/libical/libical-2.0.0.ebuild            | 47 ++++++++++++++++++++++++
 3 files changed, 74 insertions(+)