Spectrwm orphaned

Does anyone know of an manual method to follow for the installation of spectrwm on manjaro??? It’s been abandoned in the arch & aur repos.

Looks like last update in AUR was 02/18/2024:

https://aur.archlinux.org/packages/spectrwm

pamac build spectrwm

Or:
Arch User Repository - Manjaro

It builds and installs just fine.
Just did it using:
yay -S spectrwm

spectrwm-3.5.2-6

Here’s the error I get with yay:

 yay -S spectrwm
AUR Explicit (1): spectrwm-3.5.2-6
:: (1/1) Downloaded PKGBUILD: spectrwm
  1 spectrwm                                 (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
  1 spectrwm                                 (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
==> Making package: spectrwm 3.5.2-6 (Thu 28 Mar 2024 04:45:24 PM MDT)
==> Retrieving sources...
  -> Downloading SPECTRWM_3_5_1.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:00:11 --:--:--     0
100  191k    0  191k    0     0  10294      0 --:--:--  0:00:19 --:--:-- 53144
  -> Found LICENSE
  -> Found baraction.sh
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with md5sums...
    SPECTRWM_3_5_1.tar.gz ... Passed
    LICENSE ... Passed
    baraction.sh ... Passed
==> Validating source files with sha256sums...
    SPECTRWM_3_5_1.tar.gz ... Passed
    LICENSE ... Passed
    baraction.sh ... Passed
:: (1/1) Parsing SRCINFO: spectrwm
==> Making package: spectrwm 3.5.2-6 (Thu 28 Mar 2024 04:45:44 PM MDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found SPECTRWM_3_5_1.tar.gz
  -> Found LICENSE
  -> Found baraction.sh
==> Validating source files with md5sums...
    SPECTRWM_3_5_1.tar.gz ... Passed
    LICENSE ... Passed
    baraction.sh ... Passed
==> Validating source files with sha256sums...
    SPECTRWM_3_5_1.tar.gz ... Passed
    LICENSE ... Passed
    baraction.sh ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting SPECTRWM_3_5_1.tar.gz with bsdtar
==> Starting prepare()...
==> Sources are ready.
==> Making package: spectrwm 3.5.2-6 (Thu 28 Mar 2024 04:45:46 PM MDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
make: pkg-config: No such file or directory
make: pkg-config: No such file or directory
make: pkg-config: No such file or directory
make: pkg-config: No such file or directory
cc -std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -g -fPIE -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -flto=auto -I. -D_GNU_SOURCE -DSWM_LIB=\"/usr/lib/libswmhack.so.0.0\"   -c -o spectrwm.o ../spectrwm.c
cc -std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -g -fPIE -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -flto=auto -I. -D_GNU_SOURCE -DSWM_LIB=\"/usr/lib/libswmhack.so.0.0\"   -c -o linux.o linux.c
cc -std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -g -fPIC -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -flto=auto -I. -D_GNU_SOURCE -DSWM_LIB=\"/usr/lib/libswmhack.so.0.0\"   -c -o swm_hack.so ../lib/swm_hack.c
In file included from ../spectrwm.c:72:
/usr/include/X11/Xft/Xft.h:40:10: fatal error: ft2build.h: No such file or directory
   40 | #include <ft2build.h>
      |          ^~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:38: spectrwm.o] Error 1
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: spectrwm-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
spectrwm - exit status 4

Here’s the error with pamac:

 pamac build spectrwm
Preparing...
Checking spectrwm dependencies...
Resolving dependencies...
Checking inter-conflicts...

To build (1):
  spectrwm  3.5.2-6    AUR


Edit build files : [e] 
Apply transaction ? [e/y/N] y

Cloning spectrwm build files...
Generating spectrwm information...
==== AUTHENTICATING FOR org.manjaro.pamac.commit ====
Authentication is required to install, update, or remove packages
Authenticating as: Mark F Rabideau (mark)
Password: 
==== AUTHENTICATION COMPLETE ====

Building spectrwm...
==> Making package: spectrwm 3.5.2-6 (Thu 28 Mar 2024 04:48:35 PM MDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading SPECTRWM_3_5_1.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:00:05 --:--:--     0
100  191k    0  191k    0     0  10896      0 --:--:--  0:00:18 --:--:-- 44351
  -> Found LICENSE
  -> Found baraction.sh
==> Validating source files with md5sums...
    SPECTRWM_3_5_1.tar.gz ... Passed
    LICENSE ... Passed
    baraction.sh ... Passed
==> Validating source files with sha256sums...
    SPECTRWM_3_5_1.tar.gz ... Passed
    LICENSE ... Passed
    baraction.sh ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting SPECTRWM_3_5_1.tar.gz with bsdtar
==> Starting prepare()...
==> Starting build()...
make: pkg-config: No such file or directory
make: pkg-config: No such file or directory
make: pkg-config: No such file or directory
make: pkg-config: No such file or directory
cc -std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -g -fPIE -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -flto=auto -I. -D_GNU_SOURCE -DSWM_LIB=\"/usr/lib/libswmhack.so.0.0\"   -c -o spectrwm.o ../spectrwm.c
cc -std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -g -fPIE -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -flto=auto -I. -D_GNU_SOURCE -DSWM_LIB=\"/usr/lib/libswmhack.so.0.0\"   -c -o linux.o linux.c
cc -std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -g -fPIC -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -flto=auto -I. -D_GNU_SOURCE -DSWM_LIB=\"/usr/lib/libswmhack.so.0.0\"   -c -o swm_hack.so ../lib/swm_hack.c
In file included from ../spectrwm.c:72:
/usr/include/X11/Xft/Xft.h:40:10: fatal error: ft2build.h: No such file or directory
   40 | #include <ft2build.h>
      |          ^~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:38: spectrwm.o] Error 1
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().
    Aborting...

Read it.

Builds fine here on Unstable. Make certain you have base-devel package installed.

Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "spectrwm"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Adding install file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: spectrwm 3.5.2-6 (Thu 28 Mar 2024 06:53:27 PM EDT)
==> Cleaning up...

you are very likely missing a critical component for building AUR packages

the base-devel package group

install it

see the link @MrLavender provided

Eh why, you already spoon-fed the answer to him/her. :stuck_out_tongue:

I tacked that on to give credit - while I wrote he had already answered …

I ended up needing to do that for st as well… everything works fine now. Thanks.

base-devel depends on pkgconf, that provides pkg-config

yes - and?
pkgconf was missing because it was not installed
because base-devel - which would have installed it - was not installed

… unless OP has a different explanation …

ps: I realize that this may sound a bit harsh
It wasn’t meant that way.

Not harsh at all… in the old days I never encountered such problems on manjaro because I guess the assumption was that dev packages were useful and essential to this distro, or perhaps I just never did try to run such ‘bizarre software’. Now that I know this is one of the few arch distros without that stuff included, I certainly am okay installing it myself. I was simply surprised because neither EOS or arch (nor any of the Deian distros I have used since the 1990s) have exhibited that problem for me.

First thing; Debian doesn’t use AUR. And second; then you haven’t actually build anything on EOS or Arch. Read the AUR wiki page. It’s the first thing you’re told to do.

1 Like

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.