Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28548 - wvstreams-3.70-r2 fails to compile under gcc 3.3.1, openssl 0.9.7b
Summary: wvstreams-3.70-r2 fails to compile under gcc 3.3.1, openssl 0.9.7b
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
: 28549 28556 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-09-12 13:30 UTC by Mario Vazquez
Modified: 2003-09-25 20:40 UTC (History)
1 user (show)

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


Attachments
gcc 3.x compile fix (libwvstreams-3.70-gcc3.patch,2.53 KB, patch)
2003-09-12 13:31 UTC, Mario Vazquez
Details | Diff
openssl 0.9.7 patch (libwvstreams-3.70-openssl097.patch,548 bytes, patch)
2003-09-12 15:06 UTC, Mario Vazquez
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mario Vazquez 2003-09-12 13:30:36 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 Mario Vazquez 2003-09-12 13:31:53 UTC
Created attachment 17591 [details, diff]
gcc 3.x compile fix
Comment 2 Mario Vazquez 2003-09-12 15:06:24 UTC
Created attachment 17597 [details, diff]
openssl 0.9.7 patch

from rawhide srpms
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2003-09-12 15:06:41 UTC
*** Bug 28549 has been marked as a duplicate of this bug. ***
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2003-09-12 15:07:09 UTC
*** Bug 28556 has been marked as a duplicate of this bug. ***
Comment 5 Mario Vazquez 2003-09-12 15:20:09 UTC
Sorry for dups, but the page do not show me that I post the patches, do a refresh and then it resend the info as new bug entry
Comment 6 SpanKY gentoo-dev 2003-09-25 20:40:08 UTC
added to cvs, thanks for the patches :)