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

Unable to build with Builder #13

Open
1 task done
UrtsiSantsi opened this issue Sep 22, 2024 · 1 comment
Open
1 task done

Unable to build with Builder #13

UrtsiSantsi opened this issue Sep 22, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@UrtsiSantsi
Copy link
Contributor

Is there an existing issue for this?

  • I have checked the existing issues

Describe your issue

I get :go: go.mod file not found in current directory or any parent directory, but the go.mod clearly is in the main directory

@UrtsiSantsi UrtsiSantsi added the bug Something isn't working label Sep 22, 2024
@tfuxu
Copy link
Owner

tfuxu commented Sep 23, 2024

Weird, but it probably has something to do with the fact that Builder changes source and build directories when using flatpak-builder.

Here's how it looks in plain flatpak-builder:

The Meson build system
Version: 1.5.2
Source dir: /run/build/floodit
Build dir: /run/build/floodit/_flatpak_build
...

And here's in Builder:

The Meson build system
Version: 1.5.1
Source dir: /home/tfuxc/Documents/MyStuff/Go Stuff/Flood-It
Build dir: /home/tfuxc/.var/app/org.gnome.Builder/cache/gnome-builder/projects/Flood-It/builds/io.github.tfuxu.floodit.json-flatpak-org.gnome.Platform-47-x86_64-master
...

For now I recommend using flatpak-builder, but I'll try to fix this in near future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants