Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830972 - media-gfx/inkscape-9999: USE=static-libs leads to lib2geom.so.1.1.0 => not found
Summary: media-gfx/inkscape-9999: USE=static-libs leads to lib2geom.so.1.1.0 => not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-11 00:18 UTC by Jonas Stein
Modified: 2022-01-22 19:19 UTC (History)
2 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 Jonas Stein gentoo-dev 2022-01-11 00:18:00 UTC
Library is missing when the user starts inkscape:

$ inkscape 
inkscape: error while loading shared libraries: lib2geom.so.1.1.0: cannot open shared object file: No such file or directory

Confirmed with ldd:

ldd /usr/bin/inkscape  | grep found
	lib2geom.so.1.1.0 => not found


Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-11 00:23:36 UTC
[2021-12-26T21:03:29+0000] <@jstein> Hi, I am a bit confused: inkscape-9999 compiled and installed fine, but lddtree /usr/bin/inkscape responds:
[2021-12-26T21:03:29+0000] <@jstein> lib2geom.so.1.1.0 => not found
[2021-12-26T21:03:29+0000] <@jstein> How could this not fail? According to portfilelist it should be shipped by media-gfx/inkscape
[2021-12-26T21:04:36+0000] <@ionen> maybe it uses rpath and lddtree is not picking that up?
[2021-12-26T21:06:05+0000] <@jstein> ionen: well in fact inkscape fails to start, so I would not blame lddtree per se:
[2021-12-26T21:06:05+0000] <@jstein> inkscape: error while loading shared libraries: lib2geom.so.1.1.0: cannot open shared object file: No such file or directory
[2021-12-26T21:06:06+0000] <@sam_> or no rpath st all when it should be
[2021-12-26T21:06:18+0000] <@sam_> does your inkscape install that at all?
[2021-12-26T21:07:58+0000] <@jstein> equery f media-gfx/inkscape | grep lib2geom # has no match
[2021-12-26T21:08:46+0000] <@sam_> ok so let's start there
[2021-12-26T21:10:04+0000] <@sam_> do you have USE=static-libs?
[2021-12-26T21:10:05+0000] <@sam_> -DBUILD_SHARED_LIBS=$(usex !static-libs)
[2021-12-26T21:18:44+0000] <scardracs> jstein: fedora provides it as separate library
[2021-12-26T21:19:15+0000] <@sam_> yeah looking at it, i think that might be a better way forward
[2021-12-26T21:19:26+0000] <scardracs> Uh, not fedora but ALT Linux
[2021-12-26T21:19:27+0000] <@sam_> it's using a bundled copy as fallback right no
[2021-12-26T21:19:27+0000] <@sam_> w
Comment 2 Jonas Stein gentoo-dev 2022-01-11 20:46:20 UTC
yes, I had USE=static-libs
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-11 20:53:35 UTC
Does something actually need static-libs for this? Feels like we should just strip it.
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2022-01-22 19:14:19 UTC
(In reply to Sam James from comment #3)
> Does something actually need static-libs for this? Feels like we should just
> strip it.

I see absolutely no reason for that flag to exist.
Comment 5 Larry the Git Cow gentoo-dev 2022-01-22 19:19:03 UTC
The bug has been closed via the following commit(s):

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

commit e58c99a40fbd7dac1049684104c46e3e76951dc0
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2022-01-22 19:18:45 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2022-01-22 19:18:45 +0000

    media-gfx/inkscape: Remove useflag static-libs (now always off)
    
    Closes: https://bugs.gentoo.org/830972
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 media-gfx/inkscape/Manifest              | 2 +-
 media-gfx/inkscape/inkscape-1.1.1.ebuild | 6 +++---
 media-gfx/inkscape/inkscape-9999.ebuild  | 7 +++----
 3 files changed, 7 insertions(+), 8 deletions(-)