Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 28549

Summary: wvstreams-3.70-r2 fail to compiler under gcc 3.3.1, openssl 0.9.7b
Product: Gentoo Linux Reporter: Mario Vazquez <mario_vazq>
Component: [OLD] LibraryAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mario Vazquez 2003-09-12 13:32:06 UTC
When I try to emerge wvstreams-3.70-r2 under my system (gcc 3.3.1, openssl
0.9.7b) got this error. 

wvcrypto.cc:173: error: invalid conversion from `unsigned char**' to `const
   unsigned char**'
make[2]: *** [wvcrypto.o] Error 1
make[1]: *** [crypto] Error 2
make: *** [src] Error 2
 
!!! ERROR: net-libs/wvstreams-3.70-r2 failed.
!!! Function src_compile, Line 29, Exitcode 2
!!! (no error message)


Check the current RawHide libwvstreams source rpm and found those two patches,
that when applied, allow this program to be compiled.  
But warning, they cannot be applied if the gentoo patch is applied first. 
Apparently is already included on them.



Reproducible: Always
Steps to Reproduce:
1. Undear a gcc 3.3.1 (problably gcc 3.3 also) emerge wvstreams

Actual Results:  
The mentioned error

Expected Results:  
the package should merge without problem

Linux dhampir 2.4.22-ac1 #4 Sun Sep 7 08:08:10 Local time zone must be set--see
zic manua i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GenuineIntel GNU/Linux

 gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/specs
Configured with: /var/tmp/portage/gcc-3.3.1-r1/work/gcc-3.3.1/configure
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3
--includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info --enable-shared
--host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib
--enable-languages=c,c++,ada,f77,objc,java --enable-threads=posix
--enable-long-long --disable-checking --enable-cstdio=stdio
--enable-clocale=generic --enable-__cxa_atexit
--enable-version-specific-runtime-libs
--with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/include/g++-v3
--with-local-prefix=/usr/local --enable-shared --enable-nls
--without-included-gettext --x-includes=/usr/X11R6/include
--x-libraries=/usr/X11R6/lib --enable-interpreter --enable-java-awt=xlib
--with-x --disable-multilib
Thread model: posix
gcc version 3.3.1 20030904 (Gentoo Linux 3.3.1-r1, propolice)

USE="acpi autofs breakme dga dvd ethereal fbcon flash gtk2 gtkhtml ipv6 \
     pcmcia pnp radeon sse tiff type1 usb videos wmf -apm -arts \
     -foomaticdb -kde -libg++ -libwww -qt -gdbm -berkdb -readline"

CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe
-fomit-frame-pointer

I will post the two patches from redhat source rpms that fix this issue in the
next post
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2003-09-12 15:06:41 UTC

*** This bug has been marked as a duplicate of 28548 ***