podman-desktop/extension-bootc

KNOWN ISSUE: Unable to cross-arch build

cdrage opened this issue · 3 comments

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

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.

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.

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.