Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 607416 - dev-libs/softhsm-2.2.0-r1 : configure: error: OpenSSL library has no GOST support
Summary: dev-libs/softhsm-2.2.0-r1 : configure: error: OpenSSL library has no GOST sup...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: libressl-support
  Show dependency tree
 
Reported: 2017-01-27 18:03 UTC by Toralf Förster
Modified: 2019-01-04 19:55 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,5.76 KB, text/plain)
2017-01-27 18:03 UTC, Toralf Förster
Details
config.log (config.log,31.03 KB, text/plain)
2017-01-27 18:03 UTC, Toralf Förster
Details
dev-libs:softhsm-2.2.0-r1:20170127-172435.log (dev-libs:softhsm-2.2.0-r1:20170127-172435.log,5.65 KB, text/plain)
2017-01-27 18:03 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,296.49 KB, text/plain)
2017-01-27 18:03 UTC, Toralf Förster
Details
environment (environment,103.72 KB, text/plain)
2017-01-27 18:03 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.93 KB, application/x-bzip)
2017-01-27 18:03 UTC, Toralf Förster
Details
emerge-info.txt (emerge-info.txt,17.23 KB, text/plain)
2019-01-03 16:53 UTC, Toralf Förster
Details
dev-libs:softhsm-2.5.0:20190103-145836.log (dev-libs:softhsm-2.5.0:20190103-145836.log,5.31 KB, text/plain)
2019-01-03 16:53 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,249.31 KB, text/plain)
2019-01-03 16:53 UTC, Toralf Förster
Details
environment (environment,21.15 KB, text/plain)
2019-01-03 16:53 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.99 KB, application/x-bzip)
2019-01-03 16:53 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,6.59 KB, application/x-bzip)
2019-01-03 16:53 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,8.31 KB, application/x-bzip)
2019-01-03 16:53 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-01-27 18:03:38 UTC
checking for OpenSSL ECC support... Found P256, P384, and P521
checking for OpenSSL GOST support... Cannot find GOST engine
configure: error: OpenSSL library has no GOST support

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-libs/softhsm-2.2.0-r1/work/softhsm-2.2.0/config.log

  -----------------------------------------------------------------

  This is an unstable amd64 chroot image (named plasma-systemd-libressl-unstable_20170121-102229) at a hardened host acting as a tinderbox.

  -----------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-5.4.0 *
llvm-config --version:
3.9.1
Available Java Virtual Machines:
  [1]   icedtea-7  system-vm
  [2]   icedtea-bin-7 
  [3]   icedtea-bin-8 
Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 7.2.6.8 [icedtea-7]
2)	IcedTea JDK 7.2.6.8 [icedtea-bin-7]
3)	IcedTea JDK 3.2.0 [icedtea-bin-8]
  -----------------------------------------------------------------
Comment 1 Toralf Förster gentoo-dev 2017-01-27 18:03:41 UTC
Created attachment 461636 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-01-27 18:03:44 UTC
Created attachment 461638 [details]
config.log
Comment 3 Toralf Förster gentoo-dev 2017-01-27 18:03:47 UTC
Created attachment 461640 [details]
dev-libs:softhsm-2.2.0-r1:20170127-172435.log
Comment 4 Toralf Förster gentoo-dev 2017-01-27 18:03:50 UTC
Created attachment 461642 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2017-01-27 18:03:52 UTC
Created attachment 461644 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2017-01-27 18:03:55 UTC
Created attachment 461646 [details]
etc.portage.tbz2
Comment 7 Alon Bar-Lev (RETIRED) gentoo-dev 2017-01-27 18:43:01 UTC
I disabled gost for libressl, please check.
Comment 8 Toralf Förster gentoo-dev 2017-01-28 19:58:49 UTC
(In reply to Alon Bar-Lev from comment #7)

solved - now the package stucks later in :

/../common -I./../cryptoki_compat -I./../data_mgr -I./.. -I/usr/local/include   -O2 -pipe -march=native -Wall -Wextra -std=c++11 -fvisibility=hidden -c -o OSSLDH.lo OSSLDH.cpp
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../.. -I./../common -I./../cryptoki_compat -I./../data_mgr -I./.. -I/usr/local/include -O2 -pipe -march=native -Wall -Wextra -std=c++11 -fvisibility=hidden -c OSSLDH.cpp  -fPIC -DPIC -o .libs/OSSLDH.o
OSSLDH.cpp: In member function ‘virtual bool OSSLDH::generateKeyPair(AsymmetricKeyPair**, AsymmetricParameters*, RNG*)’:
OSSLDH.cpp:141:39: error: ‘DH_set0_pqg’ was not declared in this scope
  if (!DH_set0_pqg(dh, bn_p, NULL, bn_g))
                                       ^
OSSLDH.cpp:154:49: error: ‘DH_set_length’ was not declared in this scope
   if (!DH_set_length(dh, params->getXBitLength()))
                                                 ^
OSSLDH.cpp: In member function ‘virtual bool OSSLDH::deriveKey(SymmetricKey**, PublicKey*, PrivateKey*)’:
OSSLDH.cpp:207:36: error: ‘DH_get0_key’ was not declared in this scope
  DH_get0_key(pub, &bn_pub_key, NULL);
                                    ^
OSSLDH.cpp: In member function ‘virtual bool OSSLDH::generateParameters(AsymmetricParameters**, void*, RNG*)’:
OSSLDH.cpp:299:36: error: ‘DH_get0_pqg’ was not declared in this scope
  DH_get0_pqg(dh, &bn_p, NULL, &bn_g);
                                    ^
make[5]: *** [Makefile:742: OSSLDH.lo] Error 1
Comment 9 Alon Bar-Lev (RETIRED) gentoo-dev 2017-01-28 20:01:05 UTC
(In reply to Toralf Förster from comment #8)
> (In reply to Alon Bar-Lev from comment #7)
> 
> solved - now the package stucks later in :
> 
> OSSLDH.cpp: In member function ‘virtual bool
> OSSLDH::generateParameters(AsymmetricParameters**, void*, RNG*)’:
> OSSLDH.cpp:299:36: error: ‘DH_get0_pqg’ was not declared in this scope
>   DH_get0_pqg(dh, &bn_p, NULL, &bn_g);
>                                     ^
> make[5]: *** [Makefile:742: OSSLDH.lo] Error 1

dup of bug#607496 (yours) already fixed, please re-sync with latest.
Comment 10 Toralf Förster gentoo-dev 2019-01-03 16:53:33 UTC
got at the unstable amd64 chroot image 17.0-developer_20181229-151642 this : configure: error: OpenSSL library has no GOST support
Comment 11 Toralf Förster gentoo-dev 2019-01-03 16:53:37 UTC
Created attachment 559622 [details]
emerge-info.txt
Comment 12 Toralf Förster gentoo-dev 2019-01-03 16:53:40 UTC
Created attachment 559624 [details]
dev-libs:softhsm-2.5.0:20190103-145836.log
Comment 13 Toralf Förster gentoo-dev 2019-01-03 16:53:43 UTC
Created attachment 559626 [details]
emerge-history.txt
Comment 14 Toralf Förster gentoo-dev 2019-01-03 16:53:46 UTC
Created attachment 559628 [details]
environment
Comment 15 Toralf Förster gentoo-dev 2019-01-03 16:53:48 UTC
Created attachment 559630 [details]
etc.portage.tbz2
Comment 16 Toralf Förster gentoo-dev 2019-01-03 16:53:51 UTC
Created attachment 559632 [details]
logs.tbz2
Comment 17 Toralf Förster gentoo-dev 2019-01-03 16:53:54 UTC
Created attachment 559634 [details]
temp.tbz2
Comment 18 Alon Bar-Lev (RETIRED) gentoo-dev 2019-01-04 19:44:51 UTC
(In reply to Toralf Förster from comment #10)
> got at the unstable amd64 chroot image 17.0-developer_20181229-151642 this :
> configure: error: OpenSSL library has no GOST support

this is not openssl, different issue.
Comment 19 Toralf Förster gentoo-dev 2019-01-04 19:51:04 UTC
(In reply to Alon Bar-Lev from comment #18)
ok, filed bug #674534 for it
Comment 20 Alon Bar-Lev (RETIRED) gentoo-dev 2019-01-04 19:55:10 UTC
(In reply to Toralf Förster from comment #19)
> (In reply to Alon Bar-Lev from comment #18)
> ok, filed bug #674534 for it

Thanks!