-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
mosquitto: 2.0.18 -> 2.0.20 #349233
mosquitto: 2.0.18 -> 2.0.20 #349233
Conversation
@datafoo how about this as url to change log https://github.com/eclipse/mosquitto/blob/v2.0.20/ChangeLog.txt ? |
54f6d64
to
e905aed
Compare
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.
didn't want to increase scope of this PR, but since you've added changlog
It is OK, I learnt something new in the process. |
@ofborg build mosquitto |
|
I do not know what to do with this broken build! In the meantime, I have extracted the cleanup in its own dedicated PR #349473. |
maybe @NixOS/darwin-maintainers can help |
This seems to be the same with eclipse-mosquitto/mosquitto#3025. I have no idea what is going wrong with their cmake files, would be good to ask a cmake expert to check it. |
|
So, is the problem related to this PR or was it already here before? |
It was something between 2.0.18 and 2.0.20 with upstream. Nothing wrong on our side. |
The changelog does mention:
|
|
||
src = fetchFromGitHub { | ||
owner = "eclipse"; | ||
repo = "mosquitto"; | ||
rev = "v${version}"; | ||
hash = "sha256-Vs0blV2IhnlEAm0WtOartz+0vLesJfp78FNJCivRxHk="; | ||
hash = "sha256-oZo6J6mxMC05jJ8RXIunOMB3kptA6FElchKlg4qmuQ8="; | ||
}; | ||
|
||
patches = lib.optionals stdenv.hostPlatform.isDarwin [ |
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.
Remove this patch and it builds.
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.
Does version 2.0.19 build (see #349530)?
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.
Why is that? This patch is dedicated to fix build issue on macOS, which is already fixed by upstream.
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.
If you revert to the hash sha256-Vs0blV2IhnlEAm0WtOartz+0vLesJfp78FNJCivRxHk=
you are building 2.0.18. That is why I am asking if 2.0.19 builds. Then we will know what upstream version introduced the problem.
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.
@Aleksanaa means removing the Darwin‐only patch in patches
, not removing the part of this diff that updates the version.
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.
My bad, I am a little confused with how Github shows me 9 lines of code before the 1 line that @Aleksanaa was referring to. The colored diff is what stands out, not the last line.
OK, then I will update this PR to remove this patch.
7b773fb
to
b76e567
Compare
patches = lib.optionals stdenv.hostPlatform.isDarwin [ | ||
(fetchpatch { | ||
name = "revert-cmake-shared-to-module.patch"; # See https://github.com/eclipse/mosquitto/issues/2277 | ||
url = "https://github.com/eclipse/mosquitto/commit/e21eaeca37196439b3e89bb8fd2eb1903ef94845.patch"; | ||
sha256 = "14syi2c1rks8sl2aw09my276w45yq1iasvzkqcrqwy4drdqrf069"; | ||
revert = true; | ||
}) | ||
]; | ||
|
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.
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.
4 packages built:
chickenPackages_5.chickenEggs.mosquitto mosquitto mosquitto.dev mosquitto.lib
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin release-24.05
git worktree add -d .worktree/backport-349233-to-release-24.05 origin/release-24.05
cd .worktree/backport-349233-to-release-24.05
git switch --create backport-349233-to-release-24.05
git cherry-pick -x bff96234a226ba495083176ebc3edded0698728b |
https://github.com/eclipse/mosquitto/blob/v2.0.20/ChangeLog.txt
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)@mweinelt @SuperSandro2000
Add a 👍 reaction to pull requests you find important.