Skip to content

shaka-packager: explicitly specify C++17 for abseil-cpp - #579116

Merged
niklaskorz merged 1 commit into
NixOS:masterfrom
niklaskorz:fix-shaka-packager
Oct 26, 2026
Merged

niklaskorz merged 1 commit into
NixOS:masterfrom
niklaskorz:fix-shaka-packager

Conversation

@niklaskorz

@niklaskorz niklaskorz commented Oct 26, 2026 •

Copy link
Copy Markdown
Member

shaka-packager targets C++17 but is upgraded to C++20 through the dependency on abseil-cpp, which targets C++20 by default on GCC 16.

Fixes #571536

Thanks to @bengsparks for pointing me at the abseil-cpp property (and @whispersofthedawn for not making me question if this is the right way by having applied it before in c3ae1ea).

Things done

@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. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 9.needs: reviewer This PR currently has no reviewers requested and needs attention. 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". labels Oct 26, 2026
GCC 16 (and thus abseil-cpp) defaults to C++20, which propagates to
shaka-packager and leads to issues with type changes in std::filesystem.
@niklaskorz niklaskorz changed the title shaka-packager: fix build shaka-packager: explicitly specify C++17 for abseil-cpp Oct 26, 2026
@niklaskorz
niklaskorz added this pull request to the merge queue Oct 26, 2026
Merged via the queue into NixOS:master with commit 84187e6 Oct 26, 2026
30 checks passed
@niklaskorz
niklaskorz deleted the fix-shaka-packager branch October 26, 2026 13:28
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". 9.needs: reviewer This PR currently has no reviewers requested and needs attention. 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. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build failure: shaka-packager

1 participant