Cloning "https://github.com/openshift-roadshow/nationalparks-py.git" ...
Commit: f87895b (Use fixed version for dep, fixes #11)
Author: Natale Vinto nvinto@redhat.com
Date: Wed Jun 15 16:28:21 2022 +0200
time="2026-02-18T08:48:05Z" level=info msg="Not using native diff for overlay, this may cause degraded performance for building images: kernel has CONFIG_OVERLAY_FS_REDIRECT_DIR enabled"
I0218 08:48:05.870377 1 defaults.go:112] Defaulting to storage driver "overlay" with options [mountopt=metacopy=on].
Caching blobs under "/var/cache/blobs".
Trying to pull image-registry.openshift-image-registry.svc:5000/openshift/python@sha256:394fffb2dfbe6d5ec49034a1c9a35940a6e954348ad2b8432973964b6d18c528...
Getting image source signatures
Copying blob sha256:4d6764fc7b7517aae3ffaefd49867abeaf7beddba785d02dd868988246d0824b
Copying blob sha256:819501e18c85a616b033a682e2078167e38cd15970dd3534932af6715532259f
Copying config sha256:329c4d228c05eccd12391c829c1d72030092923e4fb2bc5d721aeea3b5774784
Writing manifest to image destination
Generating dockerfile with builder image image-registry.openshift-image-registry.svc:5000/openshift/python@sha256:394fffb2dfbe6d5ec49034a1c9a35940a6e954348ad2b8432973964b6d18c528
Adding transient rw bind mount for /run/secrets/rhsm
STEP 1/9: FROM image-registry.openshift-image-registry.svc:5000/openshift/python@sha256:394fffb2dfbe6d5ec49034a1c9a35940a6e954348ad2b8432973964b6d18c528
STEP 2/9: LABEL "io.openshift.build.commit.author"="Natale Vinto nvinto@redhat.com" "io.openshift.build.commit.date"="Wed Jun 15 16:28:21 2022 +0200" "io.openshift.build.commit.id"="f87895b771bb6568a18d74c4ad2b67e3b86af641" "io.openshift.build.commit.ref"="master" "io.openshift.build.commit.message"="Use fixed version for dep, fixes #11" "io.openshift.build.source-location"="https://github.com/openshift-roadshow/nationalparks-py.git" "io.openshift.build.source-context-dir"="/" "io.openshift.build.image"="image-registry.openshift-image-registry.svc:5000/openshift/python@sha256:394fffb2dfbe6d5ec49034a1c9a35940a6e954348ad2b8432973964b6d18c528"
STEP 3/9: ENV OPENSHIFT_BUILD_NAME="nationalparks-1" OPENSHIFT_BUILD_NAMESPACE="oc-trial-test" OPENSHIFT_BUILD_SOURCE="https://github.com/openshift-roadshow/nationalparks-py.git" OPENSHIFT_BUILD_COMMIT="f87895b771bb6568a18d74c4ad2b67e3b86af641"
STEP 4/9: USER root
STEP 5/9: COPY upload/src /tmp/src
STEP 6/9: RUN chown -R 1001:0 /tmp/src
STEP 7/9: USER 1001
STEP 8/9: RUN /usr/libexec/s2i/assemble
---> Installing application source ...
---> Installing dependencies ...
Collecting mod_wsgi (from -r requirements.txt (line 1))
Downloading mod_wsgi-5.0.2.tar.gz (498 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'error'
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
Traceback (most recent call last):
File "/opt/app-root/lib64/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
main()
File "/opt/app-root/lib64/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/app-root/lib64/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-s3sh7pci/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-s3sh7pci/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-s3sh7pci/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 520, in run_setup
super().run_setup(setup_script=setup_script)
File "/tmp/pip-build-env-s3sh7pci/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 317, in run_setup
exec(code, locals())
File "", line 88, in
RuntimeError: The 'apxs' command appears not to be installed or is not executable. Please check the list of prerequisites in the documentation for this package and install any missing Apache httpd server packages.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
[notice] A new release of pip is available: 24.2 -> 26.0.1
[notice] To update, run: pip install --upgrade pip
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
error: build error: building at STEP "RUN /usr/libexec/s2i/assemble": while running runtime: exit status 1
Above is the full error traceback faced by me
Cloning "https://github.com/openshift-roadshow/nationalparks-py.git" ...
Commit: f87895b (Use fixed version for dep, fixes #11)
Author: Natale Vinto nvinto@redhat.com
Date: Wed Jun 15 16:28:21 2022 +0200
time="2026-02-18T08:48:05Z" level=info msg="Not using native diff for overlay, this may cause degraded performance for building images: kernel has CONFIG_OVERLAY_FS_REDIRECT_DIR enabled"
I0218 08:48:05.870377 1 defaults.go:112] Defaulting to storage driver "overlay" with options [mountopt=metacopy=on].
Caching blobs under "/var/cache/blobs".
Trying to pull image-registry.openshift-image-registry.svc:5000/openshift/python@sha256:394fffb2dfbe6d5ec49034a1c9a35940a6e954348ad2b8432973964b6d18c528...
Getting image source signatures
Copying blob sha256:4d6764fc7b7517aae3ffaefd49867abeaf7beddba785d02dd868988246d0824b
Copying blob sha256:819501e18c85a616b033a682e2078167e38cd15970dd3534932af6715532259f
Copying config sha256:329c4d228c05eccd12391c829c1d72030092923e4fb2bc5d721aeea3b5774784
Writing manifest to image destination
Generating dockerfile with builder image image-registry.openshift-image-registry.svc:5000/openshift/python@sha256:394fffb2dfbe6d5ec49034a1c9a35940a6e954348ad2b8432973964b6d18c528
Adding transient rw bind mount for /run/secrets/rhsm
STEP 1/9: FROM image-registry.openshift-image-registry.svc:5000/openshift/python@sha256:394fffb2dfbe6d5ec49034a1c9a35940a6e954348ad2b8432973964b6d18c528
STEP 2/9: LABEL "io.openshift.build.commit.author"="Natale Vinto nvinto@redhat.com" "io.openshift.build.commit.date"="Wed Jun 15 16:28:21 2022 +0200" "io.openshift.build.commit.id"="f87895b771bb6568a18d74c4ad2b67e3b86af641" "io.openshift.build.commit.ref"="master" "io.openshift.build.commit.message"="Use fixed version for dep, fixes #11" "io.openshift.build.source-location"="https://github.com/openshift-roadshow/nationalparks-py.git" "io.openshift.build.source-context-dir"="/" "io.openshift.build.image"="image-registry.openshift-image-registry.svc:5000/openshift/python@sha256:394fffb2dfbe6d5ec49034a1c9a35940a6e954348ad2b8432973964b6d18c528"
STEP 3/9: ENV OPENSHIFT_BUILD_NAME="nationalparks-1" OPENSHIFT_BUILD_NAMESPACE="oc-trial-test" OPENSHIFT_BUILD_SOURCE="https://github.com/openshift-roadshow/nationalparks-py.git" OPENSHIFT_BUILD_COMMIT="f87895b771bb6568a18d74c4ad2b67e3b86af641"
STEP 4/9: USER root
STEP 5/9: COPY upload/src /tmp/src
STEP 6/9: RUN chown -R 1001:0 /tmp/src
STEP 7/9: USER 1001
STEP 8/9: RUN /usr/libexec/s2i/assemble
---> Installing application source ...
---> Installing dependencies ...
Collecting mod_wsgi (from -r requirements.txt (line 1))
Downloading mod_wsgi-5.0.2.tar.gz (498 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'error'
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
Traceback (most recent call last):
File "/opt/app-root/lib64/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
main()
File "/opt/app-root/lib64/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/app-root/lib64/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-s3sh7pci/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-s3sh7pci/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-s3sh7pci/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 520, in run_setup
super().run_setup(setup_script=setup_script)
File "/tmp/pip-build-env-s3sh7pci/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 317, in run_setup
exec(code, locals())
File "", line 88, in
RuntimeError: The 'apxs' command appears not to be installed or is not executable. Please check the list of prerequisites in the documentation for this package and install any missing Apache httpd server packages.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
[notice] A new release of pip is available: 24.2 -> 26.0.1
[notice] To update, run: pip install --upgrade pip
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
error: build error: building at STEP "RUN /usr/libexec/s2i/assemble": while running runtime: exit status 1
Above is the full error traceback faced by me