When I try to emerge scorched3d I get an error of compilation. ===== * ERROR: games-strategy/scorched3d-42.1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3279: Called games_src_compile * environment, line 2042: Called base_src_compile 'make' * environment, line 451: Called base_src_work 'make' * environment, line 558: Called die * The specific snippet of code: * emake || die "died running emake, $FUNCNAME:make"; * The die message: * died running emake, base_src_work:make ===== when using GCC 4.3.2 similar result.. what I do not right?? In what could be the problem?? Reproducible: Always Steps to Reproduce: 1.emerge -v scorched3d 2. 3. emerge --info Portage 2.1.6.13 (default/linux/amd64/10.0, gcc-4.4.2, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r6 x86_64) ================================================================= System uname: Linux-2.6.31-gentoo-r6-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8500_@_3.16GHz-with-gentoo-1.12.13 Timestamp of tree: Tue, 15 Dec 2009 21:15:03 +0000 app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.9-r1 dev-lang/python: 2.6.4, 3.1.1-r1 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=core2 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://gentoo.arcticnetwork.ca/pub/gentoo/ ftp://ftp.heanet.ie/pub/gentoo/ " LANG="ru_RU.UTF-8" LC_ALL="" LDFLAGS="-Wl,-O1" LINGUAS="ru en" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/rusxmms /usr/local/portage/layman/sunrise" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X acl acpi alsa amd64 asf avi berkdb bzip2 cdr cli cracklib crypt cups cxx dbus djvu dri dvd ffmpeg fortran gdbm gpm hal iconv ipv6 java jpeg kde mmx modules mp3 mpeg mudflap multilib mysql ncurses nls nptl nptlonly odbc ogg opengl openmp pam pcre perl png pppd pulseaudio python qt3support qt4 rcc readline reflection sdl session spl sse sse2 ssl svg sysfs tcpd tiff unicode userlocales xcb xorg xulrunner xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS=" fglrx " Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 213242 [details] Full emerge log
From your build.log: /usr/include/sqltypes.h:99: ошибка: conflicting declaration ‘typedef unsigned int DWORD’ It's the dreaded unixODBC and scorched3d headers clash once again, for nth time (see supposedly resolved and closed earlier incarnations of this bug with scorched3d). Attaching a patch below, it might help.
Created attachment 213290 [details, diff] modified version of the odbc patch (windows.h) - rather than whack-a-mole these types away one at a time, encapsulate them all inside an #ifdef _WIN32 block as they should only be used inside ifdef _win32 or similar blocks in the code (determined this with a quick grep -r) - also, makes the latter part of -gcc433.patch unnecessary (the block which comments out one of the windows.h types) - compiles here on a mostly stable amd64 system
Hi.. This patch really helped solve this problem of compiling .. Thanks .. ===== >>> Recording games-strategy/scorched3d in "world" favorites file... * Messages for package games-strategy/scorched3d-42.1-r1: * Remember, in order to play games, you have to * be in the 'games' group. * Just run 'gpasswd -a <USER> games', then have <USER> re-login. >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. ====
The fix is not yet in portage
fixed. thanks for the bug report.