You are not logged in.
Hello!
I'm a new Arch user (I've been using it for almost two years now). For some time now I wanted to try dynamic window manager, because it seems better for my workflow. I've set out to install dwm AUR package and failed to do it. Since I've been scratching my head over the issue for a day now, I've turned to search for help here. Please note that it's my first ever post on this forum. I'm sorry in advance if there are any editorial or techincal errors in this post.
Here is the setup that I use on my laptop.
OS: Arch Linux x86_64
Host: VivoBook_ASUSLaptop X515JA_X515JA (1.0)
Kernel: Linux 6.18.5-arch1-1
Shell: bash 5.3.9
DE: KDE Plasma 6.5.5
WM: KWin (Wayland)
Terminal: konsole 25.12.1I made sure that I've updated all the packages before posting.
I've got a separate directory in my user directory for AUR packages name (shockingly) 'AUR'. After changing to this directory I cloned git repository as stated in https://wiki.archlinux.org/title/Dwm#Installation.
git clone https://aur.archlinux.org/dwm.gitAnd then changed to the newly created 'dwm' directory. Inside, without making any changes to the 'config.h' file I ran:
makepkgWhich attempted to make the following PKGBUILD file.
# Maintainer: Thule <vincenzo.frascino@proton.me>
# Contributor: Neptune <neptune650@proton.me>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Dag Odenhall <dag.odenhall@gmail.com>
# Contributor: Grigorios Bouzakis <grbzks@gmail.com>
pkgname=dwm
pkgver=6.6
pkgrel=1
pkgdesc="A dynamic window manager for X"
url="https://dwm.suckless.org"
arch=('i686' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64')
license=('MIT')
options=(zipman)
depends=('libx11' 'libxinerama' 'libxft' 'freetype2')
install=dwm.install
source=(dwm.desktop
https://dl.suckless.org/dwm/dwm-$pkgver.tar.gz
config.h)
sha256sums=('bc36426772e1471d6dd8c8aed91f288e16949e3463a9933fee6390ee0ccd3f81'
'7cfc2c6d9386c07c49e2c906f209c18ba3364ce0b4872eae39f56efdb7fc00a3'
'SKIP')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
if [[ -f "$srcdir/config.h" ]]; then
cp -fv "$srcdir/config.h" config.h
fi
}
build() {
cd "$srcdir/$pkgname-$pkgver"
make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 FREETYPEINC=/usr/include/freetype2
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make PREFIX=/usr DESTDIR="$pkgdir" install
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 README "$pkgdir/usr/share/doc/$pkgname/README"
install -Dm644 "$srcdir/dwm.desktop" "$pkgdir/usr/share/xsessions/dwm.desktop"
}And here's the issue. After running said command I was prompted with the following outcome in the terminal. To be sure I've checked if there are all necessary files for compilation, which there were.
==> Making package: dwm 6.6-1 (Tue Jan 20 21:08:46 2026)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found dwm.desktop
-> Downloading dwm-6.6.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 0
100 26379 100 26379 0 0 73182 0 0
100 26379 100 26379 0 0 73157 0 0
100 26379 100 26379 0 0 73129 0 0
-> Found config.h
==> Validating source files with sha256sums...
dwm.desktop ... Passed
dwm-6.6.tar.gz ... Passed
config.h ... Skipped
==> Extracting sources...
-> Extracting dwm-6.6.tar.gz with bsdtar
==> Starting prepare()...
'/home/gacek/AUR/dwm/src/config.h' -> 'config.h'
==> Starting build()...
cc -c -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os -I/usr/include/X11 -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700L -DVERSION=\"6.6\" -DXINERAMA drw.c
/tmp/ccRA1jFD.s: Assembler messages:
/tmp/ccRA1jFD.s:1447: Error: unknown pseudo-op: `.base64'
/tmp/ccRA1jFD.s:1452: Error: unknown pseudo-op: `.base64'
/tmp/ccRA1jFD.s:1458: Error: unknown pseudo-op: `.base64'
make: *** [Makefile:12: drw.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...After which any command I ran in the 'dwm' directory prompted the following warning.
warning: could not open directory 'pkg/': Permission deniedAfter searching the internet for a while I found these posts that are related to the problem:
https://bbs.archlinux.org/viewtopic.php?pid=1648019,
https://bugs.archlinux.org/task/50439,
https://github.com/orgs/Homebrew/discussions/6229.
At first I was concerned about the fact that the 'pkg/' directory doesn't have permission to write and read, but I found out that this is intentional if build() fails.
It seems that there is a problem with assembler. After reading through said links I tried to install binutils but this change proved futile. I don't really understand what's going on with the assembler errors and compiler. Is there any way to solve this?
I hope you can help me with this.
Cheers
Last edited by NiQ (2026-01-23 12:32:38)
Offline
If you install devtools then run `pkgctl build` instead of `makepkg` does that work?
Offline
This is nothing to do with the pkg/ directory. It is a failure in the assembler.
Is your system fully updated? My guess is this is a mismatch between gcc and binutils versions. Following the instructions from loqs would also confirm this.
Offline
For clarity :
Is base-devel installed on your system ?
https://wiki.archlinux.org/title/Arch_U … requisites for more info.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Thank you all for responding!
For clarity :
Is base-devel installed on your system ?
https://wiki.archlinux.org/title/Arch_U … requisites for more info.
Yes, I have base-devel installed. It's on version 1-2.
This is nothing to do with the pkg/ directory. It is a failure in the assembler.
Is your system fully updated? My guess is this is a mismatch between gcc and binutils versions. Following the instructions from loqs would also confirm this.
Yes, I've updated fully before posting the original submission. Before posting this response I've updated system again.
If you install devtools then run `pkgctl build` instead of `makepkg` does that work?
I've installed devtools and run said command. The process initiated, but still failed to build the package. Following is the prompt I've got.
==> Updating pacman database cache
:: Synchronizing package databases...
core downloading...
extra downloading...
multilib downloading...
==> Building dwm
==> WARNING: invalid architecture, not building for: i686
==> WARNING: invalid architecture, not building for: arm
==> WARNING: invalid architecture, not building for: armv7h
==> WARNING: invalid architecture, not building for: armv6h
==> WARNING: invalid architecture, not building for: aarch64
-> repo: extra
-> arch: x86_64
-> worker: gacek-1
==> Building dwm for [extra] (x86_64)
cat: /var/lib/archbuild/extra-x86_64/root/.arch-chroot: No such file or directory
==> Creating chroot for [extra] (x86_64)...
==> Creating install root at /var/lib/archbuild/extra-x86_64/root
==> Installing packages to /var/lib/archbuild/extra-x86_64/root
:: Synchronizing package databases...
core downloading...
extra downloading...
resolving dependencies...
looking for conflicting packages...
Package (133) New Version Net Change Download Size
core/acl 2.3.2-1 0.32 MiB
core/archlinux-keyring 20260107-2 1.70 MiB
core/attr 2.5.2-1 0.21 MiB
core/audit 4.1.2-2 1.00 MiB
core/autoconf 2.72-1 2.22 MiB
core/automake 1.18.1-1 1.64 MiB
core/bash 5.3.9-1 9.56 MiB
core/binutils 2.45.1+r35+g12d0a1dbc1b9-1 42.74 MiB
core/bison 3.8.2-8 2.52 MiB
core/brotli 1.2.0-1 1.03 MiB
core/bzip2 1.0.8-6 0.14 MiB
core/ca-certificates 20240618-1 0.00 MiB
core/ca-certificates-mozilla 3.120-1 1.06 MiB
core/ca-certificates-utils 20240618-1 0.01 MiB
core/coreutils 9.9-1 27.33 MiB
core/cryptsetup 2.8.3-1 3.27 MiB
core/curl 8.18.0-2 2.12 MiB
core/db5.3 5.3.28-5 6.45 MiB
core/dbus 1.16.2-1 0.98 MiB
core/dbus-broker 37-2 0.35 MiB
core/dbus-broker-units 37-2 0.00 MiB
core/dbus-units 37-2 0.00 MiB 0.00 MiB
core/debugedit 5.2-1 0.11 MiB
core/device-mapper 2.03.38-1 0.75 MiB
core/diffutils 3.12-2 1.50 MiB
core/e2fsprogs 1.47.3-2 5.28 MiB
core/expat 2.7.3-1 0.45 MiB
core/fakeroot 1.37.2-1 0.14 MiB
core/file 5.46-5 10.10 MiB
core/filesystem 2025.10.12-1 0.02 MiB
core/findutils 4.10.0-3 1.74 MiB
core/flex 2.6.4-5 0.93 MiB
core/gawk 5.3.2-1 3.60 MiB
core/gc 8.2.10-2 0.76 MiB
core/gcc 15.2.1+r447+g6a64f6c3ebb8-1 208.81 MiB
core/gcc-libs 15.2.1+r447+g6a64f6c3ebb8-1 152.20 MiB
core/gdbm 1.26-2 0.72 MiB
core/gettext 0.26-1 15.83 MiB
core/glib2 2.86.3-2 37.26 MiB
core/glibc 2.42+r51+gcbf39c26b258-1 49.70 MiB
core/gmp 6.3.0-2 1.01 MiB
core/gnulib-l10n 20241231-1 0.61 MiB
core/gnupg 2.4.9-1 10.28 MiB
core/gnutls 3.8.11-2 8.05 MiB
core/gpgme 2.0.1-1 0.75 MiB
core/grep 3.12-2 0.88 MiB
core/groff 1.23.0-7 8.84 MiB
core/guile 3.0.11-1 54.49 MiB
core/gzip 1.14-2 0.16 MiB
core/hwdata 0.403-1 9.75 MiB
core/iana-etc 20251215-1 4.00 MiB
core/icu 78.2-1 43.23 MiB
core/jansson 2.14.1-1 0.27 MiB
core/json-c 0.18-2 0.18 MiB
core/kbd 2.9.0-1 3.10 MiB
core/keyutils 1.6.3-3 0.20 MiB
core/kmod 34.2-1 0.33 MiB
core/krb5 1.21.3-2 4.55 MiB
core/leancrypto 1.6.0-1 6.00 MiB
core/libarchive 3.8.5-1 1.22 MiB
core/libassuan 3.0.0-1 0.23 MiB
core/libcap 2.77-1 2.00 MiB
core/libcap-ng 0.9-1 0.12 MiB
core/libelf 0.194-1 3.22 MiB
core/libevent 2.1.12-4 1.12 MiB
core/libffi 3.5.2-1 0.10 MiB
core/libgcrypt 1.11.2-1 1.87 MiB
core/libgpg-error 1.58-1 1.13 MiB
core/libidn2 2.3.8-1 0.37 MiB
core/libisl 0.27-1 5.75 MiB
core/libksba 1.6.7-2 0.31 MiB
core/libldap 2.6.10-2 0.66 MiB
core/libmakepkg-dropins 18-1 0.01 MiB
core/libmpc 1.3.1-2 0.18 MiB
core/libnghttp2 1.68.0-1 0.39 MiB
core/libnghttp3 1.14.0-1 0.25 MiB
core/libngtcp2 1.19.0-1 0.64 MiB
core/libnsl 2.0.1-1 0.07 MiB
core/libp11-kit 0.26.1-1 3.21 MiB 0.48 MiB
core/libpsl 0.21.5-2 0.22 MiB
core/libsasl 2.1.28-5 0.50 MiB
core/libseccomp 2.6.0-1 0.31 MiB
core/libsecret 0.21.7-1 1.16 MiB
core/libssh2 1.11.1-1 0.48 MiB
extra/libsysprof-capture 49.0-1 0.26 MiB
core/libtasn1 4.21.0-1 0.27 MiB
core/libtirpc 1.3.7-1 0.42 MiB
core/libtool 2.6.0-3 2.33 MiB 0.42 MiB
core/libunistring 1.3-1 2.69 MiB
core/libusb 1.0.29-1 0.22 MiB
core/libverto 0.3.2-5 0.07 MiB
core/libxcrypt 4.5.2-1 0.19 MiB
core/libxml2 2.15.1-5 3.00 MiB
core/linux-api-headers 6.18-1 6.79 MiB
extra/lmdb 0.9.33-1 0.40 MiB
core/lz4 1:1.10.0-2 0.44 MiB
core/m4 1.4.20-1 0.70 MiB
core/make 4.4.1-2 1.67 MiB
core/mpfr 4.2.2-1 1.01 MiB
core/ncurses 6.5-4 3.99 MiB
core/nettle 3.10.2-1 1.05 MiB
core/npth 1.8-1 0.08 MiB
core/openssl 3.6.0-1 12.11 MiB
core/p11-kit 0.26.1-1 1.10 MiB 0.24 MiB
core/pacman 7.1.0.r9.g54d9411-1 5.01 MiB
core/pacman-mirrorlist 20260105-1 0.03 MiB
core/pam 1.7.1-1 2.91 MiB
core/pambase 20250719-1 0.00 MiB
core/patch 2.8-1 0.17 MiB
core/pcre2 10.47-1 7.00 MiB
core/perl 5.42.0-1 69.88 MiB
core/pinentry 1.3.2-2 0.75 MiB
core/pkgconf 2.5.1-1 0.20 MiB
core/popt 1.19-2 0.23 MiB
core/readline 8.3.003-1 1.50 MiB
core/sed 4.9-3 0.70 MiB
core/shadow 4.18.0-1 3.91 MiB
core/sqlite 3.51.2-1 17.41 MiB
core/sudo 1.9.17.p2-2 7.83 MiB
core/systemd 259-2 35.92 MiB
core/systemd-libs 259-2 3.21 MiB
core/tar 1.35-2 2.80 MiB
core/texinfo 7.2-1 11.51 MiB
core/tpm2-tss 4.1.3-1 3.27 MiB
core/tzdata 2025c-1 1.94 MiB
core/util-linux 2.41.3-2 17.80 MiB
core/util-linux-libs 2.41.3-2 1.32 MiB
core/which 2.23-1 0.03 MiB
extra/xxhash 0.8.3-1 0.39 MiB
core/xz 5.8.2-1 2.95 MiB
core/zlib 1:1.3.1-2 0.33 MiB
core/zstd 1.5.7-2 1.53 MiB
core/base-devel 1-2 0.00 MiB
Total Download Size: 1.14 MiB
Total Installed Size: 1016.09 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
libp11-kit-0.26.1-1-x86_64 downloading...
libtool-2.6.0-3-x86_64 downloading...
p11-kit-0.26.1-1-x86_64 downloading...
dbus-units-37-2-x86_64 downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing linux-api-headers...
installing tzdata...
Optional dependencies for tzdata
bash: for tzselect [pending]
glibc: for zdump, zic [pending]
installing iana-etc...
installing filesystem...
installing glibc...
Optional dependencies for glibc
gd: for memusagestat
perl: for mtrace [pending]
installing gcc-libs...
installing ncurses...
Optional dependencies for ncurses
bash: for ncursesw6-config [pending]
installing readline...
installing bash...
Optional dependencies for bash
bash-completion: for tab completion
installing acl...
installing attr...
installing gmp...
installing zlib...
installing sqlite...
installing util-linux-libs...
Optional dependencies for util-linux-libs
python: python bindings to libmount
installing e2fsprogs...
Optional dependencies for e2fsprogs
lvm2: for e2scrub
util-linux: for e2scrub [pending]
smtp-forwarder: for e2scrub_fail script
installing keyutils...
installing gdbm...
installing openssl...
Optional dependencies for openssl
ca-certificates [pending]
perl [pending]
installing libsasl...
installing libldap...
installing libevent...
Optional dependencies for libevent
python: event_rpcgen.py
installing libverto...
installing lmdb...
installing krb5...
installing libcap-ng...
installing audit...
Optional dependencies for audit
audispd-plugins: for audit event dispatcher plugins
audispd-plugins-zos: for z/OS audit event dispatcher plugin
installing libxcrypt...
installing libtirpc...
installing libnsl...
installing pambase...
installing libgpg-error...
installing libgcrypt...
installing lz4...
installing xz...
installing zstd...
installing systemd-libs...
installing pam...
installing libcap...
installing coreutils...
installing findutils...
installing libtasn1...
installing libffi...
installing libp11-kit...
installing p11-kit...
installing ca-certificates-utils...
installing ca-certificates-mozilla...
installing ca-certificates...
installing brotli...
installing libunistring...
installing libidn2...
installing libnghttp2...
installing libnghttp3...
installing nettle...
installing leancrypto...
installing gnutls...
Optional dependencies for gnutls
tpm2-tss: support for TPM2 wrapped keys [pending]
installing libngtcp2...
installing libpsl...
installing libssh2...
installing curl...
installing mpfr...
installing gawk...
installing gnulib-l10n...
installing icu...
installing libxml2...
Optional dependencies for libxml2
python: Python bindings
installing gettext...
Optional dependencies for gettext
git: for autopoint infrastructure updates
appstream: for appstream support
installing libksba...
installing libusb...
installing libassuan...
installing libsysprof-capture...
installing bzip2...
installing pcre2...
Optional dependencies for pcre2
sh: for pcre2-config [installed]
installing glib2...
Optional dependencies for glib2
dconf: GSettings storage backend
glib2-devel: development tools
gvfs: most gio functionality
installing json-c...
installing tpm2-tss...
installing libsecret...
Optional dependencies for libsecret
org.freedesktop.secrets: secret storage backend
installing pinentry...
Optional dependencies for pinentry
gcr: GNOME backend
gtk3: GTK backend
qt5-x11extras: Qt5 backend
kwayland5: Qt5 backend
kguiaddons: Qt6 backend
kwindowsystem: Qt6 backend
installing npth...
installing gnupg...
Optional dependencies for gnupg
pcsclite: for using scdaemon not with the gnupg internal card driver
installing gpgme...
installing grep...
installing libarchive...
installing pacman-mirrorlist...
installing device-mapper...
installing popt...
installing cryptsetup...
installing expat...
installing dbus...
installing dbus-broker...
installing dbus-broker-units...
installing dbus-units...
installing sed...
installing gzip...
Optional dependencies for gzip
less: zless support
util-linux: zmore support [pending]
diffutils: zdiff/zcmp support [pending]
installing kbd...
installing kmod...
installing hwdata...
installing libelf...
installing libseccomp...
installing file...
installing shadow...
installing util-linux...
Optional dependencies for util-linux
words: default dictionary for look
installing systemd...
Initializing machine ID from random generator.
Creating group 'sys' with GID 3.
Creating group 'mem' with GID 8.
Creating group 'ftp' with GID 11.
Creating group 'mail' with GID 12.
Creating group 'log' with GID 19.
Creating group 'smmsp' with GID 25.
Creating group 'proc' with GID 26.
Creating group 'games' with GID 50.
Creating group 'lock' with GID 54.
Creating group 'network' with GID 90.
Creating group 'floppy' with GID 94.
Creating group 'scanner' with GID 96.
Creating group 'power' with GID 98.
Creating group 'nobody' with GID 65534.
Creating group 'adm' with GID 999.
Creating group 'wheel' with GID 998.
Creating group 'empower' with GID 997.
Creating group 'utmp' with GID 996.
Creating group 'audio' with GID 995.
Creating group 'clock' with GID 994.
Creating group 'disk' with GID 993.
Creating group 'input' with GID 992.
Creating group 'kmem' with GID 991.
Creating group 'kvm' with GID 990.
Creating group 'lp' with GID 989.
Creating group 'optical' with GID 988.
Creating group 'render' with GID 987.
Creating group 'sgx' with GID 986.
Creating group 'storage' with GID 985.
Creating group 'tty' with GID 5.
Creating group 'uucp' with GID 984.
Creating group 'video' with GID 983.
Creating group 'users' with GID 982.
Creating group 'groups' with GID 981.
Creating group 'systemd-journal' with GID 980.
Creating group 'rfkill' with GID 979.
Creating group 'bin' with GID 1.
Creating user 'bin' (n/a) with UID 1 and GID 1.
Creating group 'daemon' with GID 2.
Creating user 'daemon' (n/a) with UID 2 and GID 2.
Creating user 'mail' (n/a) with UID 8 and GID 12.
Creating user 'ftp' (n/a) with UID 14 and GID 11.
Creating group 'http' with GID 33.
Creating user 'http' (n/a) with UID 33 and GID 33.
Creating user 'nobody' (Kernel Overflow User) with UID 65534 and GID 65534.
Creating group 'dbus' with GID 81.
Creating user 'dbus' (System Message Bus) with UID 81 and GID 81.
Creating group 'systemd-coredump' with GID 978.
Creating user 'systemd-coredump' (systemd Core Dumper) with UID 978 and GID 978.
Creating group 'systemd-network' with GID 977.
Creating user 'systemd-network' (systemd Network Management) with UID 977 and GID 977.
Creating group 'systemd-oom' with GID 976.
Creating user 'systemd-oom' (systemd Userspace OOM Killer) with UID 976 and GID 976.
Creating group 'systemd-journal-remote' with GID 975.
Creating user 'systemd-journal-remote' (systemd Journal Remote) with UID 975 and GID 975.
Creating group 'systemd-resolve' with GID 974.
Creating user 'systemd-resolve' (systemd Resolver) with UID 974 and GID 974.
Creating group 'systemd-timesync' with GID 973.
Creating user 'systemd-timesync' (systemd Time Synchronization) with UID 973 and GID 973.
Creating group 'tss' with GID 972.
Creating user 'tss' (tss user for tpm2) with UID 972 and GID 972.
Creating group 'uuidd' with GID 971.
Creating user 'uuidd' (UUID generator helper daemon) with UID 971 and GID 971.
Created symlink '/etc/systemd/system/getty.target.wants/getty@tty1.service' → '/usr/lib/systemd/system/getty@.service'.
Created symlink '/etc/systemd/system/multi-user.target.wants/remote-fs.target' → '/usr/lib/systemd/system/remote-fs.target'.
Created symlink '/etc/systemd/system/sockets.target.wants/systemd-userdbd.socket' → '/usr/lib/systemd/system/systemd-userdbd.socket'.
Optional dependencies for systemd
libmicrohttpd: systemd-journal-gatewayd and systemd-journal-remote
apparmor: additional security features
quota-tools: kernel-level quota management
systemd-sysvcompat: symlink package to provide sysvinit binaries
systemd-ukify: combine kernel and initrd into a signed Unified Kernel Image
polkit: allow administration as unprivileged user
curl: systemd-journal-upload, machinectl pull-tar and pull-raw [installed]
gnutls: systemd-journal-gatewayd and systemd-journal-remote [installed]
qrencode: show QR codes
iptables: firewall features
libarchive: convert DDIs to tarballs [installed]
libbpf: support BPF programs
libpwquality: check password quality
libfido2: unlocking LUKS2 volumes with FIDO2 token
libp11-kit: support PKCS#11 [installed]
tpm2-tss: unlocking LUKS2 volumes with TPM2 [installed]
installing jansson...
installing binutils...
Optional dependencies for binutils
debuginfod: for debuginfod server/client functionality
installing libmakepkg-dropins...
installing pacman...
Optional dependencies for pacman
base-devel: required to use makepkg [pending]
perl-locale-gettext: translation support in makepkg-template
installing archlinux-keyring...
==> Appending keys from archlinux.gpg...
==> Updating trust database...
gpg: next trustdb check due at 2026-01-30
installing m4...
installing diffutils...
installing db5.3...
installing perl...
installing autoconf...
installing automake...
installing bison...
installing xxhash...
installing debugedit...
installing fakeroot...
installing flex...
installing libmpc...
installing libisl...
installing gcc...
Optional dependencies for gcc
lib32-gcc-libs: for generating code for 32-bit ABI
installing groff...
Optional dependencies for groff
netpbm: for use together with man -H command interaction in browsers
psutils: for use together with man -H command interaction in browsers
libxaw: for gxditview
perl-file-homedir: for use with glilypond
installing tar...
installing libtool...
installing gc...
installing guile...
installing make...
installing patch...
Optional dependencies for patch
ed: for patch -e functionality
installing pkgconf...
installing sudo...
installing texinfo...
Optional dependencies for texinfo
perl-archive-zip: EPUB file output via texi2any
installing which...
installing base-devel...
:: Running post-transaction hooks...
( 1/13) Creating system user accounts...
Creating group 'alpm' with GID 970.
Creating user 'alpm' (Arch Linux Package Management) with UID 970 and GID 970.
( 2/13) Creating temporary files...
( 3/13) Updating journal message catalog...
( 4/13) Updating udev hardware database...
( 5/13) Applying kernel sysctl settings...
Skipped: Running in chroot.
( 6/13) Reloading system manager configuration...
Skipped: Running in chroot.
( 7/13) Reloading user manager configuration...
Skipped: Running in chroot.
( 8/13) Reloading device manager configuration...
Skipped: Running in chroot.
( 9/13) Arming ConditionNeedsUpdate...
(10/13) Rebuilding certificate stores...
(11/13) Reloading system bus configuration...
Skipped: Running in chroot.
(12/13) Checking for old perl modules...
(13/13) Updating the info directory file...
Generating locales...
en_US.UTF-8... done
de_DE.UTF-8... done
Generation complete.
==> Building in chroot for [extra] (x86_64)...
==> Synchronizing chroot copy [/var/lib/archbuild/extra-x86_64/root] -> [gacek-1]...done
==> Making package: dwm 6.6-1 (Wed Jan 21 10:51:24 2026)
==> Retrieving sources...
-> Found dwm.desktop
-> Downloading dwm-6.6.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 26379 100 26379 0 0 31280 0 0
-> Found config.h
==> Validating source files with sha256sums...
dwm.desktop ... Passed
dwm-6.6.tar.gz ... Passed
config.h ... Skipped
==> Making package: dwm 6.6-1 (Wed Jan 21 09:51:32 2026)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...
Package (13) New Version Net Change
extra/fontconfig 2:2.17.1-1 1.12 MiB
extra/libpng 1.6.53-2 0.58 MiB
extra/libxau 1.0.12-1 0.02 MiB
extra/libxcb 1.17.0-1 3.87 MiB
extra/libxdmcp 1.1.5-1 0.13 MiB
extra/libxext 1.3.6-1 0.30 MiB
extra/libxrender 0.9.12-1 0.09 MiB
extra/xcb-proto 1.17.0-4 1.03 MiB
extra/xorgproto 2025.1-1 1.47 MiB
extra/freetype2 2.14.1-1 1.66 MiB
extra/libx11 1.8.12-2 9.79 MiB
extra/libxft 2.3.9-1 0.13 MiB
extra/libxinerama 1.1.5-2 0.02 MiB
Total Installed Size: 20.21 MiB
:: Proceed with installation? [Y/n]
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing xcb-proto...
installing xorgproto...
installing libxdmcp...
installing libxau...
installing libxcb...
installing libx11...
installing libxext...
installing libxinerama...
installing libpng...
installing freetype2...
Optional dependencies for freetype2
harfbuzz: Improved autohinting
installing fontconfig...
Creating fontconfig configuration...
Rebuilding fontconfig cache...
installing libxrender...
installing libxft...
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating fontconfig configuration...
(3/3) Updating fontconfig cache...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found dwm.desktop
-> Found dwm-6.6.tar.gz
-> Found config.h
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
-> Extracting dwm-6.6.tar.gz with bsdtar
==> Starting prepare()...
'/build/dwm/src/config.h' -> 'config.h'
==> Starting build()...
cc -c -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os -I/usr/include/X11 -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700L -DVERSION=\"6.6\" -DXINERAMA drw.c
cc -c -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os -I/usr/include/X11 -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700L -DVERSION=\"6.6\" -DXINERAMA dwm.c
cc -c -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os -I/usr/include/X11 -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700L -DVERSION=\"6.6\" -DXINERAMA util.c
cc -o dwm drw.o dwm.o util.o -L/usr/lib/X11 -lX11 -lXinerama -lfontconfig -lXft
==> Entering fakeroot environment...
==> Starting package()...
mkdir -p /build/dwm/pkg/dwm/usr/bin
cp -f dwm /build/dwm/pkg/dwm/usr/bin
chmod 755 /build/dwm/pkg/dwm/usr/bin/dwm
mkdir -p /build/dwm/pkg/dwm/usr/share/man/man1
sed "s/VERSION/6.6/g" < dwm.1 > /build/dwm/pkg/dwm/usr/share/man/man1/dwm.1
chmod 644 /build/dwm/pkg/dwm/usr/share/man/man1/dwm.1
==> Tidying install...
-> Removing libtool files...
-> Removing static library files...
-> Purging unwanted files...
-> Stripping unneeded symbols from binaries and libraries...
-> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "dwm"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Adding install file...
-> Generating .MTREE file...
-> Compressing package...
==> Creating package "dwm-debug"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: dwm 6.6-1 (Wed Jan 21 09:51:40 2026)
==> Installing package dwm with pacman -U...
loading packages...
resolving dependencies...
looking for conflicting packages...
Package (2) New Version Net Change
dwm 6.6-1 0.06 MiB
dwm-debug 6.6-1 0.02 MiB
Total Installed Size: 0.08 MiB
:: Proceed with installation? [Y/n]
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing dwm...
-- Edit config.h in dwm's PKGBUILD directory (generally /var/abs/community/dwm/)
-- and rebuild package if you want to change settings.
installing dwm-debug...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
resolving dependencies...
looking for conflicting packages...
Package (9) New Version Net Change Download Size
core/elfutils 0.194-1 3.56 MiB
core/licenses 20240728-1 1.54 MiB
core/mpdecimal 4.0.1-1 0.33 MiB
extra/pyalpm 0.11.1-1 0.23 MiB 0.05 MiB
core/python 3.14.2-2 72.04 MiB
extra/python-boolean.py 5.0-2 0.36 MiB
extra/python-license-expression 30.4.4-2 1.24 MiB
extra/python-pyelftools 0.32-2 2.17 MiB 0.35 MiB
extra/namcap 3.6.0-3 1.00 MiB 0.16 MiB
Total Download Size: 0.56 MiB
Total Installed Size: 82.48 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
python-pyelftools-0.32-2-any downloading...
namcap-3.6.0-3-any downloading...
pyalpm-0.11.1-1-x86_64 downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing elfutils...
installing licenses...
installing mpdecimal...
installing python...
Optional dependencies for python
python-setuptools: for building Python packages using tooling that is usually bundled with Python
python-pip: for installing Python packages using tooling that is usually bundled with Python
python-pipx: for installing Python software not packaged on Arch Linux
sqlite: for a default database integration [installed]
xz: for lzma [installed]
tk: for tkinter
installing pyalpm...
installing python-boolean.py...
installing python-license-expression...
installing python-pyelftools...
installing namcap...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
Checking PKGBUILD
Checking dwm-6.6-1-x86_64.pkg.tar.zst
dwm W: ELF file ('usr/bin/dwm') lacks FULL RELRO, check LDFLAGS.
dwm W: Dependency glibc detected and implicitly satisfied (libraries ['usr/lib/libc.so.6'] needed in files ['usr/bin/dwm'])
dwm W: Dependency fontconfig detected and implicitly satisfied (libraries ['usr/lib/libfontconfig.so.1'] needed in files ['usr/bin/dwm'])
dwm W: Dependency included, but may not be needed ('freetype2')
Checking dwm-debug-6.6-1-x86_64.pkg.tar.zst
dwm-debug W: Directory (usr/src/debug/dwm) is empty
==> Running checkpkg
error: target not found: dwm
==> WARNING: Skipped checkpkg due to missing repo packages
==> Generating .SRCINFO...doneI couldn't find any packages or debug files that were listed there.
Offline
That did not fail to build the package, it worked just fine.
Offline
That did not fail to build the package, it worked just fine.
Oh, okay! I'll proceeding with the dwm instructions and check if everything works.
Offline
If you still can not build the package without a clean chroot what is the output of:
pacman -Qi binutils gccOffline
If you still can not build the package without a clean chroot what is the output of:
pacman -Qi binutils gcc
I believe the package is still not build. Pacman doesn't recognize it and after using
echo 'exec dwm' >> ~/.xinitrc
startxI had the following error.
/usr/lib/Xorg.wrap: Only console users are allowed to run the X server
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
Couldn't get a file descriptor referring to the console.After using
pacman -Qi binutils gccI've got:
Name : binutils
Version : 2.45.1+r35+g12d0a1dbc1b9-1
Description : A set of programs to assemble and manipulate binary and object files
Architecture : x86_64
URL : https://www.gnu.org/software/binutils/
Licenses : GPL-2.0-or-later GPL-3.0-or-later LGPL-2.0-or-later LGPL-3.0-or-later GFDL-1.3 FSFAP
Groups : None
Provides : libctf.so=0-64 libgprofng.so=0-64 libsframe.so=2-64
Depends On : glibc jansson libelf zlib zstd
Optional Deps : debuginfod: for debuginfod server/client functionality [installed]
Required By : base-devel devtools gcc libmakepkg-dropins mkinitcpio openucx
Optional For : inxi
Conflicts With : binutils-multilib
Replaces : binutils-multilib
Installed Size : 42.74 MiB
Packager : Frederik Schwan <freswa@archlinux.org>
Build Date : Sat Jan 3 19:43:02 2026
Install Date : Tue Jan 20 20:09:50 2026
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature
Name : gcc
Version : 15.2.1+r447+g6a64f6c3ebb8-1
Description : The GNU Compiler Collection - C and C++ frontends
Architecture : x86_64
URL : https://gcc.gnu.org
Licenses : GPL-3.0-with-GCC-exception GFDL-1.3-or-later
Groups : None
Provides : gcc-multilib
Depends On : gcc-libs=15.2.1+r447+g6a64f6c3ebb8-1 binutils>=2.28 libmpc zstd libisl.so=23-64
Optional Deps : lib32-gcc-libs: for generating code for 32-bit ABI [installed]
Required By : base-devel clang vala
Optional For : node-gyp xorg-xrdb
Conflicts With : None
Replaces : gcc-multilib
Installed Size : 208.81 MiB
Packager : Frederik Schwan <freswa@archlinux.org>
Build Date : Sat Jan 3 20:25:00 2026
Install Date : Tue Jan 13 20:22:30 2026
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : SignatureOffline
/usr/lib/Xorg.wrap: Only console users are allowed to run the X server
Indicates you were trying to run startx from with a display server (X11 or wayland)
echo 'exec dwm' >> ~/.xinitrc
Last link below is an absolutely mandatory read!
pacman -Qikk dwmOffline
Last link below is an absolutely mandatory read!
pacman -Qikk dwm
Thanks for the response. I'd like to read that, but still I can't install the dwm package. It only supports my reasoning, that loqs' method didn't make the package. It seems I still have an assembler conflict.
After installing the dwm I'll gladly read the manual.
I've tried to install the dwm-btw package, but got the same '.base64' error.
Offline
It did make the package. Did you then install it? Those are two separate steps.
Offline
Also the -Qikk output.
Right now the thing that's not working is your attempt to start Xorg out of a graphical session and like the bogus xinitrc, that has nothing to do with building dwm.
Offline
It did make the package. Did you then install it? Those are two separate steps.
It turns out I've not installed after building. Thank you for pointing that out. Everything works now!
Offline
Hi everyone!
As a closing remark to this issue I wanted to give you the full explanation of that went wrong in my case.
It turns out that after installing an application for my studies I've mistakenly overridden my $PATH variable, so it used this codes' own version of assembler compiler.
After finding that out I simply changed the $PATH variable to contain /usr/bin as the first that comes up to ensure that the binutils is used first. It solved all the issues and makepkg now runs without problems.
Thanks for help!
Cheers
NiQ
Offline