Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 2222613 - polymake: FTBFS with Perl 5.38
Summary: polymake: FTBFS with Perl 5.38
Alias: None
Product: Fedora
Classification: Fedora
Component: polymake
Version: 39
Hardware: Unspecified
OS: Linux
Target Milestone: ---
Assignee: Jerry James
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: F39FTBFS F40FTBFS Perl5.38 2220593
TreeView+ depends on / blocked
Reported: 2023-07-13 09:51 UTC by Jitka Plesnikova
Modified: 2023-11-17 01:37 UTC (History)
2 users (show)

Fixed In Version: polymake-4.11-1.fc39
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2023-11-17 01:37:22 UTC
Type: ---

Attachments (Terms of Use)

Description Jitka Plesnikova 2023-07-13 09:51:18 UTC
Description of problem:
Package polymake fails to build from source with Perl 5.38 in Fedora Rawhide.

*** ERROR ***
polymake does not work with perl 5.37 or newer;
your perl interpreter says it is 5.038000.
Access to various functions that are required to hook into the perl interpreter
has been restricted to the perl core, which unfortunately breaks polymake.
If you already have another (older) perl interpreter somewhere else, you can
specify its location on the command line:
./configure PERL=/path/to/my/new/perl [other options ...]
You can install a custom perl version in your home directory using perlbrew
( Make sure to append '-Duseshrplib' to the install
command if you want to use libpolymake (e.g. for the jupyter interface) and to
install all required perl modules which are listed after running configure
again with the new perl.

Version-Release number of selected component (if applicable):

Reproducible: Always

Steps to Reproduce:
koji build --scratch f39 polymake-4.10-1.fc39.src.rpm

Comment 1 Jerry James 2023-07-13 14:56:24 UTC
Oooooooooooh noooooooooo!  I don't know what to do about this, other than retire polymake, which will do serious damage to our mathematical tools stack.  It will impact Macaulay2, sagemath, gap-pkg-polymaking, and everything that sits on top of gap-pkg-polymaking.  If anybody has a bright idea, I'm all ears.

Comment 2 Fedora Release Engineering 2023-08-16 08:12:48 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.

Comment 3 Jerry James 2023-08-21 22:18:53 UTC
I have a partial patch to address this problem at  It fully fixes or works around the issues caused by hiding symbols in perl 5.38.0.  That is, compilation and linking succeeds, and a binary RPM is generated.  The binary can even do simple things, such as run "polymake --reconfigure".  However, something is wrong with either reading or processing rules files.  If I run polymake in debug mode (with the -d flag), I can see the various rules files being processed.  When it is time to solve a problem, however, the viable rules search procedure turns up almost nothing.  There is usually no path at all from source to sink in the very sparse graph that is generated.  On the rare occasions when there is a path, it doesn't produce the correct answer.

I have not yet figured out whether the problem stems from reading the rules files, or from the valid rules search going awry.  I do not have much in the way of perl skills, so I would really appreciate any help those with such skills can provide.

Upstream is not interested in pursuing this path.  They are focused on rewriting polymake in Julia, which is exactly what they should be doing.  It would be nice if we could keep perl-based polymake functional until they produce something, though.

Comment 4 Fedora Update System 2023-11-08 04:26:49 UTC
FEDORA-2023-52bc97dfc5 has been submitted as an update to Fedora 39.

Comment 5 Fedora Update System 2023-11-09 03:18:12 UTC
FEDORA-2023-52bc97dfc5 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-52bc97dfc5`
You can provide feedback for this update here:

See also for more information on how to test updates.

Comment 6 Fedora Update System 2023-11-17 01:37:22 UTC
FEDORA-2023-52bc97dfc5 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.