Giter VIP home page Giter VIP logo

chromebrew's Introduction

Chromebrew icon

Chromebrew

The Missing Package Manager For Chrome OS

Chat With Us

Note

Discord is not currently syncing messages with Slack

Slack Invite Discord Invite

Overview

Chromebooks with ChromeOS run a Linux kernel. The only missing pieces to use them as full-featured Linux distro were gcc and make with their dependencies. Well, these pieces aren't missing anymore. Say hello to Chromebrew!

Prerequisites

You will need a Chromebook with developer mode enabled. To do so, select your device on the ChromiumOS Wiki and follow the instructions listed there.

Warning

Please be aware of the fact that developer mode is insecure if not properly configured.

Tip

Setting a password as instructed in the VT-2 login screen is recommended. It is also recommended to enable signed boot:

sudo chromeos-setdevpasswd
sudo crossystem dev_boot_signed_only=1

Supported Systems

Architecture Supported?
x86_64 Yes
i686 Yes*
armv7l Yes
aarch64 Yes

* We can only provide limited support for i686 since Google has discontinued support. Although we can no longer support GUI apps, we will try to continue to support CLI programs.

Installation

Important

The beta, dev, and Canary channels are not supported and should not be used with Chromebrew. Failure to take notice of this warning will cause major issues with your Chromebrew installation.

See issue #2890 and the FAQ for more details.

Warning

On ChromeOS M117+, the Chromebrew installer will not work in crosh anymore due to the security changes introduced in ChromeOS M117.

Open a VT-2 terminal session with Ctrl+Alt+-> and login with the chronos user and password if set above. (if you are unable to do this, please have a second look at the prerequisites and make sure your Chromebook is in developer mode)

Then run the installation script below:

bash <(curl -L git.io/vddgY) && . ~/.bashrc

Help

Please check out the wiki to find out more information about Chromebrew including helpful tips, resource links and frequently asked questions.

Also please check existing issues before submitting a new one.

Usage

crew <command> <package1> [<package2> ...]

Where available commands are:

Command Description
build build package(s) from source and store the archive and checksum in the current working directory
check check packages(s)
const display constant(s)
deps display dependencies of package(s)
download download package(s) to CREW_BREW_DIR (/usr/local/tmp/crew by default), but don't install
files display installed files of package(s)
help get information about command usage
install install package(s) along with dependencies after prompting for confirmation
list available, installed, compatible or incompatible packages
postinstall display postinstall messages of package(s)
prop display all package boolean properties
reinstall remove and install package(s)
remove remove package(s)
search look for package(s)
sysinfo show system information in markdown style
test test crew command(s)
update update crew itself
upgrade update all or specific package(s)
upload upload binaries for all or specific package(s)
whatprovides regex search for package(s) that contains file(s)

Available packages are listed in the packages directory.

Chromebrew will wipe its BREW_DIR (/usr/local/tmp/crew by default) after installation unless you pass -k or --keep when running crew install.

crew install --keep [...]

License

Copyright 2013-2024 Michal Siwek and all the awesome contributors.

This project including all of its source files is released under the terms of GNU General Public License (version 3 or later). This project embeds docopt.rb at lib/docopt.rb. We retain its MIT license.

GNU General Public License MIT License

chromebrew's People

Contributors

alanaktion avatar bfayers avatar cstrouse avatar duckunix avatar dx0eu avatar gangstead avatar jam7 avatar jasonpratt avatar jbaum98 avatar jl2210 avatar kjperkin avatar kriskras99 avatar lovedheart avatar lyxell avatar mia-rain avatar minektur avatar richardfsr avatar saltedcoffii avatar satmandu avatar skiman6010 avatar skycocker avatar supechicken avatar superloach avatar thedamian avatar tivoli avatar uberhacker avatar vince avatar vincowl avatar yancouto avatar zopolis4 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chromebrew's Issues

dartsdk links no longer exist

When installing the dartsdk package, the installation is aborted due to a 'checksum mismatch'. A quick check of the URLs in the package reveals that they return status 404: Not Found.

zsh installation misses libncursesw.so.5

After successfully installing zsh it fails because of missing library libncursesw.so.5.

zsh: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory

Lots of configure: error when installing packages

For example, when installing nano, I see the output:

2015-01-06 10:07:51 (943 KB/s) - 'nano-2.3.6.tar.gz' saved [1816012]

Archive downloaded
Unpacking archive, this may take a while...
gcc (GCC) 4.8.1
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Building from source, this may take a while...
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/usr/local/tmp/crew/nano-2.3.6':
configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** No targets specified and no makefile found.  Stop.
Preconfiguring package...
make: *** No rule to make target `install'.  Stop.
Installing...
Nano installed!
chronos@localhost /etc $`

Is this normal? If not, any ideas on what went wrong and how to fix it?

Tmux no longer installs

Looks like there are missing headers with the built in Openssl, which causes Tmux to not install anymore.

/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -I./compat -I./include -I./include    -g -O2 -Wall -fno-strict-aliasing -pthread -MT bufferevent_openssl.lo -MD -MP -MF .deps/bufferevent_openssl.Tpo -c -o bufferevent_openssl.lo bufferevent_openssl.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./compat -I./include -I./include -g -O2 -Wall -fno-strict-aliasing -pthread -MT bufferevent_openssl.lo -MD -MP -MF .deps/bufferevent_openssl.Tpo -c bufferevent_openssl.c  -fPIC -DPIC -o .libs/bufferevent_openssl.o
bufferevent_openssl.c:60:25: fatal error: openssl/bio.h: No such file or directory
 #include <openssl/bio.h>
                         ^
compilation terminated.
make[2]: *** [bufferevent_openssl.lo] Error 1
make[2]: Leaving directory `/usr/local/tmp/crew/libevent-2.0.21-stable'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/tmp/crew/libevent-2.0.21-stable'
make: *** [all] Error 2
libevent failed to install: `make` exited with 2

Package mosh client

Hello,

I attempted to do this myself but ran into enough pitfalls that I decided to just file an issue and see if someone else has the chops for it.

I'd like to see "mosh" built for Chromebrew. I got part of the way there and then got stuck trying to get protocol buffers to build for Chrome OS.

Can't install nodejs

I was able to install it a few days ago, but I had to remove it. I tried reinstalling it, but I get an error:

ln: failed to create symbolic link ‘/usr/local/bin/cc’: File exists
nodejs failed to install: sudo ln -s /usr/local/bin/gcc /usr/local/bin/cc exited with 1

Help please!

nano install fails - missing curses.h

So, I had to wipe my chromebook and as I reinstalled all my software from chromebrew, I ran into this missing header file while installing nano. I must have already had the header file from when I installed nano prior to writing the chromebrew script. Anyway, ncurses is installed, I think, from a binary file. Could the ncurses script be changed to downloading the source and compiling the binary from source? That way the proper header files would get installed. Let me know, and I can make that change.

Go build fails in test phase

I get this:

# Testing packages.
fork/exec /tmp/go-build214772872/cmd/addr2line/_test/addr2line.test: permission denied
FAIL    cmd/addr2line   0.001s
?       cmd/cgo [no test files]
fork/exec /tmp/go-build214772872/cmd/fix/_test/fix.test: permission denied
FAIL    cmd/fix 0.001s
fork/exec /tmp/go-build214772872/cmd/go/_test/go.test: permission denied
FAIL    cmd/go  0.001s
fork/exec /tmp/go-build214772872/cmd/gofmt/_test/gofmt.test: permission denied
FAIL    cmd/gofmt       0.001s
fork/exec /tmp/go-build214772872/cmd/nm/_test/nm.test: permission denied
...

nano & emacs packages shown as installed but do not launch from command line -- $PATH ?

hello @skycocker ,

using your chromebrew tool, i installed both nano and emacs to have some choices in command line word processing. they show as installed when i do crew search --

$ crew search
(i) autoconf
(i) automake
(i) binutils
bison
buildessential
(i) bz2
clisp
cmake
ctags
(i) curl
dartsdk
(i) diffutils
(i) emacs
(i) expat
ffcall
gawk
(i) gcc
(i) gettext
(i) git
(i) glibc
(i) gmp
htop
(i) jdk8
less
(i) leveldb
(i) libevent
(i) libsigsegv
(i) libssh2
(i) linuxheaders
(i) m4
(i) make
(i) mpc
(i) mpfr
(i) nano
(i) ncurses
ncurses_so
(i) openssl
patch
(i) perl
powerline_fonts
(i) python
(i) python27
python34
(i) readline
rsync
ruby
(i) sqlite
tig
(i) tmux
vim
(i) zlibpkg
(i) zsh

and here is what happens if i try and install again, the packages show as all ready installed, as here with nano --

$ crew install nano
Found nano, version 2.3.6
Following packages also need to be installed: 
libsigsegv diffutils binutils gmp mpc mpfr glibc gcc make linuxheaders buildessential ncurses 
Do you agree? [Y/n]

Proceeding...
Found libsigsegv, version 2.10
Package libsigsegv already installed, skipping...
Found diffutils, version 3.3
Package diffutils already installed, skipping...
Found binutils, version 2.23.2
Package binutils already installed, skipping...
Found gmp, version 5.1.2
Package gmp already installed, skipping...
Found mpc, version 1.0.1
Package mpc already installed, skipping...
Found mpfr, version 3.1.2
Package mpfr already installed, skipping...
Found glibc, version 2.17.90-baseline
Package glibc already installed, skipping...
Found gcc, version 4.8.1-baseline
Package gcc already installed, skipping...
Found make, version 3.82
Package make already installed, skipping...
Found linuxheaders, version 3.4.0
Package linuxheaders already installed, skipping...
Found buildessential, version 1.0
Package buildessential already installed, skipping...
Found ncurses, version 5.9
Package ncurses already installed, skipping...
Found nano, version 2.3.6
Package nano already installed, skipping...

... and here with emacs --

$ crew install emacs
Found emacs, version 24.4
Following packages also need to be installed: 
libsigsegv perl m4 autoconf libsigsegv perl m4 libsigsegv libsigsegv diffutils m4 autoconf automake 
Do you agree? [Y/n]

Proceeding...
Found libsigsegv, version 2.10
Package libsigsegv already installed, skipping...
Found perl, version 5.16.3
Package perl already installed, skipping...
Found m4, version 1.4.17
Package m4 already installed, skipping...
Found autoconf, version 2.69
Package autoconf already installed, skipping...
Found libsigsegv, version 2.10
Package libsigsegv already installed, skipping...
Found perl, version 5.16.3
Package perl already installed, skipping...
Found m4, version 1.4.17
Package m4 already installed, skipping...
Found libsigsegv, version 2.10
Package libsigsegv already installed, skipping...
Found libsigsegv, version 2.10
Package libsigsegv already installed, skipping...
Found diffutils, version 3.3
Package diffutils already installed, skipping...
Found m4, version 1.4.17
Package m4 already installed, skipping...
Found autoconf, version 2.69
Package autoconf already installed, skipping...
Found automake, version 1.14
Package automake already installed, skipping...
Found emacs, version 24.4
Package emacs already installed, skipping...

however, each and every time i attempt to launch nano or emacs from the command line, i get the following --

$ emacs
bash: emacs: command not found

... the same happens with nano.

can you please offer any help here? do i need to add something to my $PATH statement in ~/.bashrc to make this work? i'm on a Acer C720P intel chromebook and yes, it is in dev mode and has your chromebrew tool installed, as indicated above.

please advise, thank you in advance.

best,

-- faddah wolf
portland, oregon, u.s.a.

compile vim74 manually

Hi @skycocker, I've downloaded vim74 and try to compile it locally. Because I want it to have python support, while current packag-vim doesn't have that.

chronos@localhost ~/vim74 $ ls -l configure 
-rwxrwxr-x 1 chronos chronos 168 May 18 03:52 configure
chronos@localhost ~/vim74 $ ./configure
bash: ./configure: Permission denied

can you help me for that? gcc and make are installed, thank you.

We need rdesktop / freerdp package

Hi,

Please add rdesktop package. With rdesktop, you could easily connect to a VirtualBox VM, so you won't use any shitty Chrome apps or the rdesktop package running via Crouton & Ubuntu Trusty.

Thanks in advance,
HLFH

Messes up order of 2 layers of dependencies

For example, if autoconf requires m4, and m4 requires libsigsegv, although crew install m4 will install libsigsegv first correctly, crew install autoconf will try to install m4 before libsigsegv.

Unable to install iojs

Toshiba chromebook 2, intel, 4gb ram

ojs-v2.2.1.tar.gz        100%[=======================================>]  19.53M  3.51MB/s   in 6.9s   

2015-07-10 23:33:06 (2.82 MB/s) - 'iojs-v2.2.1.tar.gz' saved [20477722/20477722]

Archive downloaded
Unpacking archive, this may take a while...
gcc (GCC) 4.8.1
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Building from source, this may take a while...
  File "./configure", line 404
    '''
      ^
SyntaxError: invalid syntax
iojs failed to install: `./configure` exited with 1

emacs no info nodes

I love chromebrew!
the message "can't find the Info directory node is displayed in response to ^h i
Fritz Kunze
[email protected]
version GNU Emacs 24.4.1 (x86_64-unknown-linux-gnu) |
of 2015-06-08 on localhost"

Redirect error on AWS fetch

From an attempt at installing ldc:

require 'package'

class Ldc < Package
  version '0.15.2-beta1'
  binary_url ({
    x86_64: "https://github.com/ldc-developers/ldc/releases/download/v0.15.2-beta1/ldc2-0.15.2-beta1-linux-x86_64.tar.xz"
  })
  binary_sha1 ({
    x86_64: "5ba50b478af449e93c4054db39972793b01e0f72"
  })

end

curl has multiple warnings and finally, a failure on the redirect. The URL works fine when copied directly into curl -LO on command line.

Terminal dump:

chronos@localhost /usr/local/lib/crew/packages $ crew install ldc
Found ldc, version 0.15.2-beta1
Found ldc, version 0.15.2-beta1
Precompiled binary available, downloading...
WARNING: timestamping does nothing in combination with -O. See the manual
for details.

--2015-03-31 13:13:36--  https://github.com/ldc-developers/ldc/releases/download/v0.15.2-beta1/ldc2-0.15.2-beta1-linux-x86_64.tar.xz
Resolving github.com... 192.30.252.128
Connecting to github.com|192.30.252.128|:443... connected.
WARNING: cannot verify github.com's certificate, issued by '/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 Extended Validation Server CA':
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 302 Found
Location: https://s3.amazonaws.com/github-cloud/releases/2174666/1f299baa-cb56-11e4-881f-058d288f8bab.xz?response-content-disposition=attachment%3B%20filename%3Dldc2-0.15.2-beta1-linux-x86_64.tar.xz&response-content-type=application/octet-stream&AWSAccessKeyId=AKIAISTNZFOVBIJMK3TQ&Expires=1427832877&Signature=T%2B57Tem0WbfeZdIqc9pYTQy5Cqs%3D [following]
--2015-03-31 13:13:36--  https://s3.amazonaws.com/github-cloud/releases/2174666/1f299baa-cb56-11e4-881f-058d288f8bab.xz?response-content-disposition=attachment%3B%20filename%3Dldc2-0.15.2-beta1-linux-x86_64.tar.xz&response-content-type=application/octet-stream&AWSAccessKeyId=AKIAISTNZFOVBIJMK3TQ&Expires=1427832877&Signature=T%2B57Tem0WbfeZdIqc9pYTQy5Cqs%3D
Resolving s3.amazonaws.com... 54.231.244.4
Connecting to s3.amazonaws.com|54.231.244.4|:443... connected.
WARNING: cannot verify s3.amazonaws.com's certificate, issued by '/C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=Terms of use at https://www.verisign.com/rpa (c)10/CN=VeriSign Class 3 Secure Server CA - G3':
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 403 Forbidden
2015-03-31 13:13:36 ERROR 403: Forbidden.

Checksum mismatch :/ try again

Error Installing Chromebrew

To begin, I am quite a noob.
I wish to install Chromebrew, but I encountered the same issues that "moocow1452" encountered.
I have an HP Chromebook 14 "Falco".
What is odd though, is that this Chromebook is a x86_64 architecture.
This is what I got:

wget -q -O - https://raw.github.com/skycocker/chromebrew/master/install.sh | bash
Downloading ruby...
--2013-12-25 11:27:09-- https://dl.dropboxusercontent.com/s/bwb315aluunam6b/ruby-2.0.0-p247-chromeos1-chromeos-x86_86.tar.gz?token_hash=AAGYQhHhEpgAHCKtVVonVlXIJKZOWzq3arNsirxcRJQgLA&dl=1
Resolving dl.dropboxusercontent.com... 23.21.53.200
Connecting to dl.dropboxusercontent.com|23.21.53.200|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 28795784 (27M) [application/octet-stream]
--2013-12-25 11:27:10-- https://dl.dropboxusercontent.com/s/bwb315aluunam6b/ruby-2.0.0-p247-chromeos1-chromeos-x86_86.tar.gz?token_hash=AAGYQhHhEpgAHCKtVVonVlXIJKZOWzq3arNsirxcRJQgLA&dl=1
Reusing existing connection to dl.dropboxusercontent.com:443.
HTTP request sent, awaiting response... 200 OK
Length: 28795784 (27M) [application/octet-stream]
Saving to: `ruby-2.0.0-p247-chromeos1-chromeos-x86_86.tar.gz.1'

100%[============================================================================================================>] 28,795,784 209K/s in 2m 55s

2013-12-25 11:30:08 (161 KB/s) - `ruby-2.0.0-p247-chromeos1-chromeos-x86_86.tar.gz.1' saved [28795784/28795784]

Extracting ruby (this may take a while)...
tar: ruby-2.0.0p247-chromeos1-chromeos-x86_64.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
Installing ruby (this may take a while)...
cp: cannot stat ‘./usr/*’: No such file or directory
mv: cannot stat ‘./dlist’: No such file or directory
mv: cannot stat ‘./filelist’: No such file or directory
--2013-12-25 11:30:08-- https://raw.github.com/skycocker/chromebrew/master/crew
Resolving raw.github.com... 199.27.73.133
Connecting to raw.github.com|199.27.73.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9918 (9.7K) [text/plain]
Saving to: `crew'

100%[============================================================================================================>] 9,918 --.-K/s in 0.01s

2013-12-25 11:30:08 (657 KB/s) - `crew' saved [9918/9918]

--2013-12-25 11:30:08-- https://raw.github.com/skycocker/chromebrew/master/lib/package.rb
Resolving raw.github.com... 199.27.73.133
Connecting to raw.github.com|199.27.73.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 506 [text/plain]
Saving to: `package.rb.1'

100%[============================================================================================================>] 506 --.-K/s in 0.02s

2013-12-25 11:30:09 (22.3 KB/s) - `package.rb.1' saved [506/506]

--2013-12-25 11:30:09-- https://raw.github.com/skycocker/chromebrew/master/lib/package_helpers.rb
Resolving raw.github.com... 199.27.73.133
Connecting to raw.github.com|199.27.73.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 165 [text/plain]
Saving to: `package_helpers.rb.1'

100%[============================================================================================================>] 165 --.-K/s in 0s

2013-12-25 11:30:09 (8.17 MB/s) - `package_helpers.rb.1' saved [165/165]

--2013-12-25 11:30:09-- https://raw.github.com/skycocker/chromebrew/master/packages/git.rb
Resolving raw.github.com... 199.27.73.133
Connecting to raw.github.com|199.27.73.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 707 [text/plain]
Saving to: `git.rb.1'

100%[============================================================================================================>] 707 --.-K/s in 0s

2013-12-25 11:30:09 (5.03 MB/s) - `git.rb.1' saved [707/707]

--2013-12-25 11:30:09-- https://raw.github.com/skycocker/chromebrew/master/packages/zlib.rb
Resolving raw.github.com... 199.27.73.133
Connecting to raw.github.com|199.27.73.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 537 [text/plain]
Saving to: `zlib.rb.1'

100%[============================================================================================================>] 537 --.-K/s in 0s

2013-12-25 11:30:10 (23.7 MB/s) - `zlib.rb.1' saved [537/537]

--2013-12-25 11:30:10-- https://raw.github.com/skycocker/chromebrew/master/packages/libssh2.rb
Resolving raw.github.com... 199.27.73.133
Connecting to raw.github.com|199.27.73.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 546 [text/plain]
Saving to: `libssh2.rb.1'

100%[============================================================================================================>] 546 --.-K/s in 0.004s

2013-12-25 11:30:10 (151 KB/s) - `libssh2.rb.1' saved [546/546]

--2013-12-25 11:30:10-- https://raw.github.com/skycocker/chromebrew/master/packages/perl.rb
Resolving raw.github.com... 199.27.73.133
Connecting to raw.github.com|199.27.73.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 540 [text/plain]
Saving to: `perl.rb.1'

100%[============================================================================================================>] 540 --.-K/s in 0s

2013-12-25 11:30:10 (13.0 MB/s) - `perl.rb.1' saved [540/540]

--2013-12-25 11:30:10-- https://raw.github.com/skycocker/chromebrew/master/packages/openssl.rb
Resolving raw.github.com... 199.27.73.133
Connecting to raw.github.com|199.27.73.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 549 [text/plain]
Saving to: `openssl.rb.1'

100%[============================================================================================================>] 549 --.-K/s in 0s

2013-12-25 11:30:10 (23.2 MB/s) - `openssl.rb.1' saved [549/549]

--2013-12-25 11:30:10-- https://raw.github.com/skycocker/chromebrew/master/packages/curl.rb
Resolving raw.github.com... 199.27.73.133
Connecting to raw.github.com|199.27.73.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 540 [text/plain]
Saving to: `curl.rb.1'

100%[============================================================================================================>] 540 --.-K/s in 0s

2013-12-25 11:30:11 (23.4 MB/s) - `curl.rb.1' saved [540/540]

--2013-12-25 11:30:11-- https://raw.github.com/skycocker/chromebrew/master/packages/expat.rb
Resolving raw.github.com... 199.27.73.133
Connecting to raw.github.com|199.27.73.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 540 [text/plain]
Saving to: `expat.rb.1'

100%[============================================================================================================>] 540 --.-K/s in 0s

2013-12-25 11:30:11 (1.19 MB/s) - `expat.rb.1' saved [540/540]

--2013-12-25 11:30:11-- https://raw.github.com/skycocker/chromebrew/master/packages/gettext.rb
Resolving raw.github.com... 199.27.73.133
Connecting to raw.github.com|199.27.73.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 555 [text/plain]
Saving to: `gettext.rb.1'

100%[============================================================================================================>] 555 --.-K/s in 0s

2013-12-25 11:30:11 (12.0 MB/s) - `gettext.rb.1' saved [555/555]

--2013-12-25 11:30:11-- https://raw.github.com/skycocker/chromebrew/master/packages/python.rb
Resolving raw.github.com... 199.27.73.133
Connecting to raw.github.com|199.27.73.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 543 [text/plain]
Saving to: `python.rb.1'

100%[============================================================================================================>] 543 --.-K/s in 0s

2013-12-25 11:30:12 (15.7 MB/s) - `python.rb.1' saved [543/543]

--2013-12-25 11:30:12-- https://raw.github.com/skycocker/chromebrew/master/packages/readline.rb
Resolving raw.github.com... 199.27.73.133
Connecting to raw.github.com|199.27.73.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 541 [text/plain]
Saving to: `readline.rb.1'

100%[============================================================================================================>] 541 --.-K/s in 0.001s

2013-12-25 11:30:13 (372 KB/s) - `readline.rb.1' saved [541/541]

sudo: crew: command not found
sudo: crew: command not found
bash: line 94: git: command not found
bash: line 95: git: command not found
bash: line 96: git: command not found
bash: line 97: .git/info/sparse-checkout: No such file or directory
bash: line 98: git: command not found
bash: line 99: git: command not found
Chromebrew installed successfully and package lists updated.

Due to the errors, I am unable to utilize "crew", because whenever I do, it acts as though nothing is installed.
Is my current Chromebook unsupported due to it being a x86_64 architecture? Is there any work arounds?
Is it possible to remove Chromebrew if there is no solution?
Thanks Again.
-PersistedUser (Matt)

Unable to install chromebrew - out of disk space error

Apologies, I just posted a comment and then realized it was closed.

Im using build Camd64OS-20141023010101.img by ArnoldtheBat. When I run the install script it installs ruby and gcc but shortly after that I notice a lot of cannot mkdir, no space left errors. The script fails.

Do I need to install Chrome OS to the HD in order to install chromebrew? The usb stick I am using is 16gb.

Can't install things globally using node or rubygems

Installing like so

sudo gem install lolcat

results in the following error

ERROR:  While executing gem ... (Errno::EROFS)
    Read-only file system - /root/.gem

Installing an npm module

sudo npm install -g gulp

does something similar:

npm ERR! rofs EROFS, mkdir '/root/.npm'

Looks like at least one other person has had this issue too:

http://stackoverflow.com/questions/28334768/ruby-gems-area-not-writeable

This is a filesystem issue, they are trying to write into /root/ which is read only. But why aren't they installing nicely into my /usr/local/bin or somewhere? I probably messed something up somewhere but I can't quite figure out what.

Read-only file system

When trying to change permissions

localhost / # whoami
root
localhost / # ls -al /etc/shells
-rw-r--r-- 1 root root 128 Oct 28 09:53 /etc/shells
localhost / # chmod 664 /etc/shells
chmod: changing permissions of ‘/etc/shells’: Read-only file system

env: ruby: No such file or directory

i had an issue with my chromebook now when i run crew i got this error : env: ruby: No such file or directory

is there a way to reinstall crew ???

thanks in advance

bash: crew: command not found

When I type crew in it says:

bash: crew: command not found

even though I just installed Chromebrew:

Chromebrew installed successfully and package lists updated.

Chromebrew can be used to install Linuxbrew

Because chromebrew provides gcc, git, and ruby, it can be used to install Linuxbrew, and with it most of the packages there. Therefore maybe Chromebrew should change focus to creating a one-script-install process that results in a Linuxbrew installation.

Add Git folder check at every update

At the moment, crew will directly run the git fetch command at every update but does not check whether the directory is a valid git directory. In this case, if the directory is not a git folder, git will return error but crew will still prompt up to date.
So a check on whether the remote is correct should be added in prior, and fix folder if it is not a git directory.

Installing X packages (Thunderbird, Eclipse) using Chromebrew?

Hi, thanks for Chromebrew! This isn't really an issue - but more a question.

Is it possible to install X packages (and related dependencies) like Thunderbird, Eclipse, etc on Chrome OS using Chromebrew?

Is it possible at all - or too hard to get X packages running on Chrome OS?

Multiple GPL & LGPL license violations

There are two sorts of license violations I have noticed on a quick look:

You have provided several packages licensed under the GPL or LGPL in binary form only, without their source code or a note on how to get the source code, and are thus in violation of their licenses. Please see the licenses for the concrete requirements you have to follow.

You have linked git against openssl, thus violating the GPL; because the OpenSSL license has a restriction not in the GPL and is thus incompatible.

Rpath not set for anything

I realized that the rpath is not set for any of the precompiled binaries included in Chrombrew. This is a problem, especially because we don't have write permissions on /etc/ld.so.cache so we cannot rely on ldconfig at all. This also manifests itself in the problem with ncurses and why we need the hacky solution. This can be fixed by recompiling the prebuilt binaries with the right LD_FLAGS. Alternatively, running the following commands sets the rpaths and interpreters for the crucial executables: gcc and ruby. Note this requires patchelf.

patchelf --set-rpath /usr/local/lib:/usr/local/lib64 /usr/local/lib/ld-linux-x86-64.so.2 /usr/local/bin/{gcc,g++,ruby}
patchelf --set-rpath /usr/local/lib:/usr/local/lib64 /usr/local/libexec/gcc/x86_64-unknown-linux-gnu/4.8.1/{cc1,cc1plus}
ls /usr/local/lib/ruby/2.0.0/x86_64-linux/digest | grep sha | xargs -I {} patchelf --set-rpath /usr/local/lib:/usr/local/lib64 /usr/local/lib/ruby/2.0.0/x86_64-linux/digest/{}

Now ncurses can be installed correctly with ./configure --prefix=/usr/local "CFLAGS= -fPIC" --without-debug --without-normal --with-shared --with-termlib

Support tinycore packages

To support tinycore 64 bit:

Create a glibc wrapper.
/usr/local/bin/wrap:

LD_LIBRARY_PATH=/tmp/image/usr/local/lib /lib64/ld-linux-x86-64.so.2 /tmp/image/usr/local/bin/$@

Grab a tinycore package, like binutils:

cd ~/Downloads;
curl -O http://distro.ibiblio.org/tinycorelinux/6.x/x86_64/tcz/binutils.tcz
sudo mount -o loop binutils.tcz /tmp/image

Now you can run it with your wrapper:

wrap ld

Tinycore (6.x) binutils is about 2.5megs vs the 37meg chromebrew binutils; chromebrew decompresses to 100megs whereas tcz files are mounted via loopback. Feels like a big win.

-Charles

Could we get Man-pages?

Okay, this may not be a chromebrew specific issue,
But I was looking for a way to install man pages into crosh...

I checked out the following man-pages, and I've installed the manuals from below
https://www.kernel.org/doc/man-pages/

however, I haven't been able to find the actual man 'reader' binary, or source code...

Any ideas?

cups package

A cups package would be a nice addition if cups can work on chromeos. It should.

libsigsegv can't be installed

Chromium OS by ArnoldTheBat
Versión 44.0.2365.0 (64-bit)
Plataforma 6963.0.2015_04_11_0624 (Developer Build - devbot-x64) developer-build amd64-generic

When I try run: sudo crew install libsigsegv

Show me-->

Build Tools:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc -m64
checking whether the C compiler works... no
configure: error: in /usr/local/tmp/crew/libsigsegv-2.10': configure: error: C compiler cannot create executables Seeconfig.log' for more details
make: *** No targets specified and no makefile found. Stop.
Preconfiguring package...
make: *** No rule to make target check'. Stop. make: *** No rule to make targetinstall'. Stop.
Installing...
Libsigsegv installed!

Anything else I can tell you?

Create more binary_url package offerings

It'd be nice to add some packages which already have a binary URL via chromebrew, as it's easier to install them through crew than through tar and move (and such).

python 2.7

How do I use python 2.7 instead of 3.x by defult?

ruby dowload fail - 401 not authorized

--2015-01-08 10:08:45-- https://dl.dropboxusercontent.com/s/bwb315aluunam6b/ruby-2.0.0-p247-chromeos1-chromeos-x86_86.tar.gz?token_hash=AAGYQhHhEpgAHCKtVVonVlXIJKZOWzq3arNsirxcRJQgLA&dl=1
Resolving dl.dropboxusercontent.com... 23.21.210.59, 23.21.216.250, 23.21.244.13, ...
Connecting to dl.dropboxusercontent.com|23.21.210.59|:443... connected.
WARNING: cannot verify dl.dropboxusercontent.com's certificate, issued by '/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 High Assurance Server CA':
Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 401 Not Authorized
Authorization failed.
Checksum mismatch :/ try again

"crew install vim" fails

chronos@localhost ~ $ crew install vim
Found vim, version 7.4
Following packages also need to be installed:
ncurses
Do you agree? [Y/n]
Y
Proceeding...
Found ncurses, version 5.9-chromeos1
Package ncurses already installed, skipping...
Found vim, version 7.4
No precompiled binary available for your platform, downloading source...
--2014-06-20 16:11:16-- ftp://ftp.vim.org/pub/vim/unix/vim-7.4.tar.bz2
=> '.listing'
Resolving ftp.vim.org... 192.87.102.43, 192.87.102.42
Connecting to ftp.vim.org|192.87.102.43|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /pub/vim/unix ... done.
==> PASV ... done. ==> LIST ... done.

[ <=>                                                                                ] 5,653       --.-K/s   in 0.04s   

2014-06-20 16:11:21 (130 KB/s) - '.listing' saved [5653]

Removed '.listing'.
Remote file no newer than local file 'vim-7.4.tar.bz2' -- not retrieving.
Archive downloaded
Unpacking archive, this may take a while...
gcc (GCC) 4.8.1
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Building from source, this may take a while...
Starting make in the src directory.
If there are problems, cd to the src directory and run make there
cd src && make first
make[1]: Entering directory `/usr/local/tmp/crew/vim74/src'
rm -f auto/config.status auto/config.cache config.log auto/config.log
rm -f auto/config.h auto/link.log auto/link.sed auto/config.mk
touch auto/config.h
cp config.mk.dist auto/config.mk
if test -f auto/config.cache &&
grep '^ac_cv_env_CFLAGS_value=' auto/config.cache > /dev/null &&
! grep -x -F 'ac_cv_env_CFLAGS_value=' auto/config.cache > /dev/null; then
rm auto/config.cache;
fi
GUI_INC_LOC="" GUI_LIB_LOC=""
CC="" CPPFLAGS="" CFLAGS=""
LDFLAGS="" srcdir="."
./configure








\

configure: creating cache auto/config.cache
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for library containing strerror... none required
checking for gawk... no
checking for mawk... mawk
checking for strip... strip
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking --enable-fail-if-missing argument... no
configure: checking for buggy tools...

  • sed is 'GNU sed version 4.2.1
    Copyright (C) 2009 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE,
    to the extent permitted by law.

GNU sed home page: http://www.gnu.org/software/sed/.
General help using GNU software: http://www.gnu.org/gethelp/.
E-mail bug reports to: [email protected].
Be sure to include the word sed'' somewhere in theSubject:'' field.'.
checking for BeOS... no
checking for QNX... no
checking for Darwin (Mac OS X)... no
checking --with-local-dir argument... Defaulting to /usr/local
checking --with-vim-name argument... Defaulting to vim
checking --with-ex-name argument... Defaulting to ex
checking --with-view-name argument... Defaulting to view
checking --with-global-runtime argument... no
checking --with-modified-by argument... no
checking if character set is EBCDIC... no
checking --disable-selinux argument... no
checking for is_selinux_enabled in -lselinux... no
checking --with-features argument... Defaulting to normal
checking --with-compiledby argument... no
checking --disable-xsmp argument... no
checking --disable-xsmp-interact argument... no
checking --enable-luainterp argument... no
checking --enable-mzschemeinterp argument... no
checking --enable-perlinterp argument... no
checking --enable-pythoninterp argument... no
checking --enable-python3interp argument... no
checking --enable-tclinterp argument... no
checking --enable-rubyinterp argument... no
checking --enable-cscope argument... no
checking --enable-workshop argument... no
checking --disable-netbeans argument... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking whether compiling netbeans integration is possible... yes
checking --enable-sniff argument... no
checking --enable-multibyte argument... no
checking --enable-hangulinput argument... no
checking --enable-xim argument... defaulting to auto
checking --enable-fontset argument... no
checking for xmkmf... no
checking for X... no
checking if X11 header files can be found... no
checking --enable-gui argument... no GUI support
checking X11/SM/SMlib.h usability... no
checking X11/SM/SMlib.h presence... no
checking for X11/SM/SMlib.h... no
checking for CYGWIN environment... no
checking whether toupper is broken... no
checking whether DATE and TIME work... yes
checking whether attribute((unused)) is allowed... yes
checking elf.h usability... yes
checking elf.h presence... yes
checking for elf.h... yes
checking for main in -lelf... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stdint.h usability... yes
checking stdint.h presence... yes
checking for stdint.h... yes
checking stdlib.h usability... yes
checking stdlib.h presence... yes
checking for stdlib.h... yes
checking string.h usability... yes
checking string.h presence... yes
checking for string.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking termcap.h usability... no
checking termcap.h presence... no
checking for termcap.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sgtty.h usability... yes
checking sgtty.h presence... yes
checking for sgtty.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/types.h usability... yes
checking sys/types.h presence... yes
checking for sys/types.h... yes
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking inttypes.h usability... yes
checking inttypes.h presence... yes
checking for inttypes.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking unistd.h usability... yes
checking unistd.h presence... yes
checking for unistd.h... yes
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/systeminfo.h usability... no
checking sys/systeminfo.h presence... no
checking for sys/systeminfo.h... no
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking sys/stream.h usability... no
checking sys/stream.h presence... no
checking for sys/stream.h... no
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking libc.h usability... no
checking libc.h presence... no
checking for libc.h... no
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking util/debug.h usability... no
checking util/debug.h presence... no
checking for util/debug.h... no
checking util/msg18n.h usability... no
checking util/msg18n.h presence... no
checking for util/msg18n.h... no
checking frame.h usability... no
checking frame.h presence... no
checking for frame.h... no
checking sys/acl.h usability... no
checking sys/acl.h presence... no
checking for sys/acl.h... no
checking sys/access.h usability... no
checking sys/access.h presence... no
checking for sys/access.h... no
checking sys/sysinfo.h usability... yes
checking sys/sysinfo.h presence... yes
checking for sys/sysinfo.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking for sys/ptem.h... no
checking for sys/sysctl.h... yes
checking for pthread_np.h... no
checking strings.h usability... yes
checking strings.h presence... yes
checking for strings.h... yes
checking if strings.h can be included after string.h... yes
checking whether gcc needs -traditional... no
checking for an ANSI C-conforming const... yes
checking for working volatile... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for uint32_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for ino_t... yes
checking for dev_t... yes
checking whether byte ordering is bigendian... no
checking for rlim_t... yes
checking for stack_t... yes
checking whether stack_t has an ss_base field... no
checking --with-tlib argument... empty: automatic terminal library selection
checking for tgetent in -ltinfo... no
checking for tgetent in -lncurses... yes
checking whether we talk terminfo... yes
checking what tgetent() returns for an unknown terminal... zero
checking whether termcap.h contains ospeed... no
checking whether ospeed can be extern... yes
checking whether termcap.h contains UP, BC and PC... no
checking whether UP, BC and PC can be extern... yes
checking whether tputs() uses outfuntype... no
checking whether sys/select.h and sys/time.h may both be included... yes
checking for /dev/ptc... no
checking for SVR4 ptys... yes
checking for ptyranges... don't know
checking default tty permissions/group... can't determine - assume ptys are world accessible
world
checking return type of signal handlers... void
checking for struct sigcontext... yes
checking getcwd implementation is broken... no
checking for bcmp... yes
checking for fchdir... yes
checking for fchown... yes
checking for fsync... yes
checking for getcwd... yes
checking for getpseudotty... no
checking for getpwent... yes
checking for getpwnam... yes
checking for getpwuid... yes
checking for getrlimit... yes
checking for gettimeofday... yes
checking for getwd... yes
checking for lstat... yes
checking for memcmp... yes
checking for memset... yes
checking for mkdtemp... yes
checking for nanosleep... yes
checking for opendir... yes
checking for putenv... yes
checking for qsort... yes
checking for readlink... yes
checking for select... yes
checking for setenv... yes
checking for setpgid... yes
checking for setsid... yes
checking for sigaltstack... yes
checking for sigstack... yes
checking for sigset... yes
checking for sigsetjmp... no
checking for sigaction... yes
checking for sigvec... yes
checking for strcasecmp... yes
checking for strerror... yes
checking for strftime... yes
checking for stricmp... no
checking for strncasecmp... yes
checking for strnicmp... no
checking for strpbrk... yes
checking for strtol... yes
checking for tgetent... yes
checking for towlower... yes
checking for towupper... yes
checking for iswupper... yes
checking for usleep... yes
checking for utime... yes
checking for utimes... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for st_blksize... yes
checking whether stat() ignores a trailing slash... no
checking for iconv_open()... yes
checking for nl_langinfo(CODESET)... yes
checking for strtod in -lm... yes
checking for strtod() and other floating point functions... yes
checking --disable-acl argument... no
checking for acl_get_file in -lposix1e... no
checking for acl_get_file in -lacl... yes
checking for fgetxattr in -lattr... yes
checking for POSIX ACL support... no
checking for acl_get in -lsec... no
checking for Solaris ACL support... no
checking for AIX ACL support... no
checking --disable-gpm argument... no
checking for gpm... no
checking --disable-sysmouse argument... no
checking for sysmouse... no
checking for FD_CLOEXEC... yes
checking for rename... yes
checking for sysctl... not usable
checking for sysinfo... yes
checking for sysinfo.mem_unit... yes
checking for sysconf... yes
checking size of int... 4
checking size of long... 8
checking size of time_t... 8
checking size of off_t... 8
checking uint32_t is 32 bits... ok
checking whether memmove handles overlaps... yes
checking for _xpg4_setrunelocale in -lxpg4... no
checking how to create tags... ctags
checking how to run man with a section nr... man
checking --disable-nls argument... no
checking for msgfmt... msgfmt
checking for NLS... gettext() works
checking for bind_textdomain_codeset... yes
checking for _nl_msg_cat_cntr... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for dlopen()... no
checking for dlopen() in -ldl... yes
checking for dlsym()... yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking for GCC 3 or later... yes
checking whether we need -D_FORTIFY_SOURCE=1... yes
checking linker --as-needed support... yes
configure: updating cache auto/config.cache
configure: creating auto/config.status
config.status: creating auto/config.mk
config.status: creating auto/config.h
make -f Makefile all
make[2]: Entering directory /usr/local/tmp/crew/vim74/src' mkdir objects CC="gcc -Iproto -DHAVE_CONFIG_H -I/usr/local/include " srcdir=. sh ./osdef.sh ./osdef.sh: 98: diff: not found gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/buffer.o buffer.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/blowfish.o blowfish.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/charset.o charset.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/diff.o diff.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/digraph.o digraph.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/edit.o edit.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/eval.o eval.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/ex_cmds.o ex_cmds.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/ex_cmds2.o ex_cmds2.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/ex_docmd.o ex_docmd.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/ex_eval.o ex_eval.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/ex_getln.o ex_getln.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/fileio.o fileio.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/fold.o fold.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/getchar.o getchar.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/hardcopy.o hardcopy.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/hashtab.o hashtab.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/if_cscope.o if_cscope.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/if_xcmdsrv.o if_xcmdsrv.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/mark.o mark.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/memline.o memline.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/menu.o menu.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/message.o message.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/misc1.o misc1.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/misc2.o misc2.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/move.o move.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/mbyte.o mbyte.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/normal.o normal.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/ops.o ops.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/option.o option.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/os_unix.o os_unix.c creating auto/pathdef.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/pathdef.o auto/pathdef.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/popupmnu.o popupmnu.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/quickfix.o quickfix.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/regexp.o regexp.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/screen.o screen.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/search.o search.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/sha256.o sha256.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/spell.o spell.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/syntax.o syntax.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/tag.o tag.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/term.o term.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/ui.o ui.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/undo.o undo.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/window.o window.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/netbeans.o netbeans.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/main.o main.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/memfile.o memfile.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 version.c -o objects/version.o link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly. gcc -Wl,--as-needed -o vim objects/buffer.o objects/blowfish.o objects/charset.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o objects/if_cscope.o objects/if_xcmdsrv.o objects/mark.o objects/memline.o objects/menu.o objects/message.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/syntax.o objects/tag.o objects/term.o objects/ui.o objects/undo.o objects/version.o objects/window.o objects/netbeans.o objects/main.o objects/memfile.o -lm -lncurses -lelf -lnsl -lacl -lattr -ldl link.sh: Linked fine cd xxd; CC="gcc" CFLAGS="-I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1" LDFLAGS="-Wl,--as-needed" \ make -f Makefile make[3]: Entering directory/usr/local/tmp/crew/vim74/src/xxd'
gcc -I/usr/local/include -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -Wl,--as-needed -DUNIX -o xxd xxd.c
make[3]: Leaving directory /usr/local/tmp/crew/vim74/src/xxd' make[3]: Entering directory/usr/local/tmp/crew/vim74/src/po'
OLD_PO_FILE_INPUT=yes msgfmt -v -o af.mo af.po
1423 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ca.mo ca.po
1697 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o cs.mo cs.po
1284 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o de.mo de.po
1701 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o en_GB.mo en_GB.po
78 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o eo.mo eo.po
1859 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o es.mo es.po
1733 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o fi.mo fi.po
1768 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o fr.mo fr.po
1859 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ga.mo ga.po
1733 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o it.mo it.po
1863 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ja.mo ja.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ko.mo ko.po
1728 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ko.UTF-8.mo ko.UTF-8.po
1728 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o nb.mo nb.po
1668 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o nl.mo nl.po
1213 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o no.mo no.po
1668 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pl.mo pl.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pt_BR.mo pt_BR.po
1735 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ru.mo ru.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o sk.mo sk.po
1628 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o sv.mo sv.po
1697 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o uk.mo uk.po
1819 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o vi.mo vi.po
1422 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_CN.UTF-8.mo zh_CN.UTF-8.po
1634 translated messages, 3 fuzzy translations.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_CN.mo zh_CN.po
1633 translated messages, 3 fuzzy translations.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_TW.UTF-8.mo zh_TW.UTF-8.po
1422 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_TW.mo zh_TW.po
1422 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o cs.cp1250.mo cs.cp1250.po
1284 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ja.sjis.mo ja.sjis.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ja.euc-jp.mo ja.euc-jp.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pl.cp1250.mo pl.cp1250.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o pl.UTF-8.mo pl.UTF-8.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o ru.cp1251.mo ru.cp1251.po
1869 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o sk.cp1250.mo sk.cp1250.po
1628 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o uk.cp1251.mo uk.cp1251.po
1819 translated messages.
OLD_PO_FILE_INPUT=yes msgfmt -v -o zh_CN.cp936.mo zh_CN.cp936.po
1633 translated messages, 3 fuzzy translations.
make[3]: Leaving directory /usr/local/tmp/crew/vim74/src/po' make[3]: Entering directory/usr/local/tmp/crew/vim74/src/po'
make[3]: Nothing to be done for converted'. make[3]: Leaving directory/usr/local/tmp/crew/vim74/src/po'
make[2]: Leaving directory /usr/local/tmp/crew/vim74/src' make[1]: Leaving directory/usr/local/tmp/crew/vim74/src'
Preconfiguring package...
Starting make in the src directory.
If there are problems, cd to the src directory and run make there
cd src && make install
make[1]: Entering directory /usr/local/tmp/crew/vim74/src' /bin/sh ./mkinstalldirs /usr/local/tmp/crew//dest/usr/local mkdir /usr/local/tmp/crew/dest/usr mkdir: cannot create directory ‘/usr/local/tmp/crew/dest/usr’: Permission denied mkdir /usr/local/tmp/crew/dest/usr/local mkdir: cannot create directory ‘/usr/local/tmp/crew/dest/usr/local’: No such file or directory make[1]: [/usr/local/tmp/crew//dest/usr/local] Error 1 (ignored) chmod 755 /usr/local/tmp/crew//dest/usr/local chmod: cannot access ‘/usr/local/tmp/crew//dest/usr/local’: No such file or directory make[1]: [/usr/local/tmp/crew//dest/usr/local] Error 1 (ignored) /bin/sh ./mkinstalldirs /usr/local/tmp/crew//dest/usr/local/bin mkdir /usr/local/tmp/crew/dest/usr mkdir: cannot create directory ‘/usr/local/tmp/crew/dest/usr’: Permission denied mkdir /usr/local/tmp/crew/dest/usr/local mkdir: cannot create directory ‘/usr/local/tmp/crew/dest/usr/local’: No such file or directory mkdir /usr/local/tmp/crew/dest/usr/local/bin mkdir: cannot create directory ‘/usr/local/tmp/crew/dest/usr/local/bin’: No such file or directory make[1]: [/usr/local/tmp/crew//dest/usr/local/bin] Error 1 (ignored) chmod 755 /usr/local/tmp/crew//dest/usr/local/bin chmod: cannot access ‘/usr/local/tmp/crew//dest/usr/local/bin’: No such file or directory make[1]: [/usr/local/tmp/crew//dest/usr/local/bin] Error 1 (ignored) if test -f /usr/local/tmp/crew//dest/usr/local/bin/vim; then \ mv -f /usr/local/tmp/crew//dest/usr/local/bin/vim /usr/local/tmp/crew//dest/usr/local/bin/vim.rm; \ rm -f /usr/local/tmp/crew//dest/usr/local/bin/vim.rm; \ fi cp vim /usr/local/tmp/crew//dest/usr/local/bin cp: cannot create regular file ‘/usr/local/tmp/crew//dest/usr/local/bin’: No such file or directory make[1]: *** [installvimbin] Error 1 make[1]: Leaving directory/usr/local/tmp/crew/vim74/src'
make: *** [install] Error 2
sh: cannot create filelist: Permission denied
sh: cannot create dlistcut: Permission denied
sh: cannot create dlist: Permission denied
rm: cannot remove ‘dlistcut’: No such file or directory
mv: cannot stat ‘*’: No such file or directory
Installing...
/usr/local/lib/ruby/2.0.0/fileutils.rb:1551:in stat': No such file or directory - dlist (Errno::ENOENT) from /usr/local/lib/ruby/2.0.0/fileutils.rb:1551:inblock in fu_each_src_dest'
from /usr/local/lib/ruby/2.0.0/fileutils.rb:1567:in fu_each_src_dest0' from /usr/local/lib/ruby/2.0.0/fileutils.rb:1549:infu_each_src_dest'
from /usr/local/lib/ruby/2.0.0/fileutils.rb:508:in mv' from /usr/local/bin/crew:274:inblock in install'
from /usr/local/bin/crew:228:in chdir' from /usr/local/bin/crew:228:ininstall'
from /usr/local/bin/crew:165:in resolveDependenciesAndInstall' from /usr/local/bin/crew:350:in

