You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've had to recreate my build environment and for some reason there is a permission issue at pip_install step:
[1/4] STEP 15/16: RUN /output/scripts/pip_install $PYCMD
/bin/sh: line 1: /output/scripts/pip_install: Permission denied
Error: error building at STEP "RUN /output/scripts/pip_install $PYCMD": error while running runtime: exit status 126
At first I suspected this is an issue with one of the new packages I added to the build dependencies, but removing that had no effect. Also ruled out system as it seems to happen despite disabling apparmor and trying build as root on ubuntu 22.04.
This image build fine approx. 10 months ago in similar environment (using same ubuntu version).
Your EE (minus the galaxy.yaml file that was not provided) builds successfully for me on Ubuntu 22.04 using ansible-builder version 3.1 and with podman version 3.4.4.
A few questions for you:
Are you running ansible-builder directly on your machine, or are you invoking it within a Podman container image?
What is the exact ansible-builder command you are using for your build? Is it on the command line, or is it being invoked indirectly through the devtools utilities? If the latter, did you try running the ansible-builder command directly?
Can you please add the -vvv option to your ansible-builder build command and provide the entire output for us to examine?
While gathering details it hit me that the context files were continuously reported up-to-date, and then I realized that I had run the initial build when files were still on a thumb-drive. I removed the context directory and everything seems to work now. This was just an user error, thanks for help.
For reference, I am running ansible-builder in QEMU KVM. I guess some limitation was set on the mounted device which caused corruption on the context directory.
I've had to recreate my build environment and for some reason there is a permission issue at pip_install step:
At first I suspected this is an issue with one of the new packages I added to the build dependencies, but removing that had no effect. Also ruled out system as it seems to happen despite disabling apparmor and trying build as root on ubuntu 22.04.
This image build fine approx. 10 months ago in similar environment (using same ubuntu version).
This is my execution-environment.yml:
Also the builder seems to run earlier python version by default, is that a problem?:
The text was updated successfully, but these errors were encountered: