Package Details: deadlock-modmanager 1.0.0-1

Git Clone URL: https://aur.archlinux.org/deadlock-modmanager.git (read-only, click to copy)
Package Base: deadlock-modmanager
Description: A mod manager for the Valve game Deadlock
Upstream URL: https://github.com/deadlock-mod-manager/deadlock-mod-manager
Licenses: GPL-3.0-only
Conflicts: deadlock-modmanager-bin, deadlock-modmanager-git
Submitter: yobson
Maintainer: stormix
Last Packager: stormix
Votes: 6
Popularity: 1.82
First Submitted: 2025-08-31 15:08 (UTC)
Last Updated: 2026-05-28 16:11 (UTC)

Latest Comments

HurricanePootis commented on 2026-06-03 01:01 (UTC)

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"

graem commented on 2026-05-04 05:11 (UTC) (edited on 2026-05-04 05:26 (UTC) by graem)

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

yobson commented on 2026-02-28 13:20 (UTC)

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

lcuy commented on 2026-02-28 10:26 (UTC)

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

yobson commented on 2026-02-22 23:38 (UTC)

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.

thebigboo commented on 2026-02-22 13:19 (UTC)

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

JohnWeak commented on 2026-01-16 16:36 (UTC)

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

yobson commented on 2026-01-10 19:27 (UTC)

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

JohnWeak commented on 2026-01-10 18:45 (UTC) (edited on 2026-01-10 18:48 (UTC) by 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

NovaCaller commented on 2026-01-02 23:56 (UTC) (edited on 2026-01-02 23:56 (UTC) by NovaCaller)

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 :)