Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96264 - error compiling net-libs/wvstreams-4.0.2
Summary: error compiling net-libs/wvstreams-4.0.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-16 03:13 UTC by Analyzer
Modified: 2005-07-18 07:39 UTC (History)
0 users

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 Analyzer 2005-06-16 03:13:26 UTC
Calculating dependencies ...done!
[ebuild     U ] net-libs/wvstreams-4.0.2 [4.0.1-r1] -debug -doc +fam -fftw +gtk
+pam -qdbm +qt +slp +speex +ssl +tcltk +vorbis* 0 kB

post going configure and compiling...
......
......
i686-pc-linux-gnu-g++ -O2 -march=athlon-xp -fomit-frame-pointer -pipe -fPIC
-DPIC -D_BSD_SOURCE -D_GNU_SOURCE -DISLINUX -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -DDEBUG=0  -O2 -Wall -I/usr/qt/3//include
-I/usr/qt/3//include/qt3 -Iyes/include -I./xplc/include  -I./include -Iinclude
-Iinclude -pipe -fPIC -DPIC -D_GNU_SOURCE -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -O2 -Wall -O2 -march=athlon-xp -fomit-frame-pointer
-pipe -fPIC -DPIC -D_BSD_SOURCE -D_GNU_SOURCE -DISLINUX -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -DDEBUG=0 -O2 -Wall -Woverloaded-virtual -fno-rtti
-fno-exceptions -I/usr/qt/3//include -I/usr/qt/3//include/qt3 -Iyes/include
-I./xplc/include  -I./include -Iinclude -Iinclude -pipe -fPIC -DPIC
-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall
-Woverloaded-virtual -DWVSTREAMS_RELEASE=\"4.0\"     -M -E
oggvorbis/wvoggvorbis.cc | perl -we '$a = '"'"'oggvorbis/wvoggvorbis.o'"'"'; $\
= $/; local $/; while (<>) { for (split(/(?<!\\)$/m)) { s/^[^:]+:\s*/$a: /;
print; if (s/^$a: //) { map {print "$_:" unless m/^\\$/} (split(/\s+/)); } } }'
>oggvorbis/.wvoggvorbis.d
i686-pc-linux-gnu-g++ -O2 -march=athlon-xp -fomit-frame-pointer -pipe -fPIC
-DPIC -D_BSD_SOURCE -D_GNU_SOURCE -DISLINUX -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -DDEBUG=0  -O2 -Wall -I/usr/qt/3//include
-I/usr/qt/3//include/qt3 -Iyes/include -I./xplc/include  -I./include -Iinclude
-Iinclude -pipe -fPIC -DPIC -D_GNU_SOURCE -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -O2 -Wall -O2 -march=athlon-xp -fomit-frame-pointer
-pipe -fPIC -DPIC -D_BSD_SOURCE -D_GNU_SOURCE -DISLINUX -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -DDEBUG=0 -O2 -Wall -Woverloaded-virtual -fno-rtti
-fno-exceptions -I/usr/qt/3//include -I/usr/qt/3//include/qt3 -Iyes/include
-I./xplc/include  -I./include -Iinclude -Iinclude -pipe -fPIC -DPIC
-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall
-Woverloaded-virtual -DWVSTREAMS_RELEASE=\"4.0\"     -M -E
oggspeex/wvoggspeex.cc | perl -we '$a = '"'"'oggspeex/wvoggspeex.o'"'"'; $\ =
$/; local $/; while (<>) { for (split(/(?<!\\)$/m)) { s/^[^:]+:\s*/$a: /; print;
if (s/^$a: //) { map {print "$_:" unless m/^\\$/} (split(/\s+/)); } } }'
>oggspeex/.wvoggspeex.d
i686-pc-linux-gnu-g++ -O2 -march=athlon-xp -fomit-frame-pointer -pipe -fPIC
-DPIC -D_BSD_SOURCE -D_GNU_SOURCE -DISLINUX -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -DDEBUG=0  -O2 -Wall -I/usr/qt/3//include
-I/usr/qt/3//include/qt3 -Iyes/include -I./xplc/include  -I./include -Iinclude
-Iinclude -pipe -fPIC -DPIC -D_GNU_SOURCE -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -O2 -Wall -O2 -march=athlon-xp -fomit-frame-pointer
-pipe -fPIC -DPIC -D_BSD_SOURCE -D_GNU_SOURCE -DISLINUX -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -DDEBUG=0 -O2 -Wall -Woverloaded-virtual -fno-rtti
-fno-exceptions -I/usr/qt/3//include -I/usr/qt/3//include/qt3 -Iyes/include
-I./xplc/include  -I./include -Iinclude -Iinclude -pipe -fPIC -DPIC
-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall
-Woverloaded-virtual -DWVSTREAMS_RELEASE=\"4.0\"     -c oggspeex/wvspeex.cc -o
oggspeex/wvspeex.o
/usr/qt/3/bin/moc -o include/wvqthook.moc include/wvqthook.h
oggspeex/wvspeex.cc: In function `SpeexMode* get_speex_mode(WvSpeex::CodecMode,
int)':
oggspeex/wvspeex.cc:24: error: invalid conversion from `const SpeexMode*' to
`SpeexMode*'
oggspeex/wvspeex.cc:31: error: invalid conversion from `const SpeexMode*' to
`SpeexMode*'
oggspeex/wvspeex.cc:33: error: invalid conversion from `const SpeexMode*' to
`SpeexMode*'
oggspeex/wvspeex.cc:35: error: invalid conversion from `const SpeexMode*' to
`SpeexMode*'
oggspeex/wvspeex.cc: In member function `virtual bool
WvSpeexEncoder::_typedencode(WvBufBase<float>&, WvBufBase<unsigned char>&, bool)':
oggspeex/wvspeex.cc:125: error: cannot convert `float*' to `short int*' for
argument `2' to `int speex_encode(void*, short int*, SpeexBits*)'
oggspeex/wvspeex.cc: In member function `virtual bool
WvSpeexDecoder::_typedencode(WvBufBase<unsigned char>&, WvBufBase<float>&, bool)':
oggspeex/wvspeex.cc:267: error: `MAX_BYTES_PER_FRAME' undeclared (first use this
function)
oggspeex/wvspeex.cc:267: error: (Each undeclared identifier is reported only
once for each function it appears in.)
oggspeex/wvspeex.cc:276: error: cannot convert `float*' to `short int*' for
argument `3' to `int speex_decode(void*, SpeexBits*, short int*)'
oggspeex/wvspeex.cc: In member function `virtual bool
WvSpeexDecoder::missing(WvBufBase<float>&)':
oggspeex/wvspeex.cc:298: error: cannot convert `float*' to `short int*' for
argument `3' to `int speex_decode(void*, SpeexBits*, short int*)'
/usr/qt/3/bin/moc -o include/wvqtstreamclone.moc include/wvqtstreamclone.h
i686-pc-linux-gnu-g++ -O2 -march=athlon-xp -fomit-frame-pointer -pipe -fPIC
-DPIC -D_BSD_SOURCE -D_GNU_SOURCE -DISLINUX -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -DDEBUG=0  -O2 -Wall -I/usr/qt/3//include
-I/usr/qt/3//include/qt3 -Iyes/include -I./xplc/include  -I./include -Iinclude
-Iinclude -pipe -fPIC -DPIC -D_GNU_SOURCE -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -O2 -Wall -O2 -march=athlon-xp -fomit-frame-pointer
-pipe -fPIC -DPIC -D_BSD_SOURCE -D_GNU_SOURCE -DISLINUX -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -DDEBUG=0 -O2 -Wall -Woverloaded-virtual -fno-rtti
-fno-exceptions -I/usr/qt/3//include -I/usr/qt/3//include/qt3 -Iyes/include
-I./xplc/include  -I./include -Iinclude -Iinclude -pipe -fPIC -DPIC
-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall
-Woverloaded-virtual -DWVSTREAMS_RELEASE=\"4.0\"     -c qt/wvqtstring.cc -o
qt/wvqtstring.o
make: *** [oggspeex/wvspeex.o] &#1054;&#1096;&#1080;&#1073;&#1082;&#1072; 1
make: *** &#1054;&#1078;&#1080;&#1076;&#1072;&#1085;&#1080;&#1077; &#1079;&#1072;&#1074;&#1077;&#1088;&#1096;&#1077;&#1085;&#1080;&#1103; &#1079;&#1072;&#1076;&#1072;&#1085;&#1080;&#1081;...
make: *** &#1054;&#1078;&#1080;&#1076;&#1072;&#1085;&#1080;&#1077; &#1079;&#1072;&#1074;&#1077;&#1088;&#1096;&#1077;&#1085;&#1080;&#1103; &#1079;&#1072;&#1076;&#1072;&#1085;&#1080;&#1081;...
make: *** &#1054;&#1078;&#1080;&#1076;&#1072;&#1085;&#1080;&#1077; &#1079;&#1072;&#1074;&#1077;&#1088;&#1096;&#1077;&#1085;&#1080;&#1103; &#1079;&#1072;&#1076;&#1072;&#1085;&#1080;&#1081;...
i686-pc-linux-gnu-g++ -O2 -march=athlon-xp -fomit-frame-pointer -pipe -fPIC
-DPIC -D_BSD_SOURCE -D_GNU_SOURCE -DISLINUX -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -DDEBUG=0  -O2 -Wall -I/usr/qt/3//include
-I/usr/qt/3//include/qt3 -Iyes/include -I./xplc/include  -I./include -Iinclude
-Iinclude -pipe -fPIC -DPIC -D_GNU_SOURCE -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -O2 -Wall -O2 -march=athlon-xp -fomit-frame-pointer
-pipe -fPIC -DPIC -D_BSD_SOURCE -D_GNU_SOURCE -DISLINUX -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -DDEBUG=0 -O2 -Wall -Woverloaded-virtual -fno-rtti
-fno-exceptions -I/usr/qt/3//include -I/usr/qt/3//include/qt3 -Iyes/include
-I./xplc/include  -I./include -Iinclude -Iinclude -pipe -fPIC -DPIC
-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall
-Woverloaded-virtual -DWVSTREAMS_RELEASE=\"4.0\"     -M -E qt/wvqtstring.cc |
perl -we '$a = '"'"'qt/wvqtstring.o'"'"'; $\ = $/; local $/; while (<>) { for
(split(/(?<!\\)$/m)) { s/^[^:]+:\s*/$a: /; print; if (s/^$a: //) { map {print
"$_:" unless m/^\\$/} (split(/\s+/)); } } }' >qt/.wvqtstring.d
make: *** &#1054;&#1078;&#1080;&#1076;&#1072;&#1085;&#1080;&#1077; &#1079;&#1072;&#1074;&#1077;&#1088;&#1096;&#1077;&#1085;&#1080;&#1103; &#1079;&#1072;&#1076;&#1072;&#1085;&#1080;&#1081;...

!!! ERROR: net-libs/wvstreams-4.0.2 failed.
!!! Function src_compile, Line 78, Exitcode 2
!!! compile failed
!!! If you need support, post the topmost build error, NOT this status message.



Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Analyzer 2005-06-16 03:20:53 UTC
this fix when i USE="-vorbis".
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2005-06-16 14:25:03 UTC
do you have a patch that I could test?

as a side note, please don't mess with bug status when you're not sure is the
right thing to do. bugs should be marked as ASSIGNED only by the assignee.
Comment 3 Analyzer 2005-06-27 18:51:56 UTC
ok. but havent a patch. but how i said before this problem dissapiar when i set
USE="-vorbis". i guess this relate with is.
Comment 4 Alin Năstac (RETIRED) gentoo-dev 2005-06-27 21:47:03 UTC
you probably use the unstable version of media-libs/speex. works fine here with
media-libs/speex-1.1.7.

Basically, the wvstreams-4.0.2-speex-const.patch patch should be modified, but I
don't have the time. Usually our users take part of the workload on their shoulders.
Comment 5 Analyzer 2005-06-28 01:37:12 UTC
(In reply to comment #4)
[ebuild   R   ] media-libs/speex-1.1.7  +ogg +sse 0 kB

it's version installed in my machine.
and...
libvorbis-1.1.0
vorbis-tools-1.0.1
are installed too
Comment 6 Analyzer 2005-06-28 01:38:26 UTC
root@localhost:/usr/portage/mail-mta/sendmail$ emerge info
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.12-gentoo i686)
=================================================================
System uname: 2.6.12-gentoo i686 AMD Athlon(tm)
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.9
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -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 /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect distcc distlocks
sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="ru_RU.KOI8-R"
LC_ALL="ru_RU.KOI8-R"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex 3dnowext 7zip X aac aalib accessibility acl acpi
activefilter adns aim alsa amuled apache2 apm applet artworkextra atm audio
audiofile avi bash-completion bcmath berkdb bidi bitmap-fonts bmp bonobo buttons
bzip2 bzlib cairo calendar caps cdparanoia cdr chroot clamav cpdflib
cpudetection crypt css cups curl curlwrappers customlog dba dga dhcp dillo
divx4linux doc dv dvb dvd dvdr dvdread dynagraph ecc edl eds emacs emboss encode
epiphany escreen etwin exif extensions extras fam ffmpeg filepro flac
font-server foomaticdb fortran fpx ftp gcj gd geoip gg ggi gif glitz gnome-print
gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal howl iconv icq
idea imagemagick imap imlib irc java jbig jpeg jpeg2k kde kdeenablefinal
kdexdeltas lcms ldap leim lesstif libcaca libclamav libedit libfpx libg++ libwww
lirc lj logrotate lzo mad mailbox maildir mailwrapper matroska mbox md5sum
mikmod milter mime mjpeg mmx mmxext mng mono mozilla moznomail mozsvg mozxmlterm
mp3 mpeg mpi mplayer mppe-mppc mysql mythtv nas ncurses neXt nethack network nis
nls nntp nptl nptlonly nvidia objc odbc offensive ogg oggvorbis opengl openntpd
openssh oss pam pcntl pcre pdflib perl php plugin png portaudio posix povray
python qt quicktime radius rar readline real remote rss rtc rube ruby sasl sdl
session sharedext silc simplexml slang slp sndfile sockets socks5 speex spell
sqlite sse ssl stats subtitles subversion svg symlink tcltk tcpd tetex theora
threads tiff truetype truetype-fonts type1-fonts underscores usb v4l v4l2 vcd
vda vhosts visualization vorbis win32codecs wma123 wmf xanim xface xine xinerama
xml xml2 xmms xosd xpm xrandr xsl xv xvid xvmc yahoo zeroconf zlib zvbi
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS
Comment 7 Analyzer 2005-07-18 07:39:59 UTC
not this package installed