From 2fa130ab95fbf41507494c43d2d2282e161908b8 Mon Sep 17 00:00:00 2001 From: Whyme Lyu Date: Mon, 16 Feb 2026 01:08:31 +0800 Subject: [PATCH] haproxy-awslc: don't check() on dynamic lib of aws-lc for now Make building w/ staticlib works. --- .SRCINFO | 2 +- PKGBUILD | 13 ++++++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 305a8ebe4143..b999cb649a3c 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = haproxy-awslc pkgdesc = Reliable, high performance TCP/HTTP load balancer built with aws-lc pkgver = 3.3.3 - pkgrel = 2 + pkgrel = 3 url = https://www.haproxy.org/ install = haproxy.install arch = x86_64 diff --git a/PKGBUILD b/PKGBUILD index 102474947c41..99f621686d99 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -15,7 +15,7 @@ pkgname=haproxy-awslc _pkgname=haproxy pkgver=3.3.3 -pkgrel=2 +pkgrel=3 pkgdesc='Reliable, high performance TCP/HTTP load balancer built with aws-lc' url='https://www.haproxy.org/' @@ -105,10 +105,17 @@ build() { check() { cd "haproxy-${pkgver%.*}" - # We need to make sure haproxy actually links to .so of aws-lc + # I'd like to make sure haproxy actually links to .so of aws-lc # A misconfigured build could fallback to linking openssl because aws-lc # doesn't change the soname. - ldd ./haproxy | grep -Fq /usr/lib/aws-lc/ + # + # ldd ./haproxy | grep -Fq /usr/lib/aws-lc/ + # + # However, aws-lc upstream doesn't promise ABI stability yet. The + # maintainer of AUR/aws-lc decides to go with staticlib for now. + # Good news for me: the build process of haproxy stays the same. + # + # Upstream issue: https://github.com/aws/aws-lc/issues/1098 if [ $? = 1 ]; then echo "Executable \`haproxy' isn't linked to aws-lc libraries. Abort" return 1