barrier
Build times (auto-updated)
- x86_64: 9m36s (2026-12-02 14:28 UTC, MAKEFLAGS=-j6)
Category: maintained – a real AUR submodule (ssh://aur@aur.archlinux.org/barrier.git),
since the 2026-11-30 adoption below. (It was adapted/ for two days before
that; ignore any older text here implying it still is, and note pkgrel is a
plain integer now, not X.Y.) Carries a real local diff,
barrier-openssl4-x509-const.patch, without which 2.4.0 does not compile at
all against OpenSSL 4.x – now pushed to AUR rather than a private deviation. Split pkgbase producing two
packages, barrier (GUI) and barrier-headless (CLI client/server), plus a
barrier-debug. # Maintainer: left as Morten Linderud (upstream AUR
packager) – this is a fork that only fixes a compile error against a package
whose upstream packaging still exists, so the real maintainer keeps the credit.
2026-11-28: added, published 2.4.0-4.1 (x86_64)
It does not build against OpenSSL 4.x – that is why it is in adapted/
Originally slated for local-install/ because upstream’s PKGBUILD looked like
it needed nothing from us (its cherry-picks and 1886.patch are all
upstream’s own work). The first build disproved that:
src/lib/net/SecureUtils.cpp:187:32: error: invalid conversion from
'const X509_name_st*' to 'X509_NAME*' {aka 'X509_name_st*'} [-fpermissive]
Line 186 is auto* name = X509_get_subject_name(cert);. Checked the chroot’s
actual headers (OpenSSL 4.1.0): const X509_NAME *X509_get_subject_name(const
X509 *a); – it now returns const, so auto* deduces const X509_NAME*,
and the very next line’s X509_NAME_add_entry_by_txt() still wants a mutable
one. The adjacent X509_set_issuer_name(X509 *, const X509_NAME *) already
takes const, so only that one line needs changing.
Fix: const_cast<X509_NAME*>(X509_get_subject_name(cert)). Safe because the
cert was created by X509_new() a few lines above in the same function, so we
own it; and a no-op on OpenSSL 3.x, where the return type is already
non-const, so the patch doesn’t break older toolchains. Standalone patch file
applied via patch -Np1 in the existing prepare() after upstream’s own
1886.patch, per [[feedback_patch_files_not_inline]].
Because that diff exists, adapted/ is the correct category and
local-install/ would have been wrong (that is for zero-modification
vendoring). The user confirmed the move.
updpkgsums corrupted the git source’s checksum – and --skipinteg hid it
Running updpkgsums replaced the first sha256sums entry – the
git+https://github.com/debauchee/barrier.git#tag=v$pkgver source – with a
computed hash, where upstream correctly had SKIP. Restored to SKIP by hand;
the two real hashes (upstream’s 1886.patch, our OpenSSL patch) were verified
against the files.
Why the test build didn’t catch it, which generalises well beyond this
package: repo_build.sh invokes makepkg with --skipinteg, so integrity
checks never run in this pipeline at all. A wrong, stale or missing checksum
builds perfectly happily here and only breaks for someone running a plain
makepkg. So updpkgsums output must be eyeballed rather than trusted –
particularly on a PKGBUILD mixing VCS and file sources, where it is prone to
this.
pkgrel is 4.1, not 3.1 – upstream’s own .SRCINFO is stale
Upstream’s PKGBUILD says pkgrel=4 while their committed .SRCINFO still says
3 (commit 13873f9, 2025-05-05, “fix build with newer CMake”, bumped one and
not the other), which is why the AUR RPC advertises 2.4.0-**3**. X=4 is
therefore correct for the X.Y scheme – it is upstream’s actual pkgrel and
does not exceed it (see [[feedback_local_adaptions_go_in_adapted]]’s rule 2).
Ours is internally consistent since .SRCINFO is regenerated.
Upstream state: dormant and orphaned, and the out-of-date flag is not real
- Both AUR entries are orphaned (
Maintainer: None). - Flagged out-of-date 2026-02-21, but there is no newer release:
v2.4.0is still the newest upstream tag (git ls-remote --tagschecked directly). Per [[feedback_verify_aur_flags_before_acting]] the flag is unbacked – it most likely expresses “this project is abandoned” rather than a missed version. Don’t chase it. - Upstream
debauchee/barrierlast pushed 2024-06-22, 1035 open issues, not formally archived but effectively dead. The de facto successor is input-leap. User chose to build barrier anyway (asked for explicitly); input-leap was noted as a possible future migration but not pursued.
barrier-headless is not a separate AUR package – it is a second pkgname
of this same split pkgbase, and aur.archlinux.org/barrier-headless.git is an
empty repo. One build produces both, with the internal
barrier-headless=${pkgver}-${pkgrel} dependency automatically consistent. Do
not try to build it separately.
The error: target not found: barrier / barrier-headless lines in the release
log are just checkpkg looking for an already-published version to diff
against on a first-time publish – harmless.
2026-12-02: 2.4.0-6 – took over the # Maintainer: line, published
User-requested, in the same breath as “bump pkgver”. There was nothing to
bump the pkgver to — upstream debauchee/barrier’s newest tag is still
v2.4.0 (checked git ls-remote --tags; STATES.txt agrees,
OK maintained/barrier 2.4.0 2.4.0) and the project is effectively dormant.
A maintainer-comment change is packaging-only, so by
[[feedback_pkgrel_vs_pkgver]] this is a pkgrel bump: 5 -> 6. Worth
remembering for the next “bump barrier” request — 2.4.0 is very likely still
the ceiling.
Header now reads:
# Maintainer: Andreas Baumann <mail@andreasbaumann.cc>
# Contributor: Morten Linderud <foxboron@archlinux.org>
# Contributor: Tilman BLUMENBACH <tilman+aur AT ax86 DOT net>
This resolves the inconsistency flagged in the entry below: the old
# Maintainer: Morten Linderud line was correct while this was a fork in
adapted/, but stopped matching reality at the 2026-11-30 AUR adoption.
Morten keeps credit as # Contributor:.
updpkgsums was deliberately not run — only pkgrel and comments
changed, so no checksum could move, and this PKGBUILD mixes VCS and file
sources where updpkgsums is known to clobber the git source’s SKIP (see
the 2026-11-28 entry). .SRCINFO was regenerated with
makepkg --printsrcinfo, which correctly propagated the inter-package pin
depends = barrier-headless=2.4.0-6. Verified all four SKIP entries intact
and diffed the whole file against git show HEAD:PKGBUILD — exactly the two
intended changes, no byte drift.
Cleared stale *-2.4.0-5-*.pkg.tar.zst out of /data/INSTALL/barrier
before building, same trap as the -4.1 files last time: the bare
/data/INSTALL/<pkg> path takes repo_build_staged.sh’s passthrough branch,
which skips the usual leftover cleanup, and repo-add is last-write-wins by
pkgname rather than highest-version. This is now 2-for-2 on this package —
treat it as a required pre-build step here, not an occasional one.
All three packages (barrier, barrier-headless, barrier-debug) built and
published x86_64 cleanly, first try, no errors in the log. Build took ~5min
rather than the recorded 1m50s purely because linux-lts515 was building
pentium4 concurrently on the same host, both at MAKEFLAGS=-j6.
repo_arch_status.sh said “not published” — it was lying, and got fixed
Immediately after a clean publish, repo_arch_status.sh maintained/barrier
printed x86_64 euronuc not published. The publish was fine; the script was
wrong, because barrier is a split package (pkgname=(barrier
barrier-headless)) with no pkgbase= line, so its db lookup key came out
as the literal string (barrier barrier-headless). Verified against the real
repo db by hand before touching anything — all three packages present at
2.4.0-6. Fixed in the script and written up in
memory/TOOLING_NOTES.md; generate_overview.sh was never affected since it
reads pkgbase from .SRCINFO.
Also pruned two stale adapted/barrier rows (2.4.0-4.1, CHANGED) out of
OVERVIEW_CACHE.tsv — a --only overview run never revisits other
packages’ cached rows, so a directory that has been deleted lingers in the
dashboard until something prunes it.
2026-12-02: the 2026-11-30 push landed – all three “remaining steps” are done
Verified rather than assumed, because the 2026-11-30 entry below closes with three steps explicitly left for the user and a future session would otherwise re-do them:
- AUR RPC reports
barrier 2.4.0-5,Maintainer: andreas_baumann,LastModified2026-11-30 16:33 UTC, withDepends: barrier-headless=2.4.0-5– so the staged commit was committed and pushed. (step 1 done) maintained/barrieris a registered submodule in.gitmodulespointing atssh://aur@aur.archlinux.org/barrier.git, clean, ataddc565 "fixed for OpenSSL 4"– which is the pushed AUR tip and containsPKGBUILD,.SRCINFOandbarrier-openssl4-x509-const.patch. The gitlink points at a pushed commit, so [[feedback_submodule_gitlink_must_be_pushed]] is satisfied. (step 2 done)adapted/barrierno longer exists. (step 3 done)
One leftover inconsistency, deliberately not changed: the PKGBUILD’s first
line is still # Maintainer: Morten Linderud <foxboron@archlinux.org>, which
was the right call while this was a fork in adapted/ (see the header note
above) but no longer matches reality now that the AUR RPC says
Maintainer: andreas_baumann. Whether to take the # Maintainer: line and
demote Morten to # Contributor: is the user’s call, not a routine update –
flagged, not edited.
2026-12-02: AUR comment asking for an openssl-3 workaround – no action, already fixed
check_aur_feedback.sh surfaced mpolishchuck (2026-11-28 17:29): “Does
not compile since openssl is updated to version 4 in main repo”, with a
suggested PKGBUILD diff that switches depends from openssl to
openssl-3 and plumbs the compat tree through
CFLAGS/CXXFLAGS/LDFLAGS plus
-D OPENSSL_ROOT_DIR=/usr/lib/openssl-3 -D OPENSSL_INCLUDE_DIR=/usr/include/openssl-3.
No action: already fixed and published. The comment predates the fix by
two days – it was posted 2026-11-28 17:29, and 2.4.0-5 carrying
barrier-openssl4-x509-const.patch reached AUR 2026-11-30 16:33 UTC. The
reporter was looking at 2.4.0-4.
Worth keeping the reasoning for why the suggested patch was not taken, since
it will look like an unapplied contribution to a future reader: it’s a
workaround, ours is a fix. The one-line
const_cast<X509_NAME*>(X509_get_subject_name(cert)) keeps barrier building
against the system OpenSSL 4.x and is a no-op on 3.x, so it needs no extra
dependency and will not need unwinding later. Pinning depends=(openssl-3)
instead ties the package to Arch’s 3.5-LTS compat package for as long as that
exists, carries the include/link-path plumbing forever, and leaves the actual
const-correctness error unaddressed. Same judgement as the linux-lts515
case, where openssl-3 was the right answer – there the broken code is
upstream’s host tooling using the removed ENGINE API, which is not a one-line
type fix.
No AUR reply posted, matching [feedback_obvious_fixes_no_aur_reply]. Flagged to the user as an optional courtesy reply, since this commenter did take the trouble to supply a patch.
Also in the same scrape: Teeed (2025-07-23) “Please upgrade .SRCINFO” –
likewise resolved, addc565 regenerated .SRCINFO along with the rest.
2026-11-30: adopted on AUR -> category moves adapted/ -> maintained/, published 2.4.0-5
The user adopted barrier on AUR, so the RPC now reports
Maintainer: andreas_baumann (= AUR_USER_NAME). That satisfies
maintained/’s one real test (we are the AUR maintainer/co-maintainer, able
to push updates there), so the package moves out of adapted/. Recorded in
DROPPED_TO_AUR.md under “Adopted”.
Consequence worth internalising: pkgrel goes back to a plain integer.
The X.Y scheme exists only for packages whose upstream pkgrel sequence we
don’t own. As the AUR maintainer we own it, so 4.1 became 5, and
barrier-openssl4-x509-const.patch is now ours to push to AUR rather than a
private deviation carried forever. Published 2.4.0-5 (barrier,
barrier-headless, barrier-debug); 4.1 archived; db carries only -5.
The pkgctl/gitlab history was ALREADY merged – don’t redo it
Asked to “merge histories”. Checked rather than assumed, and there was nothing to do:
d80143f "merged with gitlab barrier (existed before in the AUR)"in the AUR repo is a genuine two-parent merge:abc774c(the AUR line) andd91e439(the gitlab line).- gitlab’s
refs/heads/mainis exactlyd91e439and has not moved since. git merge-base --is-ancestor d91e439 HEAD→ true, i.e. gitlab’s main is already an ancestor of the AUR tip13873f9.
So git merge --allow-unrelated-histories main would report “Already up to
date”. The AUR repo’s 18 commits are the complete lineage (original AUR
history + Arch’s pkgctl packaging history). Verify this with
merge-base --is-ancestor before attempting the TOOLING_NOTES merge
procedure on any adopted package – the merge may well have been done
upstream already.
A subtree merge of that history into the superproject under adapted/barrier/
was started first (when adapted/ was still the assumed target) and then
aborted cleanly once the real goal was clear – adapted/barrier’s tree
hash was confirmed byte-identical afterwards (b1974144...), so nothing was
disturbed. Worth remembering that adapted/ can never hold real history,
because it must never be a submodule: a subtree merge into the superproject is
the only option there, which is a strong argument for maintained/ whenever
adoption is possible.
Remaining steps, blocked on the user’s push (not done here)
- The staged commit in
/data/INSTALL/barrier(PKGBUILDpkgrel=5+ patch insource[]/prepare(),.SRCINFO, and the patch file) needs committing and pushing to AUR. - Only after that push may
maintained/barrierbe registered as a submodule – a gitlink must never point at an unpushed commit, see [[feedback_submodule_gitlink_must_be_pushed]]. adapted/barrieris then superseded and should be removed, otherwise it lingers atpkgrel=4.1andrepo_diff_local_remote.shwill keep flagging it CHANGED against the published 2.4.0-5.
Also cleared stale *-2.4.0-4.1-*.pkg.tar.zst files out of
/data/INSTALL/barrier before this build: a bare /data/INSTALL/<pkg> path
makes repo_build_staged.sh take its passthrough branch, which does not
run the usual leftover-package cleanup, and repo-add is last-write-wins by
pkgname.