{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/linuxbrew/issues/530","labels_url":"https://api.github.com/repos/Homebrew/linuxbrew/issues/530/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/linuxbrew/issues/530/comments","events_url":"https://api.github.com/repos/Homebrew/linuxbrew/issues/530/events","html_url":"https://github.com/Homebrew/linuxbrew/issues/530","id":104359394,"number":530,"title":"linuxbrew standalone installation failing","user":{"login":"ahundt","id":55744,"avatar_url":"https://avatars.githubusercontent.com/u/55744?v=3","gravatar_id":"","url":"https://api.github.com/users/ahundt","html_url":"https://github.com/ahundt","followers_url":"https://api.github.com/users/ahundt/followers","following_url":"https://api.github.com/users/ahundt/following{/other_user}","gists_url":"https://api.github.com/users/ahundt/gists{/gist_id}","starred_url":"https://api.github.com/users/ahundt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahundt/subscriptions","organizations_url":"https://api.github.com/users/ahundt/orgs","repos_url":"https://api.github.com/users/ahundt/repos","events_url":"https://api.github.com/users/ahundt/events{/privacy}","received_events_url":"https://api.github.com/users/ahundt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Homebrew/linuxbrew/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"sjackman","id":291551,"avatar_url":"https://avatars.githubusercontent.com/u/291551?v=3","gravatar_id":"","url":"https://api.github.com/users/sjackman","html_url":"https://github.com/sjackman","followers_url":"https://api.github.com/users/sjackman/followers","following_url":"https://api.github.com/users/sjackman/following{/other_user}","gists_url":"https://api.github.com/users/sjackman/gists{/gist_id}","starred_url":"https://api.github.com/users/sjackman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjackman/subscriptions","organizations_url":"https://api.github.com/users/sjackman/orgs","repos_url":"https://api.github.com/users/sjackman/repos","events_url":"https://api.github.com/users/sjackman/events{/privacy}","received_events_url":"https://api.github.com/users/sjackman/received_events","type":"User","site_admin":false},"milestone":null,"comments":37,"created_at":"2015-09-01T21:34:51Z","updated_at":"2015-10-14T19:52:26Z","closed_at":null,"body":"I ran the tl;dr standalone installation as follows on an ubuntu 12.04 installation.\r\n\r\n```bash\r\ntouch linuxbrewsetup.sh\r\nchmod +x linuxbrewsetup.sh\r\ngedit linuxbrewsetup.sh\r\n# paste text in standalone installation instructions, close gedit\r\n./linuxbrewsetup.sh\r\n# press return when requested\r\n```\r\n\r\nThis resulted in the following error:\r\n\r\n```\r\n==> Reinstalling binutils\r\n==> Downloading http://ftpmirror.gnu.org/binutils/binutils-2.25.1.t\r\nAlready downloaded: /home/ahundt/.cache/Homebrew/binutils-2.25.1.tar.gz\r\n==> ./configure  --with-sysroot=/ --prefix=/home/ahundt/.linuxbrew/\r\n==> make\r\n==> make install\r\n/home/ahundt/.linuxbrew/Cellar/binutils/2.25.1: 3031 files, 195M, built in 6.2 minutes\r\nError: No such keg: /home/ahundt/.linuxbrew/Cellar/glibc\r\n```\r\n\r\npresumably this error occurred right after the `brew reinstall binutils` line of the installation script.\r\n\r\n\r\n\r\nThere were also a number of additional follow-on errors:\r\n\r\n```\r\n./linuxbrewsetup.sh\r\n==> This script will install:\r\n/home/ahundt/.linuxbrew/bin/brew\r\n/home/ahundt/.linuxbrew/Library/...\r\n/home/ahundt/.linuxbrew/share/man/man1/brew.1\r\n\r\nPress RETURN to continue or any other key to abort\r\n==> Downloading and installing Homebrew...\r\n==> Installation successful!\r\n==> Next steps\r\nInstall the Linuxbrew dependencies:\r\n\r\nDebian, Ubuntu, etc.:\r\n  `sudo apt-get install build-essential`\r\n\r\nFedora, Red Hat, CentOS, etc.:\r\n  `sudo yum groupinstall 'Development Tools'`\r\n\r\nSee http://brew.sh/linuxbrew/#dependencies for more information.\r\n\r\nRun `brew doctor` before you install anything\r\nRun `brew help` to get started\r\nPlease note that these warnings are just used to help the Homebrew maintainers\r\nwith debugging if you file an issue. If everything you use Homebrew for is\r\nworking fine: please don't worry and just ignore them. Thanks!\r\n\r\nWarning: An outdated version of Git was detected in your PATH.\r\nGit 1.7.10 or newer is required to perform checkouts over HTTPS from GitHub.\r\nPlease upgrade: brew install git\r\n==> Installing dependencies for glibc: binutils, linux-heade\r\n==> Installing glibc dependency: binutils\r\n==> Downloading http://ftpmirror.gnu.org/binutils/binutils-2.25.1.t\r\n==> Downloading from http://gnu.mirror.iweb.com/binutils/binutils-2\r\n                               \r\n##### 100.0%\r\n==> ./configure  --with-sysroot=/ --prefix=/home/ahundt/.linuxbrew/\r\n==> make\r\n==> make install\r\n/home/ahundt/.linuxbrew/Cellar/binutils/2.25.1: 3031 files, 195M, built in 7.4 minutes\r\n==> Installing glibc dependency: linux-headers\r\n==> Downloading https://linuxbrew.bintray.com/bottles/linux-headers\r\n                                                                                                                                                   \r\n################################################################## 100.0%\r\n==> Pouring linux-headers-3.15.9.x86_64_linux.bottle.tar.gz\r\n/home/ahundt/.linuxbrew/Cellar/linux-headers/3.15.9: 731 files, 5.3M\r\n==> Installing glibc\r\n==> Downloading http://ftpmirror.gnu.org/glibc/glibc-2.19.tar.bz2\r\n==> Downloading from http://gnu.mirror.vexxhost.com/glibc/glibc-2.1\r\n                                                                                                                                                                                                                                                                                                              \r\n ################################ 100.0%\r\n==> ../configure --disable-debug --disable-dependency-tracking --di\r\nchecking for gawk... no\r\nchecking for nm... nm\r\nconfigure: error: \r\n*** These critical programs are missing or too old: gawk\r\n*** Check the INSTALL file for required versions.\r\n\r\nREAD THIS: https://github.com/Homebrew/linuxbrew/blob/master/share/doc/homebrew/Troubleshooting.md#troubleshooting\r\n\r\nError: No such keg: /home/ahundt/.linuxbrew/Cellar/glibc\r\n############################################################################################################################################################################################################## 100.0%\r\n==> Downloading http://zlib.net/zlib-1.2.8.tar.gz\r\n                                        ################################################################################# 100.0%\r\n==> Patching\r\npatching file configure\r\n==> ./configure --prefix=/home/ahundt/.linuxbrew/Cellar/zlib/1.2.8\r\n==> make install\r\n/home/ahundt/.linuxbrew/Cellar/zlib/1.2.8: 9 files, 412K, built in 5 seconds\r\n==> Reinstalling binutils\r\n==> Downloading http://ftpmirror.gnu.org/binutils/binutils-2.25.1.t\r\nAlready downloaded: /home/ahundt/.cache/Homebrew/binutils-2.25.1.tar.gz\r\n==> ./configure  --with-sysroot=/ --prefix=/home/ahundt/.linuxbrew/\r\n==> make\r\n==> make install\r\n/home/ahundt/.linuxbrew/Cellar/binutils/2.25.1: 3031 files, 195M, built in 6.2 minutes\r\nError: No such keg: /home/ahundt/.linuxbrew/Cellar/glibc\r\n==> Downloading http://nixos.org/releases/patchelf/patchelf-0.8/pat\r\n####                                                               ######                                                             ########                                                           #########                                                          ############                                                       ############                                                       ###############                                                    ################                                                   ###################                                                ####################                                               ######################                                             ##########################                                         ##########################                                         ###########################                                        #############################                                      ##############################                                     ################################                                   #################################                                  ##################################                                 ###################################                                #####################################                              #######################################                            #######################################                            ########################################                           ##########################################                         ###########################################                        ############################################                       #############################################                      ###############################################                    #################################################                  ##################################################                 ####################################################               ######################################################             #########################################################          ############################################################       #############################################################      ################################################################   ################################################################## ########################################################################################################################################################################################################################################################################################################################################################################################################################################################################################## 100.0%\r\n==> ./configure --prefix=/home/ahundt/.linuxbrew/Cellar/patchelf/0.\r\n==> make install\r\n/home/ahundt/.linuxbrew/Cellar/patchelf/0.8: 6 files, 464K, built in 7 seconds\r\n==> Installing dependencies for gcc: glibc, gmp, mpfr, libmpc, isl\r\n==> Installing gcc dependency: glibc\r\n==> Downloading http://ftpmirror.gnu.org/glibc/glibc-2.19.tar.bz2\r\nAlready downloaded: /home/ahundt/.cache/Homebrew/glibc-2.19.tar.bz2\r\n==> Verifying glibc-2.19.tar.bz2 checksum\r\ntar xf /home/ahundt/.cache/Homebrew/glibc-2.19.tar.bz2\r\n==> ../configure --disable-debug --disable-dependency-tracking --disable-silent-rules --prefix=/home/ahundt/.linuxbrew/Cellar/glibc/2.19 --without-selinux --with-binutils=/home/ahundt/.linuxbrew/Cellar/binutils/2.25.1/bin --with-headers=/home/ahundt/.linuxbrew/Cellar/linux-headers/3.15.9/include\r\nchecking build system type... x86_64-unknown-linux-gnu\r\nchecking host system type... x86_64-unknown-linux-gnu\r\nchecking for gcc... /usr/bin/gcc-4.6\r\nchecking for suffix of object files... o\r\nchecking whether we are using the GNU C compiler... yes\r\nchecking whether /usr/bin/gcc-4.6 accepts -g... yes\r\nchecking whether we are using the GNU C++ compiler... yes\r\nchecking whether /usr/bin/g++-4.6 accepts -g... yes\r\nchecking for readelf... readelf\r\nchecking for sysdeps preconfigure fragments... powerpc x86_64 checking whether /usr/bin/gcc-4.6 compiles in -mx32 mode by default... no\r\n\r\nconfigure: running configure fragment for add-on libidn\r\nconfigure: running configure fragment for add-on nptl\r\nchecking add-on ports for preconfigure fragments... aarch64 alpha am33 arm hppa ia64 m68k microblaze mips tile \r\nchecking for assembler and linker STT_GNU_IFUNC support... yes\r\nchecking whether .text pseudo-op must be used... yes\r\nchecking sysdep dirs... sysdeps/unix/sysv/linux/x86_64/64/nptl sysdeps/unix/sysv/linux/x86_64/64 nptl/sysdeps/unix/sysv/linux/x86_64 nptl/sysdeps/unix/sysv/linux/x86 sysdeps/unix/sysv/linux/x86 sysdeps/unix/sysv/linux/x86_64 sysdeps/unix/sysv/linux/wordsize-64 nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread ports/sysdeps/unix/sysv/linux sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/inet nptl/sysdeps/unix/sysv ports/sysdeps/unix/sysv sysdeps/unix/sysv sysdeps/unix/x86_64 nptl/sysdeps/unix ports/sysdeps/unix sysdeps/unix sysdeps/posix nptl/sysdeps/x86_64/64 sysdeps/x86_64/64 sysdeps/x86_64/fpu/multiarch sysdeps/x86_64/fpu sysdeps/x86/fpu sysdeps/x86_64/multiarch nptl/sysdeps/x86_64 sysdeps/x86_64 sysdeps/x86 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64/wordsize-64 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/wordsize-64 sysdeps/ieee754 sysdeps/generic\r\nconfigure: WARNING: add-on ports contributed no useful sysdeps directories\r\nchecking for a BSD-compatible install... /usr/bin/install -c\r\nchecking whether ln -s works... yes\r\nchecking whether /home/ahundt/.linuxbrew/Cellar/binutils/2.25.1/bin/as is GNU as... yes\r\nchecking whether /home/ahundt/.linuxbrew/Cellar/binutils/2.25.1/bin/ld is GNU ld... yes\r\nchecking for /home/ahundt/.linuxbrew/Cellar/binutils/2.25.1/bin/as... /home/ahundt/.linuxbrew/Cellar/binutils/2.25.1/bin/as\r\nchecking version of /home/ahundt/.linuxbrew/Cellar/binutils/2.25.1/bin/as... 2.25.1, ok\r\nchecking for /home/ahundt/.linuxbrew/Cellar/binutils/2.25.1/bin/ld... /home/ahundt/.linuxbrew/Cellar/binutils/2.25.1/bin/ld\r\nchecking version of /home/ahundt/.linuxbrew/Cellar/binutils/2.25.1/bin/ld... 2.25.1, ok\r\nchecking for gcc... /usr/bin/gcc-4.6 -B/home/ahundt/.linuxbrew/Cellar/binutils/2.25.1/bin/\r\nchecking version of /usr/bin/gcc-4.6 -B/home/ahundt/.linuxbrew/Cellar/binutils/2.25.1/bin/... 4.6.3, ok\r\nchecking for gnumake... no\r\nchecking for gmake... no\r\nchecking for make... make\r\nchecking version of make... 3.81, ok\r\nchecking for gnumsgfmt... no\r\nchecking for gmsgfmt... no\r\nchecking for msgfmt... msgfmt\r\nchecking version of msgfmt... 0.18.1, ok\r\nchecking for makeinfo... no\r\nchecking for sed... sed\r\nchecking version of sed... 4.2.1, ok\r\nchecking for gawk... no\r\nchecking for nm... nm\r\nconfigure: error: \r\n*** These critical programs are missing or too old: gawk\r\n*** Check the INSTALL file for required versions.\r\n==> Formula\r\nPath: /home/ahundt/.linuxbrew/Library/Formula/glibc.rb\r\n==> Configuration\r\nHOMEBREW_VERSION: 0.9.5\r\nORIGIN: (none)\r\nHEAD: (none)\r\nLast commit: never\r\nHOMEBREW_PREFIX: /home/ahundt/.linuxbrew\r\nHOMEBREW_CELLAR: /home/ahundt/.linuxbrew/Cellar\r\nHOMEBREW_BOTTLE_DOMAIN: https://linuxbrew.bintray.com\r\nCPU: single-core 64-bit 6\r\nOS X: 0-x86_64\r\nXcode: N/A\r\nCLT: N/A\r\nClang: N/A\r\nX11: N/A\r\nSystem Ruby: 1.8.7-p352 => /usr/bin/ruby1.8\r\nPerl: /usr/bin/perl\r\nPython: /usr/bin/python => /usr/bin/python2.7\r\nRuby: /usr/bin/ruby => /usr/bin/ruby1.8\r\nJava: N/A\r\n==> ENV\r\nCC: /usr/bin/gcc-4.6\r\nCXX: /usr/bin/g++-4.6\r\nOBJC: /usr/bin/gcc-4.6\r\nOBJCXX: /usr/bin/g++-4.6\r\nCFLAGS: -Os -w -pipe -march=core2\r\nCXXFLAGS: -Os -w -pipe -march=core2\r\nCPPFLAGS: -isystem/home/ahundt/.linuxbrew/include\r\nLDFLAGS: -L/home/ahundt/.linuxbrew/lib\r\nMAKEFLAGS: -j1\r\nCMAKE_PREFIX_PATH: /home/ahundt/.linuxbrew\r\nPKG_CONFIG_LIBDIR: /home/ahundt/.linuxbrew/lib/pkgconfig\r\nPATH: /home/ahundt/.linuxbrew/bin:/usr/local/bin:/usr/bin:/bin:/home/ahundt/.linuxbrew/Library/ENV/scm\r\n\r\nError: glibc 2.19 did not build\r\nLogs:\r\n     /home/ahundt/.cache/Homebrew/Logs/glibc/01.configure\r\n\r\nError: No such keg: /home/ahundt/.linuxbrew/Cellar/gcc\r\nError: Homebrew GCC requested, but formula gcc49 not found!\r\nYou may need to: brew tap homebrew/versions\r\n==> Tapping homebrew/dupes\r\nCloning into '/home/ahundt/.linuxbrew/Library/Taps/homebrew/homebrew-dupes'...\r\nremote: Counting objects: 40, done.\r\nremote: Compressing objects: 100% (40/40), done.\r\nremote: Total 40 (delta 0), reused 28 (delta 0), pack-reused 0\r\nUnpacking objects: 100% (40/40), done.\r\nTapped 37 formulae (97 files, 608K)\r\n==> Installing coreutils dependency: xz\r\nError: Homebrew GCC requested, but formula gcc49 not found!\r\nYou may need to: brew tap homebrew/versions\r\n==> Installing dependencies for ruby: pkg-config, homebrew/d\r\n==> Installing ruby dependency: pkg-config\r\nError: Homebrew GCC requested, but formula gcc49 not found!\r\nYou may need to: brew tap homebrew/versions\r\n/home/ahundt/.linuxbrew/bin/brew: 10: /home/ahundt/.linuxbrew/bin/brew: readlink: not found\r\n/home/ahundt/.linuxbrew/bin/brew: 25: /home/ahundt/.linuxbrew/bin/brew: tr: not found\r\n/home/ahundt/.linuxbrew/bin/brew: 25: /home/ahundt/.linuxbrew/bin/brew: uname: not found\r\n/home/ahundt/.linuxbrew/bin/brew: 30: exec: ruby: not found\r\n/home/ahundt/.linuxbrew/bin/brew: 10: /home/ahundt/.linuxbrew/bin/brew: readlink: not found\r\n/home/ahundt/.linuxbrew/bin/brew: 25: /home/ahundt/.linuxbrew/bin/brew: tr: not found\r\n/home/ahundt/.linuxbrew/bin/brew: 25: /home/ahundt/.linuxbrew/bin/brew: uname: not found\r\n/home/ahundt/.linuxbrew/bin/brew: 30: exec: ruby: not found\r\n\r\n```\r\n\r\nmy exact ubuntu version is:\r\n\r\n```\r\nahundt@ahundt-virtual-machine:~$ lsb_release -a\r\nNo LSB modules are available.\r\nDistributor ID:\tUbuntu\r\nDescription:\tUbuntu 12.04.5 LTS\r\nRelease:\t12.04\r\nCodename:\tprecise\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/Homebrew/linuxbrew/issues/comments/148177000","html_url":"https://github.com/Homebrew/linuxbrew/issues/530#issuecomment-148177000","issue_url":"https://api.github.com/repos/Homebrew/linuxbrew/issues/530","id":148177000,"user":{"login":"sjackman","id":291551,"avatar_url":"https://avatars.githubusercontent.com/u/291551?v=3","gravatar_id":"","url":"https://api.github.com/users/sjackman","html_url":"https://github.com/sjackman","followers_url":"https://api.github.com/users/sjackman/followers","following_url":"https://api.github.com/users/sjackman/following{/other_user}","gists_url":"https://api.github.com/users/sjackman/gists{/gist_id}","starred_url":"https://api.github.com/users/sjackman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjackman/subscriptions","organizations_url":"https://api.github.com/users/sjackman/orgs","repos_url":"https://api.github.com/users/sjackman/repos","events_url":"https://api.github.com/users/sjackman/events{/privacy}","received_events_url":"https://api.github.com/users/sjackman/received_events","type":"User","site_admin":false},"created_at":"2015-10-14T19:52:26Z","updated_at":"2015-10-14T19:52:26Z","body":"I'm going to stick with `yum` in that case, to support both old and new distributions of CentOS."}}