-
-
Notifications
You must be signed in to change notification settings - Fork 491
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 installation of cryptominisat and pycryptosat #33162
Comments
comment:1
in cmake config of cryptominisat on sees
so one can explicitly set the path for the module. But to what value? |
comment:2
See also
|
Changed keywords from none to cryptominisat |
comment:4
In principle, it would be set to ${SAGE_VENV}. |
comment:5
Replying to @mkoeppe:
I don't see why it's not OK. Passing |
comment:6
Because of our installation records in SAGE_LOCAL/var/lib/sage/installed/ and SAGE_VENV/var/lib/sage/installed. |
comment:7
Replying to @mkoeppe:
can we allow Python modules in SAGE_LOCAL, too? As a temporary fix, at least. |
comment:8
no, they won't be in the load path. |
comment:9
Solution is as I said in #25374 comment:48 |
Commit: |
Author: Dima Pasechnik |
comment:10
here is an easier fix. Made it blocker, as this fixes an otherwise totally broken optional package. New commits:
|
comment:11
This is not enough because it will break when you switch to a different Python. |
comment:12
cryptominisat depends on |
comment:13
Nope |
comment:14
then I don't understand what "switch" means. |
comment:15
When a system python is in use, Switching between pythons = Re-running |
comment:16
and how does one trigger rebuild of a Pyhton package in such a case? |
comment:17
Installation records for Python packages are kept in $(SAGE_VENV)/var/lib/sage/installed. |
Reviewer: Matthias Koeppe |
comment:35
Replying to @mkoeppe:
the library still goes to SAGE_LOCAL. Imho all the sdh_ - scripts correctly set installation records of Sage. |
Branch pushed to git repo; I updated commit sha1 and set ticket back to needs_review. New commits:
|
comment:37
Is this what you kept in mind? Turns out one just needs to run cmake to get pycryptosat set up, no need to build the library twice. |
comment:38
Replying to @dimpase:
The installation records are set by |
comment:39
Replying to @dimpase:
Almost. Still need |
comment:40
And |
comment:41
Are the |
comment:42
Also a good moment to add |
comment:43
Also note that the positively reviewed version of this ticket is already on Volker's branch, so best to reset to that and continue on a follow-up ticket |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits: |
comment:45
ok, this is the old fix |
comment:46
followup on #33183 |
comment:47
Replying to @mkoeppe:
I don't know - as spkg-configure is not yet there, it can be left as such for the time being. |
Changed branch from u/dimpase/packages/cryptominisat-fix to |
comment:49
It seems something is missing (maybe a dependency) as it is now broken on my machine, see https://groups.google.com/g/sage-release/c/1YV0dNtEZz4/m/Tm7RSWINAgAJ Is there a ticket for it already? I think I have seen a report of the failure earlier this week by someone else, I don't remember where. |
Changed commit from |
comment:50
missing python toolchain in deps of cryptominisat. see #33183 |
pycryptosat is meant to be installed as a part of cryptominisat,
but it does not happen.
This is because it's installing the Python module in SAGE_ROOT/local/
From the log:
See
https://groups.google.com/d/msgid/sage-release/cc134257-34d8-4c26-8719-24a994dc42dan%40googlegroups.com
can be used as a workaround
CC: @mkoeppe @slel @vbraun
Component: packages: optional
Keywords: cryptominisat
Author: Dima Pasechnik
Branch:
cdd19b0
Reviewer: Matthias Koeppe
Issue created by migration from https://trac.sagemath.org/ticket/33162
The text was updated successfully, but these errors were encountered: