Hello All,
AFAIK, AUR helpers like YAY or PARU are the most common ways of installing AUR packages. I tried as many as I could find and use but certain packages just can’t seem to use.
From what I can gather, a lot of solutions come down to “Remove Unnecessary Dependencies” but in the cases that happened to me, it doesn’t solve the problem.
Here is an example of a package I was trying to install through Yay and recently pacseek (Raine, which went through just fine on my Manjaro drive)
‘‘
source/sound/fmopl.c: In function ‘OPL_save_state’:
source/sound/fmopl.c:1700:43: error: passing argument 1 of ‘AddLoadCallback’ from incompatible pointer type [-Wincompatible-pointer-types]
1700 | state_save_register_func_postload(OPL_postload);
| ^~~~~~~~~~~~
| |
| void (*)(int)
In file included from source/sound/fmopl.c:74:
source/savegame.h:46:29: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(int)’
46 | void AddLoadCallback(void (*callback)());
| ~~~~~~~^~~~~~~~~~~
source/sound/fmopl.c:1551:13: note: ‘OPL_postload’ declared here
1551 | static void OPL_postload(int param)
| ^~~~~~~~~~~~
make: *** [makefile:1536: linux-gnu-sdl2/object/sound/fmopl.o] Error 1
make: *** Waiting for unfinished jobs…
make: Leaving directory ‘/home/samuelk/.cache/yay/raine/src/raine-0.97.4’
==> ERROR: A failure occurred in build().
Aborting…
→ error making: raine-exit status 4
→ Failed to install the following packages. Manual intervention is required:
raine - exit status 4
‘‘
What else could be a factor in making this happen?