Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / syd


Commits:
f511a4dc by Robin Candau at 2026-01-22T18:39:38+01:00
upgpkg: 3.48.5-2: Update build features list to disable the "prof" debug feature

Requires LTO to be (re-)disabled for now (see 
https://gitlab.archlinux.org/archlinux/packaging/packages/syd/-/issues/46#note_400280)

Fixes https://gitlab.archlinux.org/archlinux/packaging/packages/syd/-/issues/46

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = syd
        pkgdesc = Seccomp and landlock based application sandbox with support 
for namespaces
        pkgver = 3.48.5
-       pkgrel = 1
+       pkgrel = 2
        url = https://gitlab.exherbo.org/sydbox/sydbox
        arch = x86_64
        license = GPL-3.0-only
@@ -16,6 +16,7 @@ pkgbase = syd
        optdepends = syd-tui: Syd's Terminal User Interface
        optdepends = pandora_box: Syd's log inspector & profile writer
        provides = sydbox
+       options = !lto
        source = 
git+https://gitlab.exherbo.org/sydbox/sydbox.git#tag=v3.48.5?signed
        validpgpkeys = 5DF763560390A149AC6C14C7D076A377FB27DE70
        sha256sums = 
0d22b7524fab8703c48eefe51f9036676d809c91144353be7acb992c80122230


=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
 pkgname=syd
 _pkgname=sydbox
 pkgver=3.48.5
-pkgrel=1
+pkgrel=2
 pkgdesc="Seccomp and landlock based application sandbox with support for 
namespaces"
 url="https://gitlab.exherbo.org/sydbox/sydbox";
 arch=('x86_64')
@@ -16,6 +16,7 @@ provides=("${_pkgname}")
 source=("git+${url}.git#tag=v${pkgver}?signed")
 sha256sums=('0d22b7524fab8703c48eefe51f9036676d809c91144353be7acb992c80122230')
 validpgpkeys=('5DF763560390A149AC6C14C7D076A377FB27DE70')
+options=('!lto')
 
 prepare() {
        cd "${_pkgname}"
@@ -24,7 +25,7 @@ prepare() {
 
 build() {
        cd "${_pkgname}"
-       cargo build --frozen --release --all-features
+       cargo build --frozen --release --features oci
 
        find man -type f -name "*.scd" -exec sh -c 'scdoc < "${1}" > 
"${1%.scd}"' _ {} \;
 }
@@ -34,7 +35,7 @@ check() {
        # "syd_test" and "fs" tests fail with sandbox
        # "hash" tests seems flaky (they fail on the build server for some 
reason)
        # "proc / executables paths [...]" fails if `/usr/lib/libgcc_s.so.1` is 
not executable (which is shipped by `gcc_libs`)
-       cargo test --frozen --all-features -- \
+       cargo test --frozen --features oci -- \
                --skip=syd_test \
                --skip=fs::tests::test_canonicalize_non_directory_with_slash \
                --skip=fs::tests::test_canonicalize_self_referential_symlink \



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/syd/-/commit/f511a4dccd2edc44dbc302a793719c09c275f324

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/syd/-/commit/f511a4dccd2edc44dbc302a793719c09c275f324
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to