Linuxbrew / brew

:beer::penguin: The Homebrew package manager for Linux
https://linuxbrew.sh
BSD 2-Clause "Simplified" License
2.66k stars 237 forks source link

unpack_strategy: jar lua_rock zip require zipinfo [Linux] #818

Closed sjackman closed 6 years ago

sjackman commented 6 years ago

Fix Error: No such file or directory - zipinfo

sjackman commented 6 years ago

Although I see Error: No such file or directory - zipinfo with 468d869022ebe725d7b7745adfa872db3e6c16c9 (tag: 1.7.1), I do not see this error with ebd8333e63d844b7772eac83f28e3a18f3fb3b62.

sjackman commented 6 years ago

@reitermarkus Is UnpackStrategy.dependencies used by brew install?

brew postinstall pypy fails on Linuxbrew when unzip is not available, because it attempts to download and unpack a zip file. Any thoughts on how to fix it?

reitermarkus commented 6 years ago

Is UnpackStrategy.dependencies used by brew install?

I don't think so. brew install only infers dependencies from the extension and from the download strategy, but not the unpack strategy.

reitermarkus commented 6 years ago

To fix brew postinstall pypy, you would have to install dependencies on-demand somewhere between downloading and unpacking.

sjackman commented 6 years ago

Thanks for the info, Markus. I'm closing out this PR for now, unresolved.