Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

freecad: 0.21.2 → 1.0 #342286

Closed
wants to merge 1 commit into from
Closed

Conversation

pinpox
Copy link
Member

@pinpox pinpox commented Sep 16, 2024

Description of changes

Addresses: #341214

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.

@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10 labels Sep 16, 2024
@pinpox
Copy link
Member Author

pinpox commented Sep 16, 2024

@GrahamcOfBorg build freecad
@ofborg

@pinpox
Copy link
Member Author

pinpox commented Sep 17, 2024

There is still a build failiure here, which I don't know how to fix yet. Can anyone with more cmake knowledge give me a pointer on what is wrong?

@ksonj
Copy link

ksonj commented Sep 21, 2024

I'm getting one step further with adding -DINSTALL_TO_SITEPACKAGES=OFF to cmakeFlags. However the build still fails with

Broken paths found in a .pc file! /nix/store/agc18s7zjsy4has50h79k18n16lskdnk-freecad-1.0rc1/share/pkgconfig/OndselSolver.pc
The following lines have issues (specifically '//' in paths).
3:libdir=${exec_prefix}//nix/store/agc18s7zjsy4has50h79k18n16lskdnk-freecad-1.0rc1/lib
4:includedir=${prefix}//nix/store/agc18s7zjsy4has50h79k18n16lskdnk-freecad-1.0rc1/include
It is very likely that paths are being joined improperly.
ex: "${prefix}/@CMAKE_INSTALL_LIBDIR@" should be "@CMAKE_INSTALL_FULL_LIBDIR@"

The message then points to #144170 for further information

@ksonj
Copy link

ksonj commented Sep 23, 2024

There's also this PR #343592, which builds already

@srounce
Copy link
Contributor

srounce commented Sep 23, 2024

Thanks for the reference @ksonj I forgot to add that here.

@pinpox
Copy link
Member Author

pinpox commented Oct 2, 2024

There's also this PR #343592, which builds already

Closing, as this PR was already merged.

@pinpox pinpox closed this Oct 2, 2024
@srounce
Copy link
Contributor

srounce commented Oct 2, 2024

@pinpox Is it worth keeping open until 1.0 proper is released?

@pinpox pinpox reopened this Oct 2, 2024
@ofborg ofborg bot added the 2.status: merge conflict This PR has merge conflicts with the target branch label Oct 2, 2024
@srounce
Copy link
Contributor

srounce commented Oct 6, 2024

@pinpox sorry I commented on the wrong tab, thought I was commenting on the packaging request 🤦. I will reopen a new issue when another RC or 1.0 final is released. Feel free to close this one again :)

@pinpox pinpox closed this Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.status: merge conflict This PR has merge conflicts with the target branch 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants