Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 599244 - dev-libs/libical pkgconfig file promotes overlinking of dev-libs/icu (eg. net-wireless/bluez)
Summary: dev-libs/libical pkgconfig file promotes overlinking of dev-libs/icu (eg. net...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 605854 640736 643388 647998 (view as bug list)
Depends on: 599246 643940
Blocks:
  Show dependency tree
 
Reported: 2016-11-08 22:21 UTC by Mike Gilbert
Modified: 2018-03-13 12:40 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Gilbert gentoo-dev 2016-11-08 22:21:44 UTC
% grep libicu /var/db/pkg/net-wireless/bluez-5.43/NEEDED.ELF.2

X86_64;/usr/libexec/bluetooth/obexd;;;libicuuc.so.58,libicui18n.so.58,libicalvcal.so.2,libpthread.so.0,libdbus-1.so.3,libglib-2.0.so.0,libdl.so.2,libc.so.6;x86_64
Comment 1 Mike Gilbert gentoo-dev 2016-11-08 22:49:12 UTC
This might be caused by libical's pkgconfig file.

% pkg-config --libs libical
-lical -licalss -licalvcal -lpthread /usr/lib64/libicuuc.so /usr/lib64/libicui18n.so
Comment 2 Pacho Ramos gentoo-dev 2016-11-16 19:31:41 UTC
after the closing of bug 599246, is there something to do from bluez side?
Comment 3 Mike Gilbert gentoo-dev 2016-11-16 19:48:34 UTC
Nothing to fix in bluez

However, the libical pkgconfig file still needs fixing to prevent overlinking.
Comment 4 Pacho Ramos gentoo-dev 2017-12-18 21:00:25 UTC
*** Bug 640736 has been marked as a duplicate of this bug. ***
Comment 6 Alexander Tsoy 2017-12-19 15:41:13 UTC
(In reply to Alexander Tsoy from comment #5)

We actually need only the second patch as it contains correct fix for bug 640736 as well. Other patches are just to make it apply cleanly.
Comment 7 Andreas Sturmlechner gentoo-dev 2017-12-21 20:42:29 UTC
thanks for picking this up!
Comment 8 Larry the Git Cow gentoo-dev 2017-12-21 20:42:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d19987701b8b988b2c2e6ee716339479ad8592f1

commit d19987701b8b988b2c2e6ee716339479ad8592f1
Author:     Alexander Tsoy <alexander@tsoy.me>
AuthorDate: 2017-12-19 15:14:02 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2017-12-21 20:41:57 +0000

    dev-libs/libical: fix libical.pc to prevent overlinking
    
    Move pthread and ICU libs to *.private sections in libical.pc. Also
    fixes absolute paths to ICU libraries.
    
    Closes: https://bugs.gentoo.org/599244
    Closes: https://github.com/gentoo/gentoo/pull/6582

 ...ical-2.0.0-libical.pc-fix-libdir-location.patch | 28 +++++++++++
 ...cal-2.0.0-libical.pc-icu-move-to-requires.patch | 47 +++++++++++++++++++
 ...al-2.0.0-libical.pc-icu-remove-full-paths.patch | 44 ++++++++++++++++++
 ...libical-2.0.0-libical.pc-set-full-version.patch | 19 ++++++++
 dev-libs/libical/libical-2.0.0-r3.ebuild           | 54 ++++++++++++++++++++++
 5 files changed, 192 insertions(+)
Comment 9 Pacho Ramos gentoo-dev 2018-01-08 19:17:37 UTC
*** Bug 643388 has been marked as a duplicate of this bug. ***
Comment 10 Mart Raudsepp gentoo-dev 2018-02-20 06:53:40 UTC
*** Bug 605854 has been marked as a duplicate of this bug. ***
Comment 11 Pacho Ramos gentoo-dev 2018-03-13 12:40:15 UTC
*** Bug 647998 has been marked as a duplicate of this bug. ***