Certain AUR Packages and their dependencies can never seem to install no matter what

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?

We might need more information.

Like what was the full command and output?

At first glance this simply appears to be some problem with the PKGBUILD or the upstream source itself.

raine.git, mitsuba3-git, ultimatevocalremovergui-git.git are a few that immediately come to mind.

the command was:

yay raine
1 aur/raine 0.97.4-1 (+10 0.00)
A multiple arcade emulator focused on 680x0/z80 machines like NeoCD and Neo Geo, C version
==> Packages to install (eg: 1 2 3, 1-3 or ^4)
==> 1
AUR Explicit (1): raine-0.97.4-1
:: PKGBUILD up to date, skipping download: raine
1 raine (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
1 raine (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>

Here is the full output:

Making package: raine 0.97.4-1 (Sat 13 Sep 2025 03:05:12 PM PDT)
==> Retrieving sources…
→ Found raine-0.97.4.tar.gz
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums…
raine-0.97.4.tar.gz … Passed
:: (1/1) Parsing SRCINFO: raine
==> Making package: raine 0.97.4-1 (Sat 13 Sep 2025 03:05:12 PM PDT)
==> Checking runtime dependencies…
==> Checking buildtime dependencies…
==> Retrieving sources…
→ Found raine-0.97.4.tar.gz
==> Validating source files with sha256sums…
raine-0.97.4.tar.gz … Passed
==> Removing existing $srcdir/ directory…
==> Extracting sources…
→ Extracting raine-0.97.4.tar.gz with bsdtar
==> Starting prepare()…
==> Sources are ready.
==> Making package: raine 0.97.4-1 (Sat 13 Sep 2025 03:05:13 PM PDT)
==> Checking runtime dependencies…
==> Checking buildtime dependencies…
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory…
==> Starting build()…
make: Entering directory ‘/home/samuelk/.cache/yay/raine/src/raine-0.97.4’
Building Raine, Fully optimized version with gcc for linux-gnu CPU=
dependencies : if you get an error here, install the required dev package
libpng:1.6.50
SDL:Compiling source/mame/z80/z80dasm.c…
2.32.56
lua: lua cflags libs -llua -lm
Compiling source/mame/6502/6502dasm.c…
Compiling source/Musashi/m68kdasm.c…
Compiling source/neocd/pd4990a.c…
Compiling source/neocd/cdrom.c…
Compiling source/neocd/cache.c…
Compiling source/neocd/cdda.c…
Compiling source/neocd/iso.c…
Compiling source/neocd/neocd.c…
Compiling source/games/ainferno.c…
Compiling source/games/aquajack.c…
Compiling source/games/arabianm.c…
Compiling source/games/arkanoid.c…
Compiling source/games/arkretrn.c…
Compiling source/games/armedf.c…
Compiling source/games/ashura.c…
Compiling source/games/asuka.c…
Compiling source/games/biomtoy.c…
Compiling source/games/bloodbro.c…
Compiling source/games/bonzeadv.c…
Compiling source/games/bshark.c…
Compiling source/games/bsystem.c…
Compiling source/games/bubblem.c…
Compiling source/games/bublbobl.c…
Compiling source/games/bubl_mcu.c…
Compiling source/games/bubsymph.c…
Compiling source/games/cabal.c…
Compiling source/games/cadash.c…
Compiling source/games/cave.c…
Compiling source/games/chaknpop.c…
Compiling source/games/chasehq2.c…
Compiling source/games/chasehq.c…
Compiling source/games/cleofort.c…
Compiling source/games/contcirc.c…
Compiling source/games/cookbib.c…
Compiling source/games/cps1drv.c…
Compiling source/games/cps2drv.c…
Compiling source/games/crimec.c…
Compiling source/games/crospang.c…
Compiling source/games/ctribebl.c…
Compiling source/games/cupfinal.c…
Compiling source/games/dangarb.c…
Compiling source/games/darius2d.c…
Compiling source/games/darius.c…
Compiling source/games/dariusg.c…
Compiling source/games/deadconx.c…
Compiling source/games/diverboy.c…
Compiling source/games/dkong.c…
Compiling source/games/dleague.c…
Compiling source/games/doubled3.c…
Compiling source/games/eaction2.c…
Compiling source/games/earthjkr.c…
Compiling source/games/esd16.c…
Compiling source/games/exzisus.c…
Compiling source/games/f3demo.c…
Compiling source/games/fchamp.c…
Compiling source/games/flstory.c…
Compiling source/games/frogger.c…
Compiling source/games/galaga.c…
Compiling source/games/galpanic.c…
Compiling source/games/gauntlet.c…
Compiling source/games/gcpball.c…
Compiling source/games/gekridan.c…
Compiling source/games/gridseek.c…
Compiling source/games/gunbird.c…
Compiling source/games/gunlock.c…
Compiling source/games/hitice.c…
Compiling source/games/hthero95.c…
Compiling source/games/hvyunit.c…
Compiling source/games/hyperpcb.c…
Compiling source/games/intcup94.c…
Compiling source/games/kaiserkn.c…
Compiling source/games/koshien.c…
Compiling source/games/ksystem.c…
Compiling source/games/ktiger2.c…
Compiling source/games/landmakr.c…
Compiling source/games/lightbr.c…
Compiling source/games/lsystem.c…
Compiling source/games/macrossp.c…
Compiling source/games/masterw.c…
Compiling source/games/matmania.c…
Compiling source/games/mcatadv.c…
Compiling source/games/megasys1.c…
Compiling source/games/metalb.c…
Compiling source/games/mitchell.c…
Compiling source/games/mugsmash.c…
Compiling source/games/neogeo.c…
Compiling source/games/ninjak.c…
Compiling source/games/ninjaw.c…
Compiling source/games/nmk.c…
Compiling source/games/nmk004.c…
Compiling source/games/opwolf3.c…
Compiling source/games/opwolf.c…
Compiling source/games/othunder.c…
Compiling source/games/pbobble2.c…
Compiling source/games/pbobble3.c…
Compiling source/games/pbobble4.c…
Compiling source/games/pengo.c…
Compiling source/games/pirates.c…
Compiling source/games/popnpop.c…
Compiling source/games/psyforce.c…
Compiling source/games/puchicar.c…
Compiling source/games/quizgame.c…
Compiling source/games/rainbow.c…
Compiling source/games/rambo3.c…
Compiling source/games/rastan2.c…
Compiling source/games/rastan.c…
Compiling source/games/recordbr.c…
Compiling source/games/ridefght.c…
Compiling source/games/ringrage.c…
Compiling source/games/robokid.c…
Compiling source/games/seta.c…
Compiling source/games/silentd.c…
Compiling source/games/silkworm.c…
Compiling source/games/spacegun.c…
Compiling source/games/spcinv95.c…
Compiling source/games/superchs.c…
Compiling source/games/syvalion.c…
Compiling source/games/taito_f2.c…
Compiling source/games/tecmosys.c…
Compiling source/games/terrac.c…
Compiling source/games/terraf.c…
Compiling source/games/tetrisp2.c…
Compiling source/games/tetrist.c…
Compiling source/games/toaplan1.c…
Compiling source/games/toaplan2.c…
Compiling source/games/toki.c…
Compiling source/games/topland.c…
Compiling source/games/topspeed.c…
Compiling source/games/trstars.c…
Compiling source/games/twinqix.c…
Compiling source/games/undrfire.c…
Compiling source/games/upl.c…
Compiling source/games/viofight.c…
Compiling source/games/volfied.c…
Compiling source/games/warriorb.c…
Compiling source/games/wgp.c…
Compiling source/games/wrestlef.c…
Compiling source/games/wwfsstar.c…
Compiling source/games/xsystem1.c…
Compiling source/games/xsystem2.c…
Compiling source/games/zerozone.c…
Compiling source/games/f3system.c…
Compiling source/games/nichisnd.c…
Compiling source/games/taitosnd.c…
Compiling source/games/tchnosnd.c…
Compiling source/games/cps1.c…
Compiling source/games/tc002obj.c…
Compiling source/games/tc140syt.c…
Compiling source/games/taito_z.c…
Compiling source/games/tc005rot.c…
Compiling source/games/fl_mcu.c…
Compiling source/games/tc220ioc.c…
Compiling source/games/setax1.c…
Compiling source/games/tc200obj.c…
Compiling source/games/tc180vcu.c…
Compiling source/games/kiki_mcu.c…
Compiling source/games/tc110pcr.c…
Compiling source/games/tc150rod.c…
Compiling source/games/tc100scn.c…
Compiling source/games/tc003vcu.c…
Compiling source/games/kick_mcu.c…
Compiling source/games/tc006vcu.c…
Compiling source/games/tc101scn.c…
Compiling source/games/tc004vcu.c…
Compiling source/games/gun.c…
Compiling source/games/psikyosh.c…
Compiling source/68000/starhelp.c…
gcc -c -o linux-gnu-sdl2/object/Musashi/m68kmake.o source/Musashi/m68kmake.c
Compiling source/68020/newcpu.c…
Compiling source/z80/mz80help.c…
Compiling source/mame/z80/z80.c…
Compiling source/6502/m6502hlp.c…
Compiling source/mame/6502/m6502.c…
Compiling source/m68705/m68705.c…
Compiling source/sound/assoc.c…
Compiling c++ source/sdl/dialogs/sound_commands.cpp…
Compiling c++ source/sdl/dialogs/neocd_options.cpp…
Compiling c++ source/sdl/dialogs/neo_softdips.cpp…
Compiling c++ source/sdl/dialogs/neo_debug_dips.cpp…
Compiling source/sound/ym2151.c…
Compiling source/sound/2151intf.c…
Compiling source/sound/2203intf.c…
Compiling source/sound/2413intf.c…
Compiling source/sound/ym2413.c…
Compiling source/sound/2610intf.c…
Compiling source/emudx.c…
Compiling source/cat93c46.c…
Compiling source/decode.c…
Compiling source/cps2crpt.c…
Compiling source/slapstic.c…
Compiling source/sound/3812intf.c…
Compiling less optimized source/sound/adpcm.c…
Compiling source/sound/ay8910.c…
Compiling source/sound/dac.c…
Compiling source/sound/dxsmp.c…
Compiling source/sound/es5506.c…
Compiling source/sound/m6585.c…
Compiling source/sound/msm5205.c…
Compiling source/sound/msm5232.c…
Compiling source/sound/namco.c…
Compiling source/sound/qsound.c…
Compiling source/sound/smp16bit.c…
Compiling source/sound/ymz280b.c…
Compiling source/sound/ymf278b.c…
Compiling source/sound/x1_010.c…
Compiling source/sound/toaplan2.c…
Compiling source/sound/galaxian.c…
Compiling source/sound/tms5220.c…
Compiling source/sound/5220intf.c…
Compiling source/sound/pokey.c…
Compiling source/video/tilemod.c…
Compiling source/video/palette.c…
Compiling source/video/priorities.c…
Compiling source/video/newspr.c…
Compiling source/video/spr64.c…
Compiling source/video/cache.c…
Compiling source/video/c/str/6x8_8.c…
Compiling source/video/c/str/6x8_16.c…
Compiling source/video/c/str/6x8_32.c…
Compiling source/video/c/16x8_8.c…
Compiling source/video/c/16x8_16.c…
Compiling source/video/c/16x8_32.c…
Compiling source/video/zoom/16x16.c…
Compiling source/video/zoom/16x16_16.c…
Compiling source/video/zoom/16x16_32.c…
Compiling source/video/zoom/16x8.c…
Compiling source/video/c/lscroll.c…
Compiling source/video/alpha.c…
Compiling source/video/c/str_opaque.c…
Compiling source/video/c/common.c…
Compiling source/video/c/pdraw.c…
Compiling source/video/c/mask.c…
Compiling source/video/c/sprites.c…
Compiling source/video/c/sprites32_a50.c…
Compiling source/video/c/mapped_alpha.c…
Compiling source/sound/ymdeltat.c…
Compiling source/sound/fmopl.c…
Compiling source/sound/fm.c…
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

For whatever it is worth I could not get it to build either.

You might get some luck trying to finesse it such as by using -Wno-error=incompatible-pointer-types as seen here: Compilation fails with GCC14 · Issue #4668 · OpenMathLib/OpenBLAS · GitHub

At least for the first part of the error.

But this does point to some issue in the source files.

read comments,

I also never got UVR to install properly, so I went with the Windows version using Wine instead…

Luckily with Raine I’ve been able to manually install it with the instructions they provided, but it’s still weird how the AUR goes through fine on Manjaro but not on CachyOS. If it ever gets an update, is there a way to synchronize it with pacman?

If I understand correctly, these are commands I type in during an installation on Yay to check?

When I read the install instructions on Github, it does recommend setting up a virtual environment so it seems it’s not completely native on Linux. I haven’t been able to successfully install so far, same with doing it through Wine, can you tell me your exact steps?

Luckily, I kept notes :grin:

I started by creating a new wine prefix:
winetricks
→ Create new Wineprefix
→ UltimateVocalRemover
→ ~/.local/share/wineprefixes/UltimateVocalRemover

Now I first went the “regular way”, which would be:
→ Run winecfg
→ Optional: remove Z drive if you don’t want it to be able to access your whole system
→ Run an arbitrary executable
----> choose the installer.exe

But when I did that, I got:

    wine: could not open working directory L"unix\\home\\h4ca\\", starting in the Windows directory.
    wine: could not open working directory L"unix\\home\\hc4a\\", starting in the Windows directory.

So instead, I did this in the terminal:
WINEPREFIX=~/.local/share/wineprefixes/UltimateVocalRemover/ wine ~/Downloads/WIN-stuff/UVR_v5.6.0_setup.exe

You might need to change the paths according to your needs, but I guess you know that already :wink:

That’s it.

Now, to get more models into UVR, I had to install the patch
UVR_Patch_1_15_25_22_30_BETA_rofo.exe

by again doing this:
WINEPREFIX=~/.local/share/wineprefixes/UltimateVocalRemover/ wine ~/Downloads/WIN-stuff/UVR_Patch_1_15_25_22_30_BETA_rofo.exe

Now they showed up in the download menu. Very good results come with Roformer Model: BS-Roformer-Viperx-1297, but I never got the GPU conversion running properly:

Raw Error Details:

RuntimeError: “Not implemented.”
Traceback Error: "
File “UVR.py”, line 9217, in process_start
File “separate.py”, line 681, in seperate
File “separate.py”, line 898, in demix
File “torch\nn\modules\module.py”, line 1145, in to
File “torch\nn\modules\module.py”, line 797, in _apply
File “torch\nn\modules\module.py”, line 797, in _apply
File “torch\nn\modules\module.py”, line 797, in _apply
[Previous line repeated 4 more times]
File “torch\nn\modules\module.py”, line 820, in _apply
File “torch\nn\modules\module.py”, line 1143, in convert

That was the moment I decided it’s good enough :grinning_face_with_smiling_eyes: The regular MDX-Net models do an okayish job on most tracks and I need the Roformer one only once in a blue moon, so I don’t care if it takes 3 hours for a track (which it actually does :shushing_face: )

Edit: removed typos etc.

After a few updates on WINE, I was able to get it running but as you said it can’t detect my GPU. It must be because of the way CachyOS locates the driver files, I don’t know what exactly is happening but it does make sense that it can’t detect it running as WINE. Now I did follow instructions all over the place about how to install it through Linux, but it keeps erring at the last step before the run program part. I can’t help but notice that the Git specifically mentions EndeaverOS to be the one to use Ultimate Vocal Remover. Any ideas on why that may be the case?

This Roformer Model sounds incredible, can you tell me how you installed it into Ultimate Vocal Remover?

It’s in my answer.

ah whoops it’s an entirely separate .exe file. Now while I got it running on Windows no problem, I found out that someone else was able to get that patched version to install on Linux. The only concern is that it’s specifically Ubuntu and Debian, but that shouldn’t really a problem since the instructions on how to install this one is done completely on Python. Here it is in case you were wondering.

I tried to recreate the procedure, but I get this error message at the end of running ./install.sh:

ERROR: Could not find a version that satisfies the requirement torch==2.9.1+cu128 (from versions: 2.9.0, 2.9.1, 2.10.0, 2.11.0)
ERROR: No matching distribution found for torch==2.9.1+cu128

I have python-pytorch 2.11.0-4 installed so I don’t understand how it is not detecting it. Assuming I understand what it meant by “torch”.