Project

Profile

Help

Issue #7042

closed

pulp-oci-image image build fails with SWIG_EXECUTABLE-NOTFOUND: command not found

Added by dkliban@redhat.com almost 4 years ago. Updated almost 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

Full log here: https://github.com/pulp/pulp-oci-images/runs/802594682

Most interesting part is here:

 FAILED: bindings/python3/solv_python.c
  cd /tmp/pip-install-5c0d0s5q/solv/_skbuild/linux-x86_64-3.7/cmake-build/bindings/python3 && SWIG_EXECUTABLE-NOTFOUND -DHAVE_STRCHRNUL -DHAVE_FOPENCOOKIE -DENABLE_COMPLEX_DEPS -DENABLE_ZLIB_COMPRESSION -python -DPYTHON3=1 -DSWIG_PYTHON_LEGACY_BOOL=1 -I/tmp/pip-install-5c0d0s5q/solv/src -o solv_python.c /tmp/pip-install-5c0d0s5q/solv/bindings/solv.i
  /bin/sh: SWIG_EXECUTABLE-NOTFOUND: command not found
  [87/92] Building C object ext/CMakeFiles/libsolvext.dir/testcase.c.o
  ninja: build stopped: subcommand failed.
    File "/tmp/pip-build-env-opyg50wh/overlay/lib/python3.7/site-packages/skbuild/setuptools_wrap.py", line 589, in setup
      cmkr.make(make_args, env=env)
    File "/tmp/pip-build-env-opyg50wh/overlay/lib/python3.7/site-packages/skbuild/cmaker.py", line 507, in make
      os.path.abspath(CMAKE_BUILD_DIR())))
Actions #1

Updated by daviddavis almost 4 years ago

09:48:54     dalley | so it looks like it's trying to build the bindings but swig isn't there.  but it shouldn't *need* to build the bindings because there are binary packages available
09:51:36     dalley | daviddavis, it looks like the pip version is too old to recognize the binary packages, you need v20 
09:51:41     dalley | and it's v19
Actions #2

Updated by pulpbot almost 4 years ago

  • Status changed from NEW to POST
Actions #3

Updated by daviddavis almost 4 years ago

  • Status changed from POST to CLOSED - CURRENTRELEASE

Also available in: Atom PDF