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

Failed Build: Unable to locate package snapcraft #347

Closed
jimafisk opened this issue Oct 25, 2024 · 5 comments
Closed

Failed Build: Unable to locate package snapcraft #347

jimafisk opened this issue Oct 25, 2024 · 5 comments

Comments

@jimafisk
Copy link
Member

Build: https://github.com/plentico/plenti/actions/runs/11524578787/job/32085312420

Error:

E: Unable to locate package snapcraft
Error: Process completed with exit code 100.

I believe this is related to a fix for the serve cmd on Linux releases (#323) that's potentially related to an older version of glibc being used in the build process because it was referencing Ubuntu 20.04. After upgrading to Ubuntu 24.04 (a9ec54a) the step for setting up snaps fails, potentially because snapcraft is already included:

name: Set up Snapcraft

stephanieluz added a commit that referenced this issue Oct 25, 2024
stephanieluz added a commit that referenced this issue Oct 25, 2024
jimafisk added a commit that referenced this issue Oct 30, 2024
@jimafisk
Copy link
Member Author

Was still failing: https://github.com/plentico/plenti/actions/runs/11598485945/job/32294435295

So attempted to remove snapcraft again: 1a23191

@jimafisk
Copy link
Member Author

After some adjustments for another reason builds were failing (related to llvm): #349

We're having snapcraft issues again:

release failed after 1m28s               error=snapcraft not present in $PATH
Error: The process '/opt/hostedtoolcache/goreleaser-action/2.3.2/x64/goreleaser' failed with exit code 1

Failed build: https://github.com/plentico/plenti/actions/runs/11599016707/job/32296214897

jimafisk added a commit that referenced this issue Oct 30, 2024
@jimafisk
Copy link
Member Author

Now I see the key part in the failed build logs: https://github.com/plentico/plenti/actions/runs/11599142938/job/32296623627

No apt package "snapcraft", but there is a snap with that name.
Try "snap install snapcraft"

jimafisk added a commit that referenced this issue Oct 30, 2024
@jimafisk
Copy link
Member Author

Failed build: https://github.com/plentico/plenti/actions/runs/11599239368/job/32296932634

error: access denied (try with sudo)
Error: Process completed with exit code 1.

@jimafisk
Copy link
Member Author

Should be fixed in v0.7.14

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

1 participant