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_mode.cpp -o build/obj/lib/prov_openssl_mode.o ./src/lib/prov/openssl/openssl_mode.cpp: In member function ‘virtual std::size_t Botan::{anonymous}::OpenSSL_Cipher_Mode::process(uint8_t*, std::size_t)’: ./src/lib/prov/openssl/openssl_mode.cpp:93:17: error: ‘INT_MAX’ was not declared in this scope if(msg_len > INT_MAX) ^~~~~~~ make: *** [Makefile:1073: build/obj/lib/prov_openssl_mode.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 NS ] dev-libs/botan-2.3.0 [1.10.16] USE="bzip2 libressl ssl zlib -bindist -boost -doc -lzma -python -sqlite -static-libs" PYTHON_TARGETS="python2_7 python3_4 -python3_5 -python3_6"
Created attachment 497616 [details] emerge-info.txt
Created attachment 497618 [details] dev-libs:botan-2.3.0:20171004-091123.log
Created attachment 497620 [details] emerge-history.txt
Created attachment 497622 [details] environment
Created attachment 497624 [details] etc.portage.tbz2
Created attachment 497626 [details] temp.tbz2
Thanks. Fixed upstream. https://github.com/randombit/botan/commit/9e28eac720176ecb9b784510d352aa0ac38d0b56 Strange this didn't manifest on Arch or Ubuntu.
(In reply to Jack Lloyd from comment #7) Maybe due to gcc-6 being used ?
Thanks!
Maybe, I mostly test on 4.8 and 7 so if there was some intermediate shuffling of included headers in GCC 5 or 6 libstdc++'s it might have been missed.