Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 633466 - 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
Summary: dev-libs/botan-1.10.17 : src/.../ossl_bc.cpp:12:4: error: #error OpenSSL 1.1 ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jack Lloyd
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: libressl-support
  Show dependency tree
 
Reported: 2017-10-04 17:34 UTC by Toralf Förster
Modified: 2017-10-04 19:18 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.63 KB, text/plain)
2017-10-04 17:34 UTC, Toralf Förster
Details
dev-libs:botan-1.10.17:20171004-081145.log (dev-libs:botan-1.10.17:20171004-081145.log,32.53 KB, text/plain)
2017-10-04 17:34 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,465.04 KB, text/plain)
2017-10-04 17:34 UTC, Toralf Förster
Details
environment (environment,93.60 KB, text/plain)
2017-10-04 17:34 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,51.61 KB, application/x-bzip)
2017-10-04 17:34 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,24.64 KB, application/x-bzip)
2017-10-04 17:34 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-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