8000 debian installation broken · Issue #79 · jvkersch/pyconcorde · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
debian installation broken #79
Open
@pcjedi

Description

@pcjedi

I am trying to install pyconcorde with a single line as documented, but get an error.
I am installing into a clear environment and log the error separately. Due to its size, i only show the last 31 lines.
I am using Debian 12 (bookworm) and python3.11

python -m venv .venv --clear
.venv/bin/pip install 'pyconcorde @ git+https://github.com/jvkersch/pyconcorde' > log.txt 2> error-log.txt
tail -31 error-log.txt
      concorde is missing, downloading
      building concorde
      building 'concorde._concorde' extension
      creating build/temp.linux-x86_64-cpython-311/concorde
      x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/tmp/pip-build-env-t4v62toc/overlay/lib/python3.11/site-packages/numpy/_core/include -Idata -Idata -I/home/g/venvs/venv/tsp/.venv/include -I/usr/include/python3.11 -c concorde/_concorde.c -o build/temp.linux-x86_64-cpython-311/concorde/_concorde.o
      In file included from /tmp/pip-build-env-t4v62toc/overlay/lib/python3.11/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1913,
                       from /tmp/pip-build-env-t4v62toc/overlay/lib/python3.11/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12,
                       from /tmp/pip-build-env-t4v62toc/overlay/lib/python3.11/site-packages/numpy/_core/include/numpy/arrayobject.h:5,
                       from concorde/_concorde.c:1257:
      /tmp/pip-build-env-t4v62toc/overlay/lib/python3.11/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
         17 | #warning "Using deprecated NumPy API, disable it with " \
            |  ^~~~~~~
      In file included from concorde/_concorde.c:1262:
      data/concorde.h:173: warning: "NDEBUG" redefined
        173 | #define NDEBUG
            |
      <command-line>: note: this is the location of the previous definition
      data/concorde.h:293:5: error: conflicting types for ‘gethostname’; have ‘int(char *, int)’
        293 |     gethostname (char *, int);
            |     ^~~~~~~~~~~
      In file included from /usr/include/python3.11/Python.h:29,
                       from concorde/_concorde.c:46:
      /usr/include/unistd.h:911:12: note: previous declaration of ‘gethostname’ with type ‘int(char *, size_t)’ {aka ‘int(char *, long unsigned int)’}
        911 | extern int gethostname (char *__name, size_t __len) __THROW __nonnull ((1))
            |            ^~~~~~~~~~~
      error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pyconcorde
ERROR: Could not build wheels for pyconcorde, which is required to install pyproject.toml-based projects

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0