Skip to content

Cannot build on an aarch64 host #11313

Open
@billatarm

Description

@billatarm

Describe the bug
I have tried following the documentation to build VHD, VHDX and ISO images, and have yet to get anything to work.
I am using this as the documentation source: https://github.com/microsoft/azurelinux/blob/3.0/toolkit/docs/quick_start/quickstart.md

It appears that something with the RPM fetch is failing, AFAICT:

WARN[0022][imagepkgfetcher] Failed to clone packages in a single transaction, will retry with individual transactions... (retry cancelled, last error:
exit status 243) 
WARN[0022][imagepkgfetcher]     Check log file '/home/wilrob02/workspace/azurelinux/build/logs/imggen/imagepkgfetcher.log' for more details from package manager. 
ERRO[0046][imagepkgfetcher] Also failed to clone packages with individual transactions. Error: retry cancelled, last error:
exit status 243 
ERRO[0046][imagepkgfetcher]     Check log file '/home/wilrob02/workspace/azurelinux/build/logs/imggen/imagepkgfetcher.log' for more details from package manager. 
PANI[0046][imagepkgfetcher] Failed to clone RPM repo. Error: retry cancelled, last error:

The log file has this:

time="2024-12-04T13:37:05-06:00" level=debug msg="shim package not found or not installed"
time="2024-12-04T13:37:05-06:00" level=debug msg="Error(1011) : No matching packages"

Am I missing some build dependency here? Do I have to build on Ubuntu?

To Reproduce

  • Fedora 42 (I have also tried f40 and f41)
  • AArch64 Host
  • run command from toolkit directory:
    • sudo make image -j8 REBUILD_TOOLS=y REBUILD_PACKAGES=n CONFIG_FILE=./imageconfigs/core-efi.json 2>&1 | tee logz
    • sudo make image -j8 REBUILD_TOOLS=y REBUILD_PACKAGES=n CONFIG_FILE=./imageconfigs/core-legacy.json
    • sudo make iso -j8 REBUILD_TOOLS=y REBUILD_PACKAGES=n CONFIG_FILE=./imageconfigs/full.json

Expected behavior
A successful build

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions