opal-3.6.2 fails to compile on x86 with this error: i686-pc-linux-gnu-g++ -Os -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall -Wextra -Winit-self -Wstrict-aliasing=2 -Wfloat-equal -Wno-comment -Wno-missing-field-initializers -Wno-unused -fPIC -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -fno-exceptions -I/usr/include/SDL -felide-constructors -Wreorder -I/opt/sun-jdk-1.6.0.14/include -I/opt/sun-jdk-1.6.0.14/include/linux -I/var/tmp/portage/net-libs/opal-3.6.2/work/opal-3.6.2/include -c /var/tmp/portage/net-libs/opal-3.6.2/work/opal-3.6.2/src/opal/rtpconn.cxx -o /var/tmp/portage/net-libs/opal-3.6.2/work/opal-3.6.2/lib_linux_x86/obj/rtpconn.o make: *** [/var/tmp/portage/net-libs/opal-3.6.2/work/opal-3.6.2/lib_linux_x86/obj/connection.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from /var/tmp/portage/net-libs/opal-3.6.2/work/opal-3.6.2/src/opal/rtpconn.cxx:43: /var/tmp/portage/net-libs/opal-3.6.2/work/opal-3.6.2/include/t38/t38proto.h:177: error: 'Fax' in class 'OpalMediaStatistics' does not name a type make: *** [/var/tmp/portage/net-libs/opal-3.6.2/work/opal-3.6.2/lib_linux_x86/obj/rtpconn.o] Error 1 Reproducible: Always Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.10.1-r0, 2.6.25-gentoo-r4 i686) ================================================================= System uname: Linux-2.6.25-gentoo-r4-i686-Intel-R-_Pentium-R-_4_CPU_2.40GHz-with-gentoo-2.0.1 Timestamp of tree: Thu, 09 Jul 2009 05:00:01 +0000 app-shells/bash: 4.0_p24 dev-java/java-config: 1.3.7-r1, 2.1.8-r1 dev-lang/python: 2.4.6, 2.5.4-r3, 2.6.2-r1 dev-python/pycrypto: 2.0.1-r8 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.13, 2.63-r1 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.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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="-O2 -march=pentium4 -pipe -fomit-frame-pointer" 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/ http://gentoo.arcticnetwork.ca/source/ ftp://mirrors.tera-byte.com/pub/gentoo http://gentoo.mirrors.tera-byte.com/ http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ " LDFLAGS="-Wl,-O1" LINGUAS="en bg" MAKEOPTS="-j3" 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="3dnow 3dnowext X a52 aac acl acpi alsa amr apache2 automount avahi avi berkdb bonjour branding bzip2 cairo calendar cddb cdr cgi cli consolekit cpudetect cpudetection cracklib crypt cups dbus dga divx dri dts dv dvd dvdnav dvdr dvdread eds emboss encode esd evo fam fax ffmpeg firefox flac fortran gd gdbm gif gmedia gnome gnome-keyring gpm gstreamer gtk gtk2 hal i8x0 iconv ipod ipv6 isdnlog java jpeg ldap libnotify lirc mad midi mikmod mmx mmxext mp3 mpeg mudflap mysql nas ncurses nls nptl nptlonly nsplugin ntp ogg oggvorbis openal opengl openmp opneal pam pcre pdf perl png policykit ppds pppd pulseaudio python qt3 qt3support qt4 quicktime readline realmedia reflection samba scanner sdl server session spell spl sse sse2 ssl startup-notification svg sysfs syslog tcpd theora threads tiff truetype unicode usb vorbis win32codecs wmp x264 x86 xinerama xml xorg xulrunner 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en bg" LIRC_DEVICES="serial" USERLAND="GNU" VIDEO_CARDS="intel vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 197383 [details] build.log
Can you copy USE flags used for ptlib and opal ?
Here are the use flags: [ebuild R ] net-libs/ptlib-2.6.2 USE="alsa asn audio dns esd ffmpeg http ipv6 ldap pipechan sdl ssl stun url video wav xml -config-file -debug -doc -dtmf -examples -ftp -http-forms -http-server -ieee1394 -jabber -mail -odbc -oss -pch -qos -remote -sasl -serial -shmvideo -snmp -soap -socks -telnet -tts -v4l -v4l2 -video-file -vxml -xmlrpc" 0 kB [ebuild U ] net-libs/opal-3.6.2 [2.2.11] USE="audio%* fax%* ffmpeg%* h323%* ipv6%* java%* ldap%* plugins%* sip%* ssl%* theora%* video%* x264%* xml%* -capi% -debug -dns% -doc% -dtmf% -examples% -h224% -h281% -iax% -ivr% -ixj% -lid% -rfc4175% -sbc% -sipim% -srtp% -stats% -swig% -vpb% -vxml% -wav% -x264-static% (-noaudio%) (-novideo%)" 0 kB
It was because USE="fax -stats" is a corrupted configuration. I've updated the ebuild and if USE="fax" is enabled, '--enable-statistics' is added silently. I tried to patch it but it was not trivial so I filed a bug upstream [1] and we will live with this workaround. I hope upstream will fix it. [1] https://sourceforge.net/tracker/?func=detail&aid=2820939&group_id=204472&atid=989748