Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14979 - openh323-1.11.2 failure
Summary: openh323-1.11.2 failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Nick Hadaway
URL: http://frgentoo.net/
Whiteboard:
Keywords:
: 18099 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-02-02 11:39 UTC by Baptiste SIMON
Modified: 2003-04-02 17:07 UTC (History)
5 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 Baptiste SIMON 2003-02-02 11:39:08 UTC
When I wanted to emerge net-im/gnomemeeting-0.96.0 the dependencies mades me
update pwlib and openh323

First pwlib failed... but unmerging it first resolved my problem.
Then, openh323's compilation has recursive failures even when I tuned everything
I imagine ! ;c)

My configuration is :
Gentoo 1.2
gcc 2.95.3
AMD Athlon XP1600+

# emerge info
Portage 2.0.46-r9 (default-1.0, gcc-2.95.3, glibc-2.2.5-r2,2.2.5-r7)
=================================================================
System uname: 2.4.20-lolo-r1 i686 AMD Athlon(tm) 4 processor
GENTOO_MIRRORS="http://www.ibiblio.org/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/opt/jakarta/tomcat/conf /usr/kde/3.1/share/config /usr/kde/3/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/portperso/"
USE="x86 oss 3dnow apm avi crypt encode jpeg kde libg++ mikmod mmx mpeg ncurses
pdflib qtmt quicktime truetype xml2 xmms xv arts berkdb bonobo cdr esd gdbm gif
gnome-libs gpm gtkhtml guile imlib java libwww motif mysql nls oggvorbis opengl
pam perl png python readline scanner sdl slang ssl svga tcltk tcpd tiff X -gimp
-cups -gtk -gnome snmp sse spell mozilla qt -ldap -moznoirc"
COMPILER=""
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=k6 -march=k6 -O3 -pipe -fomit-frame-pointer -z combreloc"
CXXFLAGS="-mcpu=k6 -march=k6 -O3 -pipe -fomit-frame-pointer -z combreloc"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS=""
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache buildpkg"

Then... I try emerge openh323 using the bug #14727's advise  [
http://bugs.gentoo.org/show_bug.cgi?id=14727 ]
--> USE="-ssl" emerge openh323

And all seems to be ok. :c/

I hope you'll find a better technic ;c)
Comment 1 Paul Slinski 2003-02-02 13:20:21 UTC
Bug 14775 http://bugs.gentoo.org/show_bug.cgi?id=14775 suggests that you remove the old version first. I did so and the package merged successfully.
Comment 2 Baptiste SIMON 2003-02-02 14:46:59 UTC
I explicitly said that I've done it for pwlib ("First pwlib failed... but unmerging it first resolved my problem.") and "I tuned everything
I imagine !" were here to say : "I also did unemerging before reemerging openh323". :c)
Comment 3 Sébastien Koechlin 2003-02-08 05:29:13 UTC
Same problem here

unmerged pwlib and openh323 does not solve the problem; 
each time something is using includes from pwlib, it comes to an infinite recursive include of headers files from pwlib.

It's working with USE="-ssl"

Portage 2.0.46-r12 (default-1.0, gcc-2.95.3, glibc-2.2.5-r2,2.2.5-r7)
=================================================================
System uname: 2.4.19-gentoo-r10 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss apm avi crypt cups encode jpeg libg++ libwww mikmod mmx mpeg ncurses pdflib qtmt quicktime spell truetype xml2 xmms xv arts berkdb gdbm gif gnome-libs gpm gtk guile imlib java kde ldap motif nls oggvorbis opengl pam png python qt readline sdl slang ssl tcpd X -3dnow aalib acpi alsa bonobo dga dvd esd evo gb gd ggz gnome gphoto2 gps gtk2 gtkhtml innodb ipv6 jikes junit lcms libgda mbox mozilla mysql nas nocardbus oav pda perl pic plotutils postgres samba scanner slp snmp sse -svga tcltk tiff wmf xface xml zlib"
COMPILER=""
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 4 FieldySnuts 2003-02-25 22:13:36 UTC
USE="-ssl $USE" emerge openh323  did it for me. Thanks for the suggestions.
Comment 5 Philippe Fremy 2003-03-22 16:05:10 UTC
openh323 does not emerge for me. It fails with a huge compile error. This is the first time I install gnomemeeting, so there was no previous pwlib or openh323 installation. Anyway, I tried to unmerge them and remerge, no better result.

Looks like there is some missing files: h225.h h245.h

werewindle ~ # emerge -u gnomemeeting
Calculating dependencies ...done!
>>> emerge (1 of 2) net-libs/openh323-1.11.2 to /
>>> md5 ;-) openh323_1.11.2.tar.gz
>>> Unpacking source...
>>> Unpacking openh323_1.11.2.tar.gz to /var/tmp/portage/openh323-1.11.2/work
>>> Source unpacked.
make -j3 P_SHAREDLIB=1 opt
make[1]: Entering directory `/var/tmp/portage/openh323-1.11.2/work/openh323'
set -e; make -j3 -C src opt; make -j3 -C samples/simple opt;
make[2]: Entering directory `/var/tmp/portage/openh323-1.11.2/work/openh323/src'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
/usr/share/pwlib/tools/asnparser/obj_linux_x86_r/asnparser --version | awk '{print $1,$2,$3}' > asnparser.version.new
g++ -Wall -DP_LINUX -mcpu=i686 -D_REENTRANT -DP_HAS_SEMAPHORES -fPIC -DP_USE_PRAGMA -DP_SSL -I/usr/include -I/usr/crypto -DP_EXPAT -DP_PTHREADS -DPHAS_TEMPLATES -DPBYTE_ORDER=PLITTLE_ENDIAN -I/usr/share/pwlib/include/ptlib/unix -DPTRACING -I/var/tmp/portage/openh323-1.11.2/work/openh323/include -DHAS_IXJ -DHAS_OSS -DPTRACING -I/usr/share/pwlib/include -O3 -DNDEBUG -march=pentium3 -O3 -pipe -fomit-frame-pointer -c h323.cxx -o /var/tmp/portage/openh323-1.11.2/work/openh323/lib/obj_linux_x86_r/h323.o
g++ -Wall -DP_LINUX -mcpu=i686 -D_REENTRANT -DP_HAS_SEMAPHORES -fPIC -DP_USE_PRAGMA -DP_SSL -I/usr/include -I/usr/crypto -DP_EXPAT -DP_PTHREADS -DPHAS_TEMPLATES -DPBYTE_ORDER=PLITTLE_ENDIAN -I/usr/share/pwlib/include/ptlib/unix -DPTRACING -I/var/tmp/portage/openh323-1.11.2/work/openh323/include -DHAS_IXJ -DHAS_OSS -DPTRACING -I/usr/share/pwlib/include -O3 -DNDEBUG -march=pentium3 -O3 -pipe -fomit-frame-pointer -c h323ep.cxx -o /var/tmp/portage/openh323-1.11.2/work/openh323/lib/obj_linux_x86_r/h323ep.o
if test -f asnparser.version && diff asnparser.version.new asnparser.version >/dev/null 2>&1 ; \
        then rm asnparser.version.new ; \
        else mv asnparser.version.new asnparser.version ; \
fi
g++ -Wall -DP_LINUX -mcpu=i686 -D_REENTRANT -DP_HAS_SEMAPHORES -fPIC -DP_USE_PRAGMA -DP_SSL -I/usr/include -I/usr/crypto -DP_EXPAT -DP_PTHREADS -DPHAS_TEMPLATES -DPBYTE_ORDER=PLITTLE_ENDIAN -I/usr/share/pwlib/include/ptlib/unix -DPTRACING -I/var/tmp/portage/openh323-1.11.2/work/openh323/include -DHAS_IXJ -DHAS_OSS -DPTRACING -I/usr/share/pwlib/include -O3 -DNDEBUG -march=pentium3 -O3 -pipe -fomit-frame-pointer -c h323neg.cxx -o /var/tmp/portage/openh323-1.11.2/work/openh323/lib/obj_linux_x86_r/h323neg.o
In file included from /var/tmp/portage/openh323-1.11.2/work/openh323/include/h323neg.h:147,
                 from h323neg.cxx:258:
/var/tmp/portage/openh323-1.11.2/work/openh323/include/h323pdu.h:236:18: h225.h: No such file or directory
/var/tmp/portage/openh323-1.11.2/work/openh323/include/h323pdu.h:237:18: h245.h: No such file or directory
In file included from /var/tmp/portage/openh323-1.11.2/work/openh323/include/h323neg.h:147,
                 from h323neg.cxx:258:
/var/tmp/portage/openh323-1.11.2/work/openh323/include/h323pdu.h:252: parse
   error before `{' token
/var/tmp/portage/openh323-1.11.2/work/openh323/include/h323pdu.h:253: virtual
   outside class declaration
/var/tmp/portage/openh323-1.11.2/work/openh323/include/h323pdu.h:253: non-
   member function `const char* GetClass(unsigned int)' cannot have `const'
   method qualifier
/var/tmp/portage/openh323-1.11.2/work/openh323/include/h323pdu.h: In function
   `const char* GetClass(unsigned int)':
/var/tmp/portage/openh323-1.11.2/work/openh323/include/h323pdu.h:253: `
   H225_H323_UserInformation' undeclared (first use this function)
/var/tmp/portage/openh323-1.11.2/work/openh323/include/h323pdu.h:253: (Each
   undeclared identifier is reported only once for each function it appears
   in.)
/var/tmp/portage/openh323-1.11.2/work/openh323/include/h323pdu.h:253: parse
   error before `::' token
/var/tmp/portage/openh323-1.11.2/work/openh323/include/h323pdu.h:253: no method
   `H323SignalPDU::Class'
/var/tmp/portage/openh323-1.11.2/work/openh323/include/h323pdu.h: At global
   scope:
/var/tmp/portage/openh323-1.11.2/work/openh323/include/h323pdu.h:253: virtual
   outside class declaration

[ many pages of error skipped ]

h323.cxx:2322: storage size of `reply' isn't known
/var/tmp/portage/openh323-1.11.2/work/openh323/include/h450pdu.h:121: warning: `
   void ParseEndpointAddress(H4501_EndpointAddress&, PString&)' declared
   `static' but never defined
{standard input}: Assembler messages:
{standard input}:68: Error: symbol `ok' is already defined
{standard input}:125: Error: symbol `ok' is already defined
{standard input}:132: Error: symbol `h245TunnelTxPDU' is already defined
{standard input}:151: Error: symbol `connectedTime' is already defined
make[2]: *** [/var/tmp/portage/openh323-1.11.2/work/openh323/lib/obj_linux_x86_r/h323.o] Error 1
make[1]: *** [opt] Error 2
make[1]: Leaving directory `/var/tmp/portage/openh323-1.11.2/work/openh323'
make: *** [optshared] Error 2

!!! ERROR: net-libs/openh323-1.11.2 failed.
!!! Function src_compile, Line 24, Exitcode 2
!!! (no error message)





werewindle /usr/portage/net-im/gnomemeeting # emerge info
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.19-gentoo-r9 i686 Pentium III (Coppermine)
GENTOO_MIRRORS="http://ftp.tu-clausthal.de/pub/linux/gentoo/ http://mirrors.sunsite.dk/gentoo/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/init.d /etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 3dnow apm avi crypt gif jpeg libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline arts tetex svga tcltk guile X sdl tcpd pam libwww perl python imlib oggvorbis gtk qt kde motif ldap scanner bonobo dvd encode -esd evo flash ggz gpm -gnome gphoto2 java libgda mozilla nas opengl oss usb cups alsa ssl"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j3"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache userpriv usersandbox"
Comment 6 Martin Holzer (RETIRED) gentoo-dev 2003-03-24 16:32:25 UTC
*** Bug 18099 has been marked as a duplicate of this bug. ***
Comment 7 Martin Holzer (RETIRED) gentoo-dev 2003-03-24 16:34:09 UTC
maybe something like in xine-libs-1 beta could help here
short paste from the ebuild

	# Make sure that the older libraries are not installed.
	if [ -f /usr/lib/libxine.so.0 ]
	then
		einfo "Please uninstall older xine libraries.";
		einfo "The compilation cannot procede.";
		die
	fi
Comment 8 Kai Schlüter 2003-03-29 02:31:35 UTC
Looks like there is also a problem with speex: 
/usr/lib/libh323_linux_x86_r.so: undefined reference to `speex_bits_destroy' 
/usr/lib/libh323_linux_x86_r.so: undefined reference to `speex_decode' 
/usr/lib/libh323_linux_x86_r.so: undefined reference to `speex_encoder_ctl' 
/usr/lib/libh323_linux_x86_r.so: undefined reference to `speex_decoder_destroy' 
/usr/lib/libh323_linux_x86_r.so: undefined reference to `speex_encoder_destroy' 
/usr/lib/libh323_linux_x86_r.so: undefined reference to `speex_nb_mode' 
/usr/lib/libh323_linux_x86_r.so: undefined reference to `speex_encoder_init' 
/usr/lib/libh323_linux_x86_r.so: undefined reference to `speex_bits_reset' 
/usr/lib/libh323_linux_x86_r.so: undefined reference to `speex_bits_read_from' 
/usr/lib/libh323_linux_x86_r.so: undefined reference to `speex_bits_write' 
/usr/lib/libh323_linux_x86_r.so: undefined reference to 
`PIPSocket::Address::operator=(PIPSocket::Address const&)' 
/usr/lib/libh323_linux_x86_r.so: undefined reference to `speex_decoder_init' 
/usr/lib/libh323_linux_x86_r.so: undefined reference to `speex_bits_init' 
collect2: ld returned 1 exit status 
make[2]: *** [obj_linux_x86_r/simph323] Fehler 1 
make[2]: Leaving directory 
`/var/tmp/portage/openh323-1.11.2/work/openh323/samples/simple' 
make[1]: *** [opt] Fehler 2 
make[1]: Leaving directory `/var/tmp/portage/openh323-1.11.2/work/openh323' 
make: *** [optshared] Fehler 2 
 
 
Comment 9 Alastair Tse (RETIRED) gentoo-dev 2003-03-31 20:16:20 UTC
the last problem there is exactly the same as #14775 . you need to unmerge openh323 first before you merge it. 

i'm working on fixing the problem. it is because pwlib's mak-efiles  put /usr/include ahead of all the other search paths for header files when built with SSL. that means you can solve the problem by also specifying USE="-ssl"
Comment 10 Alastair Tse (RETIRED) gentoo-dev 2003-03-31 20:18:05 UTC
oops .. wrong button
Comment 11 Alastair Tse (RETIRED) gentoo-dev 2003-04-02 17:07:10 UTC
ok, i've finally squashed this bug in the newest versions of pwlib (1.4.11) and openh323 (1.11.7). you should not need to unmerge previous versions before upgrading anymore.