I have written a new ebuild for wengophone-2.1. It is loosely based on the old wengophone ebuild in the tree and attachment 112754 [details]. Issues with boost-1.33 and gcc-4.1 still exist. Reproducible: Always Steps to Reproduce:
Created attachment 120619 [details] wengophone-2.1.ebuild TODO: * Figure out how to respect LINGUAS * use cmake-utils.eclass from KDE 4 overlay * Investigate working constellations of boost and gcc
What exactly are you requesting here? net-voip/wengophone-bin-2.1 is already in the tree...
(In reply to comment #2) I am aware of wengophone-bin. That is a binary ebuild that works on i386 only (amd64 with emul-linux-x86-*). It was introduced in bug 169000 because of build issues such as boost-1.33/gcc-4.1 incompatibility (bug 125446). This source ebuild in contrast will obey alsa/oss/xv USE flags (possibly more in the future) and can in principle be built on other architectures, though I didn't test that yet.
(In reply to comment #3) > This source ebuild in contrast will obey alsa/oss/xv USE flags (possibly more > in the future) and can in principle be built on other architectures, though I > didn't test that yet. Oh, you want the from-source one? Sorry, it still miserably fails to compile. See Bug 179305 Comment #2 and others.
It compiles and installs fine on my amd64 box using the ebuild from attachment 120619 [details]. It runs a little unstable however. I am going to test with gcc-4.2 and/or boost-1.34.0 as soon as I can get them to emerge.
Oh, so it just crashes, wonderful. Ship it... :P
This ebuild works on one of my x86 boxes, and crashes on another one every time I try to log in: *** glibc detected *** qtwengophone: double free or corruption (!prev): 0x08b2a040 *** ======= Backtrace: ========= /lib/libc.so.6[0xb7a8a990] /lib/libc.so.6(__libc_free+0x89)[0xb7a8bff9] /usr/lib/libgnutls.so.13(gnutls_deinit+0x30d)[0x4e29c7bd] ======= Memory map: ======== I haven't figured out yet why. The two boxes are nearly identical except for compiler flags (one was cloned from the other some time ago). Both have gcc-4.1 and boost 1.33.1. As for net-voip/wengophone-bin-2.1, it is virtually useless for me as I don't have sound with it.
> As for net-voip/wengophone-bin-2.1, it is virtually useless for me as I don't > have sound with it. > Go to /opt/wengophone and delete the libasound file in there. After that, it works for me.
Created attachment 121298 [details] wengophone-2.1.ebuild Updated ebuild. Changes: * Add portaudio USE-flag to address sound issues * Allow building with boost-1.34_pre20061214 With boost-1.34_pre20061214, wengophone runs stable so far.
Created attachment 121410 [details] build failure
Portage 2.1.2.9 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r3, 2.6.21.3 x86_64) ================================================================= System uname: 2.6.21.3 x86_64 Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz Gentoo Base System release 1.12.10 Timestamp of tree: Thu, 07 Jun 2007 12:30:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r7 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.50.0.16 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -pipe -march=nocona -mtune=nocona -fomit-frame-pointer -mmmx -msse -msse2 -msse3 -mfpmath=sse" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/mail/dspam /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/run/dspam" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O3 -pipe -march=nocona -mtune=nocona -fomit-frame-pointer -mmmx -msse -msse2 -msse3 -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages metadata-transfer parallel-fetch sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="39" LC_ALL="it_IT.utf8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--hash-style=both" LINGUAS="it" MAKEOPTS="-j4" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/mnt/Dati/Gentoo/tmp/" PORTDIR="/mnt/Dati/Gentoo/portage/" PORTDIR_OVERLAY="/usr/local/portage/myportage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="64bit 7zip X X509 Xaw3d a52 aac aalib accessibility ace acl acpi activefilter adns aiglx aio alsa amd amd64 amr amrr amuled ao aoss apache2 arj asf aspnet2 async atk audacious audiofile authfile automount bash-completion berkdb bidi binary-drivers bitmap-fonts bittorrent bootsplash browserplugin bzip2 cairo calendar caps cdda cddb cdio cdparanoia cdr cgi charconv chardet chroot clamav clearcase cli client codecs corba cracklib crypt cscope css ctype cups curl cvs daemon dar64 dba dbus depth32 dga dhcp dio directfb diskio divx djbfft dmi dri dvd dvdr dvdread edl encode ethereal exif expat extraengine faac faad fam fastbuild fbcon ffmpeg fftw firefox flac flash foreign-package fortran ftp gcj gd gdbm geometry ggi gif gimp gimpprint glibc-omitfp glitz glut glx gnokii gnome gnutls gphoto2 gpm graphviz gs gtk gtk2 gtkhtml guile h264 hal iconv idea idn imagemagick imap innodb ipod ipv6 irda irmc isdnlog jack java java5 javamail javascript jikes jit joystick jpeg jpeg2k junit justify kde kdeenablefinal kdehiddenvisibility kerberos kqemu lame lcd lcms ldap libcaca libclamav libg++ libgda libusb lirc live lm_sensors lua lzo mad mailwrapper matroska md5sum mdb mhash midi mikmod mime mmx mmx2 mmxext mng mono mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mpeg4 mplayer mpm-prefork msn msnextras mudflap musepack mysql mysqli mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses neXt network ngui nls nntp no_wxgtk1 nobsh nopie nossp noxalan nptl nptlonly nsplugin nv nvidia oav odbc ogg openal opengl openmp openssl operanom2 pam pcre pda pdf pdo pear perl php pmu png pnp postgres pppd pthreads python qemu-fast qhull qt3 qt4 quicktime quotas readline reflection rrdtool rtc ruby samba scanner sdl server session sftplogging sguil slang slp smp snortsam soap sockets socks5 softmmu softquota spamassassin speex spl sqlite3 sse sse2 sse3 ssl ssse3 subject-rewrite svg tcltk tcpd tetex tga theora tiff tokenizer truetype truetype-fonts trusted type1-fonts unicode usb userlocales vorbis wma wmf wmv wsconvert wxwindows x264 xanim xchatdccserver xchattext xcomposite xine xinerama xml xml2 xmlrpc xorg xosd xpm xprint xsl xv xvid xvm xvmc zlib" ALSA_CARDS="hda-intel" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="fbdev vesa vga nv nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
(In reply to comment #10) > build failure > /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libosip2.a(port_sema.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC This is possibly caused by your build configuration. Please read http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=3
thanks for reply, but the -fPIC flag should be automatically added... i don't think adding it to cflags is good idea...
2.1.1 is out and appears to install if I rename the ebuild but /opt/wengophone/qtwengophone shows not found.
Created attachment 123850 [details] wengophone-2.1.1.ebuild updated ebuild. Changes: * fix SRC_URI * fail if boost-1.33 was built with gcc-4.1
(In reply to comment #14) > 2.1.1 is out and appears to install if I rename the ebuild but > /opt/wengophone/qtwengophone shows not found. qtwengophone is installed to /usr/bin
any news about the amd64 profile? i still cannot compile it :(
(In reply to comment #17) > any news about the amd64 profile? i still cannot compile it :( Works fine here on my amd64 box. I still suspect that your build environment is broken, particularly your installation of libosip. Try to remove it, as wengophone comes with its own internal copy.
i removed libosip i get this: [103%] Building CXX object wengophone/src/presentation/qt/CMakeFiles/qtwengophone.dir/webdirectory/QtWebDirectory.o [103%] Building CXX object wengophone/src/presentation/qt/CMakeFiles/qtwengophone.dir/qrc_wengophone.o Linking CXX executable qtwengophone /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1/work/wengophone-2.1/build/libs/owpixertool/libowpixertool.a(pixertool.o): In function `pix_convert': /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1/work/wengophone-2.1/libs/owpixertool/src/pixertool.cpp:99: undefined reference to `avpicture_fill(AVPicture*, unsigned char*, int, int, int)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1/work/wengophone-2.1/libs/owpixertool/src/pixertool.cpp:100: undefined reference to `avpicture_fill(AVPicture*, unsigned char*, int, int, int)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1/work/wengophone-2.1/libs/owpixertool/src/pixertool.cpp:126: undefined reference to `img_resample_init(int, int, int, int)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1/work/wengophone-2.1/libs/owpixertool/src/pixertool.cpp:135: undefined reference to `avpicture_get_size(int, int, int)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1/work/wengophone-2.1/libs/owpixertool/src/pixertool.cpp:135: undefined reference to `av_malloc(unsigned int)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1/work/wengophone-2.1/libs/owpixertool/src/pixertool.cpp:136: undefined reference to `avpicture_fill(AVPicture*, unsigned char*, int, int, int)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1/work/wengophone-2.1/libs/owpixertool/src/pixertool.cpp:140: undefined reference to `img_resample(ImgReSampleContext*, AVPicture*, AVPicture const*)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1/work/wengophone-2.1/libs/owpixertool/src/pixertool.cpp:141: undefined reference to `img_resample_close(ImgReSampleContext*)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1/work/wengophone-2.1/libs/owpixertool/src/pixertool.cpp:145: undefined reference to `img_convert(AVPicture*, int, AVPicture const*, int, int, int)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1/work/wengophone-2.1/libs/owpixertool/src/pixertool.cpp:152: undefined reference to `av_free(void*)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1/work/wengophone-2.1/libs/owpixertool/src/pixertool.cpp:156: undefined reference to `img_convert(AVPicture*, int, AVPicture const*, int, int, int)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1/work/wengophone-2.1/libs/owpixertool/src/pixertool.cpp:165: undefined reference to `av_free(void*)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1/work/wengophone-2.1/libs/owpixertool/src/pixertool.cpp:149: undefined reference to `av_free(void*)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1/work/wengophone-2.1/build/libs/owpixertool/libowpixertool.a(pixertool.o): In function `_nv12_to_yuv420p': /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1/work/wengophone-2.1/libs/owpixertool/src/pixertool.cpp:175: undefined reference to `av_malloc(unsigned int)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1/work/wengophone-2.1/build/libs/owpixertool/libowpixertool.a(pixertool.o): In function `pix_free': /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1/work/wengophone-2.1/libs/owpixertool/src/pixertool.cpp:62: undefined reference to `av_free(void*)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1/work/wengophone-2.1/build/libs/owpixertool/libowpixertool.a(pixertool.o): In function `pix_alloc': /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1/work/wengophone-2.1/libs/owpixertool/src/pixertool.cpp:44: undefined reference to `avcodec_init()' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1/work/wengophone-2.1/libs/owpixertool/src/pixertool.cpp:50: undefined reference to `av_malloc(unsigned int)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1/work/wengophone-2.1/build/libs/owpixertool/libowpixertool.a(pixertool.o): In function `pix_size': /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1/work/wengophone-2.1/libs/owpixertool/src/pixertool.cpp:69: undefined reference to `avpicture_get_size(int, int, int)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1/work/wengophone-2.1/build/libs/owpixertool/libowpixertool.a(ffmpeg-pixertool.o): In function `pix_convert_avpicture': /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1/work/wengophone-2.1/libs/owpixertool/src/ffmpeg/ffmpeg-pixertool.c:135: undefined reference to `img_convert' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1/work/wengophone-2.1/build/wengophone/src/buildid/libowbuildid.a(WengoPhoneBuildId.o): In function `WengoPhoneBuildId::getAvcodecVersion()': /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1/work/wengophone-2.1/wengophone/src/WengoPhoneBuildId.cpp:84: undefined reference to `avcodec_version()' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1/work/wengophone-2.1/build/wifo/phapi/libphapi.so: undefined reference to `img_resample_close' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1/work/wengophone-2.1/build/wifo/phapi/libphapi.so: undefined reference to `img_resample_init' collect2: ld returned 1 exit status make[2]: *** [wengophone/src/presentation/qt/qtwengophone] Error 1 make[1]: *** [wengophone/src/presentation/qt/CMakeFiles/qtwengophone.dir/all] Error 2 make: *** [all] Error 2
previous was with 2.1 ebuild 2.1.1 has same issue: [102%] Building CXX object wengophone/src/presentation/qt/CMakeFiles/qtwengophone.dir/qrc_wengophone.o Linking CXX executable qtwengophone /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1.1/work/wengophone-2.1.1/build/libs/owpixertool/libowpixertool.a(pixertool.o): In function `pix_convert': /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1.1/work/wengophone-2.1.1/libs/owpixertool/src/pixertool.cpp:99: undefined reference to `avpicture_fill(AVPicture*, unsigned char*, int, int, int)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1.1/work/wengophone-2.1.1/libs/owpixertool/src/pixertool.cpp:100: undefined reference to `avpicture_fill(AVPicture*, unsigned char*, int, int, int)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1.1/work/wengophone-2.1.1/libs/owpixertool/src/pixertool.cpp:126: undefined reference to `img_resample_init(int, int, int, int)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1.1/work/wengophone-2.1.1/libs/owpixertool/src/pixertool.cpp:135: undefined reference to `avpicture_get_size(int, int, int)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1.1/work/wengophone-2.1.1/libs/owpixertool/src/pixertool.cpp:135: undefined reference to `av_malloc(unsigned int)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1.1/work/wengophone-2.1.1/libs/owpixertool/src/pixertool.cpp:136: undefined reference to `avpicture_fill(AVPicture*, unsigned char*, int, int, int)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1.1/work/wengophone-2.1.1/libs/owpixertool/src/pixertool.cpp:140: undefined reference to `img_resample(ImgReSampleContext*, AVPicture*, AVPicture const*)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1.1/work/wengophone-2.1.1/libs/owpixertool/src/pixertool.cpp:141: undefined reference to `img_resample_close(ImgReSampleContext*)' [cut]
i think this is ffmpeg issue: /usr/include/ffmpeg/avcodec.h declares those deprecated. probably they removed from latest build in portage. i'm quite sure as linphone shows almost the same issues... /mnt/Dati/Gentoo/tmp/portage/net-voip/linphone-1.7.1/work/linphone-1.7.1/mediastreamer2/src/.libs/libmediastreamer.so: undefined reference to `img_resample_init' /mnt/Dati/Gentoo/tmp/portage/net-voip/linphone-1.7.1/work/linphone-1.7.1/mediastreamer2/src/.libs/libmediastreamer.so: undefined reference to `img_resample_close' /mnt/Dati/Gentoo/tmp/portage/net-voip/linphone-1.7.1/work/linphone-1.7.1/mediastreamer2/src/.libs/libmediastreamer.so: undefined reference to `img_resample' /mnt/Dati/Gentoo/tmp/portage/net-voip/linphone-1.7.1/work/linphone-1.7.1/mediastreamer2/src/.libs/libmediastreamer.so: undefined reference to `img_convert' collect2: ld returned 1 exit status
almost sure it got removed grep img_resample_init `equery files ffmpeg` /usr/include/ffmpeg/avcodec.h:attribute_deprecated ImgReSampleContext *img_resample_init(int output_width, int output_height,
FYI: I built wengophone with latest stable ffmpeg. Be sure to run revdep-rebuild after installing a new version of that library. As wengophone comes with lots of internal libraries, there could be interference between them and system-installed ones.
are you sure about ffmpeg? i opened bug #187029 for missing functions... and in the linphone mailing list seems they are aware of this change... i wonder how could you manage that sincerely..
actually i downgraded ffmpeg: this fixed linphone but not wengo.. all functions are in /usr/lib/libavcodec.so correctly. are you sure we're linking against this lib? [102%] Building CXX object wengophone/src/presentation/qt/CMakeFiles/qtwengophone.dir/qrc_wengophone.o Linking CXX executable qtwengophone /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1.1/work/wengophone-2.1.1/build/libs/owpixertool/libowpixertool.a(pixertool.o): In function `pix_convert': /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1.1/work/wengophone-2.1.1/libs/owpixertool/src/pixertool.cpp:99: undefined reference to `avpicture_fill(AVPicture*, unsigned char*, int, int, int)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1.1/work/wengophone-2.1.1/libs/owpixertool/src/pixertool.cpp:100: undefined reference to `avpicture_fill(AVPicture*, unsigned char*, int, int, int)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1.1/work/wengophone-2.1.1/libs/owpixertool/src/pixertool.cpp:126: undefined reference to `img_resample_init(int, int, int, int)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1.1/work/wengophone-2.1.1/libs/owpixertool/src/pixertool.cpp:135: undefined reference to `avpicture_get_size(int, int, int)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1.1/work/wengophone-2.1.1/libs/owpixertool/src/pixertool.cpp:135: undefined reference to `av_malloc(unsigned int)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1.1/work/wengophone-2.1.1/libs/owpixertool/src/pixertool.cpp:136: undefined reference to `avpicture_fill(AVPicture*, unsigned char*, int, int, int)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1.1/work/wengophone-2.1.1/libs/owpixertool/src/pixertool.cpp:140: undefined reference to `img_resample(ImgReSampleContext*, AVPicture*, AVPicture const*)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1.1/work/wengophone-2.1.1/libs/owpixertool/src/pixertool.cpp:141: undefined reference to `img_resample_close(ImgReSampleContext*)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1.1/work/wengophone-2.1.1/libs/owpixertool/src/pixertool.cpp:145: undefined reference to `img_convert(AVPicture*, int, AVPicture const*, int, int, int)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1.1/work/wengophone-2.1.1/libs/owpixertool/src/pixertool.cpp:152: undefined reference to `av_free(void*)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1.1/work/wengophone-2.1.1/libs/owpixertool/src/pixertool.cpp:156: undefined reference to `img_convert(AVPicture*, int, AVPicture const*, int, int, int)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1.1/work/wengophone-2.1.1/libs/owpixertool/src/pixertool.cpp:165: undefined reference to `av_free(void*)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1.1/work/wengophone-2.1.1/libs/owpixertool/src/pixertool.cpp:149: undefined reference to `av_free(void*)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1.1/work/wengophone-2.1.1/build/libs/owpixertool/libowpixertool.a(pixertool.o): In function `_nv12_to_yuv420p': /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1.1/work/wengophone-2.1.1/libs/owpixertool/src/pixertool.cpp:175: undefined reference to `av_malloc(unsigned int)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1.1/work/wengophone-2.1.1/build/libs/owpixertool/libowpixertool.a(pixertool.o): In function `pix_free': /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1.1/work/wengophone-2.1.1/libs/owpixertool/src/pixertool.cpp:62: undefined reference to `av_free(void*)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1.1/work/wengophone-2.1.1/build/libs/owpixertool/libowpixertool.a(pixertool.o): In function `pix_alloc': /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1.1/work/wengophone-2.1.1/libs/owpixertool/src/pixertool.cpp:44: undefined reference to `avcodec_init()' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1.1/work/wengophone-2.1.1/libs/owpixertool/src/pixertool.cpp:50: undefined reference to `av_malloc(unsigned int)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1.1/work/wengophone-2.1.1/build/libs/owpixertool/libowpixertool.a(pixertool.o): In function `pix_size': /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1.1/work/wengophone-2.1.1/libs/owpixertool/src/pixertool.cpp:69: undefined reference to `avpicture_get_size(int, int, int)' /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1.1/work/wengophone-2.1.1/build/wengophone/src/buildid/libowbuildid.a(WengoPhoneBuildId.o): In function `WengoPhoneBuildId::getAvcodecVersion()': /mnt/Dati/Gentoo/tmp/portage/net-voip/wengophone-2.1.1/work/wengophone-2.1.1/wengophone/src/WengoPhoneBuildId.cpp:84: undefined reference to `avcodec_version()' collect2: ld returned 1 exit status make[2]: *** [wengophone/src/presentation/qt/qtwengophone] Error 1 make[1]: *** [wengophone/src/presentation/qt/CMakeFiles/qtwengophone.dir/all] Error 2 make: *** [all] Error 2
Wengophone-2.1.1 needs an extra libsamplerate dependency, I think. Works (fine) if you use gcc-4.1 and boost-1.34.1. It seems to be a huge and long emerge however, and the program takes awfully long to startup, and it could also be a bit more stable. Any way to prevent it from using my bluetooth headset by default (as it seems to do if I have it in asound.conf) instead of my internal soundcard? Thx,
Created attachment 127174 [details] wengophone-2.1.1-newerffmpeg-patches.tar.bz2 Fixes building with latest ffmpeg (0.4.9_p20070616-r1) Contains phapi_newerffmpeg.diff pixertool_newerffmpeg.diff wengophone_externavcodec.diff Patches are from http://dev.openwengo.com/trac/openwengo/trac.cgi/ticket/1741 with minor changes to be applied on wengophone-2.1.1
after long time i got wengophone compiled for amd64!!!! thanks for patches excellent! please push to portage asap :)))))
(In reply to comment #8) > > As for net-voip/wengophone-bin-2.1, it is virtually useless for me as I don't > > have sound with it. > > > Go to /opt/wengophone and delete the libasound file in there. After that, it > works for me. > Worked for me. Could be great if the ebuild was updated, no ?
(In reply to comment #28) > please push to portage asap :))))) Someone would be needed to maintain wengophone or proxy-maintain it for me. genstef was the previous maintainer, I'll try to contact him on IRC. Updated ebuild to incorporate Roberto Castagnola's patches from attachment 127174 [details] will follow shortly.
Created attachment 128394 [details] ebuild working with previous patches Quick but working ebuild. It applys newerffmpeg patches.
Created attachment 128702 [details] wengophone-2.1.1.ebuild add libsamplerate/libsndfile dependency as per comment 26 to the ebuild from attachment 128394 [details] with patches from attachment 127174 [details] thanks to pjv, Roberto Castagnola and magillos
Created attachment 128760 [details] wengophone-2.1.1-v4l2-patches.tar.bz2 patches for v4l2 support (eg. uvc webcams) taken from http://dev.openwengo.com/trac/openwengo/trac.fcgi/ticket/1470
Christopher, wonderful job, but i think the priority is having wengo in the portage. the first patches were really needed because of ffmpeg revision, but these new are adding new features that will be merged in next releases... i suggest to leave them out now...wengophone is quite unstable, at least on my amd64 profile..
Created attachment 128761 [details] wengophone-2.1.1.ebuild updated ebuild * add v4l2 USE-flag * simply depend on boost-1.34 instead of certain gcc versions
(In reply to comment #34) according to genstef on irc he wanted to wait until wengophone works with his macbook integrated webcam. these patches allow v4l2 devices to work and are only applied if the v4l2 USE-flag is set.
Builds fine on amd64 with boost-1.34, gcc-4.1 and USE=v4l2. Good job :)
Created attachment 128882 [details] wengophone-2.1.1.ebuild hello, If you wan't you could enable or desable the flag debug
This is now in the voip overlay. http://overlays.gentoo.org/proj/voip/browser/trunk/net-im/wengophone Inclusion into the portage tree is planned but stability issues need to be addressed first.
in the voip overlay i found the 2.1.2 ebuild. tried on amd64, compiled without any problem, solved all stability issues. please add to main portage asap, seems great!
(In reply to comment #40) > in the voip overlay i found the 2.1.2 ebuild. > > tried on amd64, compiled without any problem, solved all stability issues. Sorry to report that, but I still have issues with that version (also amd64). It compiled fine but crashes when connecting. Then on the other hand, it might be me and I dont want to defer things... maybe it even helps when they get bug reports on what _they_ mark stable. The ebuild seems fine enough. (I also tried 2.2-alpha, compiles fine, looks nice but it`s... well, alpha ;) I installed from the latest ebuild here, just change the deps.)
i don't know...works like a charm here... i even don't have anymore the problem with libosip (with 2.1.1 i had to uninstall, compile wengo, reinstall due to linking failures)
(In reply to comment #42) > i don't know...works like a charm here... Well, as I said, might be me. I`m sitting behind my landlords router which acts a bit strange at times, so that might be the source of my problems (though that should not cause wengophone to crash) but I dont have problems with ekiga. When noone else reports instable behavior, go ahead. Wont be too long anyway until 2.2 will be out.
(In reply to comment #43) Thanks for testing. Crashes in wengophone seem dependent on the system, either it runs stable or not at all. Some causes for instability are not yet identified. I have noticed that wengophone may choke on ~/.wengophone directories from previous versions, and sometimes the presence of a webcam can cause trouble.
just a bit OT: i notice that the -bin and the source one are in different categories (net-im and net-voip). they should go together i think...
mabe we should use the svn instead because the download is too slow
The auto-dependency on curl is wrong.. either you always use the internal one or always use the system provided one. speex should probably be in rdepend too, or is it statically linked?
(In reply to comment #47) > The auto-dependency on curl is wrong.. either you always use the internal one > or always use the system provided one. I think in this case, the automatic use of internal libraries is not problematic, because they will be installed into the wengophone directory. Please explain if you think that this is wrong. Wengophone's cmake script will use external libraries automatically if installed. If too old external libraries are used (eg. libosip-2*), this leads to undesired behaviour. On the other hand, it may be preferable to use newer external libraries, because eg. wengophone's internal curl is vulnerable to CVE-2007-3564 (bug 184934) I removed the speex dependency from the ebuild in the voip overlay, as wengophone comes with its internal copy as well.
in my opinion it's always better to use the system external library and no the embedded one. in case of security issues we bump, we save duplicate files...maybe ram if that lib is already loaded. maybe an use flag (ex. "internal-libraries") may leave the user free to use internal libs. Please bump libosip2 as well :)
Is there something wrong with the ebuild or CMakeFiles? I am testing 2.1.2-r1 and compilation reached more than [100%]. It is not critical, but is very weird to see: [101%] Compiling..... :) Other question would be, does this build support multiple jobs (as -j3) in making?
I finished compilation, and tried it, is it that inestable? or I am the only one? it just stands up for about 5 seconds :( In a console I can see things like "Aborted" when it exits.. :(
I can confirm both the >100% compile and the instabilities with the `Aborting` messages - takes a bit longer though to crash for me - try to remove the .wengophone directory before you launch the new executable.
for me same instability with 2.1.1 with 2.1.2 looooots of improvement. sometimes crashes on startup, but once started it's very stable for me. try 2.1.2 (overlay)
Could someone move the package inside the overlay to net-voip? If you installed net-im/wengophone from the overlay an do emerge --sync you get "updated" to net-voip/wengophone-bin which is really stupid.
Created attachment 137427 [details] wengophone-2.1.99.2.ebuild WengoPhone 2.2 alpha2 ebuild for building wengophone from sources. http://dev.openwengo.com/trac/openwengo/trac.cgi/
the 2.2.1 version in the overlay works great, can't we push to main portage?
the wengophone-2.1-qt-4.3.diff does not apply to 2.1.2 nor to 2.1.99.2: * Failed Patch: wengophone-2.1-qt-4.3.diff ! * ( /usr/portage/local/layman/voip/net-voip/wengophone/files/wengophone-2.1-qt-4.3.diff ) ***** wengophone-2.1-qt-4.3.diff ***** ====================================== PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch < /usr/portage/local/layman/voip/net-voip/wengophone/files/wengophone-2.1-qt-4.3.diff ====================================== can't find file to patch at input line 5 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: /wengophone-ng/branches/wengophone-2.2/wengophone/src/presentation/qt/QtWengoStyle.h |=================================================================== |--- /wengophone-ng/branches/wengophone-2.2/wengophone/src/presentation/qt/QtWengoStyle.h (revision 12904) |+++ /wengophone-ng/branches/wengophone-2.2/wengophone/src/presentation/qt/QtWengoStyle.h (revision 13153) -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored ======================================
The patch in the overlay should be fixed now. As the next release of WengoPhone will be under a new name (Qutecom), possibly this bug will be closed and another one be opened soon. Hopefully I will be able to convince the voip devs to accept Qutecom into portage then.
Created attachment 146532 [details, diff] newly created patch file this one fixes the problem (for me)
I also stumbled across the "cmake over 100% error": [103%] Building CXX object wengophone/src/presentation/qt/CMakeFiles/qtwengophone.dir/qrc_wengophone.o with wengophone-2.1.2 i get a binary /usr/bin/qtwengophone . with wengophone-2.1.99.2 i get a binary /usr/bin/wengophone which cannot find a library wengophone installed: ra@eris ~ $ /usr/bin/wengophone /usr/bin/wengophone: error while loading shared libraries: libowbase.so: cannot open shared object file: No such file or directory adding a file to /etc/env.d and running env-update does the trick. # cat /etc/env.d/90wengo LDPATH="/usr/lib/wengophone:" anyway.. i cannot login with this version..
WengoPhone has been discontinued by Wengo. A fork is being developed by volunteers under the name of QuteCom. See bug 237941 for progress with the QuteCom package.