'
chronos@localhost ~ $

Ruby 2.0: gem install rails failed

The default installed Ruby 2.0 doesn't allow to install additional modules like Rails via 'gem install ':

ERROR: Loading command: install (LoadError)
/usr/local/lib/ruby/2.0.0/x86_64-linux/openssl.so: undefined symbol: d2i_ECPKParameters - /usr/local/lib/ruby/2.0.0/x86_64-linux/openssl.so
ERROR: While executing gem ... (NoMethodError)
undefined method `invoke_with_build_args' for nil:NilClass

Due to StackOverflow the reason for this might be: "This problem arises when you don't install openssl prior to installing ruby." -> https://stackoverflow.com/questions/9732591/rails-loaderror-with-openssl-so-undefined-symbol-d2i-ecpkparameters

Initial permissions on dest

The initial permissions on /usr/local/tmp/crew/dest' are that the owner and group areroot`. This means anything that is compiled locally fails, but anything with a precompiled binary is fine. Can be fixed with

sudo chown -R $USER:$USER /usr/local/tmp/crew/dest

Running install.sh line by line and checking the permissions each line, I found that while it is definitely created with the correct permissions, after running line Line 97 (echo y;) | sudo crew install readline the permissions are wrong.

No error handling when ruby download fails

I have the situation that I upgraded with sudo crew upgrade and encountered an HTTP error 401 while downloading ruby. Now obviously ruby is gone and I can not execute crew again. I have to reinstall it with reinstallation.

Maybe it would be good to have some kind of error handling in such cases where the old version is getting held until the new one is installed successfully.

Quote:

chronos@localhost ~ $ sudo crew upgrade
Updating packages...
Found ruby, version 2.0.0p247-chromeos1
Ruby removed!
Following packages also need to be installed: 
readline zlibpkg buildessential gcc make linuxheaders binutils gmp mpc mpfr glibc 
Do you agree? [Y/n]
y
Proceeding...
Found readline, version 6.2
Package readline already installed, skipping...
Found zlibpkg, version 1.2.8
Package zlibpkg already installed, skipping...
Found buildessential, version 1.0
Package buildessential already installed, skipping...
Found gcc, version 4.8.1-baseline
Package gcc already installed, skipping...
Found make, version 3.82
Package make already installed, skipping...
Found linuxheaders, version 3.4.0
Package linuxheaders already installed, skipping...
Found binutils, version 2.23.2
Package binutils already installed, skipping...
Found gmp, version 5.1.2
Package gmp already installed, skipping...
Found mpc, version 1.0.1
Package mpc already installed, skipping...
Found mpfr, version 3.1.2
Package mpfr already installed, skipping...
Found glibc, version 2.17.90-baseline
Package glibc already installed, skipping...
Found ruby, version 2.0.0p247-chromeos1
Precompiled binary available, downloading...
WARNING: timestamping does nothing in combination with -O. See the manual
for details.

--2014-11-25 09:13:14--  https://dl.dropboxusercontent.com/s/bwb315aluunam6b/ruby-2.0.0-p247-chromeos1-chromeos-x86_86.tar.gz?token_hash=AAGYQhHhEpgAHCKtVVonVlXIJKZOWzq3arNsirxcRJQgLA&dl=1
Resolving dl.dropboxusercontent.com... 107.21.95.27, 54.225.121.13, 54.221.224.130, ...
Connecting to dl.dropboxusercontent.com|107.21.95.27|:443... connected.
HTTP request sent, awaiting response... 401 Not Authorized
Authorization failed.
Checksum mismatch :/ try again
chronos@localhost ~ $ sudo crew upgrade
env: ruby: No such file or directory

Chromebrew Install Woes

crosh> shell
chronos@localhost / $ cd ~
chronos@localhost ~ $ wget -q -O - https://raw.github.com/skycocker/chromebrew/master/install.sh | bash
Downloading ruby...
wget: missing URL
Usage: wget [OPTION]... [URL]...

Try wget --help' for more options. Extracting ruby (this may take a while)... tar: ruby-2.0.0p247-chromeos-x86_64.tar.gz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now Installing ruby (this may take a while)... cp: cannot stat ‘./usr/*’: No such file or directory mv: cannot stat ‘./dlist’: No such file or directory mv: cannot stat ‘./filelist’: No such file or directory --2013-10-01 20:55:48-- https://raw.github.com/skycocker/chromebrew/master/crew Resolving raw.github.com... 199.27.72.133 Connecting to raw.github.com|199.27.72.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 8212 (8.0K) [text/plain] Saving to:crew'

100%[============================================================================================================>] 8,212 --.-K/s in 0.009s

2013-10-01 20:55:48 (879 KB/s) - `crew' saved [8212/8212]

--2013-10-01 20:55:48-- https://raw.github.com/skycocker/chromebrew/master/lib/package.rb
Resolving raw.github.com... 199.27.72.133
Connecting to raw.github.com|199.27.72.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 506 [text/plain]
Saving to: `package.rb'

100%[============================================================================================================>] 506 --.-K/s in 0s

2013-10-01 20:55:48 (14.4 MB/s) - `package.rb' saved [506/506]

--2013-10-01 20:55:48-- https://raw.github.com/skycocker/chromebrew/master/lib/package_helpers.rb
Resolving raw.github.com... 199.27.72.133
Connecting to raw.github.com|199.27.72.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 165 [text/plain]
Saving to: `package_helpers.rb'

100%[============================================================================================================>] 165 --.-K/s in 0s

2013-10-01 20:55:48 (5.40 MB/s) - `package_helpers.rb' saved [165/165]

--2013-10-01 20:55:48-- https://raw.github.com/skycocker/chromebrew/master/packages/git.rb
Resolving raw.github.com... 199.27.72.133
Connecting to raw.github.com|199.27.72.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 488 [text/plain]
Saving to: `git.rb'

100%[============================================================================================================>] 488 --.-K/s in 0s

2013-10-01 20:55:48 (13.5 MB/s) - `git.rb' saved [488/488]

--2013-10-01 20:55:48-- https://raw.github.com/skycocker/chromebrew/master/packages/zlib.rb
Resolving raw.github.com... 199.27.72.133
Connecting to raw.github.com|199.27.72.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 317 [text/plain]
Saving to: `zlib.rb'

100%[============================================================================================================>] 317 --.-K/s in 0s

2013-10-01 20:55:50 (6.97 MB/s) - `zlib.rb' saved [317/317]

--2013-10-01 20:55:50-- https://raw.github.com/skycocker/chromebrew/master/packages/libssh2.rb
Resolving raw.github.com... 199.27.72.133
Connecting to raw.github.com|199.27.72.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 323 [text/plain]
Saving to: `libssh2.rb'

100%[============================================================================================================>] 323 --.-K/s in 0s

2013-10-01 20:55:50 (10.1 MB/s) - `libssh2.rb' saved [323/323]

--2013-10-01 20:55:50-- https://raw.github.com/skycocker/chromebrew/master/packages/perl.rb
Resolving raw.github.com... 199.27.72.133
Connecting to raw.github.com|199.27.72.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 319 [text/plain]
Saving to: `perl.rb'

100%[============================================================================================================>] 319 --.-K/s in 0s

2013-10-01 20:55:50 (7.12 MB/s) - `perl.rb' saved [319/319]

--2013-10-01 20:55:50-- https://raw.github.com/skycocker/chromebrew/master/packages/openssl.rb
Resolving raw.github.com... 199.27.72.133
Connecting to raw.github.com|199.27.72.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 325 [text/plain]
Saving to: `openssl.rb'

100%[============================================================================================================>] 325 --.-K/s in 0s

2013-10-01 20:55:50 (5.90 MB/s) - `openssl.rb' saved [325/325]

--2013-10-01 20:55:50-- https://raw.github.com/skycocker/chromebrew/master/packages/curl.rb
Resolving raw.github.com... 199.27.72.133
Connecting to raw.github.com|199.27.72.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 319 [text/plain]
Saving to: `curl.rb'

100%[============================================================================================================>] 319 --.-K/s in 0s

2013-10-01 20:55:50 (9.76 MB/s) - `curl.rb' saved [319/319]

--2013-10-01 20:55:50-- https://raw.github.com/skycocker/chromebrew/master/packages/expat.rb
Resolving raw.github.com... 199.27.72.133
Connecting to raw.github.com|199.27.72.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 319 [text/plain]
Saving to: `expat.rb'

100%[============================================================================================================>] 319 --.-K/s in 0s

2013-10-01 20:55:50 (10.0 MB/s) - `expat.rb' saved [319/319]

--2013-10-01 20:55:50-- https://raw.github.com/skycocker/chromebrew/master/packages/gettext.rb
Resolving raw.github.com... 199.27.72.133
Connecting to raw.github.com|199.27.72.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 329 [text/plain]
Saving to: `gettext.rb'

100%[============================================================================================================>] 329 --.-K/s in 0s

2013-10-01 20:55:50 (10.9 MB/s) - `gettext.rb' saved [329/329]

--2013-10-01 20:55:50-- https://raw.github.com/skycocker/chromebrew/master/packages/python.rb
Resolving raw.github.com... 199.27.72.133
Connecting to raw.github.com|199.27.72.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 321 [text/plain]
Saving to: `python.rb'

100%[============================================================================================================>] 321 --.-K/s in 0s

2013-10-01 20:55:51 (10.4 MB/s) - `python.rb' saved [321/321]

/usr/bin/env: ruby: No such file or directory
bash: line 81: git: command not found
bash: line 82: git: command not found
bash: line 83: git: command not found
bash: line 84: .git/info/sparse-checkout: No such file or directory
bash: line 85: git: command not found
bash: line 86: git: command not found
Chromebrew installed successfully and package lists updated.

Any idea to what's going on? Tried running with Sudo and it doesn't take.

update python to 3.4?

Could you provide a new package for python3.4, since python3.4 ships with pip and it's definitely good to have.

Guide to building more packages?

Hey! I wanted to contribute with some packages, but I don't really understand the process of packaging them. Could you make some kind of guide so I could build a few? Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.