I have some Docker containers I build and noticed that somewhere between Homebrew 2.2.11 and 2.2.14 my tests (brew tests) broke.
The following error shows. I get the same result when I build those same docker images locally and tried searching the internet, but couldn’t find similar issues. I have also already installed the dependencies for brew and the tests (see sources here) and the system is ready to brew according to
Does anyone have any idea what is going on here and how I can track this issue down further? I’ve checked the change-log between 2.2.11 and 2.2.14 and saw a bunch of changes regarding ENV and PATH, but honestly have no clue to point it down.
1) Stdenv supports switching compilers Failure/Error: subject.clang FrozenError: can't modify frozen Hash Shared Example Group: EnvActivation called from ./test/ENV_spec.rb:175 # ./extend/ENV/std.rb:118:in `clang' # ./test/ENV_spec.rb:11:in `block (2 levels) in <top (required)>' # ./test/spec_helper.rb:185:in `block (2 levels) in <top (required)>' # ./vendor/bundle/ruby/2.6.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run' # ./vendor/bundle/ruby/2.6.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop' # ./vendor/bundle/ruby/2.6.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run' # ./vendor/bundle/ruby/2.6.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry' # ./vendor/bundle/ruby/2.6.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup' # ./vendor/bundle/ruby/2.6.0/gems/rspec-wait-0.0.9/lib/rspec/wait.rb:46:in `block (2 levels) in <top (required)>'
+ brew --env export CC="gcc" export CXX="g\+\+" export OBJC="gcc" export OBJCXX="g\+\+" export HOMEBREW_CC="gcc" export HOMEBREW_CXX="g\+\+" export MAKEFLAGS="-j2" export CMAKE_PREFIX_PATH="/home/linuxbrew/.linuxbrew" export HOMEBREW_GIT="git" export PATH="/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super:/usr/bin:/bin:/usr/sbin:/sbin" HOMEBREW_VERSION: 2.2.14 ORIGIN: https://github.com/Homebrew/brew HEAD: e2bc0fa6879ce4c74ea2d8f8c654c9812f776b43 Last commit: 3 days ago Core tap ORIGIN: https://github.com/Homebrew/linuxbrew-core Core tap HEAD: d5a54e142851a928491b98359e5fd06bff40176e Core tap last commit: 14 hours ago HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew HOMEBREW_MAKE_JOBS: 2 CPU: dual-core 64-bit skylake Homebrew Ruby: 2.6.3 => /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/bin/ruby Clang: N/A Git: 2.7.4 => /usr/bin/git Curl: 7.47.0 => /usr/bin/curl Kernel: Linux 5.0.0-1035-azure x86_64 GNU/Linux OS: Unknown Host glibc: 2.23 /usr/bin/gcc: 5.4.0 glibc: N/A gcc: N/A xorg: N/A + brew doctor Your system is ready to brew.