Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 205455 - media-gfx/fontforge-20071210 fails to build with missing X11 headers on -X build
Summary: media-gfx/fontforge-20071210 fails to build with missing X11 headers on -X build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-12 13:18 UTC by Luu Danh Hieu
Modified: 2008-02-05 21:36 UTC (History)
1 user (show)

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


Attachments
the build log (build.log,51.78 KB, text/plain)
2008-01-12 13:20 UTC, Luu Danh Hieu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luu Danh Hieu 2008-01-12 13:18:34 UTC
Emerging fontforge fails with an error referring to X11/keysym.h - which shouldn't be there with USE="-X"

Reproducible: Always

Steps to Reproduce:
1.emerge fontforge

Actual Results:  
Fails to build.

Expected Results:  
Build successfully.

 i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -I/usr/include/freetype2/ -I/usr/include/libxml2/ -I../inc -I. -I. -Wmissing-prototypes -Wunuse
d -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts -DHAVE_CONFIG_H -DSHAREDIR=\"/usr/share/fontforge\" -DLIBDIR=\"/usr/lib\
" -I/usr/include/python2.4 -DPREFIX=\"/usr\" -c effects.c  -fPIC -DPIC -o .libs/effects.o
In file included from effects.c:29:
../inc/gkeysym.h:5:24: error: X11/keysym.h: No such file or directory
make[1]: *** [effects.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/media-gfx/fontforge-20071210/work/fontforge-20071210/fontforge'
make: *** [fontforge] Error 2

--

[ebuild     U ] media-gfx/fontforge-20071210 [20070831] USE="nls python truetype unicode -X -gif -jpeg -png -svg -tiff" 0 kB

--

see attached log below
Comment 1 Luu Danh Hieu 2008-01-12 13:20:22 UTC
Created attachment 140803 [details]
the build log
Comment 2 Luu Danh Hieu 2008-01-12 13:20:47 UTC
(Emerge information)

Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3-undine i686)
=================================================================
System uname: 2.6.23-gentoo-r3-undine i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Timestamp of tree: Sat, 12 Jan 2008 12:30:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.tiscali.nl/ http://mirror.muntinternet.net/pub/gentoo/"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j2"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X509 acl bash-completion bcmath berkdb bitmap-fonts bzip2 cgi cjk cli cracklib crypt curl curlwrappers dri fam fastcgi flac fortran ftp gd gdbm gnutls gpm hash iconv idn imap ipv6 isdnlog java java-external jce kerberos libwww lua lzo memcache mhash midi mudflap multiuser mysql ncurses nethack nls nptl nptlonly nss ogg openmp pam pcntl pcre perl php pppd python readline recode reflection session sockets spl sqlite sse sse2 ssl sysvipc tcpd threads tidy tokenizer truetype truetype-fonts type1-fonts unicode x86 xattr xml xmlreader xmlrpc xmlwriter xorg zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 3 Evil Compile Person 2008-01-14 18:02:52 UTC
In file included from gimagexdraw.c:28:
gxdrawP.h:69:38: error: X11/extensions/XInput.h: No such file or directory
gxdrawP.h:70:34: error: X11/extensions/XI.h: No such file or directory
make[1]: *** [gimagexdraw.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/fontforge-20071210/work/fontforge-20071210/gdraw'
make: *** [libgdraw] Error 2
 *
 * ERROR: media-gfx/fontforge-20071210 failed.


Looks like there's lots 'o deps missing :)
Comment 4 Luu Danh Hieu 2008-01-15 11:54:30 UTC
problem is I have USE="-X" so that shouldn't be there. previous version of fontforge emerged succesfully (as you can see from my info pasted, it is an emerge -u not a new merge)