Skip to content

lastools: fix compilation with cmake4#451082

Merged
pyrox0 merged 1 commit intoNixOS:masterfrom
autra:fix_lastools
Oct 13, 2025
Merged

lastools: fix compilation with cmake4#451082
pyrox0 merged 1 commit intoNixOS:masterfrom
autra:fix_lastools

Conversation

@autra
Copy link
Contributor

@autra autra commented Oct 11, 2025

Things done

I rebased the upstream patch linked in the patches section. I do hope I did that correctly. It does build and las2txt works. Lasinfo seems to work, but does segfault at the end just as the 25.05 version does ;-)

  • 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.

Add a 👍 reaction to pull requests you find important.

Comment on lines +21 to +22
# https://github.com/lastools/LAStools/pull/234
./cmake.diff
Copy link
Member

Choose a reason for hiding this comment

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

This pull request has been merged 7 month ago, you can directly fetch it from its stable link and using fetchpatch

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This patch does not apply cleanly any more, see the description of the pull request.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

More accurately, this patch never applied correctly into the released version.

@autra
Copy link
Contributor Author

autra commented Oct 11, 2025

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 451082
Commit: 171d27058829a46b432ffc4b29c423c5d9cb85f2


x86_64-linux

✅ 1 package built:
  • LAStools

@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. 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. labels Oct 11, 2025
@l0b0 l0b0 removed their request for review October 11, 2025 20:36
Copy link
Member

@Philipp-M Philipp-M left a comment

Choose a reason for hiding this comment

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

Thanks for picking this up, LGTM.

@nixpkgs-ci nixpkgs-ci bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Oct 12, 2025
Copy link
Contributor

@imincik imincik left a comment

Choose a reason for hiding this comment

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

Thank you Augustin. I am ok with merging it as is.

@nixpkgs-ci nixpkgs-ci bot added 12.approvals: 2 This PR was reviewed and approved by two persons. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Oct 13, 2025
@pyrox0 pyrox0 dismissed Sigmanificient’s stale review October 13, 2025 19:18

maintainers believe patch is fine.

@pyrox0 pyrox0 enabled auto-merge October 13, 2025 19:18
@pyrox0 pyrox0 added this pull request to the merge queue Oct 13, 2025
Merged via the queue into NixOS:master with commit f985a4e Oct 13, 2025
40 of 42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 12.approvals: 2 This PR was reviewed and approved by two persons. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants