Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45797 - net-libs/wvstreams-3.74 fails to compile - b0rks while compiling speex support
Summary: net-libs/wvstreams-3.74 fails to compile - b0rks while compiling speex support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-26 05:15 UTC by Aniruddha Shankar
Modified: 2004-04-03 15:24 UTC (History)
2 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 Aniruddha Shankar 2004-03-26 05:15:13 UTC
ar rs libuniconf.a uniconf/unicachegen.o uniconf/uniclientconn.o uniconf/uniclientgen.o uniconf/uniconf.o uniconf/uniconfgen.o uniconf/uniconfkey.o uniconf/uniconfroot.o uniconf/unidefgen.o uniconf/unifiletreegen.o uniconf/unifiltergen.o uniconf/unihashtree.o uniconf/uniinigen.o uniconf/uniinitreegen.o uniconf/unilistgen.o uniconf/unimountgen.o uniconf/unimounttreegen.o uniconf/uninullgen.o uniconf/unipermgen.o uniconf/unireadonlygen.o uniconf/unisecuregen.o uniconf/unitempgen.o uniconf/uniwatch.o uniconf/uniwvconfgen.o uniconf/wvconfemu.o
ar: creating libuniconf.a
g++  -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall -Woverloaded-virtual -fno-rtti -fno-exceptions -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include   -I/usr/qt/3/include -Iinclude -pipe  -fPIC -c -o uniconf/daemon/uniconfdaemon.o uniconf/daemon/uniconfdaemon.cc
g++  -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall -Woverloaded-virtual -fno-rtti -fno-exceptions -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include   -I/usr/qt/3/include -Iinclude -pipe  -fPIC -c -o uniconf/daemon/daemonmain.o uniconf/daemon/daemonmain.cc
g++  -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall -Woverloaded-virtual -fno-rtti -fno-exceptions -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include   -I/usr/qt/3/include -Iinclude -pipe  -fPIC -c -o uniconf/daemon/uniconfdaemonconn.o uniconf/daemon/uniconfdaemonconn.cc
g++  -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall -Woverloaded-virtual -fno-rtti -fno-exceptions -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include   -I/usr/qt/3/include -Iinclude -pipe  -fPIC -c -o uniconf/daemon/uniconfpamconn.o uniconf/daemon/uniconfpamconn.cc
gcc -L/usr/qt/3/lib uniconf/daemon/uniconfdaemon.o libuniconf.so libwvutils.so /usr/lib/libdb.so uniconf/daemon/daemonmain.o uniconf/daemon/uniconfdaemonconn.o uniconf/daemon/uniconfpamconn.o libwvstreams.so  -lgcc   -lsupc++ -o uniconf/daemon/uniconfdaemon
g++  -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall -Woverloaded-virtual -fno-rtti -fno-exceptions -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include   -I/usr/qt/3/include -Iinclude -pipe  -fPIC -c -o oggvorbis/wvoggvorbis.o oggvorbis/wvoggvorbis.cc
gcc -L/usr/qt/3/lib -shared -Wl,-soname,libwvoggvorbis.so.3.74 oggvorbis/wvoggvorbis.o /usr/lib/libogg.so /usr/lib/libvorbis.so /usr/lib/libvorbisenc.so libwvutils.so -lgcc   -lsupc++ -o libwvoggvorbis.so
ln -s -f libwvoggvorbis.so libwvoggvorbis.so.3.74
ar rs libwvoggvorbis.a oggvorbis/wvoggvorbis.o
ar: creating libwvoggvorbis.a
g++  -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall -Woverloaded-virtual -fno-rtti -fno-exceptions -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include   -I/usr/qt/3/include -Iinclude -pipe  -fPIC -c -o oggspeex/wvoggspeex.o oggspeex/wvoggspeex.cc
oggspeex/wvoggspeex.cc: In constructor `
   WvOggSpeexEncoder::WvOggSpeexEncoder(const WvSpeex::BitrateSpec&, int, int, 
   WvSpeex::CodecMode, int, long int)':
oggspeex/wvoggspeex.cc:47: error: `MAX_BYTES_PER_FRAME' undeclared (first use 
   this function)
oggspeex/wvoggspeex.cc:47: error: (Each undeclared identifier is reported only 
   once for each function it appears in.)
oggspeex/wvoggspeex.cc: In member function `bool 
   WvOggSpeexEncoder::write_headers(WvBufBase<unsigned char>&)':
oggspeex/wvoggspeex.cc:173: error: invalid conversion from `const SpeexMode*' 
   to `SpeexMode*'
make: *** [oggspeex/wvoggspeex.o] Error 1

!!! ERROR: net-libs/wvstreams-3.74 failed.
!!! Function src_compile, Line 51, Exitcode 2
!!! compile failed


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




media-libs/speex-1.1.4

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.6.4-gentoo-r1)
=================================================================
System uname: 2.6.4-gentoo-r1 i686 AMD Athlon(TM) XP 1700+
Gentoo Base System version 1.4.3.13p1
ccache version 2.3 [disabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg sandbox userpriv usersandbox"
GENTOO_MIRRORS="ftp://localhost/portage
http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="3dnow X aalib acpi acpi4linux alsa apm arts artswrappersuid avi berkdb
crypt dga directfb encode esd fam fbcon flac flash foomaticdb gdbm ggi gif gnome
gphoto2 gpm gstreamer gtk gtk2 imap imlib java javascript jpeg kde ldap libg++
libwww linguas_hi mad maildir mikmod mldonkeypango mmx mng motif mozilla
mozinterfaceinfo moznoirc mozp3p mozsvg mpeg mysql ncurses nls oggvorbis opengl
oss pam pdflib perl png prelude python qt quicktime readline samba sdl slang
speex spell sse ssl svga tcltk tcpd tiff truetype unicode usb x86 xml2 xmms xv zlib"
Comment 1 Aniruddha Shankar 2004-03-26 05:40:11 UTC
net-libs/wvstreams-3.70-r2 merged fine, albeit with warnings but my version of wvdial wants wvstreams-3.74 to be merged. 

Also, it's the oggvorbis support, not the speex support that causes the build to fail. 

USE="-oggvorbis" emerge -v wvstreams  worked fine. 

Comment 2 Daniel Ahlberg (RETIRED) gentoo-dev 2004-04-03 06:06:49 UTC
Fixed in CVS, thanks!

alpha, hppa:  I had to remove minus mask alpha and hppa in keywords to satisfy repoman about <=meda-libs/speex-1.0.
Comment 3 Paul Taylor 2004-04-03 15:24:28 UTC
This bug has returned in wvstreams-2.75; the 'USE="-oggvorbis"' workaround gets around the issue - perhaps this should be incorporated into the ebuild?