libarchive formula omits LZMA support #28478
Comments
At a guess, it's just because it would a) add an extra dependency, b) it hasn't been requested yet. We could add an option! I tried removing the flag, and it didn't build with lzma anyway since liblzma wasn't available:
|
It looks like we provide lzma via the xz formula, but it doesn't include the lzmadec.h header or a liblzmadec. |
It does:
On the contrary, I would assume that we wouldn't arbitrarily pare-down the Either way, can't we just add the xz formula as a dependency? I've had to On Thu, Apr 17, 2014 at 2:06 PM, Misty De Meo notifications@github.comwrote:
|
Ignore that last comment. |
Missed the part later in the configure script where it looks for them - yep, does seem to find them via xz. |
|
Would LZMA access cause an unresolvable binding if xz isn't installed? On Thu, Apr 17, 2014 at 2:21 PM, Misty De Meo notifications@github.comwrote:
|
xz would be a dependency, so you'd need to installed to build libarchive with lzma, and if you removed xz then libarchive wouldn't work. (Same as any other dependency.) |
I'm not familiar with the Homebrew formula declarative. There's no way to On Thu, Apr 17, 2014 at 2:41 PM, Misty De Meo notifications@github.comwrote:
|
Homebrew doesn't opportunistically pick up dependencies; it's on if requested, and off otherwise. (Since Homebrew also isolates the build environment, it means xz will not be visible if not requested, even if installed.) |
Okay. Can you go ahead and make the update? On Thu, Apr 17, 2014 at 2:58 PM, Misty De Meo notifications@github.comwrote:
|
Is there a reason for the "--without-lzma" switch (like a lack of library support under Mac)? I need LZMA (7-Zip).
The text was updated successfully, but these errors were encountered: