-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Fix Fedora and CentOS builds #3246
Conversation
Kudos, SonarCloud Quality Gate passed! |
@@ -30,6 +30,10 @@ Jellyfin is a free software media system that puts you in control of managing an | |||
%build | |||
|
|||
%install | |||
%if 0%{?rhel} > 0 && 0%{?rhel} < 8 | |||
# Required for CentOS build | |||
chown root:root -R . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is still going to break any properly built RPM build system.
You cannot do root
things in an RPM scriptlet and SHOULD NOT build RPMs as root.
I am working on fixing all of these issues in another PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Brian, I'm going to be as blunt as I can, because I think that's the only way to get this point across clearly at this point. We do not care what you say we can and cannot do, or what's "proper". We care what works. And given that this has been broken for well over a month due to your previous "improvements", we're going to go with what works. Despite pointing it out to you and asking repeatedly for you to fix it, you've argued about it and denied that it was a problem. This whole situation has (again) prompted discussions about removing official support for rpm systems since none of us use them and it's brought the whole build system to it's knees.
TLDR: Until you're willing to put in the work and hand us something that is guaranteed to work properly and not over complicate things more than they already are, stop criticizing. Your previous efforts are leaving something to be desired
These are NOT my opinions. Maybe these links are from organizations who don't know what they are talking about either?
But it doesn't. As everyone who will try to rebuild your SRPM will find out, it will be broken, because they won't try to rebuild it as root. So why bother trying to build something that will not work for anyone who wants to try to rebuild it?
Except the PR that made the changes did not show anything broken and nobody said anything was broken until a week ago. So why didn't the PR with the "improvement" break? It would have been immensely helpful if it had because then the root issues would have been more apparent and the "improvement" more thorough to fix the other issues as well, before it was landed.
Did you miss the part of my previous message: I am working on fixing all of these issues in another PR? So I am not just standing on sidelines criticizing. I am trying to fix the problems. And I do have them fixed, and working in Docker here, but the Docker that is on Azure seems to be a little broken -- or at least different in how it handles mapped directories. I only discovered this today and am still investigating it. |
I appreciate that you are trying to fix this Brian, I truly do. But please look at it from our perspective:
I'll reiterate again - I do appreciate your fixes, and I want to get "native ready" packages along with the new CI after 10.8.0, including a full separation of our "OS packages" from the main code repo like most packages out there. And I'll value your input greatly on that (heck we can make COPR the real default build for our Fedora/CentOS users), but after 10.8.0. |
Hi @joshuaboniface. #3238 fixes all of the issues. It also adds package building to PRs in CI, since if that were the case when my original PR went through CI, nothing would have broken and the issues with the package build in CI would have been much more clear. |
Changes
Issues
Fixes (part of) #3222