Skip to content

bacula: fix build with ncurses 6.6 - #477929

Merged
philiptaron merged 1 commit into
NixOS:stagingfrom
philiptaron:bacula-build-fix
Jan 8, 2026
Merged

philiptaron merged 1 commit into
NixOS:stagingfrom
philiptaron:bacula-build-fix

Conversation

@philiptaron

@philiptaron philiptaron commented Jan 8, 2026 •

Copy link
Copy Markdown
Contributor

ncurses 6.6 moved the termios.h include inside #ifdef NCURSES_INTERNALS in term.h, so applications can no longer rely on term.h to provide termios symbols. Include termios.h explicitly in conio.c.

Thanks to @trofi for the report.

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

ncurses 6.6 moved the termios.h include inside `#ifdef NCURSES_INTERNALS`
in term.h, so applications can no longer rely on term.h to provide
termios symbols. Include termios.h explicitly in conio.c.

Thanks to @trofi for the report.
@nixpkgs-ci
nixpkgs-ci Bot requested review from lovek323 and proteansec January 8, 2026 01:40
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". labels Jan 8, 2026

@trofi trofi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes the build for me. Thank you!

@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Jan 8, 2026
@philiptaron
philiptaron added this pull request to the merge queue Jan 8, 2026
Merged via the queue into NixOS:staging with commit a3dc5dd Jan 8, 2026
@philiptaron
philiptaron deleted the bacula-build-fix branch January 8, 2026 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants