Summary: | media-gfx/splashutils-1.5.4.4-r4 with media-libs/libmng-2.0.2-r1 - .../work/libmng-2.0.2/libmng_cms.c:160: undefined reference to `cmsFreeToneCurve' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrei Slavoiu <ansla80> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | boulos, ed, gentoo, heiko.baums, idarktemplar, josef64, jstein, lord, Martin.Jansa, navid.zamani, saintdev, skrattaren, treecleaner, vityokster |
Priority: | Normal | Keywords: | PMASKED |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | Pending removal: 2018-11-21 | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 534786 | ||
Attachments: |
build.log
patch for -llcms2 modified ebuild |
Description
Andrei Slavoiu
2014-01-29 08:33:20 UTC
Created attachment 369038 [details]
build.log
...and the version of media-libs/lcms:2 ? 2.5-r1 I've got this exact same issue on my ~amd64 laptop. The issue started several days ago after updates to app-emulation/emul-linux-x86-baselibs triggered emerge @preserved-rebuild. There were several updates to it over the course of the past week. Each time splashutils was drawn into the rebuild queue and each time it fails with the same error. I was only able to get it to successfully install by emerging with USE="-mng". I hope this helps. It looks like libmng-2 is built with -llcms2 while splashutils is adding -llcms Created attachment 369628 [details, diff]
patch for -llcms2
Check if this patch is correct.
(In reply to Andrea Grazioli from comment #6) > Created attachment 369628 [details, diff] [details, diff] > patch for -llcms2 > > Check if this patch is correct. With the Patch [ebuild R ] media-gfx/splashutils-1.5.4.4-r4 USE="fbcondecor gpm mng png truetype -hardened" [ebuild R ] media-libs/lcms-2.5-r1 USE="jpeg static-libs tiff zlib -doc {-test}" builds fine Thank you :) (In reply to josef.95 from comment #7) supplement with [ebuild R ] media-libs/libmng-2.0.2-r1:0/2 USE="lcms static-libs" Created attachment 370048 [details]
modified ebuild
uploaded modified ebuild for splashutils that utilizes posted patch
*** Bug 501140 has been marked as a duplicate of this bug. *** Still not fixed in the main repository of portage. Would be nice if we could get this patched there. :) I’m sorry, I confused two bugs. Ignore my last comment. Now I checked, and it’s still not in Portage for real. (Bug #506124 threw me off.) I still get: LD fbcondecor_helper /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libmng.a(libmng_cms.o): In function `mnglcms_createsrgbprofile': (.text+0x17a): undefined reference to `cmsFreeToneCurve' /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libmng.a(libmng_cms.o): In function `mng_init_full_cms': (.text+0x701): undefined reference to `cmsFreeToneCurve' collect2: error: ld returned 1 exit status *With* the patch and the new ebuild (merged with the one from bug #501624) it works. Oops, the patch doesn’t *actually* work (anymore). Now I get LD fbcondecor_helper /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -llcms2 collect2: error: ld returned 1 exit status (In reply to Navid Zamani from comment #14) > Oops, the patch doesn’t *actually* work (anymore). > > Now I get > > LD fbcondecor_helper > /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ > ld: cannot find -llcms2 > collect2: error: ld returned 1 exit status Was the same problem, just set +static-libs use flag for BOTH lcms slots. Patch worked fine for me. I'm also using patch from #506124 IIRC. $ eix splashutils [I] media-gfx/splashutils Available versions: 1.5.4.4-r1^t ~1.5.4.4-r2^t ~1.5.4.4-r3^t ~1.5.4.4-r4^t (~)1.5.4.4-r5^t[1] {fbcondecor gpm hardened +mng +png +truetype} Installed versions: 1.5.4.4-r5^t[1](23:59:40 02.06.2014)(fbcondecor gpm mng png truetype -hardened) Homepage: http://fbsplash.berlios.de Description: Framebuffer splash utilities [1] "local-overlay" /usr/local/portage $ eix -I lcms [I] media-libs/lcms Available versions: (0) 1.19 1.19-r1 ~1.19-r2 (2) 2.3 ~2.4 2.5 (~)2.5-r1 ~2.6 {doc jpeg python static-libs test +threads tiff zlib ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32" PYTHON_TARGETS="python2_7 python3_2 python3_3 python3_4"} Installed versions: 1.19-r1(11:50:16 04.05.2014)(jpeg static-libs tiff zlib -python PYTHON_TARGETS="python2_7 python3_3 -python2_6 -python3_2 -python3_4") 2.5-r1(2)(23:01:53 03.02.2014)(jpeg static-libs tiff zlib -doc -test ABI_MIPS="-n32 -n64 -o32" ABI_X86="32 64 -x32") Homepage: http://www.littlecms.com/ Description: A lightweight, speed optimized color management engine Package removed. |