Comments (5)
Thank you for reporting us your feedback!
The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-2868.
This message was autogenerated
from snapcraft.
I've also seen failures without architectures
(or platforms
) in the .yaml. With, for example,
snapcraft remote-build --launchpad-accept-public-upload --build-for armhf
(Which works for Miriway, but not for several of canonical's Mir based projects. Not spotted what the significant difference between these is.)
from snapcraft.
Also:
This works: snapcraft remote-build --build-for riscv64
This does not: snapcraft remote-build --build-for amd64,riscv64,arm64
2024-05-02 23:33:24.773 Starting snapcraft, version 8.2.3
2024-05-02 23:33:24.773 Log verbosity level set to BRIEF
2024-05-02 23:33:24.774 Configuring application...
2024-05-02 23:33:24.774 Preparing application...
2024-05-02 23:33:24.774 Build plan: platform=None, build_for=amd64,riscv64,arm64
2024-05-02 23:33:24.774 Loading project file '/home/alan/Temp/Test/snap/snapcraft.yaml'
2024-05-02 23:33:24.779 Architecture 'amd64,riscv64,arm64' is not supported.
2024-05-02 23:33:24.779 Traceback (most recent call last):
2024-05-02 23:33:24.779 File "/snap/snapcraft/11591/lib/python3.10/site-packages/craft_application/application.py", line 508, in run
2024-05-02 23:33:24.779 self.services.project = self.get_project(
2024-05-02 23:33:24.779 File "/snap/snapcraft/11591/lib/python3.10/site-packages/craft_application/application.py", line 303, in get_project
2024-05-02 23:33:24.779 yaml_data = self._transform_project_yaml(yaml_data, build_on, build_for)
2024-05-02 23:33:24.779 File "/snap/snapcraft/11591/lib/python3.10/site-packages/craft_application/application.py", line 601, in _transform_project_yaml
2024-05-02 23:33:24.779 self._expand_environment(yaml_data=yaml_data, build_for=build_for)
2024-05-02 23:33:24.779 File "/snap/snapcraft/11591/lib/python3.10/site-packages/craft_application/application.py", line 629, in _expand_environment
2024-05-02 23:33:24.779 info = craft_parts.ProjectInfo(
2024-05-02 23:33:24.779 File "/snap/snapcraft/11591/lib/python3.10/site-packages/craft_parts/infos.py", line 99, in __init__
2024-05-02 23:33:24.779 self._set_machine(arch)
2024-05-02 23:33:24.779 File "/snap/snapcraft/11591/lib/python3.10/site-packages/craft_parts/infos.py", line 333, in _set_machine
2024-05-02 23:33:24.779 raise errors.InvalidArchitecture(arch)
2024-05-02 23:33:24.779 craft_parts.errors.InvalidArchitecture: Architecture 'amd64,riscv64,arm64' is not supported.
2024-05-02 23:33:24.779 Make sure the architecture name is correct.
2024-05-02 23:33:24.779 Recommended resolution: Make sure the architecture name is correct.
2024-05-02 23:33:24.779 Full execution log: '/home/alan/.local/state/snapcraft/log/snapcraft-20240502-233324.772745.log'
from snapcraft.
snapcraft 2.8.4 appears to have fixed some cases. canonical/mir#3369 builds mir-libs for a matrix of core{22,24}, {amd64,armhf,arm64). The only one failing now is core24,armhf
https://github.com/canonical/mir/actions/runs/8939586899/job/24620012565?pr=3369
Running locally, doesn't retrieve any build results to investigate further
$ cp snap/local/core24~snapcraft.yaml snap/snapcraft.yaml
$ sed -i 's@version: testing@version: '$(git describe)'@' snap/snapcraft.yaml
$ snapcraft remote-build --launchpad-accept-public-upload --build-for armhf
$ snapcraft remote-build --launchpad-accept-public-upload --build-for armhf
remote-build is experimental and is subject to change. Use with caution.
Build completed.rtifacts...
Log files:
Artifacts:
$
from snapcraft.
Fixes via #4793 and canonical/craft-application#343
from snapcraft.
Related Issues (20)
- Migrate to Pydantic 2 HOT 1
- Python plugin is broken in core24 HOT 2
- Forward proxy variables into core24 build environments HOT 1
- Install `git` inside core24 build environments HOT 1
- Consider adding flag to extensions to list experimental extensions
- RecursionError('maximum recursion depth exceeded') HOT 2
- Docs: Harmonize README with template HOT 1
- Recommend using newer versions of snapcraft HOT 1
- `--debug` does not enter a shell for failures during post-prime or packing HOT 3
- Can't build Core20 snaps on non-snap distros HOT 2
- Support `--shell` and `--shell-after` for `snapcraft pack` HOT 1
- Remove Windows support HOT 1
- Document using Snapcraft under WSL HOT 1
- Shared cache for Python wheels HOT 1
- Add deprecation notice for `snapcraft pack <directory>` HOT 1
- Add a `bundler-version` property to the `core18` Ruby plugin HOT 1
- Include `libyaml-dev` as a build-package for Ruby parts with newer versions of the bundler HOT 1
- Cannot create a snap with base:bare in destructive mode
- edge channel stricter about `build-environment` types in parts HOT 2
- Fix Snapcraft 7 builds on riscv64 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snapcraft.