Installing openttd works well, but running openttd gives the start sound for about 0.5 secs, then it quits. openttd -d1 shows (among other things) dbg: Probing video driver "sdl" failed with error: No available video device emerging libsdl with the X flag solves this. Wesnoth won't compile without the same flag. I get: clipboard.cpp: In member function 'Display* XHelper::dpy()': clipboard.cpp:103: error: 'struct SDL_SysWMinfo' has no member named 'info' clipboard.cpp: In member function 'Window XHelper::window()': clipboard.cpp:108: error: 'struct SDL_SysWMinfo' has no member named 'info' clipboard.cpp: In member function 'void XHelper::acquire()': clipboard.cpp:118: error: 'struct SDL_SysWMinfo' has no member named 'info' clipboard.cpp: In member function 'void XHelper::release()': clipboard.cpp:126: error: 'struct SDL_SysWMinfo' has no member named 'info' clipboard.cpp: In function 'void handle_system_event(const SDL_Event&)': clipboard.cpp:178: error: 'struct SDL_SysWMmsg' has no member named 'event' clipboard.cpp:185: error: 'XA_PRIMARY' was not declared in this scope clipboard.cpp:211: error: 'XA_ATOM' was not declared in this scope clipboard.cpp: In function 'void copy_ucs2_to_clipboard(const ucs2_string&)': clipboard.cpp:248: error: 'XA_PRIMARY' was not declared in this scope clipboard.cpp: In function 'void copy_to_clipboard(const std::string&)': clipboard.cpp:262: error: 'XA_PRIMARY' was not declared in this scope clipboard.cpp: In function 'ucs2_string copy_ucs2_from_clipboard()': clipboard.cpp:340: error: 'XA_STRING' was not declared in this scope clipboard.cpp: In function 'std::string copy_from_clipboard()': clipboard.cpp:363: error: 'XA_STRING' was not declared in this scope make[2]: *** [clipboard.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/wesnoth-1.2.1/work/wesnoth-1.2.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/wesnoth-1.2.1/work/wesnoth-1.2.1' make: *** [all] Error 2 !!! ERROR: games-strategy/wesnoth-1.2.1 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile wesnoth-1.2.1.ebuild, line 77: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. Reproducible: Always Steps to Reproduce: 1. emerge libsdl with X flag 2. attempt emerge wesnoth 3. emerge openttd and try to start it. Actual Results: Wesnoth doesn't compile. Openttd quits after around 0.5 seconds. Expected Results: Wesnoth should compile. OpenTTD should display graphics. openttd and wesnoth should depend on having compiled libsdl with X flag. Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r6 i686) ================================================================= System uname: 2.6.18-gentoo-r6 i686 AMD Athlon(tm) 64 Processor 3700+ Gentoo Base System version 1.12.6 Last Sync: Sat, 20 Jan 2007 13:50:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.31 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.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.16.1-r3 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe -msse2 -msse3 -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="-march=athlon-xp -O2 -pipe -msse2 -msse3 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.du.se/pub/os/gentoo http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo http://ftp.ds.hj.se/pub/Linux/distributions/gentoo/ ftp://ftp.ds.hj.se/pub/Linux/distributions/gentoo/" LINGUAS="se" 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'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/dlang" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci 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 fortran gdbm gpm hal iconv input_devices_keyboard input_devices_mouse ipv6 isdnlog kdeenablefinal kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text libg++ linguas_se mmx mmxext ncurses nptl nptlonly nsplugin pam pcre perl ppds pppd python readline reflection sdl session spl sse sse2 ssl symlink tcpd truetype-fonts type1-fonts udev unicode userland_GNU video_cards_fglrx video_cards_vesa xorg zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
(In reply to comment #0) > Reproducible: Always > > Steps to Reproduce: > 1. emerge libsdl with X flag > 2. attempt emerge wesnoth > 3. emerge openttd and try to start it. It should ofc be emerge libsdl withOUT X flag
wesnoth also fails when emerging with USE="-* dedicated server" on boxes that haven't got freetype2 installed. None of the binaries are linked against it, but couldn't find a configure option to disable the check for freetype...
wesnoth should be fine so I changed the summary.
Fixed in openttd-0.5.0