FS#74618 - [polymake] fails to run with latest normaliz

Attached to Project: Community Packages
Opened by Ángel Javier Alonso (ajalonso) - Monday, 02 May 2022, 14:52 GMT
Last edited by Antonio Rojas (arojas) - Monday, 02 May 2022, 16:40 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: polymake fails to run


Additional info:
Name: polymake
Version: 4.6-2
Normaliz version: 3.9.3-1 (latest)

Steps to reproduce:
1) Install polymake, along normaliz.
2) Run polymake
$ polymake
Welcome to polymake version 4.6
Copyright (c) 1997-2021
Ewgenij Gawrilow, Michael Joswig, and the polymake team
Technische Universität Berlin, Germany
https://polymake.org

This is free software licensed under GPL; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Loading applications now...polymake: ERROR: "/usr/share/polymake/perllib/Polymake/Core/CPlusPlus.pm", line 1785: Can't load shared module /usr/lib/polymake/lib/polytope.so: undefined symbol: libnormaliz::Cone<__gmp_expr<__mpz_struct [1], __mpz_struct [1]> >::process_multi_input(std::map<libnormaliz::Type::InputType, std::vector<std::vector<__gmp_expr<__mpz_struct [1], __mpz_struct [1]>, std::allocator<__gmp_expr<__mpz_struct [1], __mpz_struct [1]> > >, std::allocator<std::vector<__gmp_expr<__mpz_struct [1], __mpz_struct [1]>, std::allocator<__gmp_expr<__mpz_struct [1], __mpz_struct [1]> > > > >, std::less<libnormaliz::Type::InputType>, std::allocator<std::pair<libnormaliz::Type::InputType const, std::vector<std::vector<__gmp_expr<__mpz_struct [1], __mpz_struct [1]>, std::allocator<__gmp_expr<__mpz_struct [1], __mpz_struct [1]> > >, std::allocator<std::vector<__gmp_expr<__mpz_struct [1], __mpz_struct [1]>, std::allocator<__gmp_expr<__mpz_struct [1], __mpz_struct [1]> > > > > > > > const&)

It is the same error as in https://bugs.archlinux.org/task/64807

Downgrading normaliz to 3.9.2-1 with
# pacman -U https://archive.archlinux.org/packages/n/normaliz/normaliz-3.9.2-1-x86_64.pkg.tar.zst
fixes the issue:
$ polymake
Welcome to polymake version 4.6
Copyright (c) 1997-2021
Ewgenij Gawrilow, Michael Joswig, and the polymake team
Technische Universität Berlin, Germany
https://polymake.org

This is free software licensed under GPL; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Press F1 or enter 'help;' for basic instructions.

Application polytope currently uses following contributed and third-party software packages:
bliss, cdd, flint, graphviz, libnormaliz, lrs, permlib, povray, ppl, qhull, singular, sketch, sympol, threejs, tikz, tosimplex
For more details: show_credits;
polytope >
This task depends upon

Closed by  Antonio Rojas (arojas)
Monday, 02 May 2022, 16:40 GMT
Reason for closing:  Fixed
Additional comments about closing:  polymake 4.6-3

Loading...