I tried to emerge x11-plugins/gkacpi, but it failed because imlib-config doesn't work properly with '--cflags-gdk' argument. Reproducible: Always Steps to Reproduce: 1.USE='-gtk' emerge imlib 2.emerge gkacpi Actual Results: emerge fail without any useful information. >>> Unpacking source... >>> Unpacking gkacpi2-0.4.tar.gz to /var/tmp/portage/x11-plugins/gkacpi-2.0.4/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/x11-plugins/gkacpi-2.0.4/work/gkacpi2-0.4 ... cc -O3 -march=pentium4 -fomit-frame-pointer -pipe -O2 -Wall -fPIC `pkg-config gtk+-2.0 --cflags` `imlib-config --cflags-gdk` -O3 -march=pentium4 -fomit-frame-pointer -pipe -c -o gkacpi.o gkacpi.c cc -O3 -march=pentium4 -fomit-frame-pointer -pipe -O2 -Wall -fPIC `pkg-config gtk+-2.0 --cflags` `imlib-config --cflags-gdk` -O3 -march=pentium4 -fomit-frame-pointer -pipe -c -o libacpi.o libacpi.c /usr/bin/imlib-config: line 52: --cflags: command not found /usr/bin/imlib-config: line 52: --cflags: command not found cc -O3 -march=pentium4 -fomit-frame-pointer -pipe -O2 -Wall -fPIC `pkg-config gtk+-2.0 --cflags` `imlib-config --cflags-gdk` gkacpi.o libacpi.o -o gkacpi2.so -shared -lpthread `pkg-config gtk+-2.0 --libs` `imlib-config --libs-gdk` /usr/bin/imlib-config: line 52: --cflags: command not found /usr/bin/imlib-config: line 60: --libs: command not found /usr/lib/gcc/i686-pc-linux-gnu/4.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lgdk_imlib collect2: ld returned 1 exit status make: *** [gkacpi2.so] Error 1 * * ERROR: x11-plugins/gkacpi-2.0.4 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2157: Called die * The specific snippet of code: * emake || die "emake failed"; * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/x11-plugins:gkacpi-2.0.4:20080329-150510.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-plugins/gkacpi-2.0.4/temp/environment'. * Expected Results: emerge should tell users to emerge imlib with 'gtk' in their USE flags.
The USE="gtk" was renamed to USE="deprecated" in imlib, soon it will go away entirely. So if this package is requiring the imlib-gdk functionality, it should be removed, therefore, adding treecleaners
# Jeremy Olexa <darkside@gentoo.org> (12 Jun 2010) # Depends on deprecated gtk functionality in media-libs/imlib # Removed in 60 days by treecleaners, bug 215341 x11-plugins/gkacpi
removed, wontfix