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

container-management_git.bb:do_compile failed with exit code '1' for amd64 #56

Closed
e-grigorov opened this issue Sep 23, 2022 · 1 comment · Fixed by #57
Closed

container-management_git.bb:do_compile failed with exit code '1' for amd64 #56

e-grigorov opened this issue Sep 23, 2022 · 1 comment · Fixed by #57
Assignees
Labels
bug Something isn't working
Milestone

Comments

@e-grigorov
Copy link
Contributor

e-grigorov commented Sep 23, 2022

  • Environment:
$ uname -a
Linux pc-name 5.15.0-46-generic #49~20.04.1-Ubuntu SMP Thu Aug 4 19:15:44 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
  • Machine: qemux86-64
  • Build setup as it's described in the project readme
  • Steps to reproduce: with the given setup just build container-management recipe with: bitbake container-management
  • Fail:
...
| HASH[link github.com/eclipse-kanto/container-management/containerm/cli]: "packagefile golang.org/x/text/unicode/norm=q1gX_PkkCkNSbmxB8uK7\n"
| HASH[link github.com/eclipse-kanto/container-management/containerm/cli]: "packagefile vendor/golang.org/x/text/transform=kHLjPgwAejElkT6ycxpc\n"
| HASH[link github.com/eclipse-kanto/container-management/containerm/cli]: "packageshlib vendor/golang.org/x/text/transform=\xa3~1\x9f\x19;wɗ\x1efX\x96\x97\xe3Q;\x805\x01\n"
| HASH[link github.com/eclipse-kanto/container-management/containerm/cli]: "packagefile crypto/ed25519/internal/edwards25519/field=f8Sy_wb_IOgb4pGnZccx\n"
| HASH[link github.com/eclipse-kanto/container-management/containerm/cli]: "packageshlib crypto/ed25519/internal/edwards25519/field=\xa3~1\x9f\x19;wɗ\x1efX\x96\x97\xe3Q;\x805\x01\n"
| HASH[link github.com/eclipse-kanto/container-management/containerm/cli]: "packagefile golang.org/x/text/transform=6PEoCqRa36N6gyb2hzTf\n"
| HASH[link github.com/eclipse-kanto/container-management/containerm/cli]: ba3b4e1b2b8f817dde5741b84f53503059ca27beb46bde80cdc5e4ae308353be
| HASH subkey bd47c40558bdf4626c511460fb7469e2bf6475f5734d8a464d9fe295190ebae3 "link-stdout" = 3180dd122b6e4b49477bf6b708fff07de1c7d4ba94acfca1ff9dc0e0038500e8
| WARNING: exit code 2 from a shell command.
ERROR: Task (/home/user/dev/yocto/poky/meta-kanto/recipes-containers/container-management/container-management_git.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1627 tasks of which 1620 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/user/dev/yocto/poky/meta-kanto/recipes-containers/container-management/container-management_git.bb:do_compile
Summary: There was 1 ERROR message, returning a non-zero exit code.
~/dev/yocto/poky/build (kirkstone)

Note that there is no such build issue with qemuarm64 build.

@e-grigorov e-grigorov added the bug Something isn't working label Sep 23, 2022
@e-grigorov e-grigorov added this to the M2 milestone Sep 23, 2022
@konstantina-gramatova konstantina-gramatova transferred this issue from eclipse-kanto/meta-kanto Sep 26, 2022
@konstantina-gramatova
Copy link
Contributor

konstantina-gramatova commented Sep 26, 2022

The issue is caused by the indirect dependency github.com/klauspost/compress v1.11.13. The problem in the used version is described here and is fixed here.

The first stable version including the fix is v1.13.6, thus, the container-management component must be updated to use at least this version. Given that this dependency is actually direct to containerd and inherited from there, and that currently, we do not intend to upgrade containerd's version, the safest option would be to opt for v1.13.6 until we migrate to a newer version of containerd.

zstd is in the process of being formalized in the OCI images spec and is yet to be supported by e.g. Moby regarding distribution via image registries so currently such a change is acceptable given the scope it can potentially impact (or not).

konstantina-gramatova added a commit to bosch-io/container-management that referenced this issue Sep 26, 2022
… exit code '1' for amd64

Updated to the first stable version where the assembler issues is fixed in github.com/klauspost/compress - v1.13.6

Signed-off-by: Konstantina Gramatova <konstantina.gramatova@bosch.io>
@konstantina-gramatova konstantina-gramatova linked a pull request Sep 26, 2022 that will close this issue
konstantina-gramatova added a commit that referenced this issue Sep 26, 2022
…amd64 (#57)

[#56] container-management_git.bb:do_compile failed with exit code '1' for amd64

Updated to the first stable version where the assembler issues is fixed in github.com/klauspost/compress - v1.13.6

Signed-off-by: Konstantina Gramatova <konstantina.gramatova@bosch.io>
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
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants