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

Bug 633466

Summary: dev-libs/botan-1.10.17 : src/.../ossl_bc.cpp:12:4: error: #error OpenSSL 1.1 API not supported in Botan 1.10, upgrade to 2.x
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Jack Lloyd <lloyd>
Status: RESOLVED FIXED    
Severity: normal CC: alonbl, crypto+disabled, proxy-maint
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/randombit/botan/pull/1236
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 561854    
Attachments: emerge-info.txt
dev-libs:botan-1.10.17:20171004-081145.log
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2017-10-04 17:34:02 UTC
x86_64-pc-linux-gnu-g++ -Ibuild/include -Werror=terminate -O2 -pipe -march=native  -D_REENTRANT -Wno-long-long -W -Wall -fPIC -fvisibility=hidden -c src/engine/openssl/ossl_arc4.cpp -o build/lib/engine_openssl_ossl_arc4.o
x86_64-pc-linux-gnu-g++ -Ibuild/include -Werror=terminate -O2 -pipe -march=native  -D_REENTRANT -Wno-long-long -W -Wall -fPIC -fvisibility=hidden -c src/engine/openssl/ossl_bc.cpp -o build/lib/engine_openssl_ossl_bc.o
src/engine/openssl/ossl_bc.cpp:12:4: error: #error "OpenSSL 1.1 API not supported in Botan 1.10, upgrade to 2.x"
   #error "OpenSSL 1.1 API not supported in Botan 1.10, upgrade to 2.x"
    ^~~~~
make: *** [Makefile:860: build/lib/engine_openssl_ossl_bc.o] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop_libressl_20170914-215948

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.4.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
  [4]   pypy (fallback)

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 7.2.6.11 [icedtea-7]
2)	IcedTea JDK 7.2.6.11 [icedtea-bin-7]
3)	IcedTea JDK 3.5.1 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-7  system-vm
  [2]   icedtea-bin-7 
  [3]   icedtea-bin-8 

emerge -qpv dev-libs/botan
[ebuild     U ] dev-libs/botan-1.10.17 [1.10.16] USE="bzip2 libressl ssl zlib -bindist -doc -gmp -python -static-libs -threads" PYTHON_TARGETS="python2_7 python3_4 -python3_5"
Comment 1 Toralf Förster gentoo-dev 2017-10-04 17:34:05 UTC
Created attachment 497604 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-10-04 17:34:08 UTC
Created attachment 497606 [details]
dev-libs:botan-1.10.17:20171004-081145.log
Comment 3 Toralf Förster gentoo-dev 2017-10-04 17:34:11 UTC
Created attachment 497608 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-10-04 17:34:14 UTC
Created attachment 497610 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-10-04 17:34:17 UTC
Created attachment 497612 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-10-04 17:34:20 UTC
Created attachment 497614 [details]
temp.tbz2
Comment 7 Jack Lloyd 2017-10-04 17:57:21 UTC
Hi,

Not sure what action is being asked for here. Botan 1.10 doesn't support OpenSSL 1.1.0 API, and it is unlikely it will be modified to support it in the future.

The 1.10 ebuild should (for `ssl? !libressl?` case) version check for openssl < 1.1.0
Comment 8 Toralf Förster gentoo-dev 2017-10-04 18:20:19 UTC
yes, it should reject being build with libressl