Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 299503 - app-text/crm114-20090807 tries to link statically with dev-libs/tre
Summary: app-text/crm114-20090807 tries to link statically with dev-libs/tre
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Steev Klimaszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-03 19:24 UTC by Norman Yarvin
Modified: 2011-07-31 20:07 UTC (History)
3 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 Norman Yarvin 2010-01-03 19:24:38 UTC
If dev-libs/tre was installed without USE=static-libs, and crm114 is built with USE=static (as it is by default), emerge of crm114 fails with "cannot find -ltre".  Re-merging tre with USE=static-libs fixes the problem, but the crm114 ebuild should be changed to reflect the need for this, which I think can be done by replacing the RDEPEND line

        >=dev-libs/tre-0.7.5

with

        >=dev-libs/tre-0.7.5[static-libs]

or perhaps with the lines

        static? >=dev-libs/tre-0.7.5[static-libs]
        !static? >=dev-libs/tre-0.7.5
Comment 1 Norman Yarvin 2010-01-03 19:28:09 UTC
Note that upstream says that:

        The reason for the "static" linking recommendation is that many people
        don't have root on their site's mail server and so cannot install the
        TRE regex library there.

This doesn't normally apply to Gentoo ebuilds, so maybe a better solution is to just drop all the static-linking stuff.

That quote is from:

http://crm114.sourceforge.net/src/README
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-01-03 19:31:25 UTC
crm114 must use the shared library from tre, not depend on the static-libs flag. 
Comment 3 Steev Klimaszewski (RETIRED) gentoo-dev 2011-07-31 20:07:51 UTC
static has been removed as the default useflag in 20100106 ebuild.