-
-
Notifications
You must be signed in to change notification settings - Fork 487
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
Do not stage .pc files in src/lib/, clean old generated *.pc files at 'make distclean', fix 'permission denied' errors #29082
Comments
comment:2
My suggestion would be to rewrite this as a script package instead of putting things into |
comment:3
Added #29071 as a dependency as it touches the same files. |
Dependencies: #29071 |
This comment has been minimized.
This comment has been minimized.
comment:5
(deleted a comment that was intended for #29071.) |
comment:6
(deleted a comment that was intended for #29071.) |
comment:7
Replying to @mkoeppe:
Perhaps we should just create |
This comment has been minimized.
This comment has been minimized.
comment:8
No, I don't think so. These are configure-generated files of sage-the-distribution - like Let me take care of this ticket after #29071 is done. |
Author: Matthias Koeppe |
This comment has been minimized.
This comment has been minimized.
Last 10 new commits:
|
Commit: |
comment:14
Tests run at https://github.com/mkoeppe/sage/actions/runs/32449719 |
comment:16
I will redo this on top of the hot fix - #29121. |
This comment has been minimized.
This comment has been minimized.
comment:56
Error with gsl.pc for |
comment:57
also |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:60
Tests run at https://github.com/mkoeppe/sage/actions/runs/60588138 |
This comment has been minimized.
This comment has been minimized.
Reviewer: Dima Pasechnik |
comment:62
OK, this does the needed job. Perhaps the make rules could be made less explicit, but OK. |
comment:63
Thanks! |
comment:65
Make distclean deletes |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:68
ok. sorry for overlooking this. |
comment:69
Thanks |
#29003 introduced 2-stage installation of generated *.pc files,
via
src/lib/pkgconfig
- but did not provide a way to clean them up at all. And this is a problem (cf. e.g. #29071).Also, in some installations, repeated installations this code leads to 'permission denied' errors when trying to overwrite read-only files:
This ticket revises the installation as follows:
configure
no longer creates .pc files in the build treemake/Makefile
that create the .pc files inSAGE_LOCAL
.SAGE_LOCAL
, the targets are removed, to avoid permission problemsThis ticket does not solve everything. There may still be problems when switching from a system library to an spkg-provided library. We will use the follow-up ticket #29387 (Complete solution for installing the generated *.pc files) to address this problem.
CC: @embray @mkoeppe @jhpalmieri @vbraun @kiwifb
Component: build: configure
Author: Matthias Koeppe
Branch/Commit:
329843b
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/29082
The text was updated successfully, but these errors were encountered: