swengine icon indicating copy to clipboard operation
swengine copied to clipboard

Build from AUR fails, seems to have no schema(?) file

Open dandenkijin opened this issue 1 year ago • 3 comments

<denkijin@grimoire:~/.cache/paru/clone/swengine/src/swengine/swengine.desktop>
zsh/2 5946  (git)-[main]-% dotnet publish  --self-contained=true  --output dist
MSBuild version 17.8.5+b5265ef37 for .NET
  Determining projects to restore...
/usr/share/dotnet/sdk/8.0.110/NuGet.targets(156,5): error : Error reading JToken from JsonReader. Path '', line 0, position 0. [/home/denkijin/.cache/paru/clone/swengine/src/swengine/swengine.desktop/swengine.desktop.csproj]

dandenkijin avatar Nov 06 '24 21:11 dandenkijin

Try clearing paru's cache and clean building. I think you're using an old PKGBUILD because I pushed an update removing that ---self-contained flag.

SaverinOnRails avatar Nov 07 '24 03:11 SaverinOnRails

I removed the paru cached directory and no change. Also, I think the above error was my running the command manually adding options in an effort to get this to build.

zsh/2 9726  (git)-[master]-% rm -rf {pkg,src}
[Sun 24/12/01 18:27 EST][pts/5][x86_64/linux-gnu/6.12.1-1-cachyos][5.9]
<denkijin@grimoire:~/.cache/paru/clone/swengine>
zsh/2 9727  (git)-[master]-% makepkg 
==> Making package: swengine 0.15-1 (Sun 01 Dec 2024 06:27:32 PM EST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
==> Extracting sources...
==> Starting prepare()...
Cloning into 'swengine'...
warning: redirecting to https://github.com/eugenenoble2005/swengine.git/
remote: Enumerating objects: 661, done.
remote: Counting objects: 100% (116/116), done.
remote: Compressing objects: 100% (82/82), done.
remote: Total 661 (delta 74), reused 64 (delta 33), pack-reused 545 (from 1)
Receiving objects: 100% (661/661), 47.56 MiB | 5.31 MiB/s, done.
Resolving deltas: 100% (357/357), done.
==> Starting build()...
MSBuild version 17.8.5+b5265ef37 for .NET
  Determining projects to restore...
/usr/share/dotnet/sdk/8.0.110/NuGet.targets(156,5): error : Error reading JToken from JsonReader. Path '', line 0, position 0. [/home/denkijin/.cache/paru/clone/swengine/src/swengine/swengine.desktop/swengine.desktop.csproj]
==> ERROR: A failure occurred in build().
    Aborting...

dandenkijin avatar Dec 01 '24 23:12 dandenkijin

How did you install dotnet? Have you tried building manually using the install.sh script? Have you tried a different AUR helper maybe?

SaverinOnRails avatar Dec 02 '24 09:12 SaverinOnRails

I just wanna mention that I was able to install swengine from the AUR using paru just fine.

abstractionmage avatar Jun 20 '25 12:06 abstractionmage