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
configure: Handle the case of SAGE_LOCAL = a system directory with gcc better #33361
Comments
Author: Matthias Koeppe |
Commit: |
This comment has been minimized.
This comment has been minimized.
comment:4
It is difficult for me to comment on that part of the configure script from the point of view of sage-on-gentoo since I don't use it at all. |
comment:6
Let's get this in please |
comment:7
is there an easy obvious way to test this? |
comment:8
"Conda for Sage developers" instructions at https://wiki.sagemath.org/Conda? |
comment:9
Or use |
comment:10
Replying to @mkoeppe:
just tried in a Docker container, and ran into
not sure if this is a bug for this branch. |
comment:11
Not a bug. |
comment:12
Use a different distro for testing that does not have this |
comment:13
I'd say it is a bug in this case. Trying now with --- a/configure.ac
+++ b/configure.ac
@@ -530,7 +530,7 @@ AC_CONFIG_COMMANDS(mkdirs,
if test -d "$SAGE_LOCAL/lib64"; then
if test ! -L "$SAGE_LOCAL/lib64"; then
AC_MSG_NOTICE([[$SAGE_LOCAL/lib64 is not a symlink, see Trac #19782]])
- AC_MSG_ERROR([[Cannot perform incremental update, run "make distclean && make"]])
+ dnl AC_MSG_ERROR([[Cannot perform incremental update, run "make distclean && make"]])
fi
else
AC_MSG_NOTICE([[creating symbolic link lib64 -> lib]]) |
comment:14
Replying to @mkoeppe:
it ought to work if we don't error out here in case of |
comment:15
... but we do not want to support this configuration for users, it's just a quick way for you to test the ticket. The actual use case is installation into a conda environment, #30845. |
comment:16
ok, it works |
Reviewer: Dima Pasechnik |
comment:17
by the way, do we know how to report |
comment:18
Thank you! |
comment:19
Replying to @dimpase:
Yes, https://bugzilla.opensuse.org; so far no competent response to an issue that I reported for #33153 though |
Changed branch from u/mkoeppe/configure__handle_the_case_of_sage_local___a_system_directory_with_gcc_better to |
(split out from #30845)
git grep SAGE_LOCAL src/sage
shows that there are still a few leftover places in the Sage library that hardcodeSAGE_LOCAL
as the directory where some executables etc. are found, notablygap
.In some settings, this forces us to set
SAGE_LOCAL
to a system location when ideally it should ideally be unset (as in distribution packaging). In particular, in the (experimental) set up of Conda for Sage developers described in https://wiki.sagemath.org/Conda, we would setSAGE_LOCAL
toCONDA_PREFIX
.We adjust the configure script for this situation.
CC: @isuruf @tobiasdiez @kiwifb @orlitzky @dimpase
Component: build: configure
Author: Matthias Koeppe
Branch/Commit:
ce6f8fd
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/33361
The text was updated successfully, but these errors were encountered: