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

KNOWN ISSUE: Unable to cross-arch build #808

Open
cdrage opened this issue Sep 9, 2024 · 3 comments
Open

KNOWN ISSUE: Unable to cross-arch build #808

cdrage opened this issue Sep 9, 2024 · 3 comments
Assignees
Labels
kind/bug 🐞 Something isn't working sprint/unplanned

Comments

@cdrage
Copy link
Collaborator

cdrage commented Sep 9, 2024

Bug description

If you have output issues such as:

error: Performing deployment: Creating importer: Function not implemented (os error 38)
Traceback (most recent call last):
  File "/run/osbuild/bin/org.osbuild.ostree.deploy.container", line 72, in <module>
    r = main(stage_args["tree"],
  File "/run/osbuild/bin/org.osbuild.ostree.deploy.container", line 67, in main
    ostree_container_deploy(tree, inputs, osname, target_imgref, kopts)
  File "/run/osbuild/bin/org.osbuild.ostree.deploy.container", line 41, in ostree_container_deploy
    ostree.cli("container", "image", "deploy",
  File "/run/osbuild/lib/osbuild/util/ostree.py", line 205, in cli
    return subprocess.run(["ostree"] + args,
  File "/usr/lib64/python3.9/subprocess.py", line 528, in run
    raise CalledProcessError(retcode, process.args,

manifest - failed 

There are current issues upstream regarding building the default stream9 image or cross-arch builds that you may encounter:

Operating system

all OS'

Version

next (development version)

Steps to reproduce

No response

Relevant log output

No response

Additional context

No response

@cdrage cdrage added the kind/bug 🐞 Something isn't working label Sep 9, 2024
@cdrage cdrage changed the title KNOWN ISSUE: Unable to cross-arch build & build stream9 centos container. KNOWN ISSUE: Unable to cross-arch build Sep 10, 2024
@cdrage cdrage self-assigned this Sep 19, 2024
@cdrage
Copy link
Collaborator Author

cdrage commented Sep 19, 2024

See osbuild/bootc-image-builder#619 intention is to add documentation for podman machine commands to add a patched version of qemu-user-static to get cross-arch to work correctly.

@cdrage
Copy link
Collaborator Author

cdrage commented Sep 27, 2024

UPDATE there's a solution now!

With Rosetta disabled and the instructions from osbuild/bootc-image-builder#619 (comment) I am now able to build.

cdrage added a commit to cdrage/podman-desktop-extension-bootc that referenced this issue Oct 7, 2024
### What does this PR do?

* Adds documentation regarding cross-arch building
* Docs are meant as an intermediary until podman machine is patched with
  the new QEMU calls
* When QEMU is patched, the only thing needed is to "disable rosetta"

### Screenshot / video of UI

<!-- If this PR is changing UI, please include
screenshots or screencasts showing the difference -->

N/A

### What issues does this PR fix or reference?

<!-- Include any related issues from Podman Desktop
repository (or from another issue tracker). -->

References containers#808

### How to test this PR?

<!-- Please explain steps to reproduce -->

Follow documentation instructions on how to cross-arch build again.

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
cdrage added a commit to cdrage/podman-desktop-extension-bootc that referenced this issue Oct 8, 2024
### What does this PR do?

* Adds documentation regarding cross-arch building
* Docs are meant as an intermediary until podman machine is patched with
  the new QEMU calls
* When QEMU is patched, the only thing needed is to "disable rosetta"

### Screenshot / video of UI

<!-- If this PR is changing UI, please include
screenshots or screencasts showing the difference -->

N/A

### What issues does this PR fix or reference?

<!-- Include any related issues from Podman Desktop
repository (or from another issue tracker). -->

References containers#808

### How to test this PR?

<!-- Please explain steps to reproduce -->

Follow documentation instructions on how to cross-arch build again.

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
cdrage added a commit to cdrage/podman-desktop-extension-bootc that referenced this issue Oct 8, 2024
### What does this PR do?

* Adds documentation regarding cross-arch building
* Docs are meant as an intermediary until podman machine is patched with
  the new QEMU calls
* When QEMU is patched, the only thing needed is to "disable rosetta"

### Screenshot / video of UI

<!-- If this PR is changing UI, please include
screenshots or screencasts showing the difference -->

N/A

### What issues does this PR fix or reference?

<!-- Include any related issues from Podman Desktop
repository (or from another issue tracker). -->

References containers#808

### How to test this PR?

<!-- Please explain steps to reproduce -->

Follow documentation instructions on how to cross-arch build again.

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
cdrage added a commit that referenced this issue Oct 15, 2024
### What does this PR do?

* Adds documentation regarding cross-arch building
* Docs are meant as an intermediary until podman machine is patched with
  the new QEMU calls
* When QEMU is patched, the only thing needed is to "disable rosetta"

### Screenshot / video of UI

<!-- If this PR is changing UI, please include
screenshots or screencasts showing the difference -->

N/A

### What issues does this PR fix or reference?

<!-- Include any related issues from Podman Desktop
repository (or from another issue tracker). -->

References #808

### How to test this PR?

<!-- Please explain steps to reproduce -->

Follow documentation instructions on how to cross-arch build again.

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
@cdrage
Copy link
Collaborator Author

cdrage commented Oct 16, 2024

Marked this as Done as part of sprint planning as we now have the document on the README: https://github.com/containers/podman-desktop-extension-bootc?tab=readme-ov-file#known-issues

But I will leave this open in case someone else stumbles upon this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug 🐞 Something isn't working sprint/unplanned
Projects
Status: ✔️ Done
Development

No branches or pull requests

1 participant