Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 634180 - dev-libs/botan-2.3.0 : ./.../openssl_rsa.cpp:272:19: error: INT_MAX was not declared in this scope
Summary: dev-libs/botan-2.3.0 : ./.../openssl_rsa.cpp:272:19: error: INT_MAX was not d...
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: https://github.com/randombit/botan/pu...
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2017-10-13 16:20 UTC by Toralf Förster
Modified: 2017-10-13 16:39 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.79 KB, text/plain)
2017-10-13 16:20 UTC, Toralf Förster
Details
dev-libs:botan-2.3.0:20171013-044915.log (dev-libs:botan-2.3.0:20171013-044915.log,82.80 KB, text/plain)
2017-10-13 16:20 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,235.17 KB, text/plain)
2017-10-13 16:20 UTC, Toralf Förster
Details
environment (environment,90.57 KB, text/plain)
2017-10-13 16:20 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.05 KB, application/x-bzip)
2017-10-13 16:21 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,24.79 KB, application/x-bzip)
2017-10-13 16:21 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-13 16:20:47 UTC
x86_64-pc-linux-gnu-g++ -pthread -fPIC -fvisibility=hidden -std=c++11 -D_REENTRANT -Werror=terminate -O2 -pipe -march=native -Wall -Wextra -Wpedantic -Wstrict-aliasing -Wstrict-overflow=5 -Wcast-align -Wmissing-declarations -Wpointer-arith -Wcast-qual -Wzero-as-null-pointer-constant -Wnon-virtual-dtor -Ibuild/include -Ibuild/include/external -c ./src/lib/prov/openssl/openssl_rsa.cpp -o build/obj/lib/prov_openssl_rsa.o
./src/lib/prov/openssl/openssl_rsa.cpp: In function ‘std::unique_ptr<Botan::RSA_PrivateKey> Botan::make_openssl_rsa_private_key(Botan::RandomNumberGenerator&, std::size_t)’:
./src/lib/prov/openssl/openssl_rsa.cpp:272:19: error: ‘INT_MAX’ was not declared in this scope
    if (rsa_bits > INT_MAX)
                   ^~~~~~~
make: *** [Makefile:1079: build/obj/lib/prov_openssl_rsa.o] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma-systemd_libressl-abi32+64_20171008-122215

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

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

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
  [3]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.5.1 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv dev-libs/botan
[ebuild  N    ] dev-libs/botan-2.3.0  USE="bzip2 libressl ssl zlib -bindist -boost -doc -lzma -python -sqlite -static-libs" PYTHON_TARGETS="python2_7 python3_4 -python3_5 -python3_6"
Comment 1 Toralf Förster gentoo-dev 2017-10-13 16:20:50 UTC
Created attachment 498522 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-10-13 16:20:53 UTC
Created attachment 498524 [details]
dev-libs:botan-2.3.0:20171013-044915.log
Comment 3 Toralf Förster gentoo-dev 2017-10-13 16:20:56 UTC
Created attachment 498526 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-10-13 16:20:59 UTC
Created attachment 498528 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-10-13 16:21:02 UTC
Created attachment 498530 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-10-13 16:21:05 UTC
Created attachment 498532 [details]
temp.tbz2
Comment 7 Alon Bar-Lev (RETIRED) gentoo-dev 2017-10-13 16:39:28 UTC
Thanks!