Joined: 06 Jun 2012
|Posted: Sat Mar 23, 2013 7:53 am Post subject: Failed to emerge kde-base/libkdcraw-4.10.1
|Hi, all kind-hearted guys.
I failed to emerge kde-base/libkdcraw-4.10.1 during updating my system.
It failed during in compile phase, I checked the log, found it is caused by "undefined referrence to pow" in demosaic_packs.cpp
Obviously it is unable to link the math lib , so I've tried several ways to work around this,
*** Act One ***
1. unpacked the source in distfiles
2. tried to add -lm to cflag in CMakeLists
3. packed it again
4. since I modified the package, to avoid integrity checking failure, I used "ebuild /usr/portage/kde-base/libkdcraw.ebuild merge --skip-manifest"
to bypass the check.
==> Hoped it work, but failed.
*** Act Two ***
modified the make.conf to add "-lm" to LDFLAGS, to coerce it to link with math lib,
==> still failed.
*** Act Three ***
masked this package
==> failed again, the " emerge world " need this package to proceed.
I'm at my wits' end now :`\
So how to tackle this?
The build log is here, hope it helps