-
-
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
Problem with SAGE_INC in module_list.py when using system packages #28349
Comments
This comment has been minimized.
This comment has been minimized.
comment:2
good catch. I noticed this too, and was wondering what it is... |
comment:3
This file doesn't actually depend on |
Author: Jeroen Demeyer |
Branch: u/embray/ticket-28349 |
Changed author from Jeroen Demeyer to Erik Bray |
Commit: |
comment:6
Replying to @jdemeyer:
It does depend indirectly through gd.h, which it does depend on directly. But I agree it's a bit odd to include png.h in that list explicitly. |
comment:7
Sorry--pressed submit without seeing you had added to this. Maybe you were going to change something? Nevertheless, the problem is still more general than png.h. It would be better not to use |
comment:8
would surely be inconvenient for distributions that don't use |
Changed branch from u/embray/ticket-28349 to u/jdemeyer/ticket-28349 |
Changed branch from u/jdemeyer/ticket-28349 to u/embray/ticket-28349 |
comment:12
Heh, perhaps we can merge these two fixes? I think Jeroen's branch makes sense in its own right. |
comment:13
I created #28352 with my fix. |
comment:14
Replying to @embray:
My |
comment:15
The |
comment:16
Replying to @dimpase:
Some of us are phasing out |
comment:17
Ticket retargeted after milestone closed |
comment:18
If I'm not mistaken, this was fixed by #28352? |
comment:19
this one has been fixed, but similar problems pop up elsewhere, e.g. I saw similar parasite rebuilds with
is to blame |
Reviewer: Dima Pasechnik |
I noticed in a recent build of Sage on a Debian buster VM, using many system packages, a problem:
Every time I try to re-build, whether I run
make build
,sage -b
, etc. two Python modules get recompiled (from their Cython-generated C sources, though Cython itself is not being re-run). Specifically,One of the things that these two modules have in common, and unique from other modules (as listed in src/module_list.py) is their dependency on
SAGE_INC + '/png.h'
. But since I'm using the system libpng, this file does not exist, so those modules constantly get rebuilt.I'm not really sure the best thing to do about this right now. Maybe we should only add those headers to the
depends
list if they actually exist (and just assume that system headers won't be updated often...)CC: @dimpase
Component: build
Author: Erik Bray
Branch/Commit: u/embray/ticket-28349 @
c775407
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/28349
The text was updated successfully, but these errors were encountered: