Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62822 - wvstreams-3.75 doesn't compile with gcc 3.4.1-r2
Summary: wvstreams-3.75 doesn't compile with gcc 3.4.1-r2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-04 07:05 UTC by Chris Arepantis
Modified: 2004-09-21 10:28 UTC (History)
0 users

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


Attachments
wvstreams-3.75-gcc34.patch (wvstreams-3.75-gcc34.patch,3.49 KB, patch)
2004-09-04 07:11 UTC, Chris Arepantis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Arepantis 2004-09-04 07:05:45 UTC
wvstream cannot be emerged

Reproducible: Always
Steps to Reproduce:
1.emerge =net-libs/wvstreams-3.75


Actual Results:  
>>> emerge (7 of 215) net-libs/wvstreams-3.75 to /
>>> md5 src_uri ;-) wvstreams-3.75.0.tar.gz
>>> Unpacking source...
>>> Unpacking wvstreams-3.75.0.tar.gz to /var/tmp/portage/wvstreams-3.75/work
 * Applying wvstreams-3.75-makefile.patch...                              [ ok ]
* Applying wvstreams-3.75-fPIC.patch...                                  [ ok ]
* Applying wvstreams-3.75-tcl_8_4.patch...                               [ ok
]>>> Source unpacked.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for i686-pc-linux-gnu-g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking how to run the C++ preprocessor... g++ -E
checking for a BSD-compatible install... /bin/install -c
checking whether ln -s works... yes
checking for db.h... no
checking db_185.h usability... yes
checking db_185.h presence... yes
checking for db_185.h... yes
checking for dbopen in -ldb... no
checking gdbm.h usability... yes
checking gdbm.h presence... yes
checking for gdbm.h... yes
checking for gdbm_open in -lgdbm... yes
checking ogg/ogg.h usability... yes
checking ogg/ogg.h presence... yes
checking for ogg/ogg.h... yes
checking for ogg_stream_init in -logg... yes
checking for openssl/ssl.h... yes
checking for SSL_CTX_new in -lssl... yes
checking security/pam_appl.h usability... yes
checking security/pam_appl.h presence... yes
checking for security/pam_appl.h... yes
checking for pam_start in -lpam... yes
checking tcl.h usability... yes
checking tcl.h presence... yes
checking for tcl.h... yes
checking for TclInterpInit in -ltcl8.4... yes
checking for swig... yes
checking for Qt... /usr/qt/3
checking for moc... /usr/qt/3/bin/moc
checking speex.h usability... yes
checking speex.h presence... yes
checking for speex.h... yes
checking speex_header.h usability... yes
checking speex_header.h presence... yes
checking for speex_header.h... yes
checking for speex_encoder_init in -lspeex... yes
checking for valgrind... no
checking valgrind/memcheck.h usability... no
checking valgrind/memcheck.h presence... no
checking for valgrind/memcheck.h... no
checking vorbis/codec.h usability... yes
checking vorbis/codec.h presence... yes
checking for vorbis/codec.h... yes
checking vorbis/vorbisenc.h usability... yes
checking vorbis/vorbisenc.h presence... yes
checking for vorbis/vorbisenc.h... yes
checking for vorbis_info_init in -lvorbis... yes
checking for vorbis_encode_init in -lvorbisenc... yes
checking for xplc/core.h... no
checking for XPLC_getServiceManager in -lxplc... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for compress in -lz... yes
configure: WARNING: FAM is missing.
configure: WARNING: FFTW is missing.
configure: WARNING: XPLC is missing.
configure: creating ./config.status
config.status: creating config.mk
config.status: creating include/wvautoconf.h
g++ -O3 -march=athlon-xp -mfpmath=sse,387 -maccumulate-outgoing-args
-minline-all-stringops -pipe -fno-branch-count-reg -fmove-all-movables
-fomit-frame-pointer -fforce-addr -frename-registers -ftracer -funit-at-a-time
-funroll-loops -fpeel-loops -funswitch-loops -fold-unroll-loops
-fprefetch-loop-arrays -fbranch-target-load-optimize -fvisibility-inlines-hidden
-fno-exceptions -fno-rtti  -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  -Iinclude
-I/usr/include/tcl8.3 -Iinclude -pipe  -D_GNU_SOURCE -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -O2 -Wall -Woverloaded-virtual -fno-rtti
-fno-exceptions   -fPIC -c configfile/cfgentry.cc -o configfile/cfgentry.fpic.o
In file included from include/wvlinklist.h:11,
                 from include/wvstringlist.h:13,
                 from include/strutils.h:16,
                 from include/wvconf.h:15,
                 from configfile/cfgentry.cc:10:
include/wvsorter.h: In member function `void WvSorterBase::rewind(int (*)(const
void*, const void*))':
include/wvsorter.h:93: error: array bound forbidden after parenthesized type-id
include/wvsorter.h:93: note: try removing the parentheses around the type-id
make: *** [configfile/cfgentry.fpic.o] Error 1

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


Expected Results:  
emerged normally

Portage 2.0.50-r10 (gcc34-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0,
2.6.8.1-mm4)
=================================================================
System uname: 2.6.8.1-mm4 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -mfpmath=sse,387 -maccumulate-outgoing-args
-minline-all-stringops -pipe -fno-branch-count-reg -fmove-all-movables
-fomit-frame-pointer -fforce-addr -frename-registers -ftracer -funit-at-a-time
-funroll-loops -fpeel-loops -funswitch-loops -fold-unroll-loops
-fprefetch-loop-arrays -fbranch-target-load-optimize"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config
/usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown
/usr/kde/3/share/config /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/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -mfpmath=sse,387 -maccumulate-outgoing-args
-minline-all-stringops -pipe -fno-branch-count-reg -fmove-all-movables
-fomit-frame-pointer -fforce-addr -frename-registers -ftracer -funit-at-a-time
-funroll-loops -fpeel-loops -funswitch-loops -fold-unroll-loops
-fprefetch-loop-arrays -fbranch-target-load-optimize -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
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="3dnow X X509 Xaw3d aalib acpi alsa apm asterisk atm audiofile avi berkdb
bonobo cdr cjk crypt cscope cups curl dga directfb divx4linux doc dv dvd dvdr
encode esd extensions faad fbcon ffmpeg fmod fommaticdb foomaticdb gcj gdbm
geoip ggi gif gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml guile imap imlib
innodb java javamail javascript jbig jikes jpeg junit kerberos krb4 lcms ldap
libcaca libg++ libwww live lua mad maildir matroska md5sum menu mikmod mmx mng
motif mozcalendar mozilla mozp3p mozsvg mozxmlterm mpeg mysql nas ncurses nls
nptl objc odbc offensive oggvorbis opengl oss pam pdflib perl png postgres ppds
python qt quicktime radeon readline sdl skd skey slang slp speex spell sse ssl
svga tcltk tcpd tetex tiff transcode truetype unicode usb v4l v4l2
video_cards_radeon vim-with-x wmf wxwindows x86 xchatdccserver xchattext xml
xml2 xmms xosd xprint xv xvid zlib zvbi"
Comment 1 Chris Arepantis 2004-09-04 07:11:43 UTC
Created attachment 38905 [details, diff]
wvstreams-3.75-gcc34.patch

this patch's application is identical to a patch in wvstreams homepage/mailing
list in a unified diff(I don't recall exactly).It solves the problem
Comment 2 Karol Wojtaszek (RETIRED) gentoo-dev 2004-09-21 10:28:06 UTC
Commited to cvs. Thanks.