Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 215341 - emerge x11-plugins/gkacpi may need to have media-libs/imlib emerged with 'gtk' in the USE flag.
Summary: emerge x11-plugins/gkacpi may need to have media-libs/imlib emerged with 'gtk...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Dockapp Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-29 15:50 UTC by Naohiro Aota
Modified: 2010-09-21 02:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Naohiro Aota gentoo-dev 2008-03-29 15:50:02 UTC
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.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-05-06 14:30:49 UTC
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
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-06-12 20:33:22 UTC
# 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
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-09-21 02:52:59 UTC
removed, wontfix