Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75823 - imlib does not compile without X despite -X USE flag
Summary: imlib does not compile without X despite -X USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-27 10:25 UTC by Martin Allchin
Modified: 2004-12-27 16:19 UTC (History)
0 users

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 Martin Allchin 2004-12-27 10:25:43 UTC
I am compiling imlib on a box without X using -X use flag and it errors because it can't find an X libary (X11/Xlib.h)...

Reproducible: Always
Steps to Reproduce:
1. emerge imlib
2.
3.

Actual Results:  
if /bin/sh ../../../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H
-I. -I. -I../../.. -I. -I../../.. -I../../../src/lib
-I../../../src/modules/loaders -I/usr/include/freetype2      -march=athlon-xp
-O3 -pipe -fomit-frame-pointer -MT loader_argb.lo -MD -MP -MF
".deps/loader_argb.Tpo" -c -o loader_argb.lo loader_argb.c; \
then mv -f ".deps/loader_argb.Tpo" ".deps/loader_argb.Plo"; else rm -f
".deps/loader_argb.Tpo"; exit 1; fi
loader_pnm.c:9:24: X11/Xlib.h: No such file or directory
loader_pnm.c:10:35: X11/extensions/XShm.h: No such file or directory
loader_pnm.c:11:25: X11/Xutil.h: No such file or directory
make[4]: *** [loader_pnm.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I. -I../../..
-I../../../src/lib -I../../../src/modules/loaders -I/usr/include/freetype2
-march=athlon-xp -O3 -pipe -fomit-frame-pointer -MT loader_argb.lo -MD -MP -MF
.deps/loader_argb.Tpo -c loader_argb.c  -fPIC -DPIC -o .libs/loader_argb.o
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I. -I../../..
-I../../../src/lib -I../../../src/modules/loaders -I/usr/include/freetype2
-march=athlon-xp -O3 -pipe -fomit-frame-pointer -MT loader_argb.lo -MD -MP -MF
.deps/loader_argb.Tpo -c loader_argb.c -o loader_argb.o >/dev/null 2>&1
make[4]: Leaving directory
`/var/tmp/portage/imlib2-1.2.0.20041226/work/imlib2/src/modules/loaders'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/imlib2-1.2.0.20041226/work/imlib2/src/modules'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/imlib2-1.2.0.20041226/work/imlib2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/imlib2-1.2.0.20041226/work/imlib2'
make: *** [all] Error 2
 * Please do not contact the E team about bugs in Gentoo.
 * Only contact vapier@gentoo.org via e-mail or bugzilla.
 * Remember, this stuff is CVS only code so dont cry when
 * I break you :).

!!! ERROR: media-libs/imlib2-1.2.0.20041226 failed.
!!! Function enlightenment_die, Line 71, Exitcode 0
!!! emake failed
!!! SEND BUG REPORTS TO vapier@gentoo.org NOT THE E TEAM
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
Emerge successfully

I tried turning off all the assocciated USE lags for this build and it still
errors. I am assumming it either:

a) MUST have X
b) Is incorrectly linking against X when it shouldn't
c) Is being awkward for the hell of it 'cos it's the kinda day for me
Comment 1 SpanKY gentoo-dev 2004-12-27 10:50:42 UTC
verified ... all the loaders were supposed to be cleaned, but i guess two were missed

will have upstream fix up and then i'll close the bug ;)
Comment 2 Martin Allchin 2004-12-27 11:09:01 UTC
Great stuff, thanks SpanKY.

I'll emerge X for now until the fix filters downstream.
Comment 3 SpanKY gentoo-dev 2004-12-27 14:50:37 UTC
raster has fixed upstream cvs ... this will be resolved in next cvs snapshot
Comment 4 Martin Allchin 2004-12-27 16:19:13 UTC
Excellent; Thanks for pushing it forward for me!

Speedy work from Raster too :)