Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • A archlinux-docker
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Arch Linux
  • archlinux-docker
  • Issues
  • #63
Closed
Open
Created Feb 24, 2022 by Matt dev@matty_r

xz to produce base.tar.xz fails in low mem/cpu environment fails

Hi all,

After some troubleshooting where the build would fail for me (see https://bbs.archlinux.org/viewtopic.php?pid=2024067#p2024067), I found that xz is failing to produce the base.tar.xz file. Removing -T0 appears to fix the issue, though it can take quiet a while for the compression to complete, leaving -T0 and removing -9 also appears to fix the issue.

I'm attempting to build this container in a VM with 4 cores & 2 GB memory, though the amount of memory that's available to the build process would likely be far less as i'm running other applications as well.

Using zstd might be a good option instead of using xz here. Perhapes adding -v to the xz command may help show the progress at the very least if it's taking a while to complete.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking