Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 437488 - games-engines/scummvm-1.5.0 fails to build under et_EE locale
Summary: games-engines/scummvm-1.5.0 fails to build under et_EE locale
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL: https://github.com/scummvm/scummvm/pu...
Whiteboard:
Keywords:
Depends on: 454804
Blocks:
  Show dependency tree
 
Reported: 2012-10-07 07:47 UTC by Priit Laes (IRC: plaes)
Modified: 2013-01-31 22:13 UTC (History)
0 users

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


Attachments
scummvm-1.5.0:20130130-221708.log.xz (scummvm-1.5.0:20130130-221708.log.xz,25.66 KB, application/x-xz)
2013-01-30 22:22 UTC, Julian Ospald
Details
scummvm-1.5.0:20130130-222335.log.xz (scummvm-1.5.0:20130130-222335.log.xz,25.32 KB, application/x-xz)
2013-01-30 22:28 UTC, Julian Ospald
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Priit Laes (IRC: plaes) 2012-10-07 07:47:08 UTC
Getting following build error:

[snip]
mkdir -p graphics/fonts/.deps
i686-pc-linux-gnu-g++ -MMD -MF "graphics/fonts/.deps/ttf.d" -MQ "graphics/fonts/ttf.o" -MP -Wall -O2 -mtune=pentium-m -pipe -ggdb  -ansi -W -Wno-unused-parameter -Wno-empty-body -pedantic -Wno-long-long -Wno-multichar -Wno-unknown-pragmas -Wno-reorder -Wpointer-arith -Wcast-qual -Wshadow -Wnon-virtual-dtor -Wwrite-strings -fno-rtti -fno-exceptions -fcheck-new -DHAVE_CONFIG_H -DSDL_BACKEND -DPOSIX -DDATA_PATH=\"/usr/share/games/scummvm\" -DPLUGIN_DIRECTORY=\"/scummvm\" -DENABLE_SCUMM=STATIC_PLUGIN -DENABLE_SCUMM_7_8 -DENABLE_HE -DENABLE_AGI=STATIC_PLUGIN -DENABLE_AGOS=STATIC_PLUGIN -DENABLE_AGOS2 -DENABLE_CGE=STATIC_PLUGIN -DENABLE_CINE=STATIC_PLUGIN -DENABLE_COMPOSER=STATIC_PLUGIN -DENABLE_CRUISE=STATIC_PLUGIN -DENABLE_DRACI=STATIC_PLUGIN -DENABLE_DRASCULA=STATIC_PLUGIN -DENABLE_DREAMWEB=STATIC_PLUGIN -DENABLE_GOB=STATIC_PLUGIN -DENABLE_GROOVIE=STATIC_PLUGIN -DENABLE_HUGO=STATIC_PLUGIN -DENABLE_KYRA=STATIC_PLUGIN -DENABLE_LOL -DENABLE_LURE=STATIC_PLUGIN -DENABLE_MADE=STATIC_PLUGIN -DENABLE_MOHAWK=STATIC_PLUGIN -DENABLE_PARALLACTION=STATIC_PLUGIN -DENABLE_QUEEN=STATIC_PLUGIN -DENABLE_SAGA=STATIC_PLUGIN -DENABLE_IHNM -DENABLE_SCI=STATIC_PLUGIN -DENABLE_SKY=STATIC_PLUGIN -DENABLE_SWORD1=STATIC_PLUGIN -DENABLE_SWORD2=STATIC_PLUGIN -DENABLE_TEENAGENT=STATIC_PLUGIN -DENABLE_TINSEL=STATIC_PLUGIN -DENABLE_TOON=STATIC_PLUGIN -DENABLE_TOUCHE=STATIC_PLUGIN -DENABLE_TSAGE=STATIC_PLUGIN -DENABLE_TUCKER=STATIC_PLUGIN -I. -I. -I./engines -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT         -I--prefix/usr/include/freetype2 -I--prefix/usr/include -c graphics/fonts/ttf.cpp -o graphics/fonts/ttf.o
In file included from graphics/fonts/ttf.cpp:38:0:
/usr/include/ft2build.h:56:38: fatal error: freetype/config/ftheader.h: No such file or directory
[/snip]

This issue seems to be caused by using [a-zA-Z] regular expression somewhere inside build system.
Comment 1 Priit Laes (IRC: plaes) 2012-10-07 07:47:25 UTC
plaes@wow ~/code/gentoo $ emerge --info
Portage 2.2.0_alpha135 (default/linux/x86/10.0/desktop/gnome, gcc-4.6.3, glibc-2.15-r3, 3.5.0+ i686)
=================================================================
System uname: Linux-3.5.0+-i686-Intel-R-_Pentium-R-_M_processor_1.60GHz-with-gentoo-2.2
Timestamp of tree: Sun, 07 Oct 2012 05:30:01 +0000
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.9-r1
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.5, 1.12.4
sys-devel/binutils:       2.22.90
sys-devel/gcc:            4.5.3-r2, 4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4::gnome
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo science esteid local gnome ham-overlay
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=pentium-m -pipe -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -mtune=pentium-m -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="et_EE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="et en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/science /home/plaes/code/gentoo/esteid /home/plaes/code/gentoo/local /home/plaes/code/gentoo/gnome /home/plaes/code/gentoo/ham-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa apng autoipd avahi berkdb bluetooth branding bzip2 cairo cdda cdr cleartype cli colord consolekit cracklib crypt cxx daap dbus dell djvu dri dts dvd dvdr eds emboss encode evo exif fam fat ffmpeg firefox flac fontconfig fuse gdbm gif gnome gnome-keyring gnome-online-accounts gnutls gphoto2 gstreamer gtk gtk3 gudev iconv idn jabber jpeg lame laptop latex lcms lensfun libass libffi libnotify mad mms mmx mng modules mp3 mp4 mpeg msn mudflap multitarget nautilus ncurses network-cron networkmanager nls nptl nsplugin ogg opengl openmp pam pango pcre pdf png policykit postscript ppds pppd pulseaudio python qt3support readline sdl session sip socialweb spell sse sse2 ssl startup-notification svg tcpd theora thunar tiff truetype udev udisks unicode upnp upower usb v4l vorbis vpx weather webgl webkit wxwidgets x264 x86 xcb xetex xinerama xml xmp xv xvid zeroconf 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 mmap_emul 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="et en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="radeon r300" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2012-10-22 07:30:25 UTC
should be fixed
Comment 3 Priit Laes (IRC: plaes) 2013-01-14 18:44:52 UTC
Still failing.
Comment 4 Priit Laes (IRC: plaes) 2013-01-14 18:45:38 UTC
[snip]
In file included from graphics/fonts/ttf.cpp:38:0:
/usr/include/ft2build.h:56:38: fatal error: freetype/config/ftheader.h: No such file or directory
compilation terminated.
make: *** [graphics/fonts/ttf.o] Error 1
emake failed
>>> Source compiled.
>>> Test phase [not enabled]: games-engines/scummvm-1.5.0

>>> Install scummvm-1.5.0 into /var/tmp/portage/games-engines/scummvm-1.5.0/image/ category games-engines
make -j1 DESTDIR=/var/tmp/portage/games-engines/scummvm-1.5.0/image/ install 
fatal: Not a git repository (or any of the parent directories): .git
install -d "/var/tmp/portage/games-engines/scummvm-1.5.0/image//usr/games/bin"
install -c -m 755 "./scummvm" "/var/tmp/portage/games-engines/scummvm-1.5.0/image//usr/games/bin/scummvm"
install: stat `./scummvm' ei õnnestu: No such file or directory
make: *** [install] Error 1
emake failed
[/snip]
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2013-01-28 01:16:03 UTC
that doesn't have any thing to do with your locale.
Comment 6 Julian Ospald 2013-01-30 22:22:46 UTC
Created attachment 337352 [details]
scummvm-1.5.0:20130130-221708.log.xz
Comment 7 Julian Ospald 2013-01-30 22:28:22 UTC
Created attachment 337354 [details]
scummvm-1.5.0:20130130-222335.log.xz
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2013-01-31 06:04:35 UTC
figure out why you're getting "-I--prefix/usr/include/freetype2" added to your flags.
Comment 9 Mr. Bones. (RETIRED) gentoo-dev 2013-01-31 08:15:01 UTC
ha.  it's freetype-config that's broken
Comment 10 Julian Ospald 2013-01-31 15:26:31 UTC
switched to pkg-config for freetype stuff


+  31 Jan 2013; Julian Ospald <hasufell@gentoo.org>
+  files/scummvm-1.5.0-EE.patch:
+  finally fix EE locale issue wrt #437488
+