Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 411413 - dev-lang/jimtcl USE=static-libs fails to install
Summary: dev-lang/jimtcl USE=static-libs fails to install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD, PATCH
Depends on:
Blocks:
 
Reported: 2012-04-10 02:05 UTC by Peter Stuge
Modified: 2012-05-05 16:52 UTC (History)
0 users

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


Attachments
Patch for jimtcl-0.70_pre20110317 when use static-libs (jimtcl-0.70_pre20110317.patch,528 bytes, text/plain)
2012-04-10 02:05 UTC, Peter Stuge
Details
Patch for jimtcl-9999 when use static-libs (jimtcl-9999.patch,504 bytes, patch)
2012-04-10 02:05 UTC, Peter Stuge
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Stuge 2012-04-10 02:05:00 UTC
Created attachment 308355 [details]
Patch for jimtcl-0.70_pre20110317 when use static-libs

The ebuild configures --with-jim-shared only when ! use static-libs, but src_install() unconditionally does dolib.so limjim.so.

I'm not sure if the bug is that the .so gets built only without static-libs, or if it's that the .so tries to be installed unconditionally. I tried without success to find the intent of static-libs; if it means that all libraries must *only* be built as static libraries and no .so are allowed, or if it means that libraries should *also* be built as static libraries in addition to building .so. I hope the latter.

In any case, the ebuilds need fixing. Unfortunately, it seems that the upstream build system does not allow building both static and shared at once, so the only possible fix is to not dolib.so when use static-libs. Patches attached.
Comment 1 Peter Stuge 2012-04-10 02:05:40 UTC
Created attachment 308357 [details, diff]
Patch for jimtcl-9999 when use static-libs
Comment 2 Peter Stuge 2012-04-11 04:41:15 UTC
The original description was not wrong. The ebuild errors out during install when use static-libs, because the upstream build system can only build *either* a static *or* a shared library, and src_install() unconditionally tries to install the shared library, which does not exist.
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2012-05-05 16:52:07 UTC
Thanks. Fixed