openssl-1.1
Build times (auto-updated)
- x86_64: 10m24s (2026-11-23 21:44 UTC, MAKEFLAGS=-j6)
- i686: 14m47s (2026-11-23 21:58 UTC, MAKEFLAGS=-j6)
- pentium4: 13m12s (2026-11-23 22:12 UTC, MAKEFLAGS=-j6)
- aarch64: 11m47s (2026-11-23 22:28 UTC, remote, MAKEFLAGS=-j4)
- armv7h: 44m15s (2026-11-23 22:28 UTC, remote, MAKEFLAGS=-j4)
- Path: arch/adapted/openssl-1.1
- Build failure during the 2026-07-07 “build all packages for x86_64”
private-repo release pass (see
repo_release_logs/adapted_openssl-1.1.log). - Source retrieval and a very large stack of custom CVE/security patches all
applied cleanly (dozens of hunks across crypto/cms, crypto/pkcs12,
crypto/x509, test/ etc. – this PKGBUILD carries many backported fixes on top
of the base openssl-1.1 release). The actual failure is at
./Configure:optflags='enable-ktls enable-ec_nistp_64_gcc_128'(PKGBUILD line 215) is passed intoConfigure --prefix=/usr ...(line 243), and Configure rejects it outright:***** Unsupported options: enable-ktls. - Root-caused and fixed 2026-08-17.
enable-ktlsis not, and never was, a realConfigureoption for vanilla OpenSSL 1.1.1w:grep -n ktls Configure Configurations/10-main.confagainst the pristine extracted source tarball (and this project’s own CVE/security patch stack, none of which touchConfigure/Configurations/) returns zero hits. Sooptflags='enable-ktls enable-ec_nistp_64_gcc_128'on thex86_64arm of thecase ${CARCH}inbuild()was simply wrong from the start –enable-ec_nistp_64_gcc_128is real (appears inConfigure’s disablables table),enable-ktlsnever was. Fix: dropenable-ktls, keepenable-ec_nistp_64_gcc_128. Bumpedpkgrel11->11.1(arch=() extended to add i686/pentium4, which don’t hit this x86_64-only code path and built fine first try) ->11.2(the ktls fix itself, a second successive local deviation). - This bug had been dormant since the 2026-07-07 report: the previously
published x86_64 package was never rebuilt in the interim (nothing changed its
pkgrel), soOVERVIEW.md’s “SAME” status was just comparing localpkgrelto the remote package, not evidence of a recent successful build. The 2026-08-17 arch-extension task (adding i686/pentium4) was the first thing to actually trigger an x86_64 rebuild since, which is what surfaced the bug again. Lesson: a “SAME” published-status package can still be silently broken if nothing has forced a rebuild in a while — don’t assume “SAME” means “still builds.” - Now builds cleanly for aarch64 (skipped here, no local build cmd), x86_64,
armv7h (skipped here, no local build cmd), i686, and pentium4. i686/pentium4
are at
pkgrel=11.1, x86_64 at11.2(a cross-arch pkgrel mismatch within the same pkgbase is harmless – pacman resolves each arch’s package version independently).
2026-09-28: armv7h + aarch64 published for the first time
First real remote-ARM build attempt for this package (11.2, once the ARM cluster
came back up) – both repo_build.sh legs reported FAILED, but that verdict was
wrong: this PKGBUILD’s pkgver=${_ver/[a-z]/.${_ver//[0-9.]/}} line broke
remote_build.sh’s naive sed-based pkgver extraction (used only to name the
live build-log file), which fed a literal unexpanded ${_ver/[a-z]/...} string
(slashes and all) into the log’s tee target path. tee couldn’t open that
path and failed; set -o pipefail (intentionally there to catch real makepkg
failures) propagated that as the whole remote script’s exit status, even though
makepkg itself – including check(), since there’s no options=(!check) here
– had already completed and produced valid .pkg.tar.xz files on both
eurobuild5 (armv7h) and eurobuild14 (aarch64). Root cause fixed in
arch/scripts/remote_build.sh (see that script’s own header comment) by
switching pkgver/pkgrel extraction to makepkg --printsrcinfo, matching how
_pkgname was already done.
Verified the two already-built artifacts directly (tar tJf listing +
.PKGINFO pkgver/arch check) before trusting them, rather than re-running the
~70-minute armv7h build (its own make test is what made this take so long on
that board) – both were genuine complete builds, just mis-reported. Signed +
published both by hand (repo_sign.sh + repo_publish.sh directly, skipping
repo_build_staged.sh since the artifacts already existed) – confirmed live on
the remote repo afterward. No PKGBUILD change needed; this was purely a
build-tooling bug.
2026-11-23: refreshed from upstream pkgrel 11 -> 14, published as 14.1
Triggered by a real question about euromon, where pacman -Syu was reporting
openssl-1.1: ignoring package upgrade (1.1.1.w-2 => 1.1.1.w-11.2). Chasing
that showed our fork had drifted: we sat at upstream pkgrel=11 (2026-06-15)
while the AUR package had moved to 14 (2026-11-15). Since 1.1.1 is EOL
upstream, every one of those revisions is a distro CVE backport – the only
source of fixes this package will ever get – so being three behind matters.
The refresh procedure, worth reusing for any adapted/ package:
- Clone the AUR repo to a scratch dir,
git checkoutthe commit matching ourX(here82f1441, pkgrel 11) anddiff -rit against our package dir. That isolates our real local deviations from upstream drift. Result here: our deviations are exactlyPKGBUILD– nothing else, not even a stray patch file. git checkoutupstream’s current tip andrsync -a --delete --exclude .gitit over our package dir. This gets additions, modifications and deletions right in one step (upstream had removed threekeys/pgp/*.ascfiles; a copy-only sync would have silently kept them).- Re-apply the deviations to the new
PKGBUILD, thendiff -uthe result against upstream’s own file and check the diff is only the deviations. Don’t eyeball the file – diff it. .SRCINFO, thenupdate_pgp_key_dir.sh, thengit add -Aimmediately ([[feedback_adapted_needs_git_add_immediately]]).
pkgrel=14.1: X tracks upstream’s current pkgrel, so refreshing
upstream moves X and resets Y to 1 – 14.1 is both above the published
11.2 and safely below a future upstream 15, per
[[feedback_local_adaptions_go_in_adapted]]’s hard rule.
What upstream 11 -> 14 brought: five new CVE patches (CVE-2026-35189,
-54872, -63072, -75806, -84782, AlmaLinux/RHEL backports); prepare()’s
hand-maintained 40-entry patch list replaced by
find ../CVE-*.patch | sort -V | xargs -n 1 -t patch -p1 -i (plus the same
for the three .tar bundles) – notably less to desync than the old list;
check() now runs make TESTS=-test_afalg test (openssl#12242, afalg engine
tests need kernel support that isn’t always there); license custom:BSD ->
OpenSSL with new LICENSES/{OpenSSL,Apache-2.0}.txt; and validpgpkeys
trimmed from four keys to just EFC0A467... (OpenSSL OMC).
Our two deviations, unchanged and still the entire diff: the extended
arch=('aarch64' 'x86_64' 'armv7h' 'i686' 'pentium4'), and the per-CARCH
openssltarget/optflags block replacing upstream’s hardcoded
enable-ec_nistp_64_gcc_128 "linux-${CARCH}". That block is also what keeps
the bogus enable-ktls out (see the 2026-08-17 entry) – it survived this
refresh automatically because it replaces the line upstream would otherwise
reintroduce.
Verified before building: each of the five new patch files’ own sha256
recomputed and matched against the PKGBUILD’s entries (upstream’s sums, but
checked rather than trusted). Built and published all 5 archs – x86_64,
i686, pentium4 locally, armv7h/aarch64 on eurobuild5/14 – with make test
green everywhere (159 files, 2666 tests, Result: PASS) and 240 patch/tar
applications across the archs with zero rejects or offsets worth noting.
11.2 archived.
For euromon specifically: its armv7h upgrade target is now 14.1. The
pin there (IgnorePkg = bacula-client openssl-1.1 in /etc/pacman.conf) is
not needed for ABI reasons – our package ships the same
usr/lib/lib{ssl,crypto}.so.1.1 and declares provides = libssl.so=1.1-32 /
libcrypto.so=1.1-32, which is what python2’s _ssl.so/_hashlib.so and
nagios-nrpe-plugin’s check_nrpe link against. Unpinning is the user’s
call on their host – see [[euromon]] for the full investigation, including
why python2 is still genuinely needed there (the munin2nagios systemd
timer) and the undeclared check_nrpe -> libssl.so.1.1 linkage.