Shopify / homebrew-shopify

47 stars 24 forks source link

Ejson fails to build #478

Open aashna-shopify opened 1 year ago

aashna-shopify commented 1 year ago
==> Installing shopify/shopify/ejson
tar --extract --no-same-owner --file /home/spin/.cache/Homebrew/downloads/69bb7896425090aecf240f340aefff28d5c59e4b8c576aaa6c5d9cd2f6b609cc--ejson-1.3.1.tar.gz --directory /tmp/d20230116-17638-vun70b
cp -pR /tmp/d20230116-17638-vun70b/ejson-1.3.1/. /tmp/ejson-20230116-17638-1msbz6c/ejson-1.3.1
chmod -Rf +w /tmp/d20230116-17638-vun70b
==> gem install bundler
Failed to execute: gem

==> Formula
Tap: shopify/shopify
Path: /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/shopify/homebrew-shopify/ejson.rb
==> Configuration
HOMEBREW_VERSION: 3.6.19
ORIGIN: https://github.com/Homebrew/brew
HEAD: 3e257890da96b4cc44f5933e3a54aee2b47549de
Last commit: 3 days ago
Branch: stable
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: a77f9af53219c4535c9d58cb76f9c004b023cb34
Core tap last commit: 31 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew
HOMEBREW_BROWSER: /home/spin/.vscode-server/bin/97dec172d3256f8ca4bfb2143f3f76b503ca0534/bin/helpers/browser.sh
HOMEBREW_CASK_OPTS: []
HOMEBREW_EDITOR: code -w
HOMEBREW_MAKE_JOBS: 32
Homebrew Ruby: 2.6.8 => /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.8_1/bin/ruby
CPU: 32-core 64-bit skylake
Clang: N/A
Git: 2.32.0 => /bin/git
Curl: 7.74.0 => /bin/curl
Kernel: Linux 5.10.68+ x86_64 GNU/Linux
OS: Ubuntu 21.10 (impish)
Host glibc: 2.34
/usr/bin/gcc: 11.2.0
/usr/bin/ruby: 3.1.3
glibc: 2.35_1
gcc@11: N/A
gcc: 12.2.0
xorg: N/A
==> ENV
HOMEBREW_CC: gcc-11
HOMEBREW_CXX: g++-11
MAKEFLAGS: -j32
CMAKE_PREFIX_PATH: /home/linuxbrew/.linuxbrew/opt/glibc:/home/linuxbrew/.linuxbrew/opt/binutils:/home/linuxbrew/.linuxbrew
PKG_CONFIG_PATH: /home/linuxbrew/.linuxbrew/opt/gmp/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/isl/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/mpfr/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/lz4/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/xz/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/zlib/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/zstd/lib/pkgconfig
HOMEBREW_GIT: git
PATH: /tmp/ejson-20230116-17638-1msbz6c/ejson-1.3.1/.gem/bin:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super:/home/linuxbrew/.linuxbrew/opt/go/bin:/home/linuxbrew/.linuxbrew/opt/glibc/bin:/home/linuxbrew/.linuxbrew/opt/lz4/bin:/home/linuxbrew/.linuxbrew/opt/xz/bin:/home/linuxbrew/.linuxbrew/opt/zstd/bin:/home/linuxbrew/.linuxbrew/opt/binutils/bin:/home/linuxbrew/.linuxbrew/opt/gcc/bin:/usr/bin:/bin:/usr/sbin:/sbin

Error: shopify/shopify/ejson 1.3.1 did not build
Logs:
     /home/spin/.cache/Homebrew/Logs/ejson/01.gem
     /home/spin/.cache/Homebrew/Logs/ejson/00.options.out
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
  https://github.com/shopify/homebrew-shopify/issues
freddy-gt commented 1 year ago

Having the same problem using WSL on Ubuntu 18 and Debian, this is the log on debian:

HOMEBREW_VERSION: 4.1.7
ORIGIN: https://github.com/Homebrew/brew
HEAD: d4444b563e24ac7c05a93121c464c02dfa04d44f
Last commit: 5 days ago
Core tap JSON: 01 Sep 12:40 UTC
HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 8
HOMEBREW_NO_BOOTSNAP: set
Homebrew Ruby: 2.6.10 => /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.10_1/bin/ruby
CPU: octa-core 64-bit unknown_0x6_0x8c
Clang: N/A
Git: 2.39.2 => /bin/git
Curl: 7.88.1 => /bin/curl
Kernel: Linux 5.10.16.3-microsoft-standard-WSL2 x86_64 GNU/Linux
OS: Debian GNU/Linux 12 (bookworm)
WSL: 2
Host glibc: 2.36
/usr/bin/gcc: 12.2.0
/usr/bin/ruby: N/A
glibc: N/A
gcc@11: N/A
gcc: N/A
xorg: N/A

HOMEBREW_CC: gcc-12
HOMEBREW_CXX: g++-12
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /home/linuxbrew/.linuxbrew
HOMEBREW_GIT: git
PATH: /tmp/ejson-20230901-7940-1mf10gm/ejson-1.3.1/.gem/bin:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super:/home/linuxbrew/.linuxbrew/opt/go/bin:/usr/bin:/bin:/usr/sbin:/sbin