Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 48799

Summary: imlib2 fails to compile with USE="-X"
Product: Gentoo Linux Reporter: Lars Grunewaldt <lgw>
Component: [OLD] LibraryAssignee: SpanKY <vapier>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch for Makefile.am

Description Lars Grunewaldt 2004-04-23 10:35:07 UTC
Hi there,

I'm afraid the bug [#27169] is back again. I just tried to emerge media-libs/imlib2-1.1.1.20040417,

and it still bails out for X11/* files missing.

I'll have a look to find out what's wrong...

Reproducible: Always
Steps to Reproduce:
1. USE="-X -arts -sdl" ACCEPT_KEYWORDS="~x86" emerge media-libs/imlib2-1.1.1.20040417


Actual Results:  
emerge breaks, gcc telling that X11/stuff was not found (I think in compiling
the "test" directory)

Expected Results:  
well... you know ;)

Portage 2.0.50-r6 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.19-gentoo-r10)
=================================================================
System uname: 2.4.19-gentoo-r10 i686 Pentium II (Deschutes)
Gentoo Base System version 1.4.2.5
distcc 2.11.1 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.6.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=i586 -O3 -pipe"
CHOST="i586-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=i586 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://ftp.tu-clausthal.de/pub/linux/gentoo"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="apm arts avi berkdb crypt cups encode foomaticdb gdbm gif gpm gtk2 imlib
jpeg kde ldap libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl
oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga
tcpd truetype x86 xml2 xmms xv zlib"
Comment 1 Lars Grunewaldt 2004-04-23 11:00:08 UTC
/me again.

I solved it hard & simple:

Makefile.am:
-SUBDIRS                     = src filters doc loaders
+SUBDIRS                     = src filters doc loaders test demo

I'm not totally sure this will really work, but it installed without a glitch like this...
Comment 2 Lars Grunewaldt 2004-04-23 11:01:57 UTC
Created attachment 29906 [details, diff]
patch for Makefile.am
Comment 3 SpanKY gentoo-dev 2004-05-05 20:02:28 UTC

*** This bug has been marked as a duplicate of 48768 ***