Installing games-fps/warsow-0.4.2 with USE=dedicated and net-misc/curl was not installed before I got: ERROR: games-fps/warsow-0.4.2 failed. Call stack: ebuild.sh, line 48: Called src_compile environment, line 2756: Called die The specific snippet of code: emake BUILD_CLIENT=${client} BUILD_SERVER=$(yesno dedicated) BUILD_TV_SERVER=$(yesno dedicated) BUILD_IRC=${irc} BUILD_SND_OPENAL=${openal} BUILD_SND_QF=${client} DEB UG_BUILD=$(yesno debug) CC="$(tc-getCC)" LD="$(tc-getCC)" || die "emake failed" The die message: emake failed If you need support, post the topmost build error, and the call stack if relevant. A complete build log is located at '/var/tmp/portage/games-fps/warsow-0.4.2/temp/build.log'. The ebuild environment file is located at '/var/tmp/portage/games-fps/warsow-0.4.2/temp/environment'. The previous errors reported something about curl. So I edited the ebuild to depend curl and everything worked fine. Reproducible: Always
Created attachment 191470 [details, diff] curl depending fixed ebuild patch
The build.log and emerge --info please.
emerge --info: Portage 2.1.6.11 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.9-023stab048.4-smp i686) ================================================================= System uname: Linux-2.6.9-023stab048.4-smp-i686-Intel-R-_Xeon-TM-_CPU_3.20GHz-with-glibc2.0 Timestamp of tree: Sat, 16 May 2009 15:30:01 +0000 app-shells/bash: 3.2_p39 dev-lang/python: 2.5.4-r2 dev-util/cmake: 2.4.6-r1 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r2 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.63 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: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="de en" MAKEOPTS="-j5" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="aac acl alsa apache2 berkdb bzip2 cli cracklib crypt cups dri dts encode fortran gdbm iconv imap ipv6 isdnlog lame libsamplerate libwww maildir midi mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection sasl session spl ssl sysfs tcpd threads truetype unicode vhost vorbis x264 x86 xorg 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 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" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="none" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY build.log: >>> Unpacking source... >>> Unpacking warsow_0.42_unified.zip to /var/tmp/portage/games-fps/warsow-0.4.2/work >>> Unpacking warsow.png to /var/tmp/portage/games-fps/warsow-0.4.2/work unpack warsow.png: file format not recognized. Ignoring. >>> Unpacking warsow_0.42_sdk.zip to /var/tmp/portage/games-fps/warsow-0.4.2/work >>> Source unpacked in /var/tmp/portage/games-fps/warsow-0.4.2/work >>> Preparing source in /var/tmp/portage/games-fps/warsow-0.4.2/work/warsow_0.42_src/source ... * Applying warsow-0.4.2-build.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-fps/warsow-0.4.2/work/warsow_0.42_src/source ... >>> Source configured. >>> Compiling source in /var/tmp/portage/games-fps/warsow-0.4.2/work/warsow_0.42_src/source ... emake BUILD_CLIENT=NO BUILD_SERVER=YES BUILD_TV_SERVER=YES BUILD_IRC=NO BUILD_SND_OPENAL=NO BUILD_SND_QF=NO DEBUG_BUILD=NO CC=i686-pc-linux-gnu-gcc LD=i686-pc-linux-gnu-gcc make -j5 BUILD_CLIENT=NO BUILD_SERVER=YES BUILD_TV_SERVER=YES BUILD_IRC=NO BUILD_SND_OPENAL=NO BUILD_SND_QF=NO DEBUG_BUILD=NO CC=i686-pc-linux-gnu-gcc LD=i686-pc-linux-gnu-gcc make: curl-config: Command not found > ********************************************************* > * Building dedicated server > ********************************************************* make: curl-config: Command not found > Compiling qcommon/cm_main.c make: curl-config: Command not found > Compiling qcommon/cm_trace.c make: curl-config: Command not found make: curl-config: Command not found make: curl-config: Command not found > Compiling qcommon/common.c > Compiling qcommon/patch.c > Compiling qcommon/glob.c make: curl-config: Command not found make: curl-config: Command not found > Compiling qcommon/files.c > Compiling qcommon/cmd.c make: curl-config: Command not found > Compiling qcommon/mem.c make: curl-config: Command not found make: curl-config: Command not found > Compiling qcommon/net.c make: curl-config: Command not found > Compiling qcommon/net_chan.c > Compiling qcommon/msg.c make: curl-config: Command not found > Compiling qcommon/cvar.c make: curl-config: Command not found make: curl-config: Command not found > Compiling qcommon/md5.c > Compiling qcommon/trie.c make: curl-config: Command not found > Compiling qcommon/dynvar.c make: curl-config: Command not found > Compiling qcommon/irc.c make: curl-config: Command not found make: curl-config: Command not found > Compiling qcommon/library.c > Compiling qcommon/mlist.c make: curl-config: Command not found make: curl-config: Command not found > Compiling qcommon/svnrev.c make: curl-config: Command not found > Compiling qcommon/webdownload.c qcommon/webdownload.c:25:23: make: curl-config: Command not found error: curl/curl.h: No such file or directory qcommon/webdownload.c:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token > Compiling server/sv_ccmds.c qcommon/webdownload.c: In function 'Web_Cleanup': qcommon/webdownload.c:70: error: 'curl' undeclared (first use in this function) qcommon/webdownload.c:70: error: (Each undeclared identifier is reported only once qcommon/webdownload.c:70: error: for each function it appears in.) qcommon/webdownload.c:73: warning: implicit declaration of function 'curl_easy_cleanup' qcommon/webdownload.c: In function 'Web_Init': qcommon/webdownload.c:83: error: 'CURLcode' undeclared (first use in this function) qcommon/webdownload.c:83: error: expected ';' before 'code' qcommon/webdownload.c:86: error: 'curl' undeclared (first use in this function) qcommon/webdownload.c:92: warning: implicit declaration of function 'curl_easy_init' qcommon/webdownload.c:98: error: 'code' undeclared (first use in this function) qcommon/webdownload.c:98: warning: implicit declaration of function 'curl_easy_setopt' qcommon/webdownload.c:98: error: 'CURLOPT_ERRORBUFFER' undeclared (first use in this function) qcommon/webdownload.c:99: error: 'CURLE_OK' undeclared (first use in this function) qcommon/webdownload.c:105: error: 'CURLOPT_NOPROGRESS' undeclared (first use in this function) qcommon/webdownload.c:112: error: 'CURLOPT_NOSIGNAL' undeclared (first use in this function) qcommon/webdownload.c:119: error: 'CURLOPT_FOLLOWLOCATION' undeclared (first use in this function) qcommon/webdownload.c:126: error: 'CURLOPT_MAXREDIRS' undeclared (first use in this function) qcommon/webdownload.c:133: error: 'CURLOPT_WRITEFUNCTION' undeclared (first use in this function) qcommon/webdownload.c:140: error: 'CURLOPT_PROGRESSFUNCTION' undeclared (first use in this function) qcommon/webdownload.c:155: error: 'CURLOPT_USERAGENT' undeclared (first use in this function) qcommon/webdownload.c:162: error: 'CURLOPT_FAILONERROR' undeclared (first use in this function) qcommon/webdownload.c: In function 'Web_Get': qcommon/webdownload.c:174: error: 'CURLcode' undeclared (first use in this function) qcommon/webdownload.c:174: error: expected ';' before 'code' qcommon/webdownload.c:181: error: 'code' undeclared (first use in this function) qcommon/webdownload.c:181: error: 'curl' undeclared (first use in this function) qcommon/webdownload.c:181: error: 'CURLOPT_URL' undeclared (first use in this function) qcommon/webdownload.c:182: error: 'CURLE_OK' undeclared (first use in this function) qcommon/webdownload.c:190: error: 'CURLOPT_REFERER' undeclared (first use in this function) qcommon/webdownload.c:199: error: 'CURLOPT_CONNECTTIMEOUT' undeclared (first use in this function) qcommon/webdownload.c:206: error: 'CURLOPT_TIMEOUT' undeclared (first use in this function) qcommon/webdownload.c:226: error: 'CURLOPT_RESUME_FROM' undeclared (first use in this function) qcommon/webdownload.c:244: error: 'CURLOPT_FILE' undeclared (first use in this function) qcommon/webdownload.c:256: warning: implicit declaration of function 'curl_easy_perform' make: *** [buildi386/ded/webdownload.o] Error 1 make: *** Waiting for unfinished jobs.... * * ERROR: games-fps/warsow-0.4.2 failed. * Call stack: * ebuild.sh, line 48: Called src_compile * environment, line 2755: Called die * The specific snippet of code: * emake BUILD_CLIENT=${client} BUILD_SERVER=$(yesno dedicated) BUILD_TV_SERVER=$(yesno dedicated) BUILD_IRC=${irc} BUILD_SND_OPENAL=${openal} BUILD_SND_QF=${client} DEBUG_BUILD=$(yesno debug) CC="$(tc-getCC)" LD="$(tc-getCC)" || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/games-fps/warsow-0.4.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-fps/warsow-0.4.2/temp/environment'. *
fixed. thanks for the bug report.