Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31120 - net-libs/wvstreams-3.70-r2 failed: wvcrypto.cc:163: invalid conversion from `const unsigned char**' to `unsigned char**'
Summary: net-libs/wvstreams-3.70-r2 failed: wvcrypto.cc:163: invalid conversion from `...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
: 31172 32334 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-10-14 07:26 UTC by Stonie R. Cooper
Modified: 2003-11-03 16:49 UTC (History)
4 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 Stonie R. Cooper 2003-10-14 07:26:22 UTC
When attempting to merge wvdial, the merge fails on the dependency wvstream: 
 
../streams/wvstream.h:21: warning: `typename 
   WvStreamCallback_bound<T>::BoundFunc' is implicitly a typename 
../streams/wvstream.h:21: warning: implicit typename is deprecated, please see 
   the documentation for details 
wvcrypto.cc: In constructor `WvRSAKey::WvRSAKey(const char*, bool)': 
wvcrypto.cc:163: invalid conversion from `const unsigned char**' to `unsigned 
   char**' 
wvcrypto.cc:174: invalid conversion from `const unsigned char**' to `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) 
 

Reproducible: Always
Steps to Reproduce:
1. emerge wvstreams 
2. 
3. 
Actual Results:  
wvcrypto.cc: In constructor `WvRSAKey::WvRSAKey(const char*, bool)': 
wvcrypto.cc:163: invalid conversion from `const unsigned char**' to `unsigned 
   char**' 
wvcrypto.cc:174: invalid conversion from `const unsigned char**' to `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) 

Expected Results:  
merged
Comment 1 Bryan Østergaard (RETIRED) gentoo-dev 2003-10-14 14:45:34 UTC
Just to add a little information.. This only happens if I try emerging on
a gcc 3.2.3 system, gcc 3.3.1 seems fine.

Also gcc 3.x problems, so it appears this will get fixed upstream.
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2003-10-14 21:27:28 UTC
*** Bug 31172 has been marked as a duplicate of this bug. ***
Comment 3 Jonathan Singer 2003-10-16 08:52:28 UTC
Same issue here -- also with gcc 3.2.3, using CFLAGS="-O3 -mcpu=athlon -funroll-loops
-pipe", if that matters.
Comment 4 John Mylchreest (RETIRED) gentoo-dev 2003-10-16 08:58:24 UTC
can you please try compiling this using CFLAGS="O3 -mcpu=<insertarch> -pipe"
MAKEOPTS="-j1" and report back.

Thanks
Comment 5 M. Iffland 2003-10-17 11:55:41 UTC
Nothing changed with suggested options -j1 and -mcpu=athlon-xp 

is there a way of getting a buildpckg? (i know it doesn't belong here so
if no one answers that's fine) 
Comment 6 Peter 2003-10-22 02:16:21 UTC
I had the same problem.
Niether USE flags nor CFLAGS could help me.
For me the problem was in ssl-patch. So. I just commented line in ebuild:

#       epatch ${FILESDIR}/${PV}-openssl.patch
And now it works for me...
Comment 7 WiseLYNX 2003-10-29 02:35:01 UTC
I just tryied to remove the ssl patch from the ebuild, as suggested in a
previous comment by Peter, and all worked fine for me too.
Comment 8 SpanKY gentoo-dev 2003-10-29 21:21:08 UTC
if you guys have gcc-3.2.3 then you're probably running stable ...
what version of openssl do you have ?
Comment 9 SpanKY gentoo-dev 2003-10-30 09:37:26 UTC
*** Bug 32334 has been marked as a duplicate of this bug. ***
Comment 10 SpanKY gentoo-dev 2003-11-03 16:49:27 UTC
ok, it seems the patch is needed for openssl 0.9.7 but not 0.9.6 (in fact,
it makes it fail with 0.9.6)

i added a check to the ebuild for this