Skip to content

[staging-next] qt5.qtlocation: fix build on Darwin#319241

Merged
vcunat merged 1 commit intoNixOS:staging-nextfrom
K900:qtlocation-darwin-next
Jun 12, 2024
Merged

[staging-next] qt5.qtlocation: fix build on Darwin#319241
vcunat merged 1 commit intoNixOS:staging-nextfrom
K900:qtlocation-darwin-next

Conversation

@K900
Copy link
Contributor

@K900 K900 commented Jun 12, 2024

Well, "fix", because this just allows us to use deprecated C++ features for now, and the actual consumer of said features is boost 1.65.1, vendored inside mapbox-gl, vendored inside qtlocation, with all the upstreams in this chain being mostly dead.

Anyway, this should buy us time until the next libcxx bump comes around, and then we'll have to send qt5location to a farm upstate unless someone wants to go through the entire boost codebase and precision-upgrade it.

Description of changes

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

Well, "fix", because this just allows us to use deprecated C++ features
for now, and the actual consumer of said features is boost 1.65.1,
vendored inside mapbox-gl, vendored inside qtlocation, with all the
upstreams in this chain being mostly dead.

Anyway, this should buy us time until the next libcxx bump comes around,
and then we'll have to send qt5location to a farm upstate unless someone
wants to go through the entire boost codebase and precision-upgrade it.
@github-actions github-actions bot added the 6.topic: qt/kde Object-oriented framework for GUI creation label Jun 12, 2024
@ofborg ofborg bot added the 6.topic: darwin Running or building packages on Darwin label Jun 12, 2024
@vcunat vcunat merged commit df94dae into NixOS:staging-next Jun 12, 2024
@ofborg ofborg bot added 10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Jun 12, 2024
vcunat pushed a commit that referenced this pull request Jun 23, 2024
Well, "fix", because this just allows us to use deprecated C++ features
for now, and the actual consumer of said features is boost 1.65.1,
vendored inside mapbox-gl, vendored inside qtlocation, with all the
upstreams in this chain being mostly dead.

Anyway, this should buy us time until the next libcxx bump comes around,
and then we'll have to send qt5location to a farm upstate unless someone
wants to go through the entire boost codebase and precision-upgrade it.

(cherry picked from commit b6924cd)
@K900 K900 deleted the qtlocation-darwin-next branch July 27, 2025 10:47
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 6.topic: qt/kde Object-oriented framework for GUI creation 10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments