# cave show -f autopano-sift-C::gentoo * media-gfx/autopano-sift-C::gentoo cave@1366390726: [WARNING e.cache.stale] Stale cache file at '/var/paludis/repositories/gentoo/metadata/md5-cache/media-gfx/autopano-sift-C-2.5.1' ::gentoo 2.5.1* {:0} media-gfx/autopano-sift-C-2.5.1:0::gentoo Description SIFT algorithm for automatic panorama creation in C Homepage http://hugin.sourceforge.net/ http://user.cs.tu-berlin.de/~nowozin/autopano-sift/ Herds graphics Long Description autopano-sift-C is a program to automatically find control points for stitching together panoramas. Use flags build_options: symbols=strip dwarf_compress -optional_tests -trace work=tidyup SYMPTOM) [...] /var/tmp/paludis/media-gfx-autopano-sift-C-2.5.1/temp//ccEGYzBU.ltrans7.ltrans.o:ccEGYzBU.ltrans7.o:function MultiMatch_BuildGlobalMatchList: error: undefined reference to 'log' /var/tmp/paludis/media-gfx-autopano-sift-C-2.5.1/temp//ccEGYzBU.ltrans7.ltrans.o:ccEGYzBU.ltrans7.o:function MultiMatch_BuildGlobalMatchList: error: undefined reference to 'log' /var/tmp/paludis/media-gfx-autopano-sift-C-2.5.1/temp//ccEGYzBU.ltrans8.ltrans.o:ccEGYzBU.ltrans8.o:function BondBall_EstimateImage: error: undefined reference to 'sincos' [...] RESOLUTION) Using the patch attached cures the problem. Reproducible: Always
Created attachment 346030 [details, diff] autopano-sift-C-2.5.1.ebuild.patch
Created attachment 346032 [details] build log
Created attachment 347670 [details, diff] autopano-sift-C-2.5.1.ebuild.patch
As far as I can tell this was just a missing -lm and was fixed in 2013, just a few months later. 2013's proposed patch *here* to sed out CMakeLists.txt only when -flto is detected, to insert mandatory -lm arguments, was never going to be a good patch, but it did get fixed correctly all along, so...