With the new ekiga 3.00 release there is a new opal release (3.4.1). This updated ebuild is needed for ekiga 3.00.
Created attachment 166433 [details, diff] Patch for opal-2.2.11.ebuild to opal-3.4.1.ebuild Here is a patch for opal-3.4.1 ebuild based on the last opal ebuild in portage (2.2.11). This ebuild need a patch that will be updated just after. About the modifications : - changing description (alternative one commented) - license fixed - using system speex instead of local speex - installing doc with USE=doc - cleaning all garbage - adding java and zrtp Important : if someone can test java and zrtp, it should be great :)
Created attachment 166435 [details, diff] Patch to avoid QA issue The patch needed for opal-3.4.1 ebuild to avoid a QA issue.
Created attachment 166436 [details] opal-3.4.1 ebuild The full text opal-3.4.1 ebuild to simplify installation for people who don't want to use the patch ;)
works fine for me on amd64. If you tell me what tests you need for "java and zrtp" I can give it a shot.
Just told me if zrtp and java use flags don't break the emerging and if they are correctly recognize. You can see this by interrupting emerge when the compilation begin and check the configure script. Thanks :) (In reply to comment #4) > works fine for me on amd64. > > If you tell me what tests you need for "java and zrtp" I can give it a shot. >
*** This bug has been marked as a duplicate of bug 238554 ***
(In reply to comment #6) > > *** This bug has been marked as a duplicate of bug 238554 *** > In my opinion, it's not a duplicate of ekiga's bug.
An oversight.
Thank you for the ekiga ebuilds. It looks like it is working. However, the opal ebuild depends on libzrtpcpp, which in turn depends on commoncpp2. During the build of commoncpp2, I received error: nat.cpp:167: error: 'SO_ORIGINAL_DST' was not declared in this scope I have linux-headers 2.6.26 installed. I found http://bugs.gentoo.org/show_bug.cgi?id=236177 which addressed the problem. I manually made the change to /usr/include/linux/netfilter.h and that fixed my problem.
(In reply to comment #5) > Just told me if zrtp and java use flags don't break the emerging and if they > are correctly recognize. You can see this by interrupting emerge when the > compilation begin and check the configure script. opal-3.4.1 emerges fine with these flags (including the commoncpp2 dependency). But I'm not sure if the zrtp flag is recognised properly. from the output: configure: running /bin/sh ./configure '--prefix=/usr' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--enable-plugins' '--disable-localspeex' '--disable-debug' '--enable-java' '--enable-zrtp' '--libdir=/usr/lib64' '--build=x86_64-pc-linux-gnu' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CXXFLAGS=-O2 -pipe -fomit-frame-pointer -march=nocona' 'LDFLAGS=-Wl,-O1' 'CFLAGS=-O2 -pipe -fomit-frame-pointer -march=nocona' --cache-file=/dev/null --srcdir=. ... checking for zrtp library includes in /usr/local/include/zrtp... checking libzrtp... no checking ZRTP protocol support... no The java flag seems fine, I get lots of java warnings during compilation ;)
Created attachment 166733 [details, diff] Patch for opal-2.2.11.ebuild to opal-3.4.1.ebuild The issue was quite obvious : the lib was not checked in /usr but in /usr/local. But when I tested the fix I realized libzrpt in portage is not libzrtp required by ekiga. Actually, in portage, it is net-libs/libzrtpcpp that is, in fact, the GNU implementation of zrtp protocol. Ekiga is checking for this libzrtp : http://zfoneproject.com/prod_sdk.html that is not really the same. As it is not in portage and not vital for opal, I removed the use flag and hard-disable the option. (here is the fixed patch)
Created attachment 166735 [details] Full text net-libs/opal-3.4.1 Fixed full text ebuild. And thank you for your reports :)
Created attachment 167339 [details] EAPI 2 ebuild Updated the ebuild to use EAPI=2.
Created attachment 167830 [details, diff] Patch for opal-2.2.11.ebuild to opal-3.4.1.ebuild Cleaning and comments.
Created attachment 167832 [details] Full text net-libs/opal-3.4.1 Cleaning and comments.
Created attachment 167836 [details, diff] opal-3.4.1 ebuild with EAPI 2 A patch to perform on opal-3.4.1.ebuild to get an EAPI 2 compatible ebuild.
The problem near #if OPAL_PTLIB_VIDEO ... /var/tmp/portage/net-libs/opal-3.4.1/work/opal-3.4.1/src/opal/manager.cxx: In constructor 'OpalManager::OpalManager()': /var/tmp/portage/net-libs/opal-3.4.1/work/opal-3.4.1/src/opal/manager.cxx:173: error: 'PVideoInputDevice' has not been declared /var/tmp/portage/net-libs/opal-3.4.1/work/opal-3.4.1/src/opal/manager.cxx:178: error: 'videoInputDevice' was not declared in this scope /var/tmp/portage/net-libs/opal-3.4.1/work/opal-3.4.1/src/opal/manager.cxx:181: error: 'autoStartTransmitVideo' was not declared in this scope /var/tmp/portage/net-libs/opal-3.4.1/work/opal-3.4.1/src/opal/manager.cxx:181: error: 'videoInputDevice' was not declared in this scope /var/tmp/portage/net-libs/opal-3.4.1/work/opal-3.4.1/src/opal/manager.cxx:183: error: 'PVideoOutputDevice' has not been declared /var/tmp/portage/net-libs/opal-3.4.1/work/opal-3.4.1/src/opal/manager.cxx:187: error: 'videoOutputDevice' was not declared in this scope /var/tmp/portage/net-libs/opal-3.4.1/work/opal-3.4.1/src/opal/manager.cxx:190: error: 'autoStartReceiveVideo' was not declared in this scope /var/tmp/portage/net-libs/opal-3.4.1/work/opal-3.4.1/src/opal/manager.cxx:190: error: 'videoOutputDevice' was not declared in this scope /var/tmp/portage/net-libs/opal-3.4.1/work/opal-3.4.1/src/opal/manager.cxx:193: error: 'videoPreviewDevice' was not declared in this scope make[1]: *** [/var/tmp/portage/net-libs/opal-3.4.1/work/opal-3.4.1/lib_linux_x86_64/obj/manager.o] Error 1 # emerge --info WARNING: repository at /usr/local/portage is missing a repo_name entry * Overlay eclasses override eclasses from PORTDIR: * * '/usr/local/portage/layman/kde-testing/eclass/kde4-base.eclass' * '/usr/local/portage/layman/kde-testing/eclass/kde4-functions.eclass' * '/usr/local/portage/layman/kde-testing/eclass/kde4-meta.eclass' * * It is best to avoid overriding eclasses from PORTDIR because it will * trigger invalidation of cached ebuild metadata that is distributed with * the portage tree. If you must override eclasses from PORTDIR then you * are advised to add FEATURES="metadata-transfer" to /etc/make.conf and to * run `emerge --regen` after each time that you run `emerge --sync`. Set * PORTAGE_ECLASS_WARNING_ENABLE="0" in /etc/make.conf if you would like to * disable this warning. Portage 2.2_rc12 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo x86_64) ================================================================= System uname: Linux-2.6.27-gentoo-x86_64-Intel-R-_Pentium-R-_Dual_CPU_E2180_@_2.00GHz-with-glibc2.2.5 Timestamp of tree: Fri, 17 Oct 2008 12:34:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.5.2-r8 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.2 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.3.0-r1 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.26 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -pipe -march=native -mtune=native -ftree-vectorize" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /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/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O3 -pipe -march=native -mtune=native -ftree-vectorize" DISTDIR="/usr/portage/distfiles" FEATURES="candy ccache distlocks multilib-strict parallel-fetch prelink preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" LANG="ru_RU.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed" LINGUAS="ru en" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" 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" PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/layman/java-overlay /usr/local/portage/layman/kde-testing /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac acl acpi alsa amd64 amr amrnb amrwb bash-completion berkdb bluetooth branding bzip2 cairo cdr chm cli cpudetection cracklib crypt cups daap dbus dirac djvu dri dts dv dvd dvdr dvdread emboss encode fam floppy fortran ftp gdbm gif git gpm gtk hal iconv imagemagick isdnlog java jpeg kde libffi libnotify live lzma lzo mad midi mikmod mmx mmxext mp2 mp3 mp3tunes mp4 mpeg mplayer mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection rtc samba sdl session smp speex spell spl srt sse sse2 sse3 ssl ssse3 startup-notification subversion svg sysfs tcpd threads tiff truetype unicode usb vim vim-syntax visualization vorbis x264 x86emu xattr xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="i810 intel" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 169270 [details] net-libs/opal-3.4.1/temp/build.log
version bump (opal 3.4.2) released 10/17/2008.
Created attachment 169364 [details] updated Mounir Lamouri's ebuild for 3.4.2 changed HOMEPAGE, SRC_URI, moved patch to opal-lpcini.patch
is voip still interested in maintaining this package?
Created attachment 169828 [details] Ebuild for opal-3.4.2 Updated ebuild. I found opal needs ptlib >= 2.0.0 and last ebuild was requesting ~ptlib-2.4.1. I also add an entry into the opal tracker about the QA issue and propose my patch.
Created attachment 169852 [details] Ebuild for opal-3.4.2 Opal doesn't compile with --as-needed LDFLAG. Here is an ebuild that filter this flag. Aleksandr, try this ebuild. It should fix your compilation issue.
Comment on attachment 169364 [details] updated Mounir Lamouri's ebuild for 3.4.2 obsoleted by Mounir Lamouri's updated ebuild
(In reply to comment #23) > Created an attachment (id=169852) [edit] > Ebuild for opal-3.4.2 > > Opal doesn't compile with --as-needed LDFLAG. > Here is an ebuild that filter this flag. > > Aleksandr, try this ebuild. It should fix your compilation issue. > Now it works.
Created attachment 170003 [details] Ebuild for opal-3.4.2 Using documentation tarball.
For information, opal-lpcini.patch has been approved by upstream. It has been integrated into the trunk and should probably be added in the next release.
This ebuild failed to strip my LDFLAGS. LDFLAGS="-Wl,-O1,--as-needed"
Created attachment 174510 [details] Ebuild for opal-3.4.2 I was filtering --as-needed. That was the wrong way to avoid --as-needed issue. Now, --no-as-needed is added.
(In reply to comment #28) > This ebuild failed to strip my LDFLAGS. > > LDFLAGS="-Wl,-O1,--as-needed" > New ebuild should work.
RESTRICT="mirror" was needed, but otherwise the ebuild worked well
Created attachment 177430 [details] Ebuild for opal-3.4.2 This ebuild is using EAPI=2 while EAPI 2 is now available for stable systems. By the way, according to Gentoo Dev Guide RESTRICT=mirror is for when it is "legally" not possible to get the tarball from a mirror. Using primaryuri would try the primary uri first but while it is not in portage, I don't think it's relevant to change that (it can't be in a gentoo distfiles mirror...)
Created attachment 178453 [details] Ebuild for opal-3.4.2 Adding a wav USE flag that force ptlib[-minimal] to make sure wav is enabled when needed.
Created attachment 178659 [details] Ebuild for opal-3.4.4 New version of opal (3.4.4). No major changes.
Created attachment 178961 [details] Ebuild for opal-3.4.4 New ebuild fully using eapi 2.
Created attachment 179127 [details] Ebuild for opal-3.4.4 Add pkgconfig dependency and cleaning.
Created attachment 179129 [details] Ebuild for opal-3.5.2 Ebuild for opal 3.5.2. "In development" version of opal. Needed by the beta version of ekiga.
building 3.5.2 fails with the current ffmpeg version in the h263-1998 plugin. with the two erroneous lines commented out it compiles (haven't actually tested h.263 yet; ekiga's echo test is practically useless since it only supports the beyond-obsolete historical footnote of a codec known as h.261...) I just looked at the h323-1998.cxx file in opal svn, it has an #ifdef that disables those lines.
Created attachment 180557 [details, diff] opal-ffmpeg.patch fixes bug from previous comment. until 3.5.3 is released
Created attachment 180640 [details] Ebuild for opal-3.5.2 Updated ebuild using opal-ffmpeg.patch Thanks for your patch Frederico
Discovered in context of BUG #238554#c80 : emerge: there are no ebuilds built with USE flags to satisfy "dev-libs/ptlib[asn]". !!! One of the following packages is required to complete your request: - dev-libs/ptlib-2.5.2 (Missing IUSE: asn) - dev-libs/ptlib-2.4.4 (Missing IUSE: asn) (dependency required by "net-libs/opal-3.5.2" [ebuild]) (dependency required by "net-im/ekiga-3.1.0" [ebuild]) This trouble is caused by the following conditional dependency: # grep asn * net-libs/opal/opal-3.5.2.ebuild: fax? ( dev-libs/ptlib[asn] ) BUT: There is none such "asn" USE flag at all; only the following are defined: grep -R USE * | grep ptlib dev-libs/ptlib/ptlib-2.4.4.ebuild:IUSE="alsa bsdvideo debug doc esd ieee1394 ipv6 ldap -minimal -noaudio -novideo oss sasl sdl ssl sunaudio v4l v4l2 xml" dev-libs/ptlib/ptlib-2.5.2.ebuild:IUSE="alsa bsdvideo debug doc esd ieee1394 ipv6 ldap -minimal -noaudio -novideo oss sasl sdl ssl sunaudio v4l v4l2 xml"
(In reply to comment #41) > Discovered in context of BUG #238554#c80 : > > emerge: there are no ebuilds built with USE flags to satisfy > "dev-libs/ptlib[asn]". > > !!! One of the following packages is required to complete your request: > - dev-libs/ptlib-2.5.2 (Missing IUSE: asn) > - dev-libs/ptlib-2.4.4 (Missing IUSE: asn) > (dependency required by "net-libs/opal-3.5.2" [ebuild]) > (dependency required by "net-im/ekiga-3.1.0" [ebuild]) > > > This trouble is caused by the following conditional dependency: > # grep asn * > net-libs/opal/opal-3.5.2.ebuild: fax? ( dev-libs/ptlib[asn] ) > > BUT: > There is none such "asn" USE flag at all; > only the following are defined: > > grep -R USE * | grep ptlib > > dev-libs/ptlib/ptlib-2.4.4.ebuild:IUSE="alsa bsdvideo debug doc esd ieee1394 > ipv6 ldap -minimal -noaudio -novideo oss sasl sdl ssl sunaudio v4l v4l2 xml" > > dev-libs/ptlib/ptlib-2.5.2.ebuild:IUSE="alsa bsdvideo debug doc esd ieee1394 > ipv6 ldap -minimal -noaudio -novideo oss sasl sdl ssl sunaudio v4l v4l2 xml" > I've updated ptlib ebuilds in bug #238617
When trying to compile 3.5.2 I get this error: ... checking for PTLIB... yes Version: 2.4.4 CFLAGS: -DPTRACING=1 -D_REENTRANT -D_GNU_SOURCE=1 -fno-exceptions -I/usr/include/SDL CXXFLAGS: -felide-constructors -Wreorder DEBUG: -lpt_d -lsasl2 -lssl -lcrypto -lexpat -lSDL -lpthread -lresolv -ldl RELEASE: -lpt -lsasl2 -lssl -lcrypto -lexpat -lSDL -lpthread -lresolv -ldl checking ptlib version... 2.4.4 configure: error: Could not find a linkable ptlib in specified environment to verify symbols (debug ptlib: no)
(In reply to comment #43) > When trying to compile 3.5.2 I get this error: > > ... > > checking for PTLIB... yes > Version: 2.4.4 > CFLAGS: -DPTRACING=1 -D_REENTRANT -D_GNU_SOURCE=1 -fno-exceptions > -I/usr/include/SDL > CXXFLAGS: -felide-constructors -Wreorder > DEBUG: -lpt_d -lsasl2 -lssl -lcrypto -lexpat -lSDL -lpthread -lresolv -ldl > RELEASE: -lpt -lsasl2 -lssl -lcrypto -lexpat -lSDL -lpthread -lresolv -ldl > checking ptlib version... 2.4.4 > configure: error: Could not find a linkable ptlib in specified environment to > verify symbols (debug ptlib: no) > Can you try with ptlib-2.5.2 (instead of 2.4.4) ?
Tried. Same issue.
emerge --info Portage 2.2_rc23 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.28-tuxonice-r3 i686) ================================================================= System uname: Linux-2.6.28-tuxonice-r3-i686-Intel-R-_Pentium-R-_M_processor_1.86GHz-with-glibc2.0 Timestamp of tree: Fri, 27 Feb 2009 21:45:01 +0000 distcc 3.0 i686-pc-linux-gnu [disabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7-r1, 2.1.6-r1 dev-lang/python: 2.5.2-r7 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.4.8 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 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.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -pipe" 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/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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 /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium-m -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.linux.ee/pub/gentoo/distfiles/ http://trumpetti.atm.tut.fi/gentoo/ http://mirror.mdfnet.se/mirror/gentoo" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en en_US en_GB ru" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" 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" PORTDIR_OVERLAY="/usr/portage/local/layman/x11 /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="7zip X a52 aac aalib acl acpi alsa aspell audiofile bash-completion beagle bluetooth branding bzip2 cairo cdr cli cracklib crypt css cups cvs dbus dirac divx dri dts dv dvd dvdr dvdread emboss encode exif fam ffmpeg firefox flac fortran fuse gdbm gif gnome gnome-keyring gpm gstreamer gtk hal iconv imagemagick isdnlog java jpeg latex lcms ldap libcaca libnotify live lzo mad matroska midi mikmod mmx mng mono moonlight mp2 mp3 mpeg mudflap musepack musicbrainz nautilus ncurses networkmanager nls nptl nptlonly nsplugin ogg openal opengl openmp pam pcmcia pcre pdf perl png portaudio ppds pppd python qt3support quicktime rar raw readline reflection samba sasl schroedinger sdl session speex spell spl sse sse2 ssl startup-notification subversion svg sysfs tcpd theora tiff timidity truetype unicode usb v4l2 vcd vorbis wifi win32codecs wmf x86 xcomposite xine xinerama xml xorg xpm xrandr xscreensaver xulrunner xv xvid xvmc zip zlib" ALSA_CARDS="intel8x0" 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 synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US en_GB ru" NETBEANS_MODULES="php profiler java groovy gsf ide j2ee websvccommon nb harness" USERLAND="GNU" VIDEO_CARDS="intel i810" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Workaround by using opal-3.4.4 with ptlib-2.4.4 ebuild with an added --enable-opal build option.
I've added opal-3.4* (3.4.5 atm) in the voip overlay. Please, use the voip overlay ebuilds instead of ebuilds from this bug. I will try to keep this bug up to date but surely, the voip overlay ebuilds will be better. opal from the voip overlay will probably don't work with ptlib and ekiga from bugzilla (but from the voip overlay).
Created attachment 185428 [details] Ebuild for opal-3.4.5 It's much more for "advancement information" than for use. (prefer the voip overlay)
Created attachment 185429 [details] Patch needed by opal-3.4.5 (at least)
(In reply to comment #47) > Workaround by using opal-3.4.4 with ptlib-2.4.4 ebuild with an added > --enable-opal build option. > Please try the ebuilds from the voip overlay and let me know if the default options have fixed your issue.
I tryed opal 3.4.5 (for the first time), and I encountered this compilation error : --------- /var/tmp/portage/net-libs/opal-3.4.5/work/opal-3.4.5/src/opal/connection.cxx: In member function ‘virtual PString OpalConnection::GetLocalPartyURL() const’: /var/tmp/portage/net-libs/opal-3.4.5/work/opal-3.4.5/src/opal/connection.cxx:1015: erreur: ‘PURL’ has not been declared /var/tmp/portage/net-libs/opal-3.4.5/work/opal-3.4.5/src/opal/connection.cxx:1015: erreur: ‘PURL’ has not been declared make: *** [/var/tmp/portage/net-libs/opal-3.4.5/work/opal-3.4.5/lib_linux_x86_64/obj/connection.o] Erreur 1 -------- Use flags : audio ffmpeg h323 plugins sip theora video x264 wav -debug -ldap -ssl -xml -ipv6 full log attached below.
Created attachment 185514 [details] build.log when GetLocalPartyURL fails
(In reply to comment #52) > I tryed opal 3.4.5 (for the first time), and I encountered this compilation > error : > --------- > /var/tmp/portage/net-libs/opal-3.4.5/work/opal-3.4.5/src/opal/connection.cxx: > In member function ‘virtual PString OpalConnection::GetLocalPartyURL() > const’: > /var/tmp/portage/net-libs/opal-3.4.5/work/opal-3.4.5/src/opal/connection.cxx:1015: > erreur: ‘PURL’ has not been declared > /var/tmp/portage/net-libs/opal-3.4.5/work/opal-3.4.5/src/opal/connection.cxx:1015: > erreur: ‘PURL’ has not been declared > make: *** > [/var/tmp/portage/net-libs/opal-3.4.5/work/opal-3.4.5/lib_linux_x86_64/obj/connection.o] > Erreur 1 > -------- > Use flags : > audio ffmpeg h323 plugins sip theora video x264 wav -debug -ldap -ssl -xml > -ipv6 > full log attached below. > Looking to the error log I think it's probably because you have removed url use flags from net-libs/ptlib. Did you ? If you did or not, please, copy here your ptlib use flags.
You're right, adding 'url' to the ptlib useflag make the compilation continuing further (so I guess 'url' should be mandatory to ptlib when in some opal building cases). ********* opal compilation now fails with : -------------- make[2]: entrant dans le répertoire « /var/tmp/portage/net-libs/opal-3.4.5/work/opal-3.4.5/plugins/video/MPEG4-ffmpeg » x86_64-pc-linux-gnu-g++ -I../../../include -I../common -I../../ -I/usr/include -I/usr/include/libavutil -fPIC -Os -O2 -march=athlon64 -pipe -msse3 -fomit-frame-pointer -c mpeg4.cxx -o obj/mpeg4.o x86_64-pc-linux-gnu-g++ -I../../../include -I../common -I../../ -I/usr/include -I/usr/include/libavutil -fPIC -Os -O2 -march=athlon64 -pipe -msse3 -fomit-frame-pointer -c ../common/dyna.cxx -o obj/dyna.o x86_64-pc-linux-gnu-g++ -I../../../include -I../common -I../../ -I/usr/include -I/usr/include/libavutil -fPIC -Os -O2 -march=athlon64 -pipe -msse3 -fomit-frame-pointer -c ../common/trace.cxx -o obj/trace.o mpeg4.cxx:100:36: erreur: libavutil/intreadwrite.h : No such file or directory ---------- Will try to build it without ffmpeg for now. (I've compiled ptlib with only : alsa audio sdl url video wav)
(In reply to comment #55) I deep into this problem (I'm surprised to be alone to encounter this bug). Building opal with ffmpeg use flag make use of MPEG4-ffmpeg/mpeg4.css, but we can see (even in the svn version of opal) : // Private headers from the ffmpeg source tree. #include <libavutil/intreadwrite.h> #include <libavutil/bswap.h> #include <libavcodec/mpegvideo.h> But these headers are private and so NOT part of the ffmpeg public headers. In the svn of ffmpeg (and gentoo builds also), the Makefile do NOT include ANY of these 3. I tryed with both ffmpeg 0.4.9_p20090201 and ~0.5-r1 built with : 3dnow X aac alsa encode ipv6 mmx mmxext mp3 network sdl speex theora threads vorbis x264 xvid zlib -altivec -amr -bindist -debug -dirac -doc -gsm -hardcoded-tables -ieee1394 -oss -schroedinger -ssse3 -test -v4l -v4l2 -vhook
Created attachment 186939 [details] Ebuild for opal-3.6.1 Version bump to 3.6.1. To be used with ptlib-2.6.1 and ekiga-3.2.0. This ebuild is fixing every issues reported in this bug, wich mean: - compilation breaks when ptlib is not compiled with url flag enabled (comment 52). Now, ptlib _has_ to be compiled with url flag. - mpeg4 plugin was breaking the build (comment 55). This was a stupid misunderstanding of something (mpeg4 needed private ffmpeg sources but was checking for public headers)
opal-3.6.1 with : (audio ffmpeg h323 plugins sip stats theora video wav x264 -capi -debug -dns -doc -dtmf -examples -fax -g711plc -h224 -iax -ipv6 -ivr -ixj -java -ldap -lid -rfc4103 -rfc4175 -sbc -sipim -srtp -ssl -swig -vpb -vxml -x264-static -xml) Will NOT compile IF ptlib is not compiled with the pipechan useflag. (Don't know if it's due to one my 10 useflags or intrinsic to the opal build process). Notice the error message which is not quite clear (talking about ptlib debug feature) config.log attached
Created attachment 186977 [details] opal-3.6.1 config failure if ptlib-2.6.1 -pipechan
(In reply to comment #58) > Will NOT compile IF ptlib is not compiled with the pipechan useflag. > (Don't know if it's due to one my 10 useflags or intrinsic to the opal build > process). > Notice the error message which is not quite clear (talking about ptlib debug > feature) > config.log attached > Fixed. layman -S or the last ebuild in ptlib bug (bug 238617) should help you.
opal-3.6.2 is now in the official tree. If your arch is not supported, please look at bug 276355.