Well, it just doesn't compile. And I heard one of my friends is having this problem so it's not just me, I think. Reproducible: Always Steps to Reproduce: 1. emerge scrot
Created attachment 367708 [details] build log
Created attachment 367710 [details] The environment file
Created attachment 367712 [details] emerge --info output
Created attachment 367714 [details] emerge -pqv output
Created attachment 367734 [details, diff] imlib2-config contains un-expanded @my_libs@
Is there a fix, then? I tried adding Jimmy's patch, but it didn't help
Comment on attachment 367734 [details, diff] imlib2-config contains un-expanded @my_libs@ not sure wtf you're talking about wrt gnu maybe take it as a sign that using imlib2-config is a bad idea and you should switch to `pkg-config --libs imlib2`
--- imlib2-1.4.6.ebuild +++ imlib2-1.4.6-r1.ebuild @@ -37,6 +37,11 @@ x11-proto/xproto )" +src_prepare () { + # imlib2 1.4.6 has been posted as non-maintainer upload + sed -i 's/@my_libs@//' imlib2-config.in +} + src_configure() { # imlib2 has diff configure options for x86/amd64 mmx if [[ $(tc-arch) == amd64 ]]; then
(In reply to SpanKY from comment #7) While I agree in general with the comment, the broken imlib2-config breaks too many downstream packages (such as scrot through its dependency on giblib). Debian has fixed it (https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1183078.html) and BLFS also just seds @my_libs@ out (http://wiki.linuxfromscratch.org/blfs/changeset/12484). Please commit this simple fix.
(In reply to Ted Tanberry from comment #9) i'm not sure that description really fits. 1.4.5 has been in the tree since Feb 2012 and stable since Sep 2012 and this is the first bug report in Gentoo about it. clearly it's not really used commonly anymore if it takes 2 years for someone to notice it.
i've fixed this upstream: http://git.enlightenment.org/legacy/imlib2.git/commit/?id=5dde234b2d3caf067ea827858c53adc5d4c56c13
should be all set now in the tree; thanks for the report! Commit message: Add fix from upstream for stray @my_libs@ in imlib2-config http://sources.gentoo.org/media-libs/imlib2/files/imlib2-1.4.5-no-my-libs.patch?rev=1.1 http://sources.gentoo.org/media-libs/imlib2/imlib2-1.4.5-r1.ebuild?rev=1.1 http://sources.gentoo.org/media-libs/imlib2/imlib2-1.4.6-r1.ebuild?rev=1.1