-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
ncurses: 6.2 -> 6.3 #146685
ncurses: 6.2 -> 6.3 #146685
Conversation
Still known broken packages:
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/uncoming-ncurses-6-2-6-3-update/16169/1 |
I merged all out-standing PRs linked here. |
Thank you! I asked a hydra run against this PR: https://hydra.nixos.org/jobset/nixpkgs/pr-146685 . Current run is against somewhat older staging state. My immediate plan is:
|
New failures found by first hydra run (still ongoing, to be extended):
|
Rebasing against https://hydra.nixos.org/eval/1729230 5c96dfa. |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/uncoming-ncurses-6-2-6-3-update/16169/2 |
46ff00b
to
fb2b41d
Compare
The biggest nixpkgs-specific change is addition of printf()-style attribute annotations for many ncurses APIs. -Werror=format-security now flags parameter inconsistencies and fails the build. The fixes are usually one-liners like adding "%s" format string for non-literals or just using `hardeningDisable [ "format" ];` for software where backporting or fixing is not practical. Drop -DNCURSES_INTERNALS=1 workaround required only for ncurses-6.2 and build-incompatible with ncurses-6.3.
fb2b41d
to
d5abc05
Compare
All known failures are sorted out. Ready for The one exception is |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
Maybe you've seen a similar error already? I see you dropped a flag for this build, but reintroducing it doesn't fix this error. |
I wonder how I missed it. The other two (
is the result of mirror/ncurses@493e2f7 |
Filed upstream issue as https://gitlab.xiph.org/xiph/squishyball/-/issues/1 |
Proposed fix for |
The biggest nixpkgs-specific change is addition of printf()-style
attribute annotations for many ncurses APIs. -Werror=format-security
now flags parameter inconsistencies and fails the build.
The fixes are usually one-liners like adding "%s" format string for
non-literals or just using
hardeningDisable [ "format" ];
for softwarewhere backporting or fixing is not practical.
Almost all of build failures are already sorted in
nixpkgs/master
(~60 changes).