Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 614810 - net-libs/wvstreams with dev-libs/openssl-1.1 - crypto/wvblowfish.cc: In member function ‘virtual bool WvBlowfishEncoder::_encode(WvBuf&, WvBuf&, bool)’: crypto/wvblowfish.cc:80:50: error: ‘RAND_pseudo_bytes’ was not declared in this scope
Summary: net-libs/wvstreams with dev-libs/openssl-1.1 - crypto/wvblowfish.cc: In membe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: openssl-1.1
  Show dependency tree
 
Reported: 2017-04-05 20:36 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2019-04-01 10:24 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,61.69 KB, text/plain)
2017-04-05 20:36 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-04-05 20:36:59 UTC
Created attachment 469290 [details]
build.log

crypto/wvblowfish.cc: In member function ‘virtual bool WvBlowfishEncoder::_encode(WvBuf&, WvBuf&, bool)’:
crypto/wvblowfish.cc:80:50: error: ‘RAND_pseudo_bytes’ was not declared in this scope
                     RAND_pseudo_bytes(pad, padlen);
                                                  ^
make: *** [wvrules.mk:163: crypto/wvblowfish.o] Error 1


Please note that installed openssl-1.1 has been compiled with all deprecated
features being removed (--api=1.1.0)!
Comment 1 Pacho Ramos gentoo-dev 2017-06-06 17:12:11 UTC
wvdial is crashing and dead and it's the only consumer of this lib
Comment 2 Pacho Ramos gentoo-dev 2017-07-20 09:40:48 UTC
Please don't un CC us until bugs are finally fixed in the tree
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2017-07-27 13:27:44 UTC
I fixed the dep.
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-07-27 13:45:40 UTC
Sorry but this is not the proper way to solve this bug.

Forcing a downgrade of openssl is not a fix but an ugly workaround. Please keep this bug open until a proper fix is available.
Comment 5 Conrad Kostecki gentoo-dev 2018-11-02 17:51:27 UTC
There is a patch: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=859791
Upstream merged the patch here: https://github.com/apenwarr/wvstreams
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2018-11-02 22:52:43 UTC
Upstream is alive?
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2018-11-02 23:02:36 UTC
Upstream git head now requires upstream https://github.com/apenwarr/redo too.
Comment 8 Craig Andrews gentoo-dev 2018-12-12 14:17:18 UTC
Can you please consider the PR at https://github.com/gentoo/gentoo/pull/10554 that fixes this issue?
Comment 9 Larry the Git Cow gentoo-dev 2018-12-18 03:09:03 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=875f94f85a365c3fd22f07fe22634afb49e9febd

commit 875f94f85a365c3fd22f07fe22634afb49e9febd
Author:     Craig Andrews <candrews@gentoo.org>
AuthorDate: 2018-12-03 20:12:50 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2018-12-18 03:08:52 +0000

    net-libs/wvstreams: OpenSSL 1.1 compatibility
    
    Also removed unused versionator inherit
    
    Closes: https://bugs.gentoo.org/614810
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Craig Andrews <candrews@gentoo.org>

 .../files/wvstreams-4.6.1-openssl-1.1.patch        | 555 +++++++++++++++++++++
 net-libs/wvstreams/wvstreams-4.6.1-r6.ebuild       |  96 ++++
 net-libs/wvstreams/wvstreams-99999.ebuild          |   2 +-
 3 files changed, 652 insertions(+), 1 deletion(-)
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2018-12-18 13:50:12 UTC
Your commit broke the live ebuild.
Comment 12 Arfrever Frehtes Taifersar Arahesis 2018-12-19 08:55:47 UTC
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b3d714731f10129f9af881ae8fb58890d6c55f3

commit 7b3d714731f10129f9af881ae8fb58890d6c55f3
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2018-12-18 13:49:06 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2018-12-18 13:49:24 +0000

    Revert "net-libs/wvstreams: OpenSSL 1.1 compatibility"
    
    This reverts commit 875f94f85a365c3fd22f07fe22634afb49e9febd.
    
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Comment 13 Larry the Git Cow gentoo-dev 2019-04-01 10:24:46 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13b97042173234896370a5624e5f0ae312ef0b7a

commit 13b97042173234896370a5624e5f0ae312ef0b7a
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2019-04-01 10:23:08 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2019-04-01 10:24:39 +0000

    net-libs/wvstreams: Use Debian SRC_URI/patchset
    
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Fixes: https://bugs.gentoo.org/614810
    Fixes: https://bugs.gentoo.org/634488
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 net-libs/wvstreams/Manifest                   |  2 +
 net-libs/wvstreams/wvstreams-4.6.1_p14.ebuild | 97 +++++++++++++++++++++++++++
 2 files changed, 99 insertions(+)