session-lattice-puller brew install fails: Empty installation (marker is a top-level metafile) #17

Closed
opened 2026-06-04 05:18:46 +00:00 by coilysiren · 0 comments
Owner

Problem

brew install coilysiren/session-lattice/session-lattice-puller fails with Error: Empty installation.

The companion formula ships only a brew service (no binary) and writes a marker file to keep brew happy. But the marker was prefix/README.md, written to the keg root. Homebrew's Keg#empty_installation? skips top-level metafiles (README/LICENSE/CHANGELOG/... via Metafiles.copy?), so a bare prefix/README.md keg reads as empty and install aborts.

This surfaced via coily exec up-to-date (tooling step), which mandates the puller install.

Fix

Write the marker into a subdirectory (pkgshare/README.md) instead of the keg root. The top-level empty-installation glob then sees a non-empty share/ directory and passes. Test updated to assert the new path. Verified locally: 8 files, 20.5KB, install exits 0.

## Problem `brew install coilysiren/session-lattice/session-lattice-puller` fails with `Error: Empty installation`. The companion formula ships only a brew service (no binary) and writes a marker file to keep brew happy. But the marker was `prefix/README.md`, written to the keg root. Homebrew's `Keg#empty_installation?` skips top-level metafiles (`README`/`LICENSE`/`CHANGELOG`/... via `Metafiles.copy?`), so a bare `prefix/README.md` keg reads as empty and install aborts. This surfaced via `coily exec up-to-date` (tooling step), which mandates the puller install. ## Fix Write the marker into a subdirectory (`pkgshare/README.md`) instead of the keg root. The top-level empty-installation glob then sees a non-empty `share/` directory and passes. Test updated to assert the new path. Verified locally: `8 files, 20.5KB`, install exits 0.
Commenting is not possible because the repository is archived.
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
coilyco-flight-deck/session-lattice#17
No description provided.