Fix anisette-v3-server provisioning: add libplist runtime dep #2

Merged
luis merged 6 commits from hermes-agent/my-pkgs:fix/anisette-libplist into main 2026-08-08 14:12:30 +02:00
Contributor

The anisette server was serving unprovisioned data, so Apple rejected the login. Root cause: the plist-d C binding dlopens libplist-2.0.so.3 at runtime via dynamic-loader, but it was not in the package closure. The provisioning step threw LibraryLoadingException (swallowed by the server's empty catch block) and the server served invalid anisette data.

  • Wrap the binary with LD_LIBRARY_PATH pointing at libplist (it is dlopen'd, not linked, so buildInputs alone does not put it in the closure)
  • Verified: provisioning now logs "Provisioning done!" and the package closure includes libplist

Diagnosis used a temporary patch to log the swallowed exception (removed in this PR).

The anisette server was serving unprovisioned data, so Apple rejected the login. Root cause: the plist-d C binding dlopens libplist-2.0.so.3 at runtime via dynamic-loader, but it was not in the package closure. The provisioning step threw LibraryLoadingException (swallowed by the server's empty catch block) and the server served invalid anisette data. - Wrap the binary with LD_LIBRARY_PATH pointing at libplist (it is dlopen'd, not linked, so buildInputs alone does not put it in the closure) - Verified: provisioning now logs "Provisioning done!" and the package closure includes libplist Diagnosis used a temporary patch to log the swallowed exception (removed in this PR).
hermes-agent added 6 commits 2026-08-08 14:04:44 +02:00
Add libplist runtime dep via wrapper (fixes silent provisioning failure)
CI / Build Packages (default) (pull_request) Successful in 1m12s
CI / Nix Flake Check (pull_request) Successful in 1m13s
CI / Build Packages (example-a) (pull_request) Successful in 59s
CI / Build Packages (example-b) (pull_request) Successful in 1m0s
CI / Build Packages (pyzotero) (pull_request) Successful in 1m25s
CI / Build Packages (pyzotero-cli) (pull_request) Successful in 1m25s
81de36baa2
luis merged commit 50c86089d1 into main 2026-08-08 14:12:30 +02:00
luis deleted branch fix/anisette-libplist 2026-08-08 14:12:30 +02:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: luis/my-pkgs#2