-
-
Notifications
You must be signed in to change notification settings - Fork 641
Description
Environment
- OS: Ubuntu 25.04 WSL2
- Sage Version: 10.7 beta8
Steps To Reproduce
- run sage -i polymake
- Then the perl 5.40 do not support the polymake 4.12
Config log
[polymake-4.12] Using cached file /home/zhongcx/sage/upstream/polymake-4.12-minimal.tar.bz2
[polymake-4.12] Setting up build directory /home/zhongcx/sage/local/var/tmp/sage/build/polymake-4.12
[polymake-4.12] No patch files found in ../patches
[polymake-4.12] Host system: Linux LAPTOP-A6042VHQ 5.15.167.4-microsoft-standard-WSL2 #1 SMP Tue Nov 5 00:21:55 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
[polymake-4.12] C compiler: gcc, Using built-in specs., COLLECT_GCC=gcc, COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/14/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 14.3.0-1ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-14/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2,rust --prefix=/usr --with-gcc-major-version-only --program-suffix=-14 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --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-libstdcxx-backtrace --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-14-ghPqg9/gcc-14-14.3.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-14-ghPqg9/gcc-14-14.3.0/debian/tmp-gcn/usr --enable-offload-defaulted --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 14.3.0 (Ubuntu 14.3.0-1ubuntu1)
[polymake-4.12] No stamp file for package 'polymake' in /home/zhongcx/sage/local/var/lib/sage/installed
[polymake-4.12] [spkg-install] *************
[polymake-4.12] [spkg-install] *** ERROR ***
[polymake-4.12] [spkg-install] *************
[polymake-4.12] [spkg-install]
[polymake-4.12] [spkg-install] polymake has not been checkced for compatibility with perl 5.40 or newer;
[polymake-4.12] [spkg-install] your perl interpreter says it is 5.040001.
[polymake-4.12] [spkg-install]
[polymake-4.12] [spkg-install] If you already have another (older) perl interpreter somewhere else, you can
[polymake-4.12] [spkg-install] specify its location on the command line:
[polymake-4.12] [spkg-install]
[polymake-4.12] [spkg-install] ./configure PERL=/path/to/my/new/perl [other options ...]
[polymake-4.12] [spkg-install]
[polymake-4.12] [spkg-install] You can install a custom perl version in your home directory using perlbrew
[polymake-4.12] [spkg-install] (https://perlbrew.pl). Make sure to append '-Duseshrplib' to the install
[polymake-4.12] [spkg-install] command if you want to use libpolymake (e.g. for the jupyter interface) and to
[polymake-4.12] [spkg-install] install all required perl modules which are listed after running configure
[polymake-4.12] [spkg-install] again with the new perl.
[polymake-4.12] [spkg-install] ************************************************************************************************************************
[polymake-4.12] [spkg-install] Error configuring Polymake
[polymake-4.12] [spkg-install] ************************************************************************************************************************
[polymake-4.12] ************************************************************************
[polymake-4.12] Error installing package polymake-4.12
[polymake-4.12] ************************************************************************
[polymake-4.12] Please email sage-devel (http://groups.google.com/group/sage-devel)
[polymake-4.12] explaining the problem and including the log files
[polymake-4.12] /home/zhongcx/sage/logs/pkgs/polymake-4.12.log
[polymake-4.12] and
[polymake-4.12] /home/zhongcx/sage/config.log
[polymake-4.12] Describe your computer, operating system, etc.
[polymake-4.12] If you want to try to fix the problem yourself, don't just cd to
[polymake-4.12] /home/zhongcx/sage/local/var/tmp/sage/build/polymake-4.12 and type 'make' or whatever is appropriate.
[polymake-4.12] Instead, the following commands setup all environment variables
[polymake-4.12] correctly and load a subshell for you to debug the error:
[polymake-4.12] (cd '/home/zhongcx/sage/local/var/tmp/sage/build/polymake-4.12' && '/home/zhongcx/sage/sage' --buildsh)
[polymake-4.12] When you are done debugging, you can type "exit" to leave the subshell.
[polymake-4.12] ************************************************************************
make[2]: *** [Makefile:3392: polymake-SAGE_LOCAL-no-deps] Error 1
make[1]: *** [Makefile:3392: /home/zhongcx/sage/local/var/lib/sage/installed/polymake-4.12] Error 2
make[1]: Leaving directory '/home/zhongcx/sage/build/make'
Error building Sage.
Package logs
No response
Additional Information
And I think we need to upgrade the polymake package to 4.14
Checklist
- I have searched the existing issues for a bug report that matches the one I want to file, without success.
- I have read the documentation and troubleshoot guide