-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
python310Packages.pikepdf: fix build on aarch64-darwin #175207
Conversation
Result of 1 package marked as broken and skipped:
2 packages failed to build:
4 packages built:
|
ocrmypdf is failing due to
|
Are there more logs? The ones you posted don't mention |
Does macOS simply refuse to run any shell command containing |
Might be because I have |
Sorry, it got truncated. Here’s the full log. Looks like there were more errors than I saw initially.
|
ocrmypdf builds if I disable sandboxing completely. |
1e6ada4
to
326cb76
Compare
Result of 1 package marked as broken and skipped:
6 packages built:
|
Was that with or without sandbox? |
Not sure if it’s the best approach, but the latest change fixes the ocrmypdf build failure with sandboxing enabled on Darwin. |
With. If I |
|
With enabled sandbox we get PermissionError: [Errno 1] Operation not permitted when calling os.nice().
Successfully created backport PR #175232 for |
Description of changes
setup.py refers to Homebrew paths: https://github.com/pikepdf/pikepdf/blob/612f0b86aa957a86ada469641ca6283a13840808/setup.py#L29-L30
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notesZHF: #172160