Linuxbrew / brew

:beer::penguin: The Homebrew package manager for Linux
https://linuxbrew.sh
BSD 2-Clause "Simplified" License
2.66k stars 237 forks source link

Trying to upgrade rust results in a crash #883

Closed thedrow closed 6 years ago

thedrow commented 6 years ago

Please fill out the issue checklist below and provide all the requested information.

brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.

Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:
  /home/omer/.pyenv/shims/python3-config
  /home/omer/.pyenv/shims/python3.7m-config
  /home/omer/.pyenv/shims/python3.7-config
  /home/omer/.pyenv/shims/python-config
HOMEBREW_VERSION: 1.8.1
ORIGIN: https://github.com/Linuxbrew/brew
HEAD: 4c4ed05a7d5755ed8c7e9f974959276216c5cb26
Last commit: 16 hours ago
Core tap ORIGIN: https://github.com/Linuxbrew/homebrew-core
Core tap HEAD: d5d3078fe2f492c8de697c43e5e3ad9d13db9ecb
Core tap last commit: 16 hours ago
HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew
HOMEBREW_CACHE: /home/omer/.cache/Homebrew
HOMEBREW_DEV_CMD_RUN: 1
CPU: octa-core 64-bit skylake
Homebrew Ruby: 2.5.1 => /usr/bin/ruby2.5
Clang: N/A
Git: 2.19.1 => /home/linuxbrew/.linuxbrew/bin/git
Curl: 7.58.0 => /usr/bin/curl
Kernel: Linux 4.15.0-38-generic x86_64 GNU/Linux
OS: Ubuntu 18.04.1 LTS (bionic)
Host glibc: 2.27
/usr/bin/gcc: 7.3.0
glibc: N/A
gcc: 5.5.0_4
xorg: N/A

To help us debug your issue please explain:

==> Upgrading 1 outdated package: rust 1.30.0 -> 1.30.1 ==> Upgrading rust ==> Downloading https://static.rust-lang.org/dist/rustc-1.30.1-src.tar.gz ######################################################################## 100.0% ==> ./configure --prefix=/home/linuxbrew/.linuxbrew/Cellar/rust/1.30.1 --release ==> make ==> make install ==> Downloading https://static.rust-lang.org/dist/2018-10-12/cargo-0.30.0-x86_64 Already downloaded: /home/omer/.cache/Homebrew/downloads/24083ea93fbc9f3d294c3969a45d313836941c621f49000455a0caf965e2d793--cargo-0.30.0-x86_64-unknown-linux-gnu.tar.gz ==> ./install.sh --prefix=/tmp/rust-20181112-12016-tip4g2/rustc-1.30.1-src/cargo ==> Cloning https://github.com/rust-lang/cargo.git Updating /home/omer/.cache/Homebrew/rust--cargo--git From https://github.com/rust-lang/cargo

thedrow commented 6 years ago

I have seen this error multiple times. I'm not sure where it occurs exactly.

iMichka commented 6 years ago

I am not able to build it too. Let’s continue the discussion at https://github.com/Linuxbrew/homebrew-core/pull/10284