Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 560572 - dev-libs/libical-1.0.1 generates pkgconfig file with wrong libdir
Summary: dev-libs/libical-1.0.1 generates pkgconfig file with wrong libdir
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at if you want to take care of it
Depends on:
Blocks: no-symlink-lib
  Show dependency tree
Reported: 2015-09-15 19:13 UTC by Georgi Georgiev
Modified: 2016-07-28 18:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

libical-libdir.patch (libical-libdir.patch,785 bytes, patch)
2015-09-15 19:13 UTC, Georgi Georgiev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(+)