Ah, thank you. make pyscipopt fails, however. log attached, no idea.
martin@toolbox:~/sage-trac/logs/pkgs$ cat /etc/os-release PRETTY_NAME="Ubuntu 22.04.2 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.2 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=jammy martin@toolbox:~/sage-trac/logs/pkgs$ python Python 3.10.6 (main, Nov 14 2022, 16:10:14) [GCC 11.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. martin@toolbox:~/sage-trac/logs/pkgs$ sage ┌────────────────────────────────────────────────────────────────────┐ │ SageMath version 10.0.beta4, Release Date: 2023-03-12 │ │ Using Python 3.11.1. Type "help()" for help. │ └────────────────────────────────────────────────────────────────────┘ :-( On Thursday, 16 March 2023 at 13:51:54 UTC+1 Dima Pasechnik wrote: > I believe scip dependencies should include pyscipopt - they don't atm. > > I've run > > ./configure --enable-scip=yes > make build > > and then > sage: default_mip_solver("SCIP") > > still gave an error. After > > make pyscipopt > make build > > it all worked. > > > > > On Thu, Mar 16, 2023 at 11:45 AM 'Martin R' via sage-devel > <sage-...@googlegroups.com> wrote: > > > > Dear all, especially Matthias, > > > > I have recurring problems to install SCIP. > > > > sage -i scip > > > > seems to work (the log does not contain any errors), but > > > > sage: default_mip_solver("SCIP") > > > > fails (ValueError: SCIP is not available. Please refer to the > documentation to install it.). > > > > This is on 10.0.beta4. > > > > should I open a ticket, or am I doing something completely wrong? > > > > Martin > > > > -- > > You received this message because you are subscribed to the Google > Groups "sage-devel" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to sage-devel+...@googlegroups.com. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/fb64e44e-ea58-4d8c-bb36-ae2715179583n%40googlegroups.com > . > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/42199586-647d-4dc0-9b88-9ff5c7ff8737n%40googlegroups.com.
Using cached file /home/martin/sage-trac/upstream/PySCIPOpt-4.2.0.tar.gz pyscipopt-4.2.0 ==================================================== Setting up build directory for pyscipopt-4.2.0 Finished extraction No patch files found in ../patches **************************************************** Host system: Linux toolbox 5.15.0-67-generic #74-Ubuntu SMP Wed Feb 22 14:14:39 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux **************************************************** C compiler: gcc C compiler version: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.3.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-xKiWfi/gcc-11-11.3.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-11-xKiWfi/gcc-11-11.3.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04) **************************************************** Package 'pyscipopt' is currently not installed No legacy uninstaller found for 'pyscipopt'; nothing to do Installing pyscipopt-4.2.0 Looking in links: /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/var/lib/sage/wheels Processing /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/var/tmp/sage/build/pyscipopt-4.2.0/src Preparing metadata (setup.py): started Running command python setup.py egg_info Using include path /home/martin/sage-trac/local/include. Using SCIP library scip at /home/martin/sage-trac/local/lib. running egg_info creating /tmp/pip-pip-egg-info-ah3__mol/PySCIPOpt.egg-info writing /tmp/pip-pip-egg-info-ah3__mol/PySCIPOpt.egg-info/PKG-INFO writing dependency_links to /tmp/pip-pip-egg-info-ah3__mol/PySCIPOpt.egg-info/dependency_links.txt writing requirements to /tmp/pip-pip-egg-info-ah3__mol/PySCIPOpt.egg-info/requires.txt writing top-level names to /tmp/pip-pip-egg-info-ah3__mol/PySCIPOpt.egg-info/top_level.txt writing manifest file '/tmp/pip-pip-egg-info-ah3__mol/PySCIPOpt.egg-info/SOURCES.txt' reading manifest file '/tmp/pip-pip-egg-info-ah3__mol/PySCIPOpt.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file '/tmp/pip-pip-egg-info-ah3__mol/PySCIPOpt.egg-info/SOURCES.txt' Preparing metadata (setup.py): finished with status 'done' Building wheels for collected packages: PySCIPOpt Building wheel for PySCIPOpt (setup.py): started Running command python setup.py bdist_wheel Using include path /home/martin/sage-trac/local/include. Using SCIP library scip at /home/martin/sage-trac/local/lib. running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-cpython-311 creating build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/Multidict.py -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/__init__.py -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/scip.pyx -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/scip.pxd -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/reader.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/nodesel.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/presol.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/branchrule.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/propagator.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/event.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/pricer.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/lp.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/relax.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/conshdlr.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/sepa.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/expr.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/heuristic.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/cutsel.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/benderscut.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/benders.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt running build_ext building 'pyscipopt.scip' extension INFO: C compiler: gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -g -O2 -g -O2 -fPIC creating build/temp.linux-x86_64-cpython-311 creating build/temp.linux-x86_64-cpython-311/src creating build/temp.linux-x86_64-cpython-311/src/pyscipopt INFO: compile options: '-I/home/martin/sage-trac/local/include -I/home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11 -c' INFO: gcc: src/pyscipopt/scip.c src/pyscipopt/scip.c: In function '__Pyx_PyBytes_Equals': src/pyscipopt/scip.c:174958:13: warning: 'ob_shash' is deprecated [-Wdeprecated-declarations] 174958 | hash1 = ((PyBytesObject*)s1)->ob_shash; | ^~~~~ In file included from /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/bytesobject.h:62, from /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/Python.h:50, from src/pyscipopt/scip.c:31: /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/cpython/bytesobject.h:7:35: note: declared here 7 | Py_DEPRECATED(3.11) Py_hash_t ob_shash; | ^~~~~~~~ src/pyscipopt/scip.c:174959:13: warning: 'ob_shash' is deprecated [-Wdeprecated-declarations] 174959 | hash2 = ((PyBytesObject*)s2)->ob_shash; | ^~~~~ In file included from /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/bytesobject.h:62, from /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/Python.h:50, from src/pyscipopt/scip.c:31: /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/cpython/bytesobject.h:7:35: note: declared here 7 | Py_DEPRECATED(3.11) Py_hash_t ob_shash; | ^~~~~~~~ src/pyscipopt/scip.c: In function '__Pyx_AddTraceback': src/pyscipopt/scip.c:463:62: error: invalid use of incomplete typedef 'PyFrameObject' {aka 'struct _frame'} 463 | #define __Pyx_PyFrame_SetLineNumber(frame, lineno) (frame)->f_lineno = (lineno) | ^~ src/pyscipopt/scip.c:176759:5: note: in expansion of macro '__Pyx_PyFrame_SetLineNumber' 176759 | __Pyx_PyFrame_SetLineNumber(py_frame, py_line); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyscipopt/scip.c: In function '__Pyx_Coroutine_SendEx': src/pyscipopt/scip.c:180913:14: error: invalid use of incomplete typedef 'PyFrameObject' {aka 'struct _frame'} 180913 | f->f_back = PyThreadState_GetFrame(tstate); | ^~ In file included from /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/Python.h:38, from src/pyscipopt/scip.c:31: src/pyscipopt/scip.c: In function '__Pyx_Coroutine_ResetFrameBackpointer': src/pyscipopt/scip.c:180950:19: error: invalid use of incomplete typedef 'PyFrameObject' {aka 'struct _frame'} 180950 | Py_CLEAR(f->f_back); | ^~ /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/pyport.h:24:38: note: in definition of macro '_Py_CAST' 24 | #define _Py_CAST(type, expr) ((type)(expr)) | ^~~~ /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/object.h:581:29: note: in expansion of macro '_PyObject_CAST' 581 | PyObject *_py_tmp = _PyObject_CAST(op); \ | ^~~~~~~~~~~~~~ src/pyscipopt/scip.c:180950:9: note: in expansion of macro 'Py_CLEAR' 180950 | Py_CLEAR(f->f_back); | ^~~~~~~~ In file included from /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/Python.h:44, from src/pyscipopt/scip.c:31: src/pyscipopt/scip.c:180950:19: error: invalid use of incomplete typedef 'PyFrameObject' {aka 'struct _frame'} 180950 | Py_CLEAR(f->f_back); | ^~ /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/object.h:583:14: note: in definition of macro 'Py_CLEAR' 583 | (op) = NULL; \ | ^~ error: Command "gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -g -O2 -g -O2 -fPIC -I/home/martin/sage-trac/local/include -I/home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11 -c src/pyscipopt/scip.c -o build/temp.linux-x86_64-cpython-311/src/pyscipopt/scip.o" failed with exit status 1 error: subprocess-exited-with-error × python setup.py bdist_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. full command: /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/bin/python3 -u -c ' exec(compile('"'"''"'"''"'"' # This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py # # - It imports setuptools before invoking setup.py, to enable projects that directly # import from `distutils.core` to work with newer packaging standards. # - It provides a clear error message when setuptools is not installed. # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: # manifest_maker: standard file '"'"'-c'"'"' not found". # - It generates a shim setup.py, for handling setup.cfg-only projects. import os, sys, tokenize try: import setuptools except ImportError as error: print( "ERROR: Can not execute `setup.py` since setuptools is not available in " "the build environment.", file=sys.stderr, ) sys.exit(1) __file__ = %r sys.argv[0] = __file__ if os.path.exists(__file__): filename = __file__ with tokenize.open(__file__) as f: setup_py_code = f.read() else: filename = "<auto-generated setuptools caller>" setup_py_code = "from setuptools import setup; setup()" exec(compile(setup_py_code, filename, "exec")) '"'"''"'"''"'"' % ('"'"'/home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/var/tmp/sage/build/pyscipopt-4.2.0/src/setup.py'"'"',), "<pip-setuptools-caller>", "exec"))' bdist_wheel -d /tmp/pip-wheel-1m1tmrou cwd: /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/var/tmp/sage/build/pyscipopt-4.2.0/src/ Building wheel for PySCIPOpt (setup.py): finished with status 'error' ERROR: Failed building wheel for PySCIPOpt Running setup.py clean for PySCIPOpt Running command python setup.py clean Using include path /home/martin/sage-trac/local/include. Using SCIP library scip at /home/martin/sage-trac/local/lib. running clean removing 'build/temp.linux-x86_64-cpython-311' (and everything under it) removing 'build/lib.linux-x86_64-cpython-311' (and everything under it) 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-3.11' does not exist -- can't clean it removing 'build' Failed to build PySCIPOpt ERROR: Failed to build one or more wheels Warning: building with "python3 -m pip wheel --wheel-dir=dist --verbose --no-deps --no-index --isolated --ignore-requires-python --find-links=/home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/var/lib/sage/wheels" failed. Retrying with "python3 -m pip wheel --wheel-dir=dist --verbose --no-deps --no-index --isolated --ignore-requires-python --no-build-isolation --no-binary :all:". DEPRECATION: --no-binary currently disables reading from the cache of locally built wheels. In the future --no-binary will not influence the wheel cache. pip 23.1 will enforce this behaviour change. A possible replacement is to use the --no-cache-dir option. You can use the flag --use-feature=no-binary-enable-wheel-cache to test the upcoming behaviour. Discussion can be found at https://github.com/pypa/pip/issues/11453 Processing /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/var/tmp/sage/build/pyscipopt-4.2.0/src Preparing metadata (setup.py): started Running command python setup.py egg_info Using include path /home/martin/sage-trac/local/include. Using SCIP library scip at /home/martin/sage-trac/local/lib. running egg_info creating /tmp/pip-pip-egg-info-a2wxavg3/PySCIPOpt.egg-info writing /tmp/pip-pip-egg-info-a2wxavg3/PySCIPOpt.egg-info/PKG-INFO writing dependency_links to /tmp/pip-pip-egg-info-a2wxavg3/PySCIPOpt.egg-info/dependency_links.txt writing requirements to /tmp/pip-pip-egg-info-a2wxavg3/PySCIPOpt.egg-info/requires.txt writing top-level names to /tmp/pip-pip-egg-info-a2wxavg3/PySCIPOpt.egg-info/top_level.txt writing manifest file '/tmp/pip-pip-egg-info-a2wxavg3/PySCIPOpt.egg-info/SOURCES.txt' reading manifest file '/tmp/pip-pip-egg-info-a2wxavg3/PySCIPOpt.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file '/tmp/pip-pip-egg-info-a2wxavg3/PySCIPOpt.egg-info/SOURCES.txt' Preparing metadata (setup.py): finished with status 'done' Building wheels for collected packages: PySCIPOpt Building wheel for PySCIPOpt (setup.py): started Running command python setup.py bdist_wheel Using include path /home/martin/sage-trac/local/include. Using SCIP library scip at /home/martin/sage-trac/local/lib. running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-cpython-311 creating build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/Multidict.py -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/__init__.py -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/scip.pyx -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/scip.pxd -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/reader.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/nodesel.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/presol.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/branchrule.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/propagator.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/event.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/pricer.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/lp.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/relax.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/conshdlr.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/sepa.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/expr.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/heuristic.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/cutsel.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/benderscut.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/benders.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt running build_ext building 'pyscipopt.scip' extension INFO: C compiler: gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -g -O2 -g -O2 -fPIC creating build/temp.linux-x86_64-cpython-311 creating build/temp.linux-x86_64-cpython-311/src creating build/temp.linux-x86_64-cpython-311/src/pyscipopt INFO: compile options: '-I/home/martin/sage-trac/local/include -I/home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11 -c' INFO: gcc: src/pyscipopt/scip.c src/pyscipopt/scip.c: In function '__Pyx_PyBytes_Equals': src/pyscipopt/scip.c:174958:13: warning: 'ob_shash' is deprecated [-Wdeprecated-declarations] 174958 | hash1 = ((PyBytesObject*)s1)->ob_shash; | ^~~~~ In file included from /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/bytesobject.h:62, from /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/Python.h:50, from src/pyscipopt/scip.c:31: /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/cpython/bytesobject.h:7:35: note: declared here 7 | Py_DEPRECATED(3.11) Py_hash_t ob_shash; | ^~~~~~~~ src/pyscipopt/scip.c:174959:13: warning: 'ob_shash' is deprecated [-Wdeprecated-declarations] 174959 | hash2 = ((PyBytesObject*)s2)->ob_shash; | ^~~~~ In file included from /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/bytesobject.h:62, from /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/Python.h:50, from src/pyscipopt/scip.c:31: /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/cpython/bytesobject.h:7:35: note: declared here 7 | Py_DEPRECATED(3.11) Py_hash_t ob_shash; | ^~~~~~~~ src/pyscipopt/scip.c: In function '__Pyx_AddTraceback': src/pyscipopt/scip.c:463:62: error: invalid use of incomplete typedef 'PyFrameObject' {aka 'struct _frame'} 463 | #define __Pyx_PyFrame_SetLineNumber(frame, lineno) (frame)->f_lineno = (lineno) | ^~ src/pyscipopt/scip.c:176759:5: note: in expansion of macro '__Pyx_PyFrame_SetLineNumber' 176759 | __Pyx_PyFrame_SetLineNumber(py_frame, py_line); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyscipopt/scip.c: In function '__Pyx_Coroutine_SendEx': src/pyscipopt/scip.c:180913:14: error: invalid use of incomplete typedef 'PyFrameObject' {aka 'struct _frame'} 180913 | f->f_back = PyThreadState_GetFrame(tstate); | ^~ In file included from /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/Python.h:38, from src/pyscipopt/scip.c:31: src/pyscipopt/scip.c: In function '__Pyx_Coroutine_ResetFrameBackpointer': src/pyscipopt/scip.c:180950:19: error: invalid use of incomplete typedef 'PyFrameObject' {aka 'struct _frame'} 180950 | Py_CLEAR(f->f_back); | ^~ /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/pyport.h:24:38: note: in definition of macro '_Py_CAST' 24 | #define _Py_CAST(type, expr) ((type)(expr)) | ^~~~ /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/object.h:581:29: note: in expansion of macro '_PyObject_CAST' 581 | PyObject *_py_tmp = _PyObject_CAST(op); \ | ^~~~~~~~~~~~~~ src/pyscipopt/scip.c:180950:9: note: in expansion of macro 'Py_CLEAR' 180950 | Py_CLEAR(f->f_back); | ^~~~~~~~ In file included from /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/Python.h:44, from src/pyscipopt/scip.c:31: src/pyscipopt/scip.c:180950:19: error: invalid use of incomplete typedef 'PyFrameObject' {aka 'struct _frame'} 180950 | Py_CLEAR(f->f_back); | ^~ /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/object.h:583:14: note: in definition of macro 'Py_CLEAR' 583 | (op) = NULL; \ | ^~ error: Command "gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -g -O2 -g -O2 -fPIC -I/home/martin/sage-trac/local/include -I/home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11 -c src/pyscipopt/scip.c -o build/temp.linux-x86_64-cpython-311/src/pyscipopt/scip.o" failed with exit status 1 error: subprocess-exited-with-error × python setup.py bdist_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. full command: /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/bin/python3 -u -c ' exec(compile('"'"''"'"''"'"' # This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py # # - It imports setuptools before invoking setup.py, to enable projects that directly # import from `distutils.core` to work with newer packaging standards. # - It provides a clear error message when setuptools is not installed. # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: # manifest_maker: standard file '"'"'-c'"'"' not found". # - It generates a shim setup.py, for handling setup.cfg-only projects. import os, sys, tokenize try: import setuptools except ImportError as error: print( "ERROR: Can not execute `setup.py` since setuptools is not available in " "the build environment.", file=sys.stderr, ) sys.exit(1) __file__ = %r sys.argv[0] = __file__ if os.path.exists(__file__): filename = __file__ with tokenize.open(__file__) as f: setup_py_code = f.read() else: filename = "<auto-generated setuptools caller>" setup_py_code = "from setuptools import setup; setup()" exec(compile(setup_py_code, filename, "exec")) '"'"''"'"''"'"' % ('"'"'/home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/var/tmp/sage/build/pyscipopt-4.2.0/src/setup.py'"'"',), "<pip-setuptools-caller>", "exec"))' bdist_wheel -d /tmp/pip-wheel-hr7nc34o cwd: /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/var/tmp/sage/build/pyscipopt-4.2.0/src/ Building wheel for PySCIPOpt (setup.py): finished with status 'error' ERROR: Failed building wheel for PySCIPOpt Running setup.py clean for PySCIPOpt Running command python setup.py clean Using include path /home/martin/sage-trac/local/include. Using SCIP library scip at /home/martin/sage-trac/local/lib. running clean removing 'build/temp.linux-x86_64-cpython-311' (and everything under it) removing 'build/lib.linux-x86_64-cpython-311' (and everything under it) 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-3.11' does not exist -- can't clean it removing 'build' Failed to build PySCIPOpt ERROR: Failed to build one or more wheels ************************************************************************************************************************************************************* Error building a wheel for pyscipopt-4.2.0 ************************************************************************************************************************************************************* real 0m24.978s user 0m24.293s sys 0m1.599s ************************************************************************ Error installing package pyscipopt-4.2.0 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the log files /home/martin/sage-trac/logs/pkgs/pyscipopt-4.2.0.log and /home/martin/sage-trac/config.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/var/tmp/sage/build/pyscipopt-4.2.0 and type 'make' or whatever is appropriate. Instead, the following commands setup all environment variables correctly and load a subshell for you to debug the error: (cd '/home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/var/tmp/sage/build/pyscipopt-4.2.0' && '/home/martin/sage-trac/sage' --buildsh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************ Using cached file /home/martin/sage-trac/upstream/PySCIPOpt-4.2.0.tar.gz pyscipopt-4.2.0 ==================================================== Setting up build directory for pyscipopt-4.2.0 Finished extraction No patch files found in ../patches **************************************************** Host system: Linux toolbox 5.15.0-67-generic #74-Ubuntu SMP Wed Feb 22 14:14:39 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux **************************************************** C compiler: gcc C compiler version: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.3.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-xKiWfi/gcc-11-11.3.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-11-xKiWfi/gcc-11-11.3.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04) **************************************************** Package 'pyscipopt' is currently not installed No legacy uninstaller found for 'pyscipopt'; nothing to do Installing pyscipopt-4.2.0 Looking in links: /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/var/lib/sage/wheels Processing /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/var/tmp/sage/build/pyscipopt-4.2.0/src Preparing metadata (setup.py): started Running command python setup.py egg_info Using include path /home/martin/sage-trac/local/include. Using SCIP library scip at /home/martin/sage-trac/local/lib. running egg_info creating /tmp/pip-pip-egg-info-8b9avac6/PySCIPOpt.egg-info writing /tmp/pip-pip-egg-info-8b9avac6/PySCIPOpt.egg-info/PKG-INFO writing dependency_links to /tmp/pip-pip-egg-info-8b9avac6/PySCIPOpt.egg-info/dependency_links.txt writing requirements to /tmp/pip-pip-egg-info-8b9avac6/PySCIPOpt.egg-info/requires.txt writing top-level names to /tmp/pip-pip-egg-info-8b9avac6/PySCIPOpt.egg-info/top_level.txt writing manifest file '/tmp/pip-pip-egg-info-8b9avac6/PySCIPOpt.egg-info/SOURCES.txt' reading manifest file '/tmp/pip-pip-egg-info-8b9avac6/PySCIPOpt.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file '/tmp/pip-pip-egg-info-8b9avac6/PySCIPOpt.egg-info/SOURCES.txt' Preparing metadata (setup.py): finished with status 'done' Building wheels for collected packages: PySCIPOpt Building wheel for PySCIPOpt (setup.py): started Running command python setup.py bdist_wheel Using include path /home/martin/sage-trac/local/include. Using SCIP library scip at /home/martin/sage-trac/local/lib. running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-cpython-311 creating build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/Multidict.py -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/__init__.py -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/scip.pyx -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/scip.pxd -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/reader.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/nodesel.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/presol.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/branchrule.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/propagator.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/event.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/pricer.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/lp.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/relax.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/conshdlr.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/sepa.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/expr.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/heuristic.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/cutsel.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/benderscut.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/benders.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt running build_ext building 'pyscipopt.scip' extension INFO: C compiler: gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -g -O2 -g -O2 -fPIC creating build/temp.linux-x86_64-cpython-311 creating build/temp.linux-x86_64-cpython-311/src creating build/temp.linux-x86_64-cpython-311/src/pyscipopt INFO: compile options: '-I/home/martin/sage-trac/local/include -I/home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11 -c' INFO: gcc: src/pyscipopt/scip.c src/pyscipopt/scip.c: In function '__Pyx_PyBytes_Equals': src/pyscipopt/scip.c:174958:13: warning: 'ob_shash' is deprecated [-Wdeprecated-declarations] 174958 | hash1 = ((PyBytesObject*)s1)->ob_shash; | ^~~~~ In file included from /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/bytesobject.h:62, from /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/Python.h:50, from src/pyscipopt/scip.c:31: /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/cpython/bytesobject.h:7:35: note: declared here 7 | Py_DEPRECATED(3.11) Py_hash_t ob_shash; | ^~~~~~~~ src/pyscipopt/scip.c:174959:13: warning: 'ob_shash' is deprecated [-Wdeprecated-declarations] 174959 | hash2 = ((PyBytesObject*)s2)->ob_shash; | ^~~~~ In file included from /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/bytesobject.h:62, from /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/Python.h:50, from src/pyscipopt/scip.c:31: /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/cpython/bytesobject.h:7:35: note: declared here 7 | Py_DEPRECATED(3.11) Py_hash_t ob_shash; | ^~~~~~~~ src/pyscipopt/scip.c: In function '__Pyx_AddTraceback': src/pyscipopt/scip.c:463:62: error: invalid use of incomplete typedef 'PyFrameObject' {aka 'struct _frame'} 463 | #define __Pyx_PyFrame_SetLineNumber(frame, lineno) (frame)->f_lineno = (lineno) | ^~ src/pyscipopt/scip.c:176759:5: note: in expansion of macro '__Pyx_PyFrame_SetLineNumber' 176759 | __Pyx_PyFrame_SetLineNumber(py_frame, py_line); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyscipopt/scip.c: In function '__Pyx_Coroutine_SendEx': src/pyscipopt/scip.c:180913:14: error: invalid use of incomplete typedef 'PyFrameObject' {aka 'struct _frame'} 180913 | f->f_back = PyThreadState_GetFrame(tstate); | ^~ In file included from /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/Python.h:38, from src/pyscipopt/scip.c:31: src/pyscipopt/scip.c: In function '__Pyx_Coroutine_ResetFrameBackpointer': src/pyscipopt/scip.c:180950:19: error: invalid use of incomplete typedef 'PyFrameObject' {aka 'struct _frame'} 180950 | Py_CLEAR(f->f_back); | ^~ /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/pyport.h:24:38: note: in definition of macro '_Py_CAST' 24 | #define _Py_CAST(type, expr) ((type)(expr)) | ^~~~ /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/object.h:581:29: note: in expansion of macro '_PyObject_CAST' 581 | PyObject *_py_tmp = _PyObject_CAST(op); \ | ^~~~~~~~~~~~~~ src/pyscipopt/scip.c:180950:9: note: in expansion of macro 'Py_CLEAR' 180950 | Py_CLEAR(f->f_back); | ^~~~~~~~ In file included from /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/Python.h:44, from src/pyscipopt/scip.c:31: src/pyscipopt/scip.c:180950:19: error: invalid use of incomplete typedef 'PyFrameObject' {aka 'struct _frame'} 180950 | Py_CLEAR(f->f_back); | ^~ /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/object.h:583:14: note: in definition of macro 'Py_CLEAR' 583 | (op) = NULL; \ | ^~ error: Command "gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -g -O2 -g -O2 -fPIC -I/home/martin/sage-trac/local/include -I/home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11 -c src/pyscipopt/scip.c -o build/temp.linux-x86_64-cpython-311/src/pyscipopt/scip.o" failed with exit status 1 error: subprocess-exited-with-error × python setup.py bdist_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. full command: /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/bin/python3 -u -c ' exec(compile('"'"''"'"''"'"' # This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py # # - It imports setuptools before invoking setup.py, to enable projects that directly # import from `distutils.core` to work with newer packaging standards. # - It provides a clear error message when setuptools is not installed. # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: # manifest_maker: standard file '"'"'-c'"'"' not found". # - It generates a shim setup.py, for handling setup.cfg-only projects. import os, sys, tokenize try: import setuptools except ImportError as error: print( "ERROR: Can not execute `setup.py` since setuptools is not available in " "the build environment.", file=sys.stderr, ) sys.exit(1) __file__ = %r sys.argv[0] = __file__ if os.path.exists(__file__): filename = __file__ with tokenize.open(__file__) as f: setup_py_code = f.read() else: filename = "<auto-generated setuptools caller>" setup_py_code = "from setuptools import setup; setup()" exec(compile(setup_py_code, filename, "exec")) '"'"''"'"''"'"' % ('"'"'/home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/var/tmp/sage/build/pyscipopt-4.2.0/src/setup.py'"'"',), "<pip-setuptools-caller>", "exec"))' bdist_wheel -d /tmp/pip-wheel-ppygbp5g cwd: /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/var/tmp/sage/build/pyscipopt-4.2.0/src/ Building wheel for PySCIPOpt (setup.py): finished with status 'error' ERROR: Failed building wheel for PySCIPOpt Running setup.py clean for PySCIPOpt Running command python setup.py clean Using include path /home/martin/sage-trac/local/include. Using SCIP library scip at /home/martin/sage-trac/local/lib. running clean removing 'build/temp.linux-x86_64-cpython-311' (and everything under it) removing 'build/lib.linux-x86_64-cpython-311' (and everything under it) 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-3.11' does not exist -- can't clean it removing 'build' Failed to build PySCIPOpt ERROR: Failed to build one or more wheels Warning: building with "python3 -m pip wheel --wheel-dir=dist --verbose --no-deps --no-index --isolated --ignore-requires-python --find-links=/home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/var/lib/sage/wheels" failed. Retrying with "python3 -m pip wheel --wheel-dir=dist --verbose --no-deps --no-index --isolated --ignore-requires-python --no-build-isolation --no-binary :all:". DEPRECATION: --no-binary currently disables reading from the cache of locally built wheels. In the future --no-binary will not influence the wheel cache. pip 23.1 will enforce this behaviour change. A possible replacement is to use the --no-cache-dir option. You can use the flag --use-feature=no-binary-enable-wheel-cache to test the upcoming behaviour. Discussion can be found at https://github.com/pypa/pip/issues/11453 Processing /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/var/tmp/sage/build/pyscipopt-4.2.0/src Preparing metadata (setup.py): started Running command python setup.py egg_info Using include path /home/martin/sage-trac/local/include. Using SCIP library scip at /home/martin/sage-trac/local/lib. running egg_info creating /tmp/pip-pip-egg-info-aah87wef/PySCIPOpt.egg-info writing /tmp/pip-pip-egg-info-aah87wef/PySCIPOpt.egg-info/PKG-INFO writing dependency_links to /tmp/pip-pip-egg-info-aah87wef/PySCIPOpt.egg-info/dependency_links.txt writing requirements to /tmp/pip-pip-egg-info-aah87wef/PySCIPOpt.egg-info/requires.txt writing top-level names to /tmp/pip-pip-egg-info-aah87wef/PySCIPOpt.egg-info/top_level.txt writing manifest file '/tmp/pip-pip-egg-info-aah87wef/PySCIPOpt.egg-info/SOURCES.txt' reading manifest file '/tmp/pip-pip-egg-info-aah87wef/PySCIPOpt.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file '/tmp/pip-pip-egg-info-aah87wef/PySCIPOpt.egg-info/SOURCES.txt' Preparing metadata (setup.py): finished with status 'done' Building wheels for collected packages: PySCIPOpt Building wheel for PySCIPOpt (setup.py): started Running command python setup.py bdist_wheel Using include path /home/martin/sage-trac/local/include. Using SCIP library scip at /home/martin/sage-trac/local/lib. running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-cpython-311 creating build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/Multidict.py -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/__init__.py -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/scip.pyx -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/scip.pxd -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/reader.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/nodesel.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/presol.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/branchrule.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/propagator.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/event.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/pricer.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/lp.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/relax.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/conshdlr.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/sepa.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/expr.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/heuristic.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/cutsel.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/benderscut.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt copying src/pyscipopt/benders.pxi -> build/lib.linux-x86_64-cpython-311/pyscipopt running build_ext building 'pyscipopt.scip' extension INFO: C compiler: gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -g -O2 -g -O2 -fPIC creating build/temp.linux-x86_64-cpython-311 creating build/temp.linux-x86_64-cpython-311/src creating build/temp.linux-x86_64-cpython-311/src/pyscipopt INFO: compile options: '-I/home/martin/sage-trac/local/include -I/home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11 -c' INFO: gcc: src/pyscipopt/scip.c src/pyscipopt/scip.c: In function '__Pyx_PyBytes_Equals': src/pyscipopt/scip.c:174958:13: warning: 'ob_shash' is deprecated [-Wdeprecated-declarations] 174958 | hash1 = ((PyBytesObject*)s1)->ob_shash; | ^~~~~ In file included from /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/bytesobject.h:62, from /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/Python.h:50, from src/pyscipopt/scip.c:31: /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/cpython/bytesobject.h:7:35: note: declared here 7 | Py_DEPRECATED(3.11) Py_hash_t ob_shash; | ^~~~~~~~ src/pyscipopt/scip.c:174959:13: warning: 'ob_shash' is deprecated [-Wdeprecated-declarations] 174959 | hash2 = ((PyBytesObject*)s2)->ob_shash; | ^~~~~ In file included from /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/bytesobject.h:62, from /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/Python.h:50, from src/pyscipopt/scip.c:31: /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/cpython/bytesobject.h:7:35: note: declared here 7 | Py_DEPRECATED(3.11) Py_hash_t ob_shash; | ^~~~~~~~ src/pyscipopt/scip.c: In function '__Pyx_AddTraceback': src/pyscipopt/scip.c:463:62: error: invalid use of incomplete typedef 'PyFrameObject' {aka 'struct _frame'} 463 | #define __Pyx_PyFrame_SetLineNumber(frame, lineno) (frame)->f_lineno = (lineno) | ^~ src/pyscipopt/scip.c:176759:5: note: in expansion of macro '__Pyx_PyFrame_SetLineNumber' 176759 | __Pyx_PyFrame_SetLineNumber(py_frame, py_line); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pyscipopt/scip.c: In function '__Pyx_Coroutine_SendEx': src/pyscipopt/scip.c:180913:14: error: invalid use of incomplete typedef 'PyFrameObject' {aka 'struct _frame'} 180913 | f->f_back = PyThreadState_GetFrame(tstate); | ^~ In file included from /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/Python.h:38, from src/pyscipopt/scip.c:31: src/pyscipopt/scip.c: In function '__Pyx_Coroutine_ResetFrameBackpointer': src/pyscipopt/scip.c:180950:19: error: invalid use of incomplete typedef 'PyFrameObject' {aka 'struct _frame'} 180950 | Py_CLEAR(f->f_back); | ^~ /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/pyport.h:24:38: note: in definition of macro '_Py_CAST' 24 | #define _Py_CAST(type, expr) ((type)(expr)) | ^~~~ /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/object.h:581:29: note: in expansion of macro '_PyObject_CAST' 581 | PyObject *_py_tmp = _PyObject_CAST(op); \ | ^~~~~~~~~~~~~~ src/pyscipopt/scip.c:180950:9: note: in expansion of macro 'Py_CLEAR' 180950 | Py_CLEAR(f->f_back); | ^~~~~~~~ In file included from /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/Python.h:44, from src/pyscipopt/scip.c:31: src/pyscipopt/scip.c:180950:19: error: invalid use of incomplete typedef 'PyFrameObject' {aka 'struct _frame'} 180950 | Py_CLEAR(f->f_back); | ^~ /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11/object.h:583:14: note: in definition of macro 'Py_CLEAR' 583 | (op) = NULL; \ | ^~ error: Command "gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -g -O2 -g -O2 -fPIC -I/home/martin/sage-trac/local/include -I/home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/include/python3.11 -c src/pyscipopt/scip.c -o build/temp.linux-x86_64-cpython-311/src/pyscipopt/scip.o" failed with exit status 1 error: subprocess-exited-with-error × python setup.py bdist_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. full command: /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/bin/python3 -u -c ' exec(compile('"'"''"'"''"'"' # This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py # # - It imports setuptools before invoking setup.py, to enable projects that directly # import from `distutils.core` to work with newer packaging standards. # - It provides a clear error message when setuptools is not installed. # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: # manifest_maker: standard file '"'"'-c'"'"' not found". # - It generates a shim setup.py, for handling setup.cfg-only projects. import os, sys, tokenize try: import setuptools except ImportError as error: print( "ERROR: Can not execute `setup.py` since setuptools is not available in " "the build environment.", file=sys.stderr, ) sys.exit(1) __file__ = %r sys.argv[0] = __file__ if os.path.exists(__file__): filename = __file__ with tokenize.open(__file__) as f: setup_py_code = f.read() else: filename = "<auto-generated setuptools caller>" setup_py_code = "from setuptools import setup; setup()" exec(compile(setup_py_code, filename, "exec")) '"'"''"'"''"'"' % ('"'"'/home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/var/tmp/sage/build/pyscipopt-4.2.0/src/setup.py'"'"',), "<pip-setuptools-caller>", "exec"))' bdist_wheel -d /tmp/pip-wheel-i92299b9 cwd: /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/var/tmp/sage/build/pyscipopt-4.2.0/src/ Building wheel for PySCIPOpt (setup.py): finished with status 'error' ERROR: Failed building wheel for PySCIPOpt Running setup.py clean for PySCIPOpt Running command python setup.py clean Using include path /home/martin/sage-trac/local/include. Using SCIP library scip at /home/martin/sage-trac/local/lib. running clean removing 'build/temp.linux-x86_64-cpython-311' (and everything under it) removing 'build/lib.linux-x86_64-cpython-311' (and everything under it) 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-3.11' does not exist -- can't clean it removing 'build' Failed to build PySCIPOpt ERROR: Failed to build one or more wheels ************************************************************************************************************************************************************* Error building a wheel for pyscipopt-4.2.0 ************************************************************************************************************************************************************* real 0m25.397s user 0m24.736s sys 0m1.598s ************************************************************************ Error installing package pyscipopt-4.2.0 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the log files /home/martin/sage-trac/logs/pkgs/pyscipopt-4.2.0.log and /home/martin/sage-trac/config.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/var/tmp/sage/build/pyscipopt-4.2.0 and type 'make' or whatever is appropriate. Instead, the following commands setup all environment variables correctly and load a subshell for you to debug the error: (cd '/home/martin/sage-trac/local/var/lib/sage/venv-python3.11.1/var/tmp/sage/build/pyscipopt-4.2.0' && '/home/martin/sage-trac/sage' --buildsh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************