Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-88562

RHEL 10 images do not cross-build on podman machine (mac)

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhel-10.0
    • podman
    • None
    • No
    • Moderate
    • rhel-container-tools
    • 2
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • aarch64
    • None

      What were you trying to do that didn't work?

       

      Cross-build a RHEL 10.0 image on an ARM Mac for AMD64 does not work and errors out with the following error trying to execute an instruction:
      "Fatal glibc error: CPU does not support x86-64-v3"

      What is the impact of this issue to you?

       

      CentOS 10 and RHEL 10 images cannot be cross-build on (Mac) developer workstations.

      Please provide the package NVR for which the bug is seen:

      Latest Podman Desktop/Podman on the Mac.

      How reproducible is this bug?:

      100 percent.

      Steps to reproduce

      Take the following Containerfile:

      FROM registry.stage.redhat.io/rhel10/rhel-bootc:10.0
      COPY repofile.repo /etc/yum.repos.d/redhat.repo
      RUN sed -i 's/enabled=1/enabled=0/' /etc/yum/pluginconf.d/subscription-manager.conf
      RUN dnf install -y vim

      1. Download the repofile from https://download.hosts.prod.upshift.rdu2.redhat.com/rhel-10/nightly/RHEL-10/latest-RHEL-10.0/repofile.repo.
      2. Run podman build --arch=amd64 .

      Expected results

      Build succeeds.

      Actual results

      Build fails with "Fatal glibc error: CPU does not support x86-64-v3".

      Additional Info:
      ➜ ~ podman machine info
      host:
      arch: arm64
      currentmachine: podman-machine-default
      defaultmachine: ""
      eventsdir: /var/folders/ft/hl9z04vx05x1ks9zcth6nryh0000gn/T/storage-run-501/podman
      machineconfigdir: /Users/valentinrothberg/.config/containers/podman/machine/applehv
      machineimagedir: /Users/valentinrothberg/.local/share/containers/podman/machine/applehv
      machinestate: Running
      numberofmachines: 1
      os: darwin
      vmtype: applehv
      version:
      apiversion: 5.4.0
      version: 5.4.0
      goversion: go1.23.6
      gitcommit: f9f7d48b24b1ca4403f189caaeab1cb8ff4a9aa2
      builttime: Tue Feb 11 19:02:28 2025
      built: 1739296948
      buildorigin: pkginstaller
      osarch: darwin/arm64
      os: darwin
      ➜ ~ podman version
      Client: Podman Engine
      Version: 5.4.0
      API Version: 5.4.0
      Go Version: go1.23.6
      Git Commit: f9f7d48b24b1ca4403f189caaeab1cb8ff4a9aa2
      Built: Tue Feb 11 19:02:28 2025
      Build Origin: pkginstaller
      OS/Arch: darwin/arm64

      Server: Podman Engine
      Version: 5.4.2
      API Version: 5.4.2
      Go Version: go1.23.7
      Git Commit: be85287fcf4590961614ee37be65eeb315e5d9ff
      Built: Wed Apr 2 02:00:00 2025
      OS/Arch: linux/arm64

              bbaude@redhat.com Brent Baude
              vrothber@redhat.com Valentin Rothberg
              Container Runtime Eng Bot Container Runtime Eng Bot
              Container Runtime Bugs Bot Container Runtime Bugs Bot
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: