Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159007 - media-gfx/fontforge-20061220: Cannot compile: 'CharView' undeclared when USE=-X is set
Summary: media-gfx/fontforge-20061220: Cannot compile: 'CharView' undeclared when USE=...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-24 03:55 UTC by Alexander Skwar
Modified: 2007-02-08 04:35 UTC (History)
4 users (show)

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 Alexander Skwar 2006-12-24 03:55:39 UTC
Trying to compile fontforge fails:

[ebuild     U ] media-gfx/fontforge-20061220 [20061025] USE="-X -gif -jpeg -png -svg -tiff -truetype unicode" 0 kB 

Error:

i686-pc-linux-gnu-gcc -O2 -mtune=pentium-m -pipe -fomit-frame-pointer -I/usr/include/freetype2/ -I/usr/include/l
ibxml2/ -I../inc -I. -I. -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-su
bscripts  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGR
EPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_
MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_IC
ONV_H=1 -DHAVE_LANGINFO_H=1 -DHAVE_STDINT_H=1 -DX_DISPLAY_MISSING=1 -DFONTFORGE_CONFIG_NO_WINDOWING_UI=1 -DHAVE_
LONG_DOUBLE=1 -D_HAS_LONGLONG=1 -DHAVE_LIBINTL_H=1 -D_STATIC_LIBINTL=1 -DFONTFORGE_CONFIG_TYPE3=1 -DFONTFORGE_CO
NFIG_DEVICETABLES=1  '-DSHAREDIR="/usr/share/fontforge"' -DLIBDIR='"/usr/lib"' '-DPREFIX="/usr"' -c bvedit.c
i686-pc-linux-gnu-gcc -O2 -mtune=pentium-m -pipe -fomit-frame-pointer -I/usr/include/freetype2/ -I/usr/include/l
ibxml2/ -I../inc -I. -I. -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-su
bscripts  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGR
EPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_
MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_IC
ONV_H=1 -DHAVE_LANGINFO_H=1 -DHAVE_STDINT_H=1 -DX_DISPLAY_MISSING=1 -DFONTFORGE_CONFIG_NO_WINDOWING_UI=1 -DHAVE_LONG_DOUBLE=1 -D_HAS_LONGLONG=1 -DHAVE_LIBINTL_H=1 -D_STATIC_LIBINTL=1 -DFONTFORGE_CONFIG_TYPE3=1 -DFONTFORGE_CONFIG_DEVICETABLES=1  '-DSHAREDIR="/usr/share/fontforge"' -DLIBDIR='"/usr/lib"' '-DPREFIX="/usr"' -c charview.c
charview.c: In function 'instrcheck':
charview.c:3005: error: 'CharView' undeclared (first use in this function)
charview.c:3005: error: (Each undeclared identifier is reported only once
charview.c:3005: error: for each function it appears in.)
charview.c:3005: error: 'cv' undeclared (first use in this function)
charview.c: In function 'SCHintsChanged':
charview.c:3140: warning: implicit declaration of function 'SCRefreshTitles'
charview.c:3143: warning: implicit declaration of function 'FVSetTitle'
make[1]: *** [charview.o] Error 1
make[1]: Leaving directory `/Gentoo/Portage/build/portage/media-gfx/fontforge-20061220/work/fontforge-20061220/fontforge'
make: *** [fontforge] Error 2

!!! ERROR: media-gfx/fontforge-20061220 failed.
Call stack:
  ebuild.sh, line 1580:   Called dyn_compile
  ebuild.sh, line 945:   Called src_compile
  fontforge-20061220.ebuild, line 41:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.



alexander@blatt /media/Alex Tiny 1 $ emerge --info
Portage 2.1.2_rc4 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-suspend2.045 i686)
=================================================================
System uname: 2.6.19-suspend2.045 i686 Intel(R) Celeron(R) M processor         1.50GHz
Gentoo Base System version 1.12.7
Last Sync: Sun, 24 Dec 2006 07:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mtune=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/Gentoo/Portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig buildpkg ccache collision-protect distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="        http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/   http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/    ftp://ftp.tu-clausthal.de/pub/linux/gentoo/     http://distro.ibiblio.org/pub/linux/distributions/gentoo/       ftp://distro.ibiblio.org/pub/linux/distributions/gentoo         http://distfiles.gentoo.org/ "
LANG="de_DE.UTF-8"
LINGUAS="de"
PKGDIR="/Gentoo/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="/Gentoo/Portage/build"
PORTDIR="/Gentoo/Portage/tree"
PORTDIR_OVERLAY="/Gentoo/Portage/local-tree/misc"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 alsa alsa_cards_via82xx alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol berkdb bitmap-fonts cli cracklib crypt dlloader dri elibc_glibc esd fortran gdbm gnome gstreamer hal iconv input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog kdeenablefinal kdehiddenvisibility kernel_linux libedit libg++ libnotify linguas_de ncurses nls nptl nptlonly pcre perl ppds pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts udev unicode userland_GNU video_cards_fbdev video_cards_vesa video_cards_vga video_cards_via xorg zlib"
Unset:  CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alexander Skwar 2006-12-25 01:09:14 UTC
I get this error message only then, when I try to compile it with USE=-X. IOW: If I enable the usage of X (USE=X), compilation works.
Comment 2 Denny Reeh 2006-12-26 05:23:51 UTC
for me too, with X it works, without X not.
Comment 3 Stefan Briesenick (RETIRED) gentoo-dev 2007-01-07 01:15:18 UTC
add me to the list. On my server I don't want to add 'X'.
Comment 4 Matti Bickel (RETIRED) gentoo-dev 2007-01-07 18:41:31 UTC
Add me in.
Comment 5 SpanKY gentoo-dev 2007-02-08 04:35:57 UTC
reported upstream and fixed in cvs