monitoring-plugins
Build times (auto-updated)
- x86_64: 1m1s (2026-11-15 10:02 UTC, MAKEFLAGS=-j6)
- aarch64: 3m36s (2026-11-15 10:06 UTC, remote, MAKEFLAGS=-j4)
- armv6h: 35m53s (2026-11-15 10:46 UTC, remote, serial)
- armv7h: 10m57s (2026-11-15 10:46 UTC, remote, MAKEFLAGS=-j4)
- Category:
local-install (/data/INSTALL/monitoring-plugins, not under arch/).
Not a plain yay-found-it-outdated case – see the 2026-11-15 entry below for
why it ended up here instead of a routine rebuild.
- Requested after an OpenSSL update on this host, with the intent of
rebuilding against the new OpenSSL. The
/data/INSTALL/monitoring-plugins
checkout here was still on old AUR history (pkgver=2.4.0, with a local
0001-mariadb.patch for a “MariaDB 10.2 removed MYSQL_PORT” build fix),
from before this package was adopted into Arch’s official extra repo
(currently 3.0.3-3, packager arojas). AUR’s own copy is gone –
https://aur.archlinux.org/rpc/v5/info/monitoring-plugins returns
resultcount: 0 – but the git checkout’s origin remote (still
aur.archlinux.org/monitoring-plugins.git) still works for git operations
even though the AUR web/RPC listing for it is gone.
- Used
scripts/merge_gitlab_history.sh (first real use of this script in
this project, per memory/TOOLING_NOTES.md – previously only written/
tested, never actually run against a package) to pull
gitlab.archlinux.org/archlinux/packaging/packages/monitoring-plugins.git
into this checkout. Merge was a clean fast-forward (07530c9..88b3b7a,
CLEAN) – no conflict at all, since gitlab’s history is a direct
continuation of the old AUR history, not a divergent rewrite. Our local
0001-mariadb.patch was removed by this fast-forward (upstream’s own
history already deleted it along the way – the MariaDB 10.2 fix must have
landed upstream or stopped being needed; not reintroduced since the merge
was clean and this wasn’t something to pick a side of).
- The new head commit is literally
88b3b7a "upgpkg: 3.0.3-3: openssl 4
rebuild" – i.e. the official packagers already did the exact OpenSSL 4
rebuild this request was about, via a new openssl-4.patch (669 lines)
now in the PKGBUILD’s source=(). So no local OpenSSL-related patching
needed here at all – just pulling in their already-published fix.
- Cleaned stale untracked build leftovers from the old 2.4.0 era
(
monitoring-plugins-2.4.0*.tar.gz/.pkg.tar.zst, pkg/, src/) before
building, per the stale-artifacts-before-build convention.
- Built/signed/published via
scripts/repo_release.sh /data/INSTALL/monitoring-plugins
at 3.0.3-3 – same pkgver-pkgrel as upstream’s own gitlab history (no
local edit survives here, so no need for the local-install X.Y pkgrel
scheme this time; nothing of ours to distinguish).
- Added
local-install/monitoring-plugins to scripts/install_only_packages
so generate_overview.sh/the site track it.
- If this needs touching again:
origin is still the AUR remote (dead on
the web/RPC side, but git fetch/push against it may or may not still work
– untested here since this pass only ever pulled from gitlab, never
pushed anywhere). Re-run merge_gitlab_history.sh again next time rather
than hand-diffing – it already proved itself clean once. If a future
gitlab update ever actually conflicts (not just PKGBUILD/.SRCINFO), it’ll
abort and need manual review per its own header comment.
2026-11-15 (same day): extended to the ARM cluster (armv6h/armv7h/aarch64), pkgrel 3 -> 3.3
- User asked to also build for ARM once the cluster (
eurobuild4/5/14)
came back up after a reimage. Added armv6h/armv7h/aarch64 to
arch=(); pkgrel bumped to 3.1 (local-install X.Y scheme – this is
our own addition, not upstream’s).
- Two real build issues hit on first attempt, both fixed in the
PKGBUILD:
aclocal.m4/configure/Makefile.in end up looking older than
configure.ac/plugins/Makefile.am once openssl-4.patch touches
them (patch always writes a fresh mtime) – make’s maintainer-mode
rule then tries to regenerate them via aclocal-1.18, which isn’t
installed on every board (hit on armv6h/eurobuild4). Not actually
needed since the patch doesn’t require new autoconf/automake output.
Fixed by touching the generated files right after the patch in
prepare(), so their mtimes stay newer than the patched sources.
postfix (a makedepends entry, used only for ./configure’s plain
PATH probe for mailq – check_mailq is a Perl wrapper that shells
out to whatever mailq is on the target’s own $PATH at runtime, not
a baked-in path) conflicts with whatever MTA each ARM board already
had preinstalled: exim on eurobuild14, dma (DragonFly Mail
Agent) on eurobuild5. First instinct – dropping postfix from
makedepends entirely – was wrong and explicitly rejected by the
user (“remove exim, postfix is fine”): postfix is the real
convention here, the stray MTAs on the ARM boards were leftover
base-image cruft to be removed, not postfix’s dependency to be
dropped. Fix: exim was already gone from eurobuild14 by the time
this was circled back to (removed separately), and dma was removed
from eurobuild5 (pacman -R dma, no hard dependents – only two
optional-dependency notes from e2fsprogs/s-nail). eurobuild4
already had postfix installed (an older 3.6.4-1), no conflict
there at all. postfix stays in makedepends unchanged.
pkgrel churned 3.1 -> 3.2 -> 3.3 through this back-and-forth
(3.2 was the wrong, since-abandoned “drop postfix” state) – final
published state is 3.3 (arch expansion + the aclocal touch-fix
only, postfix untouched).
- Infra-level gotcha, not a packaging bug: killing the top-level
repo_release.sh (oksh) process with a plain kill does not cascade
to its children – repo_build.sh -> repo_build_remote.sh -> the ssh
connection to the board all kept running after the parent died. Had to
explicitly kill each child in the process tree. Worse: killing the local
ssh client abruptly (instead of letting the remote script exit
cleanly) left eurobuild4/eurobuild5 each with a stale
/data/INSTALL/.building.lock directory (the remote board-lock
mechanism, see memory/remote_build_board_lock.md) that never got
released, since the remote script’s own unlock trap never got a chance
to run. Every subsequent attempt correctly refused to start
(“already building something else”), confirmed via a careful ps auxf
on both boards that nothing was actually still running (the only
“build”-looking thing left was the user’s own root session with tail
-f on the armv7h build log – not a process to kill). Fixed by
rm -f .../.building.lock/holder && rmdir .../.building.lock on each
board once genuinely confirmed idle. If a repo_release.sh run needs
to be killed again: kill the whole process tree (not just the top
parent), then check for and clear a stale .building.lock on any remote
board it had reached, don’t assume the lock released itself.
- One board collision/timeout also happened on a clean (non-killed) run:
armv6h/armv7h both briefly reported FAILED with their build logs
cut off mid-configure, no error – looked at first like the orchestrator
gave up on a slow board (ServerAliveInterval=30/ServerAliveCountMax=6
possibly too short for these boards’ slowest configure checks), but
turned out to actually be fallout from the stale-lock issue above, not a
real timeout. Not confirmed as a real SSH-keepalive problem – don’t
assume that diagnosis without seeing it recur on a run that was never
manually killed.
- Final build times:
armv6h is dramatically slower than the others
(35m53s vs. aarch64’s 3m36s and armv7h’s 10m57s) – expect that going in
for future rebuilds, not a regression.