Skip to content

libtar: fix Darwin build by setting -std=gnu17 - #511340

Merged
alyssais merged 1 commit into
NixOS:staging-nextfrom
4evy:flameflag/push-ypmutkvxsnos
Apr 19, 2026
Merged

alyssais merged 1 commit into
NixOS:staging-nextfrom
4evy:flameflag/push-ypmutkvxsnos

Conversation

@4evy

@4evy 4evy commented Apr 19, 2026

Copy link
Copy Markdown
Member

The autoconf update on staging-next forces Clang into C23 mode, which
rejects K&R-style function declarations in compat/basename.c

Pin to gnu17 to restore the previous default

Refs: #511329

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.

The autoconf update on staging-next forces Clang into C23 mode, which
rejects K&R-style function declarations in compat/basename.c

Pin to gnu17 to restore the previous default

Refs: NixOS#511329
@nixpkgs-ci
nixpkgs-ci Bot requested a review from bjornfor April 19, 2026 10:19
@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. labels Apr 19, 2026
@alyssais
alyssais added this pull request to the merge queue Apr 19, 2026
@ofborg ofborg Bot added the 6.topic: darwin Running or building packages on Darwin label Apr 19, 2026
Merged via the queue into NixOS:staging-next with commit 5061c9a Apr 19, 2026
27 of 31 checks passed
@4evy
4evy deleted the flameflag/push-ypmutkvxsnos branch April 19, 2026 10:33
@matteo-pacini

Copy link
Copy Markdown
Contributor

nixpkgs-review result

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 511340
Commit: 6cb55fa54960626bf2df3eaed89227d67aecdbb5 (subsequent changes)
Merge: 9fb780ead9425c2fd4df6be25b4b909a8a0653be

Logs: https://github.com/matteo-pacini/nixpkgs-review-gha/actions/runs/24626667878


x86_64-linux

✅ 8 packages built:
  • frog
  • libfolia
  • libtar
  • mbt
  • ticcutils
  • timbl
  • timblserver
  • ucto

aarch64-linux

✅ 8 packages built:
  • frog
  • libfolia
  • libtar
  • mbt
  • ticcutils
  • timbl
  • timblserver
  • ucto

x86_64-darwin (sandbox = false)

✅ 8 packages built:
  • frog
  • libfolia
  • libtar
  • mbt
  • ticcutils
  • timbl
  • timblserver
  • ucto

aarch64-darwin (sandbox = false)

✅ 8 packages built:
  • frog
  • libfolia
  • libtar
  • mbt
  • ticcutils
  • timbl
  • timblserver
  • ucto

@matteo-pacini matteo-pacini 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.

Approved automatically following the successful run of nixpkgs-review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: darwin Running or building packages on Darwin 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants