Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118645 - Compiling openh323 failes after upgrading ffmpeg to version 0.4.9_p20051216
Summary: Compiling openh323 failes after upgrading ffmpeg to version 0.4.9_p20051216
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stefan Knoblich (RETIRED)
URL:
Whiteboard:
Keywords:
: 119746 138040 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-01-11 04:33 UTC by Andre Hinrichs
Modified: 2006-09-14 01:40 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andre Hinrichs 2006-01-11 04:33:01 UTC
I just tested it by compiling with ffmeg-0.4.9_p20050226-r5 which is fine.
So the new ffmpeg should be marked unstable again or a fix for openh323 is needed.
I tested nearly all of the openh323 packages and all failed.

Here is the error message:

g++ -DP_USE_PRAGMA  -ffunction-sections -fdata-sections -D_REENTRANT  -Wall  -fPIC -I/var/tmp/portage/openh323-1.13.2-r2/work/openh323/include  -I/usr/include/ffmpeg -DPASN_NOPRINTON -DPASN_LEANANDMEAN -DHAS_OSS -DPASN_NOPRINTON -I/usr/share/pwlib/include -Os -DNDEBUG -O3 -march=pentium3 -mfpmath=sse -mmmx -msse -maccumulate-outgoing-args -fomit-frame-pointer -pipe -fPIC -x c++ -c ffh263codec.cxx -o /var/tmp/portage/openh323-1.13.2-r2/work/openh323/lib/obj_linux_x86_rn/ffh263codec.o
In file included from /usr/share/pwlib/include/ptlib/contain.h:782,
                 from /usr/share/pwlib/include/ptlib.h:146,
                 from ffh263codec.cxx:126:
/usr/share/pwlib/include/ptlib/contain.inl: In constructor `PAbstractList::PAbstractList()':
/usr/share/pwlib/include/ptlib/contain.inl:428: warning: right-hand operand of comma has no effect
ffh263codec.cxx: In function `void h263_ffmpeg_printon(char*)':
ffh263codec.cxx:156: warning: statement has no effect
ffh263codec.cxx: In member function `void H323_FFH263Codec::InitialiseCodec()':
ffh263codec.cxx:629: error: 'struct AVCodecContext' has no member named 'frame_rate'
make[1]: *** [/var/tmp/portage/openh323-1.13.2-r2/work/openh323/lib/obj_linux_x86_rn/ffh263codec.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/openh323-1.13.2-r2/work/openh323/src'
make: *** [opt] Error 2

!!! ERROR: net-libs/openh323-1.13.2-r2 failed.
!!! Function src_compile, Line 90, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.


And here is my 'emerge --info':

Portage 2.0.53 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15 i686)
=================================================================
System uname: 2.6.15 i686 Intel(R) Pentium(R) M processor 1.86GHz
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium3 -mfpmath=sse -mmmx -msse -maccumulate-outgoing-args -fomit-frame-pointer -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 /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/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -mfpmath=sse -mmmx -msse -maccumulate-outgoing-args -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/"
LINGUAS="de en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X X509 a52 aac accessibility acl alsa apache2 arts artswrappersuid audiofile avi berkdb big-tables bitmap-fonts browserplugin bzip2 cdparanoia cdr chroot cpudetection crypt cups curl dts dv dvd dvdread eds emacs emboss encode examples exif expat fam fame ffmpeg flac flash font-server foomaticdb fortran gd gdbm geoip gif gimp glut gmp gnutls gpm gs gstreamer gtk gtk2 guile hpn idn ieee1394 imagemagick imap imlib jack java javascript jbig jpeg junit kde kdeenablefinal latex lcms ldap leim libg++ libwww live lua lzo mad mailwrapper matroska mhash mikmod ming mjpeg mmx mng motif mozdevelop mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg mysql ncurses network nls nsplugin objc ogg oggvorbis openal openexr opengl pam pcmcia pcre pdflib perl php png portaudio povray ppds profile python qt quicktime readline real recode rle rtc ruby samba sasl scanner sdl sftplogging slp sndfile spell sse ssl subversion svg svga tcltk tcpd tetex theora threads tidy tiff truetype truetype-fonts type1-fonts udev unicode usb utf8 v4l2 vorbis win32codecs wmf xanim xml xml2 xmms xv xvid yv12 zlib linguas_de linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Scott Price 2006-01-17 18:33:45 UTC
I am also getting this on my laptop (x86).  I am trying it on my workstation (dual AMD64) and will see if I get the same error.

I am backing up the version on my laptop to see if that fixes the problem.

Scott  =)
Comment 2 Scott Price 2006-01-18 06:54:36 UTC
Try using the unstable packages.

net-im/gnomemeeting ~amd64
net-libs/openh323 ~amd64
dev-libs/pwlib ~amd64

Those compile on both amd64 and x86.

Scott  =)
Comment 3 Andre Hinrichs 2006-01-18 08:22:58 UTC
Scott, you're right. The latest versions of these packages compile fine.
I'm pretty sure, I've tried the latest version of openh323 but without installing
latest of pwlib... maybe that's the mistake.
Will try some combinations of these packages this evening...
Comment 4 Andre Hinrichs 2006-01-18 11:51:40 UTC
I've written a small script checking all combinations of pwlib/openh323
openh323 is only compiled, if pwlib compiles fine, which is always except
version 1.5.2-r3. One of the combinations below should be marked stable.
Next I will do a test for all these combinations with all gnomemeeting versions.

Here is the complete output of the test:

Compiling pwlib-1.5.0... OK
Compiling openh323-1.12.0-r1... failed
Compiling openh323-1.12.2-r2... failed
Compiling openh323-1.13.2-r2... failed
Compiling openh323-1.13.5-r1... failed
Compiling openh323-1.15.2-r1... failed
Compiling openh323-1.15.3... failed
Compiling openh323-1.15.6... failed
Compiling pwlib-1.5.0-r1... OK
Compiling openh323-1.12.0-r1... failed
Compiling openh323-1.12.2-r2... failed
Compiling openh323-1.13.2-r2... failed
Compiling openh323-1.13.5-r1... failed
Compiling openh323-1.15.2-r1... failed
Compiling openh323-1.15.3... failed
Compiling openh323-1.15.6... failed
Compiling pwlib-1.5.2-r3... failed
Compiling pwlib-1.6.3-r3... OK
Compiling openh323-1.12.0-r1... failed
Compiling openh323-1.12.2-r2... failed
Compiling openh323-1.13.2-r2... failed
Compiling openh323-1.13.5-r1... failed
Compiling openh323-1.15.2-r1... failed
Compiling openh323-1.15.3... failed
Compiling openh323-1.15.6... failed
Compiling pwlib-1.6.6-r2... OK
Compiling openh323-1.12.0-r1... failed
Compiling openh323-1.12.2-r2... failed
Compiling openh323-1.13.2-r2... failed
Compiling openh323-1.13.5-r1... failed
Compiling openh323-1.15.2-r1... failed
Compiling openh323-1.15.3... failed
Compiling openh323-1.15.6... failed
Compiling pwlib-1.8.3-r1... OK
Compiling openh323-1.12.0-r1... failed
Compiling openh323-1.12.2-r2... failed
Compiling openh323-1.13.2-r2... failed
Compiling openh323-1.13.5-r1... failed
Compiling openh323-1.15.2-r1... OK
Compiling openh323-1.15.3... failed
Compiling openh323-1.15.6... failed
Compiling pwlib-1.8.4... OK
Compiling openh323-1.12.0-r1... failed
Compiling openh323-1.12.2-r2... failed
Compiling openh323-1.13.2-r2... failed
Compiling openh323-1.13.5-r1... failed
Compiling openh323-1.15.2-r1... OK
Compiling openh323-1.15.3... OK
Compiling openh323-1.15.6... OK
Compiling pwlib-1.8.7... OK
Compiling openh323-1.12.0-r1... failed
Compiling openh323-1.12.2-r2... failed
Compiling openh323-1.13.2-r2... failed
Compiling openh323-1.13.5-r1... failed
Compiling openh323-1.15.2-r1... OK
Compiling openh323-1.15.3... OK
Compiling openh323-1.15.6... OK
Comment 5 Andre Hinrichs 2006-01-18 14:54:57 UTC
Done, gnomemeeting compiles only in two combinations:

gnomemeeting-1.2.1 only with pwlib-1.8.4 and openh323-1.15.3
gnomemeeting-1.2.2 only with pwlib-1.8.7 and openh323-1.15.6

I haven't done any functionality tests yet...

Is there a need to test with different ffmpeg versions, too?
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-01-20 16:21:53 UTC
*** Bug 119746 has been marked as a duplicate of this bug. ***
Comment 7 igch 2006-02-23 16:15:56 UTC
Same issue here on my x86 Athlon system:

g++ -DP_USE_PRAGMA  -ffunction-sections -fdata-sections -D_REENTRANT  -Wall  -fPIC -I/home/portage/tmp/portage/openh323-1.13.2-r2/work/openh323/include  -I/usr/include/ffmpeg -DPASN_NOPRINTON -DPASN_LEANANDMEAN -DHAS_OSS -DPASN_NOPRINTON -I/usr/share/pwlib/include -Os -DNDEBUG -march=athlon-xp -O2 -Os -pipe -fPIC -x c++ -c ffh263codec.cxx -o /home/portage/tmp/portage/openh323-1.13.2-r2/work/openh323/lib/obj_linux_x86_rn/ffh263codec.o
In file included from /usr/share/pwlib/include/ptlib/contain.h:782,
                 from /usr/share/pwlib/include/ptlib.h:146,
                 from ffh263codec.cxx:126:
/usr/share/pwlib/include/ptlib/contain.inl: In constructor `PAbstractList::PAbstractList()':
/usr/share/pwlib/include/ptlib/contain.inl:428: warning: right-hand operand of comma has no effect
ffh263codec.cxx: In function `void h263_ffmpeg_printon(char*)':
ffh263codec.cxx:156: warning: statement has no effect
ffh263codec.cxx: In member function `void H323_FFH263Codec::InitialiseCodec()':
ffh263codec.cxx:629: error: 'struct AVCodecContext' has no member named 'frame_rate'
make[1]: *** [/home/portage/tmp/portage/openh323-1.13.2-r2/work/openh323/lib/obj_linux_x86_rn/ffh263codec.o] Error 1
make[1]: Leaving directory `/home/portage/tmp/portage/openh323-1.13.2-r2/work/openh323/src'
make: *** [opt] Error 2


# emerge info
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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="-march=athlon-xp -O2 -Os -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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -Os -pipe"
DISTDIR="/home/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.llarian.net/"
LANG="en_US.UTF-8"
LINGUAS="en_US zh_TW"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/portage/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://192.168.0.2/gentoo-portage"
USE="x86 3dnow 3dnowext X acpi alsa audiofile avi berkdb bitmap-fonts bzip2 cdr cjk crypt cups dvd emboss encode expat fam ffmpeg foomaticdb fortran gdbm gif gstreamer gtk gtk2 hal idn imagemagick imlib immqt-bc ipv6 java jpeg kde kdeenablefinal kdexdeltas lcms ldap libg++ libwww mad mikmod mmx mmxext mng motif mp3 mpeg ncurses nls nptl ogg oggvorbis opengl pam pcre pdflib perl png python qt quicktime readline sdl spell sse ssl tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis xine xml2 xv zlib linguas_en_US linguas_zh_TW userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY


# for x in ^ffmpeg$ openh323 pwlib ; do eix $x ; done
[output mangled for brevity]

* media-video/ffmpeg
     Available versions:  0.4.9_p20050226-r3 0.4.9_p20050226-r5 ~0.4.9_p20050906 ~0.4.9_p20051120 0.4.9_p20051216
     Installed:           0.4.9_p20051216

* net-libs/openh323
     Available versions:  1.12.0-r1 1.12.2-r2 1.13.2-r2 ~1.13.5-r1 ~1.15.2-r1 ~1.15.3 ~1.15.6
     Installed:           none

* dev-libs/pwlib
     Available versions:  1.5.0 ~1.5.0-r1 1.5.2-r3 1.6.3-r3 ~1.6.6-r2 ~1.8.3-r1 ~1.8.4 ~1.8.7
     Installed:           1.6.3-r3


Will try installing GnomeMeeting 1.2.2 as described by Comment #5 while using media-video/ffmpeg-0.4.9_p20051216 and see what happens, though doing actual 
Comment 8 Colin Kiegel 2006-03-17 10:07:46 UTC
Same problem here. openh323 fails as in the initial post.


openh323-1.13.2-r2
pwlib-1.6.3-r3
ffmpeg-0.4.9_p20051216
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2006-06-26 06:22:33 UTC
*** Bug 138040 has been marked as a duplicate of this bug. ***
Comment 10 Dizzy 2006-08-25 05:31:49 UTC
Same problem here, with exactly the same pwlib/ffmpeg version as #9
Comment 11 Stefan Schweizer (RETIRED) gentoo-dev 2006-09-14 01:40:53 UTC
works with 1.18.0, thanks