Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dandenkijin opened this issue Nov 6, 2024 · 3 comments
Open

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

dandenkijin opened this issue Nov 6, 2024 · 3 comments

Comments

@dandenkijin
Copy link

<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]
@Eugenenoble2005
Copy link
Owner

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.

@dandenkijin
Copy link
Author

dandenkijin commented Dec 1, 2024

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...

@Eugenenoble2005
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants