Bug 408131 - build failure on Gentoo with new proflile without lib -> lib64 symlink
Summary: build failure on Gentoo with new proflile without lib -> lib64 symlink
Status: RESOLVED WORKSFORME
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 5.0.4
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-30 18:42 UTC by Jack
Modified: 2019-06-21 16:42 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jack 2019-05-30 18:42:01 UTC
Gentoo users select a "profile" which sets many default values for building and running applications.  The new (still "testing" but soon to be released as "stable") 17.1 profiles remove the lib -> lib64 symlink.  A Gentoo bug (https://bugs.gentoo.org/686750) has been filed which reports "ninja: error: '/usr/lib/libgmp.so', needed by 'lib/libkmm_mymoney.so.5.0.4', missing."  That library IS present under /usr/lib64.  (I have not yet moved to the 1.7.1 profile, so I cannot confirm or test.)
Note that this is a build, not a configuration, failure, so I wonder if there is something in how ninja deals with $libdir as set (or not?) by ccmake.
Comment 1 Jack 2019-06-21 16:24:08 UTC
The above error with libgmp.so seems to be resolved by rebuilding libalkimia, but I now get

ninja: error: '/usr/lib/libmpir.so', needed by 'lib/libkmm_mymoney.so.5.0.4', missing and no known rule to make it.
Comment 2 Jack 2019-06-21 16:42:10 UTC
Fortunately, it seems that recompiling libalkimia fixed the initial error, and now recompiling again fixes the new issue, probably because it is actually libalkimia calling for libmpir.  I'm going to close this as WORKSFORME, and will only reopen if anything new does point back to ninja or cmake.