Ansible-builder throws "value too large for defined data type" when rebuilding an EE image

Hi

I’m trying to rebuild an EE, and this is the same build file I built once before, but now it throws an error that I really can’t make head or tails out of. Why did it stop working? What does it even mean?!?

ansible-builder 3.1.0
podman 4.9.3

This is the error I get:

…showing last 20 lines of output…
[1/4] STEP 5/12: ARG PYCMD
→ Using cache 51a9aa5f52687438d013824d372599ce9c0abd9bacb4683a813d80a0ff22956b
→ 51a9aa5f5268
[1/4] STEP 6/12: ARG PKGMGR_PRESERVE_CACHE
→ Using cache d8696784da27017f5d5cd0a5524f44d6467562bd8acba131cc89c63a82d26a94
→ d8696784da27
[1/4] STEP 7/12: ARG ANSIBLE_GALAXY_CLI_COLLECTION_OPTS
→ Using cache b702f681539d0e98bca9267275f52985e6caa2a918c8ab17b352b2bf16142457
→ b702f681539d
[1/4] STEP 8/12: ARG ANSIBLE_GALAXY_CLI_ROLE_OPTS
→ Using cache 782acca889f914a1e3a1cda498fc677b90522b2beaf169ed7dae654a835b1f8f
→ 782acca889f9
[1/4] STEP 9/12: ARG PKGMGR
→ Using cache 56dddd789080c73387b95ae7574d6816599e0c483c62f1178f9a7cb099759741
→ 56dddd789080
[1/4] STEP 10/12: COPY _build/scripts/ /output/scripts/
→ Using cache 8649c43233f0fe9e30393474730689634626c05fcf412982879e15ee98096d9a
→ 8649c43233f0
[1/4] STEP 11/12: COPY _build/scripts/entrypoint /opt/builder/bin/entrypoint
Error: building at STEP “COPY _build/scripts/entrypoint /opt/builder/bin/entrypoint”: ensuring target directory exists: copier: mkdir: error checking directory “/opt/builder”: mkdir /opt/bu
ilder: value too large for defined data type

An error occurred (rc=125), see output line(s) above for details.

This is my build file:

-–
version: 3
dependencies:
python:
- pywinrm
- pykerberos>=1.2.4
system:
- iputils [platform:rpm]
- gcc
- systemd-devel
- python3.11-devel
galaxy:
collections:
- name: community.windows
- name: ansible.utils
version: 2.10.1
images:
base_image:
name: registry.redhat.io/ansible-automation-platform-25/ee-supported-rhel8:latest

additional_build_files:
- src: ansible.cfg
dest: configs

options:
package_manager_path: /usr/bin/microdnf

additional_build_steps:
prepend_galaxy:
- ADD _build/configs/ansible.cfg ~/.ansible.cfg

I couldn’t figure it out so I just removed and reinstalled all the tools, and then it works. Yeah, version issues probably. Hate it.

Well it works in the end…

The error Value too large for defined data type apparently happened while building the container image when executing mkdir in the container.

Searching for that error message leads to GNU Core Utilities Frequently Asked Questions , and there are several other results that relate to containers. It doesn’t seem clear where this comes from, but it seems to be definitely unrelated to ansible-builder.