from src/ssl_sock.c:51: src/ssl_sock.c: In function ‘ctx_set_TLSv13_func’: src/ssl_sock.c:2273:5: error: missing binary operator before token "1" 2273 | #if SSL_OP_NO_TLSv1_3 | ^~~~~~~~~~~~~~~~~ src/ssl_sock.c: In function ‘ssl_set_TLSv13_func’: src/ssl_sock.c:2279:5: error: missing binary operator before token "1" ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_hardened-j4-20210915-110204 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.0 * clang version 12.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/12/bin /usr/lib/llvm/12 12.0.1 Python 3.9.7 Available Ruby profiles: (none found) Available Rust versions: [1] rust-1.55.0 * The Glorious Glasgow Haskell Compilation System, version 8.10.4 HEAD of ::gentoo commit 2e211bbe025910395caf3b1d1bb86eecf45d4b67 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Sep 17 20:36:26 2021 +0000 2021-09-17 20:36:25 UTC emerge -qpvO net-proxy/haproxy [ebuild N ] net-proxy/haproxy-2.4.4 USE="crypt net_ns pcre slz ssl threads (-51degrees) -device-atlas -doc -examples (-lua) -pcre2 -pcre2-jit -pcre-jit -prometheus-exporter -systemd -tools -vim-syntax (-wurfl) -zlib" LUA_SINGLE_TARGET="lua5-3"
Created attachment 739746 [details] emerge-info.txt
Created attachment 739749 [details] emerge-history.txt
Created attachment 739752 [details] environment
Created attachment 739755 [details] etc.portage.tar.bz2
Created attachment 739758 [details] net-proxy:haproxy-2.4.4:20210917-215452.log
Created attachment 739761 [details] temp.tar.bz2
Are you using OpenSSL >=3.x by chance?
(In reply to Christian Ruppert (idl0r) from comment #7) > Are you using OpenSSL >=3.x by chance? Please take a look at the attached emerge-history.txt and the blocker ;)
Fedora patch (which looks like a backport): https://src.fedoraproject.org/rpms/haproxy/blob/rawhide/f/bz2022031-fix-openssl-build.patch
Can you guys please try 2.5.x?