惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Apple Machine Learning Research
Apple Machine Learning Research
Jina AI
Jina AI
博客园_首页
WordPress大学
WordPress大学
罗磊的独立博客
小众软件
小众软件
Last Week in AI
Last Week in AI
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Hugging Face - Blog
Hugging Face - Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
爱范儿
爱范儿
The Cloudflare Blog
GbyAI
GbyAI
C
Check Point Blog
腾讯CDC
MyScale Blog
MyScale Blog
有赞技术团队
有赞技术团队
博客园 - 聂微东
IT之家
IT之家
雷峰网
雷峰网
H
Help Net Security
博客园 - 叶小钗
美团技术团队
D
DataBreaches.Net

AUR Newest Packages

AUR (en) - linuxqq-clipsync-git AUR (en) - libtslitex-git AUR (en) - libtslitex-git AUR (en) - carton-appimage AUR (en) - veila-git AUR (en) - veila-bin AUR (en) - vigil-baseline AUR (en) - byedroid AUR (en) - neovim-base16-git AUR (en) - pirata AUR (en) - rpi-imager-git-non-root AUR (en) - python-fastapi-sso AUR (en) - tmux-ai-titles AUR (en) - zeed-bin AUR (en) - bclone-bin AUR (en) - dwl-git-azerty AUR (en) - auggie-bin AUR (en) - libspatialaudio-git AUR (en) - libspatialaudio AUR (en) - miniupnpd-iptables-legacy AUR (en) - miniupnpd-nft AUR (en) - jeeves-bin AUR (en) - opennow AUR (en) - rotki AUR (en) - kapi-bin AUR (en) - classfi-bin AUR (en) - classfi-git AUR (en) - classfi AUR (en) - giff-git AUR (en) - budget-tracker-bin
AUR (en) - deadlock-modmanager
2026-05-29 · via AUR Newest Packages

Hello,

You can remove the options=(!lto) from this PKGBUILD by setting export CFLAGS+=" -ffat-lto-objects" & export CXXFLAGS+= -ffat-lto-objects. This is something that has to be done with Rust packages, but for some reason, is missing from the Wiki pagage on Rust Package Guidelines. Maybe I'll make an edit…

Another thing is, you don't need to specify -C linker-args=-fuse-ld=lld anymore. Ever since Rust 1.90, LLD is the default linker for Rust on Linux.

I built the package with my changes applied in a clean chroot (extra-x86-64-build -c) , and reading the binary, you can see LLD was used by default without specifying it nor installing the lld package (plus, you don't need to specify gcc since it's a part of base-devel). This is because rust automatically bundles its own version of LLD.

hurricane@TheCloutPC ~/deadlock-modmanager $ readelf -p .comment /usr/bin/deadlock-modmanager 

String dump of section '.comment':
  [     0]  GCC: (GNU) 16.1.1 20260430
  [    1c]  rustc version 1.96.0 (ac68faa20 2026-05-25) (Arch Linux rust 1:1.96.0-1)
  [    65]  Linker: LLD 22.1.6

This package is also missing glibc, libgcc, libstdc++, and dbus from depends().

I also recommend these changes for deadlock-modmanager-git, so I will leave a comment there.

diff --git a/PKGBUILD b/PKGBUILD
index 1903704..0b4d8cc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,12 +7,11 @@ pkgrel=1
 arch=('x86_64')
 url='https://github.com/deadlock-mod-manager/deadlock-mod-manager'
 license=('GPL-3.0-only')
-makedepends=('cargo' 'cargo-tauri' 'pnpm' 'lld' 'gcc')
+makedepends=('cargo' 'cargo-tauri' 'pnpm')
 depends=('webkit2gtk-4.1' 'cairo' 'desktop-file-utils' 'xdg-utils' 'gdk-pixbuf2'
          'glib2' 'gtk3' 'libsoup3' 'pango' 'openssl' 'bzip2' 'hicolor-icon-theme'
-         'gst-plugins-good')
+         'gst-plugins-good' 'dbus' 'libgcc' 'glibc' 'libstdc++')
 conflicts=('deadlock-modmanager-bin' 'deadlock-modmanager-git')
