-
-
Notifications
You must be signed in to change notification settings - Fork 482
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
Improve is_functional of lrs feature #33167
Comments
Commit: |
Branch: u/slabbe/33167 |
comment:4
I wonder if we should not check both |
comment:5
(this comment is copied from #33101 comment:19 where I originally posted the branch) For now, I just imported the test made in the m4 file into the
|
Author: Sébastien Labbé |
This comment has been minimized.
This comment has been minimized.
comment:9
Why do we need a feature for lrs at all when we have an optional package for it? If we simply remove the feature, the spkg-configure check will handle this, won't it? |
comment:11
Replying to @seblabbe:
This is not the case, I am afraid. I get the same output:
My system lrslib seems to be mostly functional, as all the doctests apart from #33101 pass. But it is rejected by the .m4 file because of the dependency on flint – my Sage builds its own flint, so would also build its own lrslib. |
comment:12
Replying to @mwageringel:
This is probably a mistake in the |
Changed branch from u/slabbe/33167 to u/gh-mwageringel/33167 |
Changed author from Sébastien Labbé to Sébastien Labbé, Markus Wageringel |
comment:13
Replying to @orlitzky:
Yes, this seems to be the case. I have removed the check for gmp/flint from the .m4 file. Now it works as I would expect – this is the relevant output of configure:
This is the first time I have edited an .m4 file, so I hope I did not break anything. Besides that, I have removed a New commits:
|
This comment has been minimized.
This comment has been minimized.
comment:15
Replying to @mwageringel:
It looks like you deleted the m4 and the |
comment:16
Replying to @orlitzky:
Yes, exactly.
For another data point, I have tested this by replacing the lrsnash binary by a non-functional one, which also leads to the intended result:
|
comment:17
Since I saw the problem described in #33231, I wonder if the line
should be put inside of a |
comment:18
Replying to @seblabbe:
Yeah, just about anything can go wrong. Another example:
Or with a dangling symlink from graphicsmagick,
These aren't normal scenarios, but if there's no way to disable the check, the test suite can't crash whenever e.g. someone installs a broken tool in |
Changed branch from u/gh-mwageringel/33167 to u/slabbe/33167 |
comment:19
I am now wondering if it should be a join feature instead. New commits:
|
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:21
I made an error in the commit message. I just force-pushed the last commit. |
comment:22
Set milestone to sage-9.6 after Sage 9.5 release. |
comment:23
Replying to @mwageringel:
I don't like this change. |
comment:24
Replying to @mkoeppe:
Do we link against polymake? |
comment:25
Yes |
comment:26
Ok, I guess put it back then. A comment would be nice too. We can't expect people to be aware of all second-order optional reverse dependencies when reading these files. |
Changed branch from u/slabbe/33167 to u/gh-mwageringel/33167 |
comment:27
Replying to @orlitzky:
I have removed the respective commit from the branch and added a comment instead in the last commit. New commits:
|
This comment has been minimized.
This comment has been minimized.
Reviewer: Matthias Koeppe |
comment:30
Thanks. |
Changed branch from u/gh-mwageringel/33167 to |
comment:32
Follow-up: #33466 |
Changed commit from |
From #33101 comment:3 :
"This was after a distclean. I had not explicitly installed lrslib, it was on the system. If I understand the config.log correctly, the system lrslib was not accepted by Sage. Yet, ptestlong runs the optional lrslib tests."
In this ticket, we add to the
is_functional
method a check corresponding to the check made inbuild/pkgs/lrslib/spkg-configure.m4
so that iflrslib
is not picked up by sagemath at configuration/build time, then it is not picked up by sagemath at runtime or during doctests.CC: @mwageringel @orlitzky
Component: packages: optional
Author: Sébastien Labbé, Markus Wageringel
Branch:
16e1b24
Reviewer: Matthias Koeppe
Issue created by migration from https://trac.sagemath.org/ticket/33167
The text was updated successfully, but these errors were encountered: