It’s been many years that the package evrouterAUR (en) - evrouter is not able to build from AUR. It was building properly at the end of 2019, early 2020, but nowadays it would not. As a workaround I keep my built package from 2020 but that is not ideal.
Can some AUR wizard have a look at it and basically fix it so we can build the package again?
Here are the errors I get when trying to build it manually or from Pamac:
==> Making package: evrouter 0.4-4 (jeu. 24 févr. 2022 09:05:53)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading evrouter_0.4.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 379k 100 379k 0 0 65683 0 0:00:05 0:00:05 --:--:-- 2954k
==> Validating source files with md5sums...
evrouter_0.4.tar.gz ... Passed
==> Extracting sources...
-> Extracting evrouter_0.4.tar.gz with bsdtar
==> Starting build()...
acinclude.m4:9: warning: underquoted definition of jm_CHECK_TYPE_STRUCT_UTIMBUF
acinclude.m4:9: run info Automake 'Extending aclocal'
acinclude.m4:9: or see https://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal
configure.ac:46: error: AM_INIT_AUTOMAKE expanded multiple times
/usr/share/aclocal-1.16/init.m4:29: AM_INIT_AUTOMAKE is expanded from...
configure.ac:29: the top level
/usr/share/aclocal-1.16/init.m4:29: AM_INIT_AUTOMAKE is expanded from...
configure.ac:46: the top level
autom4te: error: /usr/bin/m4 failed with exit status: 1
aclocal: error: autom4te failed with exit status: 1
==> ERROR: A failure occurred in build().
Aborting...
I would appreciate if someone comes with a solution, and maybe we can fix it in AUR directly too.
Indeed the package doesn’t receive updates since a long time, however I still use it every day and this is why I’m asking for a volunteer AUR wizard who could sort the building issue as it is out of my competence.
There’s nothing wrong with the PKGBUILD, the problem is upstream. Since it will probably never be updated to build with current tools, you could create an evrouter-bin PKGBUILD using the .deb from the homepage. It may or may not work as it may look for older libraries, but it’s worth a shot.
//EDIT: I eventually found a tool a week later trying to help someone else here, called Input Remapper, that allows to do basically the same thing I was doing for my mouse, so thank again Moson for helping, but in the end I think I will now use this tool to remap mouse button and make mouse profiles for different use. It even works better as I had issues with imwheel for game specific profile I had to think backwards to have various profiles for various app. Now I can load profiles on the fly.