From 41e794f4d541e85e075da47119487bcda887a323 Mon Sep 17 00:00:00 2001 From: vikingowl Date: Wed, 13 May 2026 03:19:14 +0200 Subject: [PATCH] build(aur): disable debug subpackage (options=!debug) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit makepkg in clean chroots defaults to OPTIONS+=(debug), which tries to split debug symbols into an owlry-debug subpackage. Cargo's release profile already strips the binary at compile time (strip = true in workspace Cargo.toml), so the debug split finds nothing and emits a benign-but-noisy 'No debugging symbols' warning followed by an empty owlry-debug-2.0.0-1-x86_64.pkg.tar.zst. Set options=('!debug') so makepkg skips debug splitting entirely. The released package is unchanged from the user's perspective; we just stop producing the empty subpackage and the namcap warning that came with it. Leaves the unrelated namcap warnings about transitively-satisfied deps (glib2, openssl, pango, glibc, libgcc) untouched — those are normal for Rust binaries pulled through GTK4 and don't need explicit listing in depends=. The 'checkpkg: target not found: owlry' warning will auto- resolve once 2.0.0 is published to AUR. --- aur/owlry/.SRCINFO | 1 + aur/owlry/PKGBUILD | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/aur/owlry/.SRCINFO b/aur/owlry/.SRCINFO index 2deee8c..f4f816a 100644 --- a/aur/owlry/.SRCINFO +++ b/aur/owlry/.SRCINFO @@ -77,6 +77,7 @@ pkgbase = owlry replaces = owlry-meta-widgets replaces = owlry-meta-tools replaces = owlry-meta-full + options = !debug source = owlry-2.0.0.tar.gz::https://somegit.dev/Owlibou/owlry/archive/owlry-v2.0.0.tar.gz b2sums = SKIP diff --git a/aur/owlry/PKGBUILD b/aur/owlry/PKGBUILD index 0b3b541..265fcc4 100644 --- a/aur/owlry/PKGBUILD +++ b/aur/owlry/PKGBUILD @@ -67,6 +67,12 @@ provides=("${_v2_replaced[@]}") install=owlry.install +# Cargo's release profile strips the binary at compile time (strip = true +# in workspace Cargo.toml), so there are no debug symbols left for makepkg +# to extract into an owlry-debug subpackage. Disable debug splitting so the +# build doesn't ship a 0-byte debug package. +options=('!debug') + source=("$pkgname-$pkgver.tar.gz::https://somegit.dev/Owlibou/owlry/archive/owlry-v$pkgver.tar.gz") b2sums=('SKIP') # populated by `just aur-update-pkg owlry` once the tag is pushed