Closed jinnko closed 4 years ago
Confirmed, I can reproduce. I've only ever used this tap on macOS. I've tried, but I'm sorry: I'm now explicitly not supporting using this formula on Linux.
While sieve-connect is packaged for Debian/Ubuntu/various-others, on Ubuntu at least the package is old and doesn't have fixes for some regular expressions which Perl started (rightly) complaining about. You might need to apt-get build-dep sieve-connect
and then manually install the package, or open tickets with the OS vendor to get them to update.
The docs in Linuxbrew.md state:
Linuxbrew does not use any libraries provided by your host system
It seems that Linuxbrew is deliberately masking out parts of the system tree? The complaint about EXTERN.h
happens despite /usr/lib/x86_64-linux-gnu/perl/5.28/CORE/EXTERN.h
existing, and that compilation step working if I use brew --debug
and invoke it manually.
I get past that by depending upon a Brew-owned Perl. And apt install libz-dev
, but then the libmodule-build-perl
package is unused and the build breaks there. Suddenly I need to manually specify Module::Build
as a dependency with URLs and checksums within my Formula? So I'm then responsible for auditing changes to core language support libraries?
Life is too short to be forced into taking on responsibility for auditing every part of the interpreter stack's core system libraries, with each update, to ship one CLI tool.
Fails to build on Ubuntu 18.04 with an up-to-date homebrew installation.
Before reaching this point I had to install a system package due to
Can't locate Module/Build.pm in @INC
. On Ubuntulibmodule-build-perl
was the necessary package.Readline fails to build in homebrew, hence the
--without-readline
in the following.Not sure where
EXTERN.h
should come from to satisfy SSLeay.