joedrago / homebrew-repo

Homebrew Tap
4 stars 2 forks source link

brew on linux not working #2

Open rubo77 opened 3 years ago

rubo77 commented 3 years ago

I use homebrew on Ubuntu 20.04 and when I call this it seems to install everything, but there is no resulting avifenc file:

$ brew install joedrago/repo/avifenc
==> Tapping joedrago/repo
Cloning into '/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/joedrago/homebrew-repo'...
remote: Enumerating objects: 128, done.
remote: Counting objects: 100% (128/128), done.
remote: Compressing objects: 100% (58/58), done.
remote: Total 380 (delta 30), reused 123 (delta 26), pack-reused 252
Receiving objects: 100% (380/380), 5.18 MiB | 6.72 MiB/s, done.
Resolving deltas: 100% (89/89), done.
Tapped 2 formulae (27 files, 5.3MB).
==> Installing avifenc from joedrago/repo
==> Downloading https://linuxbrew.bintray.com/bottles/cmake-3.19.3.x86_64_linux.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/73/73d189e43725438aed58e128cdced62f774ee6be090fc317f84bf35a409bb236?__gda__=exp=1611159156~hmac=85d5528a4a2c6d07e14312f4f7cb446b4086ee0ac04f6916a657681ba30
######################################################################## 100.0%
==> Downloading https://linuxbrew.bintray.com/bottles/nasm-2.15.05.x86_64_linux.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/bf/bfd091ef1aa30c790ac638c699623e0b3c86d8697c7b8c0bb7f162687de9c7b6?__gda__=exp=1611159158~hmac=7d1ae7113da0aa5936c5c8eee82c03dbbb8ff8d8d6e9f2691264f6a3598
######################################################################## 100.0%
==> Downloading https://linuxbrew.bintray.com/bottles/ninja-1.10.2.x86_64_linux.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/8a/8a5296af21a3f9361330c6f8d69b5076b463da33f137dac05b44ad98d5568083?__gda__=exp=1611159160~hmac=f40da3fce356e8cea88f9c8733ab891ee67295ea44c33fe08ba4cc09cdb
######################################################################## 100.0%
==> Downloading https://github.com/AOMediaCodec/libavif/archive/v0.8.4.tar.gz
==> Downloading from https://codeload.github.com/AOMediaCodec/libavif/tar.gz/v0.8.4
 # #=O#-  #                                                                   
==> Installing dependencies for joedrago/repo/avifenc: cmake, nasm and ninja
==> Installing joedrago/repo/avifenc dependency: cmake
==> Pouring cmake-3.19.3.x86_64_linux.bottle.tar.gz
==> Caveats
Emacs Lisp files have been installed to:
  /home/linuxbrew/.linuxbrew/share/emacs/site-lisp/cmake
==> Summary
🍺  /home/linuxbrew/.linuxbrew/Cellar/cmake/3.19.3: 6,379 files, 68.5MB
==> Installing joedrago/repo/avifenc dependency: nasm
==> Pouring nasm-2.15.05.x86_64_linux.bottle.tar.gz
🍺  /home/linuxbrew/.linuxbrew/Cellar/nasm/2.15.05: 29 files, 2.6MB
==> Installing joedrago/repo/avifenc dependency: ninja
==> Pouring ninja-1.10.2.x86_64_linux.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
  /home/linuxbrew/.linuxbrew/etc/bash_completion.d
==> Summary
🍺  /home/linuxbrew/.linuxbrew/Cellar/ninja/1.10.2: 7 files, 4MB
==> Installing joedrago/repo/avifenc
==> zsh aom.cmd

my ~/.cache/Homebrew/Logs/avifenc/01.zsh:

2021-01-20 17:00:57 +0100

zsh
aom.cmd

HOMEBREW_VERSION: 2.7.5
ORIGIN: https://github.com/Homebrew/brew
HEAD: bca4804a9e48de5319383d3eddadaa7f054c77da
Last commit: 5 days ago
Core tap ORIGIN: https://github.com/Homebrew/linuxbrew-core
Core tap HEAD: 3cf2924a870a4c7a4b8669b09e40d8678a169c6d
Core tap last commit: 9 hours ago
Core tap branch: master
HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: :1
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.3 => /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/bin/ruby
CPU: octa-core 64-bit skylake
Clang: N/A
Git: 2.25.1 => /bin/git
Curl: 7.68.0 => /usr/bin/curl
Kernel: Linux 5.4.0-62-generic x86_64 GNU/Linux
OS: Ubuntu 20.04.1 LTS (focal)
Host glibc: 2.31
/usr/bin/gcc: 9.3.0
/usr/bin/ruby: 2.7.0
glibc: N/A
gcc: 5.5.0_7
xorg: N/A

HOMEBREW_CC: gcc-5
HOMEBREW_CXX: g++-5
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /home/linuxbrew/.linuxbrew
HOMEBREW_GIT: git
ACLOCAL_PATH: /home/linuxbrew/.linuxbrew/share/aclocal
PATH: /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super:/home/linuxbrew/.linuxbrew/opt/cmake/bin:/home/linuxbrew/.linuxbrew/opt/nasm/bin:/home/linuxbrew/.linuxbrew/opt/ninja/bin:/home/linuxbrew/.linuxbrew/opt/binutils/bin:/home/linuxbrew/.linuxbrew/opt/make/bin:/usr/bin:/bin:/usr/sbin:/sbin:/home/linuxbrew/.linuxbrew/opt/gcc/bin
rubo77 commented 3 years ago

Could it be, that I need zsh to be installed before calling the brew command?

rubo77 commented 3 years ago

please add to your instructions on https://joedrago.github.io/colorist/ that you need zsh to be installed first

joedrago commented 3 years ago

I didn't realize Homebrew worked on Linux. We could always just change the script to use $SHELL or something.