Bug 154304 - media-libs/imlib2-1.3.0 needs X even with USE -X
Bug#: 154304 Product:  Gentoo Linux Version: 2006.1 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: vapier@gentoo.org Reported By: chris@novazur.fr
Component: Applications
URL: 
Summary: media-libs/imlib2-1.3.0 needs X even with USE -X
Keywords:  
Status Whiteboard: 
Opened: 2006-11-06 19:28 0000
Description:   Opened: 2006-11-06 19:28 0000
When I update my server, I have to upgrade imlib :
[ebuild     U ] media-libs/imlib2-1.3.0 [1.2.1.009] USE="bzip2 gif jpeg mmx mp3
nls png tiff zlib -X -doc" 0 kB

But emerge fails :
checking for freetype-config... /usr/bin/freetype-config
checking X11/X.h usability... no
checking X11/X.h presence... no
checking for X11/X.h... no
configure: error: no X support found.  Use --x-includes and --x-libraries to
specify the X
path on your system, or --without-x to disable X support.

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/imlib2-1.3.0/work/imlib2-1.3.0/config.log

!!! ERROR: media-libs/imlib2-1.3.0 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  imlib2-1.3.0.ebuild, line 49:   Called enlightenment_src_compile
  enlightenment.eclass, line 149:   Called econf '--without-x' '--with-jpeg'
'--with-png' '--with-tiff' '--with-gif' '--with-zlib' '--with-bzip2'
'--with-id3' '--disable-amd64' '--enable-mmx'
  ebuild.sh, line 540:   Called die

------- Comment #1 From alpiturchi 2006-11-07 15:29:15 0000 -------
Happens to me too.

Here is my emerge --info:

heremitpurple ~ # emerge --info
Portage 2.1.1-r1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3,
2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 VIA Esther processor 1200MHz
Gentoo Base System version 1.12.6
Last Sync: Tue, 07 Nov 2006 07:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -mmmx -msse -msse2 -mfpmath=sse -pipe
-fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/env.d/02locale
/usr/share/keymaps/i386/qwerty/it_ati.map.gz"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -mmmx -msse -msse2 -mfpmath=sse -pipe
-fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms
strict"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/
http://trumpetti.atm.tut.fi/gentoo/
http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/
ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/"
LANG="it_IT@euro"
LC_ALL="it_IT@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="it"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/portage_tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 a52 aac acpi alsa audiofile bash-completion berkdb bitmap-fonts bzip2
cairo cdr clamav cli cracklib crypt cups directfb dlloader dri dv dvd dvdr
dvdread elibc_glibc emboss encode fam fbcon ffmpeg firefox flac fortran gd gdbm
ggi gif glut gnutls gpm iconv idn imagemagick imlib input_devices_evdev
input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kdeenablefinal
kernel_linux lcms libg++ linguas_it mad mikmod mmx mng mp3 mpeg ncurses nls
nptl nptlonly offensive ogg pam pcre perl png ppds pppd python quicktime
readline reflection samba sdl session sndfile speex spell spl sse sse2 ssl svg
tcl tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb
userland_GNU vcd video_cards_fbdev video_cards_vesa video_cards_vga
video_cards_via vorbis win32codecs wmf xml xorg xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, MAKEOPTS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #2 From calculator 2006-11-07 19:12:54 0000 -------
Created an attachment (id=101428) [details]
contains 2 log files

Problem exist. 2configs.log.tar.bz2 contains 2 log files
1)config.log from imlib2-1.3.0 witch bug
2)config.log from imlib2-1.2.1.009 OK

------- Comment #3 From SpanKY 2006-11-07 23:16:07 0000 -------
fixed in cvs (gentoo/upstream)

------- Comment #4 From Jakub Moc (RETIRED) 2006-11-08 04:37:48 0000 -------
*** Bug 154458 has been marked as a duplicate of this bug. ***

------- Comment #5 From Matthias Schwarzott 2006-11-08 09:25:21 0000 -------
This bug is not yet resolved!
Patching configure.in is useless without calling autoconf.

------- Comment #6 From Christophe PEREZ 2006-11-08 10:22:26 0000 -------
compiled fine for me today.

------- Comment #7 From SpanKY 2006-11-08 12:45:39 0000 -------
why dont you do more research, autotools are called

------- Comment #8 From calculator 2006-11-10 19:39:36 0000 -------
all OK, thx