-
Notifications
You must be signed in to change notification settings - Fork 50
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 merge] math-comp-school-2022 #310
base: main
Are you sure you want to change the base?
Conversation
@gares : FYI: the macOS build is currently broken (since an update of macOS on the Github runners) - In case you did this PR to create installers I would have to do something to fix it (it is tricky, I need a machine with the specific OS). |
745e050
to
89897f1
Compare
Thanks for the heads up. Well, yes, a dmg would help. The school starts on the 5/12. In any case I have a jscoq setup, so I hope it won't be necessary, but I'm not 100% sure yet. |
OK - I likely have some time on Friday to fix it. |
@MSoegtropIMC do you have any hints? I do have a spare mac here, I can investigate a little myself. |
@gares : it will likely be tricky to fix (that's the reason it is setting broken since 2 weeks). We use a python based tool called macpack to analyse the shared library dependencies of executables and to patch the executables such that they search the shared libraries under a new (relative) path). This tool broke with an update of macOS on the GitHub runners. |
I already prepared a mac with the exact same macOS version github is using, but didn't have time to look into it after that. |
@MSoegtropIMC I did found the problem, see the last commit. The script is not calling the right macpack!
I tried to call the python one but I failed, on my PC this is where
If you can just tell me where the python script is, I think I can fix the installer here. |
@gares : great! The path also depends on the MacPorts vs Homebrew question. The machine I have here is MacPorts. There it is:
It might be different on Homebrew. It will also depend on the python version ... It might be wise to run
und use awk (or whatever) to get the install path. The output is:
One has to combine the path after |
P.S.: Using Pip together with package managers can be quite contrived. MacPorts also has many usually pip installed packages as MacPorts packages, und this is the preferred method. Packages really installed with pip are installed outside of the MacPorts realm to make sure the MacPorts installation is not messed up by pip. |
2dcc1c3
to
2da580e
Compare
@gares: somehow all my comments got lost because I commented on commits which got deleted. A short summary:
In summary: you might want to check which pip3 and python3 is in the path when macpack is installed - best do this in the yaml file where macpack is installed. |
I pushed one last attempt using |
OK, I can take it from here. It is a big help to know the root cause (using the wrog macpack). I will do this in a separate PR on master. Regarding living on macOS: I am using MacPorts and reasonably happy with it. But since HomeBrew is preinstalled on the GitHub runners and many people use it, CI uses HomeBrew. The real mess indeed is that the system doesn't come with a package manager for such things so that two independent systems came to existence, and we need to support both. On the other hand the Python supplied with macOS should be fine since a few years. |
last run failed because I was too naïve concatenating the strings I guess. Good luck! |
I did a PR: #311. It did work locally in a very similar environment. |
2da580e
to
86c307c
Compare
@gares : Two notes:
|
I skimmed the doc and I did not take notes, sorry for that. It was very easy, but I'm not the best "tester" since I already know too much on the infrastructure I'm afraid. |
a46443c
to
d073480
Compare
OK, I've the installers. I did test the snap, and CoqIDE has no icons. Tons of
Is it a known issue? |
You mean no icons in the Mac installer? |
Ah sorry, you wrote snap ... |
It did work last time I looked into it. |
OK, so I'll debug it myself, it's probably just a missing package in the image. |
@MSoegtropIMC On my PC icons are missing (even with the official snap). Setting GTK debug:
The icons are in theory "superposed" because of the gnome "extension" but apparently are not found. Are we fiddling with GTK data pats? |
6021e5a
to
d073480
Compare
@MSoegtropIMC last commit fixes the issue, at least locally. Let's see the package built by CI... |
@gares : thanks! Please also do a PR vs. main. |
https://mathcomp-schools.gitlabpages.inria.fr/2022-12-school/
TODO: