New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix gp2c spkg-configure to let configure succeed on Fedora 32 #31051
Comments
New commits:
|
Branch: public/misc/31051_gp2c |
Commit: |
This comment has been minimized.
This comment has been minimized.
Changed keywords from none to gp2c |
Reviewer: Dima Pasechnik |
comment:3
OK |
This comment has been minimized.
This comment has been minimized.
comment:5
Do I get it right that the compilation goes through with the change on Fedora 32, right? |
comment:6
Yes, I was able to compile with this change (plus the use of upstream url for libsemigroups). |
comment:7
I don't think this is the correct fix. When |
comment:8
Replying to @mkoeppe:
True, and building gp2c should also fail since we don't know where pari.cfg is. Like the comment says, "If we can't find pari.cfg, gp2c isn't going to work." What was the original |
comment:9
I tried to upgrade from 9.3.beta3. After I agree that this might be a symptom of another issue. |
comment:10
Ok, there are two things weird:
The real problem is the first item... but, I'm curious. Your config log shows...
Is that really where (But regardless, you haven't enabled gp2c at all, so you shouldn't be hitting this problem.) |
comment:11
You get it right,
I haven't enabled
|
Changed branch from public/misc/31051_gp2c to u/mjo/ticket/31051 |
comment:12
This should fix the second problem, and allow New commits:
|
comment:14
Replying to @mkoeppe:
This failure is within an |
This comment has been minimized.
This comment has been minimized.
comment:16
It's working for me on that desktop. Thanks! I let you decide if we can set back to positive review and how to change authors/reviewers. |
comment:17
Looks good to me. Please add the names :-) Let me also point out that the fact that my fix worked too is an indication that there could be a better way to discover |
Changed author from David Coudert to David Coudert, Michael Orlitzky |
comment:18
I would still very much prefer that we not do these checks at all when gp2c is disabled, but if everyone's content to do that in some other ticket, this is still an improvement. Ultimately, pari itself should tell us where pari.cfg is installed, via either pkg-config or something like |
comment:19
pari.cfg file can be found in the PARI object directory and is installed in $prefix/lib/pari/. this is in gp2c docs of the Par project: Fedora is wrong about the location it installs pari.cfg to |
comment:20
And those docs are wrong =) pari.cfg is installed to |
Changed branch from u/mjo/ticket/31051 to |
On some systems, e.g. Fedora 32,
/bin
is a symlink to/usr/bin
and the
PATH
has the symlink/bin
in front of/usr/bin
.In this situation, with the version of
build/pkgs/gp2c/spkg-configure.m4
from #30231 (merged in Sage 9.2.beta8), running
./configure
failswhile checking for
gp2c
.This ticket amends
build/pkgs/gp2c/spkg-configure.m4
to solvethat problem.
The problem occurs even without trying to build
gp2c
, as currentlyconfigure
checks for system packages including of disabled optionalpackages (see #29498 for fixing that).
CC: @dimpase @slel @orlitzky
Component: packages: optional
Keywords: gp2c
Author: David Coudert, Michael Orlitzky
Branch/Commit:
fa3c4fc
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/31051
The text was updated successfully, but these errors were encountered: