"grayjay-bin" from the AUR fails to run

Hello everybody,

Objective

Get Grayjay running

Issue

Repository : aur
Name : grayjay-bin
Version : 9-1
…
Depends On : gtk3 unzip libnotify nss libxss libxtst xdg-utils at-spi2-core libsecret libappindicator-gtk3
…
Conflicts With : grayjay-git
…

This package fails to run and throws error:

Failure processing application bundle.
Bundle header version compatibility check failed. Header version: -2046820352.3872520
A fatal error occurred while processing application bundle

No-fix attempts

  • grayjay-bin
    • Installing and uninstalling
    • Installing the latest dotnet-sdk
  • grayjay and grayjay-git
    • Installing failed with
      • rm: cannot remove '/home/username/.cache/yay/grayjay/pkg/grayjay/opt/grayjay/ffmpeg': No such file or directory
        ==> ERROR: A failure occurred in package().
            Aborting...
         -> error making: grayjay-exit status 4
         -> Failed to install the following packages. Manual intervention is required:
        grayjay - exit status 4
        
        • Tried fixing it in vain by running
          • rm -Rf /home/username/.cache/yay/grayjay/pkg/grayjay/opt/grayjay/ffmpeg
            

My notes thus far

  • This is probably due to Grayjay not having the right version of Dotnet at its disposal.
    • Similar posts mention dotnet

    • The grayjay package lists dotnet-sdk 9 or higher under “make deps”

      Repository                    : aur
      Name                          : grayjay
      Version                       : 9-1
      ...
      Depends On                    : ffmpeg  libsodium
      ...
      Make Deps                     : dotnet-sdk>=9  git  git-lfs  npm
      ...
      

Now, I am out of ideas. What would you try next?
Thank you in advance.

grayjay-bin is flagged as “out of date” on the AUR website (since two days ago)

this doesn’t look like the error that caused the build to fail - the cache cleanup failed because the directory that was supposed to be removed didn’t even exist - as the message says

I just grabbed it - if you visit the website, you can download the tar.gz, unzip and run it.

But I couldn’t get it to do a search, it seemed to be offline.

I have tried to download the PKGBUILD and change the version and release numbers to 10 and 0, run updpkgsums and makepkg -si, but to no avail. Same error.

Let me try your approach.

Have you tried commenting out the line that causes the error?

rm -v "${_appdir}/ffmpeg"

I’m not sure it’ll work afterwards, there may be other reasons for it not working, but it’s a logical (and obvious) troubleshooting step.

Hello @dmt, I did not try. It is the first time that I edit a PKGBUID. @Ben’s approach worked. It is cumbersome, but I might try to smooth out corners if possible.

Thank you for now, everybody.

Of course, but then you’ll have to manually check for updates and download it again, as you say cumbersome.

Anyway as long as you have it sorted. :smiley:

Yes, I know. The AUR is such a convenient repo, but when it functionality breaks we try new things, we patch, we learn… It’s OK for now. Next time it breaks, I will either use the AUR or learn a bit more.

I hope I will at some point be a better fixer for the FLOSS communities, but for now, I just keep patching and learning.