Dear All,
I am trying to install JuPyMake but it fails with a linker issue:

```
Processing /tmp/jupymake/JuPyMake
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: JuPyMake
  Building wheel for JuPyMake (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for JuPyMake (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [23 lines of output]
      JuPyMake.cpp: In function ‘PyObject* GetCompletion(PyObject*, PyObject*)’:
      JuPyMake.cpp:142:52: warning: conversion from 
‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned 
int’} to ‘int’ may change value [-Wconversion]
        142 |     int       completions_length = completions.size();
            |                                    ~~~~~~~~~~~~~~~~^~
      JuPyMake.cpp: In function ‘PyObject* GetContextHelp(PyObject*, PyObject*, 
PyObject*)’:
      JuPyMake.cpp:161:30: warning: ISO C++ forbids converting a string 
constant to ‘char*’ [-Wwrite-strings]
        161 |     static char* kwlist[] = {"input", "position", "full", "html", 
NULL};
            |                              ^~~~~~~
      JuPyMake.cpp:161:39: warning: ISO C++ forbids converting a string 
constant to ‘char*’ [-Wwrite-strings]
        161 |     static char* kwlist[] = {"input", "position", "full", "html", 
NULL};
            |                                       ^~~~~~~~~~
      JuPyMake.cpp:161:51: warning: ISO C++ forbids converting a string 
constant to ‘char*’ [-Wwrite-strings]
        161 |     static char* kwlist[] = {"input", "position", "full", "html", 
NULL};
            |                                                   ^~~~~~
      JuPyMake.cpp:161:59: warning: ISO C++ forbids converting a string 
constant to ‘char*’ [-Wwrite-strings]
        161 |     static char* kwlist[] = {"input", "position", "full", "html", 
NULL};
            |                                                           ^~~~~~
      JuPyMake.cpp:182:44: warning: conversion from 
‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned 
int’} to ‘int’ may change value [-Wconversion]
        182 |     int       results_length = results.size();
            |                                ~~~~~~~~~~~~^~
      x86_64-pc-linux-gnu-g++: warning: : linker input file unused because 
linking not done
      x86_64-pc-linux-gnu-g++: error: : linker input file not found: No such 
file or directory
      error: command '/usr/bin/x86_64-pc-linux-gnu-g++' 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 JuPyMake
Failed to build JuPyMake
ERROR: Could not build wheels for JuPyMake, which is required to install 
pyproject.toml-based projects
```

I have polymake 4.11 installed through my system package manager (gentoo) and I am using gcc 13.2.1. The same issue happens if I try to install JuPiMake though the sage build system, using pip through PyPi in a virtualenv, and from sources.

Any idea on what the issue could be?
Thanks
Salvatore

--
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/ZYMEoJtcQt6-v83X%40bunion.homenet.telecomitalia.it.

Reply via email to