-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
mono: fix build with updated dev. env. #5522
Conversation
- patch makefile templates for explicit use of python 2
@hgy59 was something changed with permissions? I tried to do a clean-install with this build and I didn't get any of the certificate import errors you mentioned in #5051 (comment). |
hmm, looking a bit more in the file system I think an uninstall and re-install doesn't in fact do a complete removal as there are many mono files left behind. This is what I suspect happened when I installed this build - the previous permissions set persisted and allowed the deployment to go in cleanly. I'll try that repo you mentioned but I think I'll need to start from a completely fresh Virtual DSM to do a true test |
@hgy59, I've taken another look at this and while you are correct in that none of the files that changed in this PR should have affected the cert import I believe that something has changed. Take a look at this log file from a standard installation: https://controlc.com/d893f758. In it you see many lines like:
This is compared to the log file I posted previously (https://pastebin.com/YQ78RegU) which looks like this:
Now I looked into why my results were inconsistent before and I found that the folder at Now, looking into the code I see this was something that the 'native' patches for mono should have fixed many years ago: spksrc/native/mono/patches/001-relocate-specialfolders.patch Lines 16 to 17 in 0b670e9
As such, I'm not sure why this is not working for the build in the repository. Perhaps something else in the framework prevented this from working at the last time mono was merged and published in #5029? |
@mreid-tt good catch! BTW we must update the patch to use |
Yes, I think this is the case based on the upgrade install I just tried. The logs are found here: https://pastebin.com/KmLxtnNL. In it we see that as part of the upgrade the certs are generated in
So the certificates are still there but are unable to be referenced. I'll try to author a new PR for this but will need help reviewing. |
- patch makefile templates for explicit use of python 2
Description
This is another followup to #5441.
With the updated dev. env. default python is not python 2 anymore.
Checklist
all-supported
completed successfullyType of change