-options=('!lto')
 source=("${pkgname}-${_pkgver}.tar.gz::https://github.com/deadlock-mod-manager/deadlock-mod-manager/archive/refs/tags/v${_pkgver}.tar.gz")
 sha256sums=('51b3025c34ccbdd6841e320fe344bf23ee0e6cc8f0e384f0b9113b83dec1b94d')

@@ -25,9 +24,10 @@ prepare() {
 }

 build() {
-    export RUSTFLAGS="${RUSTFLAGS} -C link-arg=-fuse-ld=lld"
     export CC=gcc
     export CXX=g++
+    export CFLAGS+=" -ffat-lto-objects"
+    export CXXFLAGS+=" -ffat-lto-objects"
     export CARGO_TARGET_DIR=target
     export VITE_API_URL="https://api.deadlockmods.app"
     export VITE_WEB_URL="https://deadlockmods.app"

i'm having the same EXACT issue as @JohnWeak, i don't know what to do to make it build. same errors, same env variables in said errors, i don't know what they mean by 'full cleanup' so i'm just stuck and can't build it.

EDIT: had to manually install sharp's dependencies

it builds fine on my system and in a clean chroot with libfmt 12 from official repos installed

getting long errors in build(), posted it to a pastebin: https://0x0.st/PQCf.txt

the error line ignoring all the spew:

warning: openssl-sys@0.9.111: gcc: error while loading shared libraries: libfmt.so.11: cannot open shared object file: No such file or directory
error: failed to run custom build command for `openssl-sys v0.9.111

manually installing libfmt at version 11.2 allowed the package to work for me, I posted fmt11 to the aur if you'd like to use that as a make dependency

what are you using to try and install it? what is LocalFileSigLevel set to in your pacman.conf? it's unsigned and doesnt need to be since you build it locally.

error: '/home/xxx/.cache/paru/clone/deadlock-modmanager/deadlock-modmanager-0.14.1-1-x86_64.pkg.tar.zst': package missing required signature

@yobson something was wrong with my npm environment, I did a full cleanup and it built successfully

it builds in a clean chroot, there's something wrong with your environment. unsure if it's related but i notice you're getting warnings about your env from npm. i don't get any such warnings in a clean chroot or my systems own regular environment. @JohnWeak

==> Starting prepare()...
Scope: all 25 workspace projects
../..                                    |    +1986 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
../..                                    | Progress: resolved 1986, reused 1964, downloaded 0, added 1986, done
../../node_modules/.pnpm/sharp@0.34.5/node_modules/sharp: Running install script, failed in 179ms
.../sharp@0.34.5/node_modules/sharp install$ node install/check.js || npm run build
│ npm warn Unknown env config "npm-globalconfig". This will stop working in the next major version of npm.
│ npm warn Unknown env config "verify-deps-before-run". This will stop working in the next major version of npm.
│ npm warn Unknown env config "_jsr-registry". This will stop working in the next major version of npm.
│ npm warn Unknown env config "catalog". This will stop working in the next major version of npm.
│ > sharp@0.34.5 build
│ > node install/build.js
│ sharp: Attempting to build from source via node-gyp
│ sharp: See https://sharp.pixelplumbing.com/install#building-from-source
│ sharp: Found node-addon-api 
│ sharp: Please add node-gyp to your dependencies
└─ Failed in 180ms at /home/john/.cache/yay/deadlock-modmanager/src/deadlock-modmanager/node_modules/.pnpm/sharp@0.34.5/node_modules/sharp
ELIFECYCLE  Command failed with exit code 1.
==> ERROR: A failure occurred in prepare().
    Aborting...
-> error making: deadlock-modmanager-exit status 4
-> Failed to install the following packages. Manual intervention is required:
deadlock-modmanager - exit status 4

missing dependency: gst-plugins-good
without it, the application starts but is not interactable. corresponding terminal output:

GStreamer element autoaudiosink not found. Please install it

(WebKitWebProcess:36051): GLib-GObject-CRITICAL **: 00:40:01.345: invalid (NULL) pointer instance

(WebKitWebProcess:36051): GLib-GObject-CRITICAL **: 00:40:01.345: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

after installing gst-plugins-good it works fine :)