version 2 is out, please update the ebuild.
Created attachment 87143 [details] wengophone-2.0_pre20060217.ebuild wengophone-NG ebuild, only gcc <4.1 supported atm.
The build fails multiple times with gcc-4.1, due to boost errors. I would like to get those resolved before adding it to the tree. The first one, missing visit_each in /usr/include/boost/bind.hpp is easily sovled by adding #include <boost/visit_each.hpp> in there. Will attach an error log and the relevant source for the second one :)
Created attachment 87144 [details] Error message and relevant code
after a while of compiling I get an error, I think it is because I am running AMD64 but Im not sure. Here is the last lines of the emerge: ar: creating release-symbols/wifo/phapi/amrwb/libamrwb.a gcc -march=k8 -O3 -pipe -msse3 -pthread -fno-common -Wall -Irelease-symbols/wifo/phapi/amrnb -Iwifo/phapi/amrnb -c -o release-symbols/wifo/phapi/amrnb/interf_dec.o wifo/phapi/amrnb/interf_dec.c gcc -march=k8 -O3 -pipe -msse3 -pthread -fno-common -Wall -Irelease-symbols/wifo/phapi/amrnb -Iwifo/phapi/amrnb -c -o release-symbols/wifo/phapi/amrnb/interf_enc.o wifo/phapi/amrnb/interf_enc.c wifo/phapi/amrnb/interf_enc.c: In function `EncoderMMS': wifo/phapi/amrnb/interf_enc.c:359: warning: suggest parentheses around assignment used as truth value gcc -march=k8 -O3 -pipe -msse3 -pthread -fno-common -Wall -Irelease-symbols/wifo/phapi/amrnb -Iwifo/phapi/amrnb -c -o release-symbols/wifo/phapi/amrnb/sp_dec.o wifo/phapi/amrnb/sp_dec.c wifo/phapi/amrnb/sp_dec.c: In function `Speech_Decode_Frame_init': wifo/phapi/amrnb/sp_dec.c:6119: warning: dereferencing type-punned pointer will break strict-aliasing rules wifo/phapi/amrnb/sp_dec.c: In function `Speech_Decode_Frame': wifo/phapi/amrnb/sp_dec.c:1295: warning: enumeration value `MRDTX' not handled in switch wifo/phapi/amrnb/sp_dec.c:1295: warning: enumeration value `N_MODES' not handled in switch wifo/phapi/amrnb/sp_dec.c: At top level: wifo/phapi/amrnb/interf_rom.h:67: warning: 'order_MR475' defined but not used wifo/phapi/amrnb/interf_rom.h:165: warning: 'order_MR515' defined but not used wifo/phapi/amrnb/interf_rom.h:271: warning: 'order_MR59' defined but not used wifo/phapi/amrnb/interf_rom.h:392: warning: 'order_MR67' defined but not used wifo/phapi/amrnb/interf_rom.h:529: warning: 'order_MR74' defined but not used wifo/phapi/amrnb/interf_rom.h:680: warning: 'order_MR795' defined but not used wifo/phapi/amrnb/interf_rom.h:1001: warning: 'order_MR102' defined but not used wifo/phapi/amrnb/interf_rom.h:1208: warning: 'order_MR122' defined but not used wifo/phapi/amrnb/interf_rom.h:1455: warning: 'order_MRDTX' defined but not used gcc -march=k8 -O3 -pipe -msse3 -pthread -fno-common -Wall -Irelease-symbols/wifo/phapi/amrnb -Iwifo/phapi/amrnb -c -o release-symbols/wifo/phapi/amrnb/sp_enc.o wifo/phapi/amrnb/sp_enc.c wifo/phapi/amrnb/sp_enc.c: In function `Speech_Encode_Frame_init': wifo/phapi/amrnb/sp_enc.c:11273: warning: dereferencing type-punned pointer will break strict-aliasing rules ar r release-symbols/wifo/phapi/amrnb/libamrnb.a release-symbols/wifo/phapi/amrnb/interf_dec.o release-symbols/wifo/phapi/amrnb/interf_enc.o release-symbols/wifo/phapi/amrnb/sp_dec.o release-symbols/wifo/phapi/amrnb/sp_enc.o ranlib release-symbols/wifo/phapi/amrnb/libamrnb.a ar: creating release-symbols/wifo/phapi/amrnb/libamrnb.a gcc -pthread -fno-common -shared -o release-symbols/wifo/phapi/phamrplugin.so release-symbols/wifo/phapi/phcodec-amr-wrapper.os -Lrelease-symbols/wifo/phapi/amrwb -Lwifo/phapi/amrwb -Lrelease-symbols/wifo/phapi/amrnb -Lwifo/phapi/amrnb -lamrwb -lamrnb /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld: release-symbols/wifo/phapi/amrwb/libamrwb.a(dec_if.o): relocation R_X86_64_32S against `nb_of_param' can not be used when making a shared object; recompile with -fPIC release-symbols/wifo/phapi/amrwb/libamrwb.a: could not read symbols: Bad value collect2: ld returned 1 exit status scons: *** [release-symbols/wifo/phapi/phamrplugin.so] Error 1 scons: building terminated because of errors. !!! ERROR: net-im/wengophone-2.0_pre20060217 failed. Call stack: ebuild.sh, line 1527: Called dyn_compile ebuild.sh, line 931: Called src_compile wengophone-2.0_pre20060217.ebuild, line 42: Called die !!! scons failed !!! If you need support, post the topmost build error, and the call stack if relevant. emerge --info Portage 2.1_rc1-r3 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.4-r3, 2.6.16-gentoo-r7 x86_64) ================================================================= System uname: 2.6.16-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3700+ Gentoo Base System version 1.12.0_pre19 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O3 -pipe -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=k8 -O3 -pipe -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo http://mirror.datapipe.net/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/" 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/local/overlays/local /usr/local/overlays/chewi-overlay /usr/local/overlays/xgl-testing /usr/local/overlays/proaudio" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 3ds 7zip X X509 a52 aac aalib accessibility acpi aim aimextras aio akode allegro alsa amarok amd ao aotuv apache2 applet arts artswrappersuid artworkextra asf async atk atlas audiofile automount avi bash-completion bcmath bdf beagle berkdb bitmap-fonts bittorrent bl blender-game bootsplash bzip2 c++ cairo calendar canvas cdda cddb cdinstall cdio cdparanoia cdr cdrom cegui cg chroot clamav clamd clanJavaScript cli courier cpudetection cracklib crypt cscope css csv cups curl curlwrappers custom-cflags cvs cvsgraph daap dar64 dbus dedicated devil dga dhcp diet dio dmalloc dnd doc dri dvb dvd dvdr dvdread editor effects emboss emoticon emul-linux-x86 encode enscript esd ethereal examples exif expat exscalibar ext-png ext-zlib extensions extrafilters extraicons extramodules extras fame fat festival ffmpeg figlet firefox flac flash flood fluidsynth fmod font-server foomaticdb fortran fpx freetts freetype gcj geoip gif gimp gimpprint gimpshop glep glibc glitz glut glx gmail gmailtimestamps gmp gnome-print gnomedb gnuplot gnutls google gpgme gphoto2 gpm gps graphviz gs gstreamer gstreamer010 gtalk gtk gtk2 gtkhtml gzip h323 hal hddtemp hlapi hpn html http httpd icq id3 ifp image imagemagick imlib imlib2 inifile inkjar input_devices_keyboard input_devices_mouse input_devices_penmount ipod ipv6 isdnlog j2ee jabber jack-tmpfs java javascript jcs jikes jingle john jp2 jpeg jpeg2k justify jython kcal kde kdeenablefinal kdepim kig-scripting kipi ladcca ladspa lame libcaca libclamav libsamplerate libtommath libvisual libwww lids lirc live lm_sensors logitech-mouse lzo lzw lzw-tiff mad mapeditor maps math mbrola mcal md5sum mem-cache menubar mew mikmod mime mimencode ming mixer mjpeg mng mod mod_python modplug mono moodbar motif moviepack moviesounds mozcalendar mozdevelop mozilla moznocompose moznomail moznoroaming mozsha1 mozsvg mp3 mp4 mp4live mpeg mpeg2 mpeg4 mpegts mpi mplayer msession musepack music musicbrainz mysql mythtv ncurses net network new-login nforce2 njb nntp nptl nptlonly nsplugin nspr ntfs ntlm numarray numeric nvidia nxclient oav ode offensive ogg oggvorbis ogm ogre on-the-fly-crypt openal openexr opengl openntpd openssh openssl osc oscache oscar oss paint_patch pam pango password pcapnav pci pcre pda pdf pdfkit pdflib perl pertty php physfs pic player plib plotutils png pop portaudio povray ppds pppd prelude priority pyste python pyzor qt qt4 quicktime rar razor rdesktop readline realms recode reflection reiser4 reiserfs remix risky rogue rplay rrdtool rsh rss rtc rtsp ruby samba sametime sample scanner sdk sdl sendfile sensord server session sftp shared shorten silvercity silverxp skins slp smime sms sndfile sounds spamassassin speech speedo speex spell spl spreadsheet sql sqlite sqlite3 ssl stats stencil-buffer stream streamzap subp subtitles subversion svg svgz swat switch_all_desktops syslog szip tcltk tcpd themes theora thesaurus thumbnail tidy tiff tomsfastmath toolbar tools transcode truetype truetype-fonts type1 type1-fonts udev uml unicode upnp usb v4l v4l2 vcd vcdimager vchroot vfat video_cards_nv video_cards_nvidia video_cards_v4l videos virus-scan visualization vlm vnc voice vorbis webservices wifi wma wma123 wmf wmp wordperfect wv wxgtk1 wxwindows x11vnc x264 xanim xcomposite xface xfs xine xml2 xmlrpc xmms xorg xpm xprint xrandr xscreensaver xslt xv xvid xvmc yahoo zip zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Same here but on x86 ... gcc -Os -march=pentium4 -pipe -mmmx -msse -msse2 -fomit-frame-pointer -fno-ident -fforce-addr -ftracer -fweb -pthread -fno-common -Wall -fPIC -DPH_SPEEXWB_REPLACES_G726WB=1 -c -o release-symbols/wifo/phapi/phcodec-speex.os wifo/phapi/phcodec-speex.c wifo/phapi/phcodec-speex.c:2:25: speex/speex.h : Aucun fichier ou r
Same here but on x86 ... gcc -Os -march=pentium4 -pipe -mmmx -msse -msse2 -fomit-frame-pointer -fno-ident -fforce-addr -ftracer -fweb -pthread -fno-common -Wall -fPIC -DPH_SPEEXWB_REPLACES_G726WB=1 -c -o release-symbols/wifo/phapi/phcodec-speex.os wifo/phapi/phcodec-speex.c wifo/phapi/phcodec-speex.c:2:25: speex/speex.h : Aucun fichier ou répertoire de ce type wifo/phapi/phcodec-speex.c:16: erreur: erreur de syntaxe avant « SpeexBits » wifo/phapi/phcodec-speex.c:16: attention : pas de point virgule à la fin de la structure ou de l'union wifo/phapi/phcodec-speex.c:24: erreur: erreur de syntaxe avant « SpeexBits » wifo/phapi/phcodec-speex.c:24: attention : pas de point virgule à la fin de la structure ou de l'union wifo/phapi/phcodec-speex.c:70: erreur: erreur de syntaxe avant un élément lexical « * » wifo/phapi/phcodec-speex.c: In function `ph_speex_enc_init': wifo/phapi/phcodec-speex.c:75: erreur: application invalide de « sizeof » sur un type incomplet « speexenc » wifo/phapi/phcodec-speex.c:79: erreur: déréférencement d'un pointeur de type incomplet wifo/phapi/phcodec-speex.c:79: attention : déclaration implicite de la fonction « speex_encoder_init » wifo/phapi/phcodec-speex.c:79: erreur: « mode » non déclaré (première utilisation dans cette fonction) wifo/phapi/phcodec-speex.c:79: erreur: (Chaque identificateur non déclaré est rapporté une seule fois wifo/phapi/phcodec-speex.c:79: erreur: pour chaque fonction dans laquelle il apparaît.) wifo/phapi/phcodec-speex.c:83: attention : déclaration implicite de la fonction « speex_encoder_ctl » wifo/phapi/phcodec-speex.c:83: erreur: déréférencement d'un pointeur de type incomplet wifo/phapi/phcodec-speex.c:83: erreur: « SPEEX_SET_VBR » non déclaré (première utilisation dans cette fonction) wifo/phapi/phcodec-speex.c:85: erreur: déréférencement d'un pointeur de type incomplet wifo/phapi/phcodec-speex.c:85: erreur: « SPEEX_SET_QUALITY » non déclaré (première utilisation dans cette fonction) wifo/phapi/phcodec-speex.c:87: erreur: déréférencement d'un pointeur de type incomplet wifo/phapi/phcodec-speex.c:87: erreur: « SPEEX_SET_COMPLEXITY » non déclaré (première utilisation dans cette fonction) wifo/phapi/phcodec-speex.c:89: attention : déclaration implicite de la fonction « speex_bits_init » wifo/phapi/phcodec-speex.c:89: erreur: déréférencement d'un pointeur de type incomplet wifo/phapi/phcodec-speex.c: In function `ph_speexnb_enc_init': wifo/phapi/phcodec-speex.c:98: attention : déclaration implicite de la fonction « speex_lib_get_mode » wifo/phapi/phcodec-speex.c:98: erreur: « SPEEX_MODEID_NB » non déclaré (première utilisation dans cette fonction) wifo/phapi/phcodec-speex.c: In function `ph_speexwb_enc_init': wifo/phapi/phcodec-speex.c:105: erreur: « SPEEX_MODEID_WB » non déclaré (première utilisation dans cette fonction) wifo/phapi/phcodec-speex.c: At top level: wifo/phapi/phcodec-speex.c:109: erreur: erreur de syntaxe avant un élément lexical « * » wifo/phapi/phcodec-speex.c: In function `ph_speex_dec_init': wifo/phapi/phcodec-speex.c:114: erreur: application invalide de « sizeof » sur un type incomplet « speexdec » wifo/phapi/phcodec-speex.c:118: erreur: déréférencement d'un pointeur de type incomplet wifo/phapi/phcodec-speex.c:118: attention : déclaration implicite de la fonction « speex_decoder_init » wifo/phapi/phcodec-speex.c:118: erreur: « mode » non déclaré (première utilisation dans cette fonction) wifo/phapi/phcodec-speex.c:122: attention : déclaration implicite de la fonction « speex_decoder_ctl » wifo/phapi/phcodec-speex.c:122: erreur: déréférencement d'un pointeur de type incomplet wifo/phapi/phcodec-speex.c:122: erreur: « SPEEX_SET_VBR » non déclaré (première utilisation dans cette fonction) wifo/phapi/phcodec-speex.c:124: erreur: déréférencement d'un pointeur de type incomplet wifo/phapi/phcodec-speex.c:124: erreur: « SPEEX_SET_QUALITY » non déclaré (première utilisation dans cette fonction) wifo/phapi/phcodec-speex.c:126: erreur: déréférencement d'un pointeur de type incomplet wifo/phapi/phcodec-speex.c:126: erreur: « SPEEX_SET_COMPLEXITY » non déclaré (première utilisation dans cette fonction) wifo/phapi/phcodec-speex.c:128: erreur: déréférencement d'un pointeur de type incomplet wifo/phapi/phcodec-speex.c: In function `ph_speexnb_dec_init': wifo/phapi/phcodec-speex.c:139: erreur: « SPEEX_MODEID_NB » non déclaré (première utilisation dans cette fonction) wifo/phapi/phcodec-speex.c: In function `ph_speexwb_dec_init': wifo/phapi/phcodec-speex.c:147: erreur: « SPEEX_MODEID_WB » non déclaré (première utilisation dans cette fonction) wifo/phapi/phcodec-speex.c: In function `ph_speex_encode': wifo/phapi/phcodec-speex.c:159: attention : déclaration implicite de la fonction « speex_bits_reset » wifo/phapi/phcodec-speex.c:159: erreur: déréférencement d'un pointeur de type incomplet wifo/phapi/phcodec-speex.c:160: attention : déclaration implicite de la fonction « speex_encode_int » wifo/phapi/phcodec-speex.c:160: erreur: déréférencement d'un pointeur de type incomplet wifo/phapi/phcodec-speex.c:160: erreur: déréférencement d'un pointeur de type incomplet wifo/phapi/phcodec-speex.c:161: attention : déclaration implicite de la fonction « speex_bits_write » wifo/phapi/phcodec-speex.c:161: erreur: déréférencement d'un pointeur de type incomplet wifo/phapi/phcodec-speex.c: In function `ph_speexnb_decode': wifo/phapi/phcodec-speex.c:173: attention : déclaration implicite de la fonction « speex_bits_read_from » wifo/phapi/phcodec-speex.c:173: erreur: déréférencement d'un pointeur de type incomplet wifo/phapi/phcodec-speex.c:174: attention : déclaration implicite de la fonction « speex_decode_int » wifo/phapi/phcodec-speex.c:174: erreur: déréférencement d'un pointeur de type incomplet wifo/phapi/phcodec-speex.c:174: erreur: déréférencement d'un pointeur de type incomplet wifo/phapi/phcodec-speex.c:175: erreur: déréférencement d'un pointeur de type incomplet wifo/phapi/phcodec-speex.c:170: attention : variable inutilisée « i » wifo/phapi/phcodec-speex.c: In function `ph_speexwb_decode': wifo/phapi/phcodec-speex.c:186: erreur: déréférencement d'un pointeur de type incomplet wifo/phapi/phcodec-speex.c:187: erreur: déréférencement d'un pointeur de type incomplet wifo/phapi/phcodec-speex.c:187: erreur: déréférencement d'un pointeur de type incomplet wifo/phapi/phcodec-speex.c:188: erreur: déréférencement d'un pointeur de type incomplet wifo/phapi/phcodec-speex.c:183: attention : variable inutilisée « i » wifo/phapi/phcodec-speex.c: In function `ph_speex_enc_cleanup': wifo/phapi/phcodec-speex.c:199: attention : déclaration implicite de la fonction « speex_bits_destroy » wifo/phapi/phcodec-speex.c:199: erreur: déréférencement d'un pointeur de type incomplet wifo/phapi/phcodec-speex.c:200: attention : déclaration implicite de la fonction « speex_encoder_destroy » wifo/phapi/phcodec-speex.c:200: erreur: déréférencement d'un pointeur de type incomplet wifo/phapi/phcodec-speex.c: In function `ph_speex_dec_cleanup': wifo/phapi/phcodec-speex.c:211: erreur: déréférencement d'un pointeur de type incomplet wifo/phapi/phcodec-speex.c:212: attention : déclaration implicite de la fonction « speex_decoder_destroy » wifo/phapi/phcodec-speex.c:212: erreur: déréférencement d'un pointeur de type incomplet scons: *** [release-symbols/wifo/phapi/phcodec-speex.os] Error 1 scons: building terminated because of errors. !!! ERROR: net-im/wengophone-2.0_pre20060217 failed. Call stack: ebuild.sh, line 1527: Called dyn_compile ebuild.sh, line 931: Called src_compile wengophone-2.0_pre20060217.ebuild, line 42: Called die !!! scons failed !!! If you need support, post the topmost build error, and the call stack if relevant. Stable gcc and glibc. I'm trying to use qt-4.1.1 instead of qt-4.1.2 and report here if something changes. emerge --info Portage 2.1_rc1-r4 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-cj6 i686) ================================================================= System uname: 2.6.16-cj6 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz Gentoo Base System version 1.6.14 ccache version 2.3 [enabled] dev-lang/python: 2.4.2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=pentium4 -pipe -mmmx -msse -msse2 -pipe -fomit-frame-pointer -fno-ident -fforce-addr -ftracer -fweb" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-Os -march=pentium4 -pipe -mmmx -msse -msse2 -pipe -fomit-frame-pointer -fno-ident -fforce-addr -ftracer -fweb -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildsyspkg ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://85.25.128.62 ftp://212.219.56.152/sites/www.ibiblio.org/gentoo/ ftp://212.219.56.162/sites/www.ibiblio.org/gentoo/" LANG="fr_FR@euro" LC_ALL="fr_FR@euro" LDFLAGS="-WI,-O1 -WI,--sort-common" LINGUAS="fr" 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/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X Xaw3d aac acpi alsa artswrappersuid asf audiofile avi bash-completion berkdb bigger-fonts bitmap-fonts bzip2 calendar cdparanoia cli cups curl dga directfb dlloader dmx dnd dri emacs emboss encode esd expat fbcon ffmpeg flac font-server foomaticdb fortran fpx gd gif gimpprint ginac gmp gpm graphviz gstreamer gtk gtk2 hal hbci imagemagick imlib imlib2 isdnlog jabber java javascript jpeg jpeg2k justify kde kdeenablefinal lcms leim libg++ libwww mad mcal mikmod mmx mng motif mozcalendar moznoirc mozsvg mp3 mpeg mpi msn mule nas ncurses network nls nocardbus nodrm nptl nptlonly nsplugin nvidia objc ofx ogg openal opengl oss pam pcre pdflib perl pic plotutils png posix ppds pppd python qhull qt qtmt quicktime readline real reflection rplay samba sdk sdl session slang slp sndfile spell spl sse sse2 ssl stroke svg svga sysfs tcltk tcpd tetex threads tiff truetype truetype-fonts type1-fonts udev unicode usb vim-with-x vorbis win32codecs wma wmf wxwindows xine xml xml2 xmms xorg xpm xprint xscreensaver xv xvid yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_fr userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa video_cards_fbdev" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
same error for me
Switching from qt-4.1.2 to qt-4.1.1 doesn't solve this compil problem ... :-(
I have no problem compiling, all was OK. But when run wengophone from a console it show for a second the main screen and then this... wengophone (debug) 14:45:45 virtualvoidWebcamDriver::cleanup(): Cleaning up the webcam driver picture size invalid (7798895x7274563) (debug) 14:45:45 virtualboolConfigManagerFileStorage::load(conststd::string&): file config.xml loaded QPixmap::convertFromImage: Cannot convert a null image QWidget::setLayout() : Attempting to add QLayout "" to QtProfileBar "", which already has a layout (debug) 14:45:45 voidQtWengoPhone::setTrayMenu(): No GDMSESSION environment variable. QPixmap::scaled: Pixmap is a null pixmap QPixmap::scaled: Pixmap is a null pixmap QPixmap::scaled: Pixmap is a null pixmap (debug) 14:45:46 voidQtWengoPhone::setContactList(QtContactList): QtContactList added X Error: BadValue (integer parameter out of range for operation) 2 Major opcode: 53 (X_CreatePixmap) Resource id: 0x0 X Error: BadDrawable (invalid Pixmap or Window parameter) 9 Extension: 151 (RENDER) Minor opcode: 4 (RenderCreatePicture) Resource id: 0x2c001c1 X Error: BadDrawable (invalid Pixmap or Window parameter) 9 Major opcode: 55 (X_CreateGC) Resource id: 0x2c001c1 X Error: BadDrawable (invalid Pixmap or Window parameter) 9 Major opcode: 62 (X_CopyArea) Resource id: 0x2c001c1 X Error: BadGC (invalid GC parameter) 13 Major opcode: 60 (X_FreeGC) Resource id: 0x2c001c3 X Error: BadValue (integer parameter out of range for operation) 2 Major opcode: 53 (X_CreatePixmap) Resource id: 0x0 X Error: BadDrawable (invalid Pixmap or Window parameter) 9 Extension: 151 (RENDER) Minor opcode: 4 (RenderCreatePicture) Resource id: 0x2c001c4 X Error: BadDrawable (invalid Pixmap or Window parameter) 9 Major opcode: 55 (X_CreateGC) Resource id: 0x2c001c4 X Error: BadDrawable (invalid Pixmap or Window parameter) 9 Major opcode: 62 (X_CopyArea) Resource id: 0x2c001c4 X Error: BadGC (invalid GC parameter) 13 Major opcode: 60 (X_FreeGC) Resource id: 0x2c001c6 X Error: BadValue (integer parameter out of range for operation) 2 Major opcode: 53 (X_CreatePixmap) Resource id: 0x0 X Error: BadDrawable (invalid Pixmap or Window parameter) 9 Extension: 151 (RENDER) Minor opcode: 4 (RenderCreatePicture) Resource id: 0x2c001c7 X Error: BadDrawable (invalid Pixmap or Window parameter) 9 Major opcode: 55 (X_CreateGC) Resource id: 0x2c001c7 X Error: BadDrawable (invalid Pixmap or Window parameter) 9 Major opcode: 62 (X_CopyArea) Resource id: 0x2c001c7 X Error: BadGC (invalid GC parameter) 13 Major opcode: 60 (X_FreeGC) Resource id: 0x2c001c9 (debug) 14:45:46 voidQtLanguage::configChangedEventHandlerThreadSafe(Settings&,conststd::string&): language changed=lang/qtwengophone_c.qm GaimContactListMngr : NewListCbk() (error) 14:45:46 Wenbox::Wenbox(): Wenbox dll not loaded ASSERT failure in QList<T>::operator[]: "index out of range", file /usr/include/qt4/QtCore/qlist.h, line 369 QCoreApplication::postEvent: Receiver is not a valid QObject Segmentation fault on x86 emerge --info Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r3 i686) ================================================================= System uname: 2.6.16-gentoo-r3 i686 AMD Sempron(tm) 2600+ Gentoo Base System version 1.6.14 dev-lang/python: 2.4.2 dev-python/pycrypto: [Not Present] dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.localhost.net.ar/ ftp://mirrors.localhost.net.ar/pub/mirrors/gentoo " LINGUAS="es" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 #VIDEO 3dnow 3dnowext SONIDO X Y a52 aac aalib alsa apache2 apm audiofile avi berkdb bidi bitmap-fonts bzip2 cdda cddb cdio cdr cli crypt cups curl daap dbus divx4linux dri dts dvd dvdread eds emboss encode esd exif expat fam ffmpeg firefox flac foomaticdb fortran freetype gd gda gdbm ggi gif glut gnome gnutls gphoto2 gpm gstreamer gstreamer010 gtk gtk-lshw gtk2 gtkhtml hal howl i8x0 idn imagemagick imlib ipv6 irda isdnlog java jpeg junit lcms ldap libg++ libnotify libwww lirc live mad matroska mikmod mmx mmxext mng motif mozilla mozsvg mp3 mpeg musicbrainz nas ncurses network nls nptl nsplugin ogg oggvorbis opengl pam pcre pdflib perl png pppd python quicktime readline real reflection scenarios sdl session silc speex spell spl sse ssl svg svga symlink tcltk tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l vcd video_cards_sis vorbis webcam win32codecs wxwindows xml xml2 xmms xorg xv xvid xvmc zlib linguas_es userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY
Please ADD package "speex" as a DEP for wengophone because my compil problem comes for this point. Enjoy !
I added the ebuild to portage with -* KEYWORD Actually the speex DEPEND is only needed for compiling, I wonder why because wengophone has everything included ..
the last svn version i tried, i had some problem with "scon": x11-libs/qt-3.3.6-r1 and Portage 2.1_rc2-r2 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r7 i686) ================================================================= System uname: 2.6.16-gentoo-r7 i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.12.0 ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r2, 2.4.2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 File "/usr/lib/scons-0.96.91/SCons/Memoize.py", line 287: rval = cdict[ckey] = apply(func, args, kw) File "/usr/lib/scons-0.96.91/SCons/Node/FS.py", line 968: result.diskcheck_match() File "/usr/lib/scons-0.96.91/SCons/Node/FS.py", line 1609: "Directory %s found where file expected.") File "/usr/lib/scons-0.96.91/SCons/Node/FS.py", line 324: raise TypeError, errorfmt % path !!! ERROR: net-im/wengophone-2.0_pre20099999 failed. Call stack: ebuild.sh, line 1527: Called dyn_compile ebuild.sh, line 931: Called src_compile wengophone-2.0_pre20099999.ebuild, line 55: Called die !!! scons failed
liveCVS now works with gcc4.1 - I also changed the ebuild in portage to reflect this. The small boost include change is still needed until the next boost version.
*** Bug 140284 has been marked as a duplicate of this bug. ***
thanks Stefan - I was looking forward to this, small anoise is that have to enter the user and password to pull svn during the emerge. I see you have ESVN_OPTIONS="--username guest --password guest" in the ebuild, any idea how to fix? Niv
it does not ask for a password for me. You can also use the snapshot I put in: 2.0_pre20060719 Significantly less download and it is still pretty current - guaranteed to compile, too.
rc2 is now in the tree unmasked thanks
wengophone/src/presentation/qt/QtAbout.cpp:36:21: error: avcodec.h: No such file or directory wengophone/src/presentation/qt/QtAbout.cpp: In constructor 'QtAbout::QtAbout(QWi dget*)': wengophone/src/presentation/qt/QtAbout.cpp:69: error: 'avcodec_version' was not declared in this scope scons: *** [release-symbols/wengophone/src/presentation/qt/QtAbout.o] Error 1 scons: building terminated because of errors. !!! ERROR: net-im/wengophone-2.0_rc2 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile wengophone-2.0_rc2.ebuild, line 63: Called die !!! scons failed !!! If you need support, post the topmost build error, and the call stack if rel evant. emerge --info Portage 2.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.3.6-r4, 2.6.17-ck1- r2 i686) ================================================================= System uname: 2.6.17-ck1-r2 i686 AMD Athlon(tm) XP 3200+ Gentoo Base System version 1.12.4 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.3.4-r1, 2.4.3-r1 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.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/shar e/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 -march=athlon-xp -pipe -fomit-frame-pointer -fvisibility-inlines-h idden -fno-enforce-eh-specs" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox s fperms strict userpriv usersandbox" GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo" LC_ALL="POSIX" LINGUAS="en he es" 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='/d istfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://mirror.hamakor.org.il/gentoo-portage" USE="x86 # 3dnow X aac aalib acceleration: acl acpi alsa amr and apm apps: asf a vi bash-completion berkdb bidi bitmap-fonts bluetooth browserplugin bzip2 cairo card cdrom cli codecs: crypt cups dbus divix4linux dlloader dri dvd dvdread eds emboss encode ffmpeg firefox flac flash foomaticdb fortran freetype gdbm gfx gif gnome gpm gstreamer gtk gtk2 gtkhtml gui: hal icq imap imlib irc irmc isdnlog j abber jack java javascript jpeg libg++ libwww lm_sensors mad matroska mikmod mis c: mjpeg mmx mmxext motif mozilla mp3 mp4 mpeg mpeg4 mplayer mppe-mppc msn mysql mythtv ncurses network: nls nokia6600 nptl nvidia ogg opengl oss pc pcre pda pd flib perl pic pictures png pop pppd python qt qt3 qt4 readline reflection resour ces: rtc samba sdl services: session sound speex spell spl sse ssl tcltk tcpd th eora tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 video vi dix vorbis win32codecs xine xml xmms xorg xrandr xscreensaver xv xvid zeroconf z lib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev k ernel_linux linguas_en linguas_he linguas_es userland_GNU video_cards_radeon vid eo_cards_v4l video_cards_via video_cards_vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC _EXTRA_OPTS
can you please upgrade your ffmpeg version? 20060302 and 20060530 works for me.
In file included from libs/pixertool/src/pixertool.cpp:22: libs/pixertool/include/pixertool/ffmpeg-pixertool.h:25:21: error: avcodec.h: No such file or directory libs/pixertool/include/pixertool/ffmpeg-pixertool.h:61: error: variable or field 'pix_fill_avpicture' declared void libs/pixertool/include/pixertool/ffmpeg-pixertool.h:61: error: 'AVPicture' was not declared in this scope libs/pixertool/include/pixertool/ffmpeg-pixertool.h:61: error: 'dst' was not declared in this scope libs/pixertool/include/pixertool/ffmpeg-pixertool.h:61: error: expected primary-expression before '*' token libs/pixertool/include/pixertool/ffmpeg-pixertool.h:61: error: 'src' was not declared in this scope libs/pixertool/include/pixertool/ffmpeg-pixertool.h:61: error: initializer expression list treated as compound expression libs/pixertool/include/pixertool/ffmpeg-pixertool.h:77: error: 'AVPicture' has not been declared libs/pixertool/src/pixertool.cpp: In function 'piximage* pix_alloc(pixosi, unsigned int, unsigned int)': libs/pixertool/src/pixertool.cpp:44: error: 'avcodec_init' was not declared in this scope libs/pixertool/src/pixertool.cpp:50: error: 'av_malloc' was not declared in this scope libs/pixertool/src/pixertool.cpp: In function 'void pix_free(piximage*)': libs/pixertool/src/pixertool.cpp:58: error: 'av_free' was not declared in this scope libs/pixertool/src/pixertool.cpp: In function 'unsigned int pix_size(pixosi, unsigned int, unsigned int)': libs/pixertool/src/pixertool.cpp:65: error: 'avpicture_get_size' was not declared in this scope libs/pixertool/src/pixertool.cpp: In function 'pixerrorcode pix_convert(int, piximage*, piximage*)': libs/pixertool/src/pixertool.cpp:94: error: 'AVPicture' was not declared in this scope libs/pixertool/src/pixertool.cpp:94: error: expected `;' before 'avp_source' libs/pixertool/src/pixertool.cpp:95: error: 'avp_source' was not declared in this scope libs/pixertool/src/pixertool.cpp:95: error: 'avpicture_fill' was not declared in this scope libs/pixertool/src/pixertool.cpp:96: error: 'avp_target' was not declared in this scope libs/pixertool/src/pixertool.cpp:103: error: 'PIX_FMT_YUV420P' was not declared in this scope libs/pixertool/src/pixertool.cpp:116: error: 'PIX_FMT_YUV420P' was not declared in this scope libs/pixertool/src/pixertool.cpp:121: error: 'ImgReSampleContext' was not declared in this scope libs/pixertool/src/pixertool.cpp:121: error: 'resample_context' was not declared in this scope libs/pixertool/src/pixertool.cpp:122: error: 'img_resample_init' was not declared in this scope libs/pixertool/src/pixertool.cpp:128: error: expected `;' before 'avp_tmp_target' libs/pixertool/src/pixertool.cpp:131: error: 'avpicture_get_size' was not declared in this scope libs/pixertool/src/pixertool.cpp:131: error: 'av_malloc' was not declared in this scope libs/pixertool/src/pixertool.cpp:132: error: 'avp_tmp_target' was not declared in this scope libs/pixertool/src/pixertool.cpp:136: error: 'img_resample' was not declared in this scope libs/pixertool/src/pixertool.cpp:137: error: 'img_resample_close' was not declared in this scope libs/pixertool/src/pixertool.cpp:143: error: 'img_convert' was not declared in this scope libs/pixertool/src/pixertool.cpp:145: error: 'av_free' was not declared in this scope libs/pixertool/src/pixertool.cpp:148: error: 'av_free' was not declared in this scope libs/pixertool/src/pixertool.cpp:154: error: 'img_convert' was not declared in this scope libs/pixertool/src/pixertool.cpp:161: error: 'av_free' was not declared in this scope libs/pixertool/src/pixertool.cpp:89: warning: unused variable 'len_target' libs/pixertool/src/pixertool.cpp: In function 'uint8_t* _nv12_to_yuv420p(uint8_t*, unsigned int, unsigned int)': libs/pixertool/src/pixertool.cpp:171: error: 'av_malloc' was not declared in this scope scons: *** [release-symbols/libs/pixertool/src/pixertool.o] Error 1 scons: building terminated because of errors. !!! ERROR: net-im/wengophone-2.0_rc2 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile wengophone-2.0_rc2.ebuild, line 66: Called die !!! scons failed !!! If you need support, post the topmost build error, and the call stack if relevant.
upgrading ffmpeg to ~x86 - did solve it. I suggest to add this to DEPEND in the ebuild side note: this version of wengo is still unusable , I couldnt dial a call. I am using twinkle with the wengo service.
It compiles and starts fine on amd64 ...but as was already suggested, I had to take the latest testing ffmpeg.