I'm trying to build wengophone with these flags: [ebuild N ] net-im/wengophone-1.0_pre20060408 USE="-oss" 0 kB Fails: gcc -o build-wengo/linux2-release-symbols/wifo/exosip/phapi/phcodec.o -c -O2 -mtune=pentium-m -pipe -fomit-frame-pointer -Wall -pthread "-D{'DEBUG': ''}" "-D{'PSEUDO_AEC': 0}" "-D{'ENABLE_ALSA': 1}" "-D{'ENABLE_AMR': 1}" "-D{'SCHEDULING_MODE': 0}" "-D{'MINIMIZE_COPYING': 1}" "-D{'AEC_BIS': ''}" "-D{'USE_PCM': 1}" "-D{'ENABLE_AMR_WB': 1}" "-D{'USE_WAVEIN_CBK': 1}" "-D{'NEED_ECMUX': 1}" "-D{'USE_HTTP_TUNNEL': 1}" "-D{'ENABLE_ILBC': 1}" "-D{'OSIP_MT': 1}" "-D{'PHAPI_VIDEO_SUPPORT': 1}" "-D{'NO_ECHO__SUPPRESSOR': 1}" "-D{'MY_DLLEXPORTS': 1}" "-D{'VIDEO_IOTHREAD_TIMERS': 1}" "-D{'DO_ECHO_CAN': 1}" "-D{'BLOCKING_MODE': 0}" "-D{'ENABLE_PORTAUDIO': 1}" "-D{'ENABLE_TRACE': 0}" -Ibuild-wengo/linux2-release-symbols/libs/systemperf -Ibuild-wengo/linux2-release-symbols/libs/systemperf/include -Ibuild-wengo/linux2-release-symbols/wifo/exosip -Ibuild-wengo/linux2-release-symbols/wifo/exosip/include -Ibuild-wengo/linux2-release-symbols/wifo/ortp -Ibuild-wengo/linux2-release-symbols/wifo/ortp/src -Ibuild-wengo/linux2-release-symbols/wifo/libosip2 -Ibuild-wengo/linux2-release-symbols/wifo/libosip2/include -Ibuild-wengo/linux2-release-symbols/wifo/libosip2/include/osipparser2 -Ibuild-wengo/linux2-release-symbols/wifo/libosip2/src/osipparser2 -Ibuild-wengo/linux2-release-symbols/wifo/libosip2/src/osip2 -Ibuild-wengo/linux2-release-symbols/wifo/exosip/phapi/amrwb -Ibuild-wengo/linux2-release-symbols/wifo/exosip/phapi/amrnb -Ibuild-wengo/linux2-release-symbols/wifo/exosip/phapi/ilbc -Ibuild-wengo/linux2-release-symbols/wifo/exosip/phapi/stun -Ibuild-wengo/linux2-release-symbols/wifo/exosip/phapi/gsm -Ibuild-wengo/linux2-release-symbols/libs/global -Ibuild-wengo/linux2-release-symbols/libs/global/include -Ibuild-wengo/linux2-release-symbols/libs/timer -Ibuild-wengo/linux2-release-symbols/libs/timer/include -Ibuild-wengo/linux2-release-symbols/libs/ffmpeg/libavcodec -Ibuild-wengo/linux2-release-symbols/libs/ffmpeg -Ibuild-wengo/linux2-release-symbols/libs/ffmpeg/libavutil -Ibuild-wengo/linux2-release-symbols/libs/webcam_c -Ibuild-wengo/linux2-release-symbols/libs/webcam_c/include -Ibuild-wengo/linux2-release-symbols/libs/webcam -Ibuild-wengo/linux2-release-symbols/libs/webcam/include -Ibuild-wengo/linux2-release-symbols/libs/curl -Ibuild-wengo/linux2-release-symbols/libs/curl/include -Ibuild-wengo/linux2-release-symbols/libs/curl/lib -Ibuild-wengo/linux2-release-symbols/wifo/httptunnel -Ibuild-wengo/linux2-release-symbols/wifo/netlib -Ibuild-wengo/linux2-release-symbols/wifo -Ibuild-wengo/linux2-release-symbols/libs/portaudio -Ibuild-wengo/linux2-release-symbols/libs/portaudio/pa_common -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Ibuild-wengo/linux2-release-symbols/wifo/exosip/phapi -Ibuild-wengo/linux2-release-symbols/wifo/exosip build-wengo/linux2-release-symbols/wifo/exosip/phapi/phcodec.c <command line>:1:1: error: macro names must be identifiers <command line>:1:1: error: macro names must be identifiers <command line>:1:1: error: macro names must be identifiers <command line>:1:1: error: macro names must be identifiers <command line>:1:1: error: macro names must be identifiers <command line>:1:1: error: macro names must be identifiers <command line>:1:1: error: macro names must be identifiers <command line>:1:1: error: macro names must be identifiers <command line>:1:1: error: macro names must be identifiers <command line>:1:1: error: macro names must be identifiers <command line>:1:1: error: macro names must be identifiers <command line>:1:1: error: macro names must be identifiers <command line>:1:1: error: macro names must be identifiers <command line>:1:1: error: macro names must be identifiers <command line>:1:1: error: macro names must be identifiers <command line>:1:1: error: macro names must be identifiers <command line>:1:1: error: macro names must be identifiers <command line>:1:1: error: macro names must be identifiers <command line>:1:1: error: macro names must be identifiers <command line>:1:1: error: macro names must be identifiers <command line>:1:1: error: macro names must be identifiers <command line>:1:1: error: macro names must be identifiers build-wengo/linux2-release-symbols/wifo/exosip/phapi/phcodec.c:164: warning: return type defaults to 'int' build-wengo/linux2-release-symbols/wifo/exosip/phapi/phcodec.c: In function 'ph_gsm_encode': build-wengo/linux2-release-symbols/wifo/exosip/phapi/phcodec.c:390: warning: passing argument 2 of 'gsm_encode' discards qualifiers from pointer target type build-wengo/linux2-release-symbols/wifo/exosip/phapi/phcodec.c: In function 'ph_gsm_decode': build-wengo/linux2-release-symbols/wifo/exosip/phapi/phcodec.c:397: warning: passing argument 2 of 'gsm_decode' discards qualifiers from pointer target type build-wengo/linux2-release-symbols/wifo/exosip/phapi/phcodec.c: In function 'ph_amr_decode': build-wengo/linux2-release-symbols/wifo/exosip/phapi/phcodec.c:678: warning: unused variable 'hdr' build-wengo/linux2-release-symbols/wifo/exosip/phapi/phcodec.c:677: warning: unused variable 'mode' build-wengo/linux2-release-symbols/wifo/exosip/phapi/phcodec.c: In function 'ph_amrwb_decode': build-wengo/linux2-release-symbols/wifo/exosip/phapi/phcodec.c:772: warning: unused variable 'hdr' scons: *** [build-wengo/linux2-release-symbols/wifo/exosip/phapi/phcodec.o] Error 1 scons: building terminated because of errors. !!! ERROR: net-im/wengophone-1.0_pre20060408 failed. Call stack: ebuild.sh, line 1593: Called dyn_compile ebuild.sh, line 951: Called src_compile wengophone-1.0_pre20060408.ebuild, line 39: Called die !!! scons failed !!! If you need support, post the topmost build error, and the call stack if relevant.
alexander@blatt ~ $ emerge --info Portage 2.1.2_rc4-r4 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-suspend2-r1.045 i686) ================================================================= System uname: 2.6.19-suspend2-r1.045 i686 Intel(R) Celeron(R) M processor 1.50GHz Gentoo Base System version 1.12.8 Last Sync: Mon, 01 Jan 2007 09:20:01 +0000 ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.31 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.19 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="alsa berkdb bitmap-fonts cli cracklib crypt dlloader dri esd fortran gdbm gnome gstreamer hal iconv isdnlog kdeenablefinal kdehiddenvisibility libedit libg++ libnotify ncurses nls nptl nptlonly pcre perl ppds pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts udev unicode x86 xorg zlib" ALSA_CARDS="loopback usb-audio via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="fbdev vesa vga via" Unset: CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
fixed by removing the broken ebuild please use the working one in the voip overlay.