Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108228 - w3m ebuild fails with USE=-X
Summary: w3m ebuild fails with USE=-X
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-05 16:42 UTC by Peter Newman
Modified: 2005-10-23 05:27 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 Peter Newman 2005-10-05 16:42:36 UTC
I don't have X11 installed, and have -X in my USE flags.  The build failed
looking for X11/Xlib.h

Reproducible: Always
Steps to Reproduce:
1. Make sure you don't have X11
2. Set USE=-X
3. emerge w3m

Actual Results:  
i686-pc-linux-gnu-gcc  -I../.. -I../.. -I. -march=pentium3 -O2 -pipe -I./libwc 
  -DHAVE_CONFIG_H  -c fb_img.c
In file included from fb_img.c:13:
../../w3mimg/fb/fb_imlib2.c:6:22: X11/Xlib.h: No such file or directory
In file included from ../../w3mimg/fb/fb_imlib2.c:7,
                 from fb_img.c:13:


Expected Results:  
i686-pc-linux-gnu-gcc  -I../.. -I../.. -I. -march=pentium3 -O2 -pipe -I./libwc 
  -DHAVE_CONFIG_H  -c fb_img.c
...
...

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r1,
2.6.11-gentoo-r11 i686)
=================================================================
System uname: 2.6.11-gentoo-r11 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.1-r1
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/"
LANG="en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 alsa apache2 apm avi berkdb bitmap-fonts crypt directfb dvd eds emboss
encode fbcon foomaticdb fortran gd gdbm gif gpm gstreamer gtk2 imagemagick imlib
ipv6 jabber jpeg kerberos libg++ libwww mad mikmod mmx motif mp3 mpeg mysql
ncurses objc ogg oggvorbis pam pdflib png python quicktime readline samba sdl
slang spell ssl svga tcpd tetex tiff truetype truetype-fonts vorbis xml2 xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 uwe helm 2005-10-17 06:01:05 UTC
Fails to compile with -X +fbcon flags, fine with -fbcon

../../w3mimg/fb/fb_imlib2.c:6:22: X11/Xlib.h: No such file or directory


(In reply to comment #0)
> I don't have X11 installed, and have -X in my USE flags.  The build failed
> looking for X11/Xlib.h
> 
> Reproducible: Always
> Steps to Reproduce:
> 1. Make sure you don't have X11
> 2. Set USE=-X
> 3. emerge w3m
> 
> Actual Results:  
> i686-pc-linux-gnu-gcc  -I../.. -I../.. -I. -march=pentium3 -O2 -pipe -I./libwc 
>   -DHAVE_CONFIG_H  -c fb_img.c
> In file included from fb_img.c:13:
> ../../w3mimg/fb/fb_imlib2.c:6:22: X11/Xlib.h: No such file or directory
> In file included from ../../w3mimg/fb/fb_imlib2.c:7,
>                  from fb_img.c:13:
> 
> 
> Expected Results:  
> i686-pc-linux-gnu-gcc  -I../.. -I../.. -I. -march=pentium3 -O2 -pipe -I./libwc 
>   -DHAVE_CONFIG_H  -c fb_img.c
> ...
> ...
> 
> Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r1,
> 2.6.11-gentoo-r11 i686)
> =================================================================
> System uname: 2.6.11-gentoo-r11 i686 Pentium III (Coppermine)
> Gentoo Base System version 1.6.13
> dev-lang/python:     2.3.5-r2, 2.4.1-r1
> sys-apps/sandbox:    1.2.10
> sys-devel/autoconf:  2.13, 2.59-r6
> sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
> sys-devel/binutils:  2.15.92.0.2-r10
> sys-devel/libtool:   1.5.18-r1
> virtual/os-headers:  2.6.11-r2
> ACCEPT_KEYWORDS="x86"
> AUTOCLEAN="yes"
> CBUILD="i686-pc-linux-gnu"
> CFLAGS="-march=pentium3 -O2 -pipe"
> CHOST="i686-pc-linux-gnu"
> CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
> /usr/share/config /usr/share/texmf/dvipdfm/config/
> /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
> /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
> CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
> CXXFLAGS="-march=pentium3 -O2 -pipe"
> DISTDIR="/usr/portage/distfiles"
> FEATURES="autoconfig distlocks sandbox sfperms strict"
> GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/"
> LANG="en_US"
> MAKEOPTS="-j2"
> PKGDIR="/usr/portage/packages"
> PORTAGE_TMPDIR="/var/tmp"
> PORTDIR="/usr/portage"
> SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
> USE="x86 alsa apache2 apm avi berkdb bitmap-fonts crypt directfb dvd eds emboss
> encode fbcon foomaticdb fortran gd gdbm gif gpm gstreamer gtk2 imagemagick imlib
> ipv6 jabber jpeg kerberos libg++ libwww mad mikmod mmx motif mp3 mpeg mysql
> ncurses objc ogg oggvorbis pam pdflib png python quicktime readline samba sdl
> slang spell ssl svga tcpd tetex tiff truetype truetype-fonts vorbis xml2 xv zlib
> userland_GNU kernel_linux elibc_glibc"
> Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

Comment 2 MATSUU Takuto (RETIRED) gentoo-dev 2005-10-23 05:27:20 UTC
Fixed.