Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ docker run -it --rm -v "$PWD/linuxbrew1:/home/linuxbrew/" cristiancantoro/linuxbrew-dev
- linuxbrew@65c1ad8aaf2b:~$
- linuxbrew@65c1ad8aaf2b:~$
- linuxbrew@65c1ad8aaf2b:~$ ls
- ghc_binary_8.0.1.rb ghc_binary_8.0.2-rc1.rb
- linuxbrew@65c1ad8aaf2b:~$ brew doctor
- Your system is ready to brew.
- linuxbrew@65c1ad8aaf2b:~$ brew update
- Updated 1 tap (homebrew/core).
- ==> New Formulae
- closure-stylesheets gst-rtsp-server metricbeat osmfilter terraform-provisioner-ansible
- coffeescript ib mfterm packetbeat tomcat@6
- curaengine jid mikutter pacparser tomcat@7
- dnsviz jsonlint minimesos qt@5.5 treefrog
- eject juju@2.0 mysql@5.5 qwtpolar ttygif
- elasticsearch@1.7 kops mysql@5.6 recon-ng twarc
- elasticsearch@2.4 libgc nanomsgxx sbjson urbit
- excel-compare libgosu neatvi snap-telemetry wdc
- github-keygen libosmium node@0.10 sonarlint willgit
- glfw libprelude node@0.12 stern wu
- gmic loc node@4 swiftformat
- goenv luaver node@5 tarsnapper
- google-java-format lumo node@6 termius
- ==> Updated Formulae
- acpica elasticsearch ipmitool msitools schismtracker
- advancecomp elixirscript ircd-hybrid msmtp scons
- afflib elm ironcli mu scw
- agda emscripten iso-codes mutt sdl2
- aha ephemeralpg jadx mycli sdl_image
- algernon eris jasper mysql-sandbox sdl_mixer
- alot esniper javarepl mytop sf-pwgen
- ammonite-repl etcd jboss-forge nats-streaming-server sfk
- android-ndk exploitdb jemalloc ncmpcpp sfml
- android-platform-tools fabio jenkins ncrack shadowsocks-libev
- ansible fantom jenkins-job-builder neo4j shairport-sync
- ansifilter fdroidserver jetty neofetch shared-mime-info
- antigen feedgnuplot jfrog-cli-go neon shellinabox
- apache-geode ffind jmeter netpbm sile
- apache-spark ffmpeg jmxtrans nexus sjk
- apache-zeppelin file-roller jpeg-turbo nghttp2 skinny
- app-engine-go-32 filebeat jruby nifi slimerjs
- app-engine-go-64 fish jsdoc3 nim snappystream
- app-engine-java flake8 json-glib ninja snapraid
- arangodb flatcc jsonschema2pojo node sngrep
- archi-steam-farm flow kafka node-build snzip
- argon2 fltk kapacitor nomad softhsm
- argyll-cms fluent-bit kawa noti solr
- aria2 fmt keybase notmuch sops
- armor folly kibana nsd sourcekitten
- artifactory fontforge knot nss speedtest_cli
- asio fonttools kobalt nuget spim
- ats2-postiats format-udf kotlin ocaml sqldiff
- augeas freeipmi kubernetes-cli ocamlbuild sqlite
- autotrace freeling lablgtk ocamlsdl sqlite-analyzer
- aws-apigateway-importer freetds languagetool offlineimap sqlmap
- aws-elasticbeanstalk fstar lbdb ola srclib
- aws-sdk-cpp fuseki lean-cli omega ssh-audit
- awscli fwup leaps oniguruma sslscan
- azure-cli fzf ledit ooniprobe ssreflect
- babl galen lesspipe open-scene-graph stout
- baobab gammu lfe openssl@1.1 stunnel
- baresip gdb libarchive openvdb stuntman
- bash gdk-pixbuf libbpg openvpn subnetcalc
- bashdb gecode libbtbb orientdb subversion
- bazel gegl libcdr osm2pgrouting supersonic
- beecrypt generate-json-schema libcec osm2pgsql suricata
- bib-tool geoserver libcouchbase osmosis svgcleaner
- bibtexconv gflags libcue osquery svtplay-dl
- bind ghc libdap osrm-backend swift
- bitrise gibo libdivecomputer owfs swiftgen
- blockhash gimme libebur128 packer swiftlint
- bmon git libetonyek paket swig
- boost-build git-annex libexosip pandoc sync_gateway
- borg git-cola libgcrypt pandoc-citeproc syncthing
- bro git-ftp libgit2 pandoc-crossref syncthing-inotify
- buku git-lfs libgpg-error parallel synfig
- bullet git-octopus libgphoto2 parquet-tools sysdig
- bzrtools git-series libgsf passenger szl
- cabal-install gitbucket libical pazpar2 tag
- caf gitlab-ci-multi-runner libical-glib pcap_dnsproxy tasksh
- cairo gjstest libicns pdf2htmlex taylor
- cairomm glade liblastfm pdftoedn tbb
- cake glbinding libmagic peco tbox
- calabash glib libmicrohttpd percona-server tccutil
- camlp4 glm libmill percona-toolkit tcpreplay
- camlp5 globus-toolkit libmspub percona-xtrabackup td
- cassandra glog libosip pex telegraf
- ccache glyr libphonenumber pg_top terraform
- certbot gmime libpng pgcli terragrunt
- certigo gnome-builder libpqxx pgloader testssl
- ceylon gnu-tar libpst pgpool-ii texmath
- chaiscript gnutls libraw pgroonga tgui
- charm-tools go librdkafka pgrouting the_silver_searcher
- cheat goaccess libre pick tig
- check_postgres godep librem pigz tile38
- checkstyle gofabric8 libressl pkcs11-helper tinc
- chromedriver google-benchmark libsamplerate platformio tinyproxy
- chruby-fish govendor libsass pldebugger tippecanoe
- citus gphoto2 libtiff plowshare tmux
- cli53 gradle libu2f-host pmd tomcat
- clib grafana libunistring pngcrush tomcat-native
- cliclick grails libuv pngquant tor
- clipper graphite2 libvirt ponyc trafficserver
- clojurescript grib-api libvisio poppler translate-shell
- closure-compiler groonga libwpd postgis ttfautohint
- clutter-gst gsl libxml++3 postgresql ttyd
- cmake gspell libzdb postgrest typesafe-activator
- cmark gst-editing-services links pre-commit typescript
- cmus gst-libav llnode prometheus u-boot-tools
- coccinelle gst-plugins-bad log4cxx psql2csv ufraw
- collectd gst-plugins-base logstash psqlodbc uncrustify
- commandbox gst-plugins-good logtalk pstoedit urweb
- conan gst-plugins-ugly luaradio pugixml vala
- consul gst-python lynis pulledpork vapoursynth
- consul-backinator gst-validate m-cli purescript vault
- convox gstreamer mackup pushpin vc4asm
- coq gtk+3 macvim pwntools vdirsyncer
- corectl gtk-gnutella mailutils pyenv vim
- coreutils gtkdatabox makensis pypy vmtouch
- couchdb gtkextra makepkg pypy3 voldemort
- cpanminus gtksourceview3 mandoc qbs vowpal-wabbit
- cpprestsdk gucharmap mapnik qjackctl vte3
- cromwell gupnp-tools mariadb qjson vultr
- cryptopp gwt mawk quantlib wakatime-cli
- crystal-lang gwyddion mbedtls quazip wartremover
- curl hadolint mdds questdb watson
- czmq haproxy mdp quilt wavpack
- dar harfbuzz mdv qxmpp webkitgtk
- datetime-fortran haskell-stack media-info rakudo-star wellington
- dateutils headphones mediaconch rancher-cli winetricks
- davmail hebcal megatools rancher-compose wireguard-tools
- dbhash heroku memcached rancid wireshark
- dbus hg-fast-export mercurial rbenv x264
- dc3dd highlight meson rclone xapian
- dcraw hledger mesos re2 xcproj
- dependency-check homebank metabase readline xctool
- devd html-xml-utils mg3a redis xmake
- diff-pdf httpie micro rhash yarn
- digdag httpstat micropython riemann yaz
- direnv hunspell mighttpd2 ripgrep yle-dl
- distribution hyper minio rocksdb you-get
- dmd hyperscan minio-mc roswell youtube-dl
- dmtx-utils i2p minizinc rtags yubico-piv-tool
- docker ibex mitmproxy ruby z3
- docker-compose icu4c mkdocs ruby-build zabbix
- docker-machine-driver-xhyve idris mksh runit zbar
- docker-swarm imagejs mkvtoolnix rust zebra
- dockviz imagemagick mlt s-search zero-install
- docutils imapfilter mmix s6 zeromq
- dovecot infer moc sagittarius-scheme znapzend
- dpkg influxdb mongodb saltstack zookeeper
- dub innotop monkeysphere sassc zorba
- duplicity internetarchive mono sbcl zplug
- dwarfutils ioping mpd sbt zsh
- dwdiff ios-sim mpg123 scala zsh-completions
- efl ipbt mpop scale2x zstd
- eigen iperf3 mpv scamper zurl
- ==> Renamed Formulae
- juju -> juju@1.25 libmongoclient -> mongo-cxx-driver mongo-c -> mongo-c-driver
- ==> Deleted Formulae
- bzr-explorer czmqpp libechonest libqglviewer polygen swish-e tlassemble unfs3 yelp-xsl
- coin libbson libnice pdksh pyqt tevent ttylog wyrd
- linuxbrew@65c1ad8aaf2b:~$ ls
- ghc_binary_8.0.1.rb ghc_binary_8.0.2-rc1.rb
- linuxbrew@65c1ad8aaf2b:~$ cp ghc_binary_8.0.1.rb .linuxbrew/Library/Taps/homebrew/homebrew-core/
- .git/ .travis.yml CONTRIBUTING.md LICENSE.txt circle.yml tap_migrations.json
- .github/ Aliases/ Formula/ README.md formula_renames.json
- linuxbrew@65c1ad8aaf2b:~$ cp ghc_binary_8.0.1.rb .linuxbrew/Library/Taps/homebrew/homebrew-core/Formula/ghc.rb
- linuxbrew@65c1ad8aaf2b:~$
- linuxbrew@65c1ad8aaf2b:~$
- linuxbrew@65c1ad8aaf2b:~$ brew update
- Already up-to-date.
- linuxbrew@65c1ad8aaf2b:~$ brew --build-from-source ghc
- Error: Unknown command: --build-from-source
- linuxbrew@65c1ad8aaf2b:~$ brew install --build-from-source ghc
- ==> Tapping homebrew/dupes
- Cloning into '/home/linuxbrew/.linuxbrew/Library/Taps/homebrew/homebrew-dupes'...
- remote: Counting objects: 44, done.
- remote: Compressing objects: 100% (44/44), done.
- remote: Total 44 (delta 0), reused 6 (delta 0), pack-reused 0
- Unpacking objects: 100% (44/44), done.
- Checking connectivity... done.
- Tapped 38 formulae (107 files, 343K)
- ==> Installing dependencies for ghc: patchelf, xz, sphinx-doc, homebrew/dupes/m4, homebrew/dupes/ncurses, gmp
- ==> Installing ghc dependency: patchelf
- ==> Downloading https://linuxbrew.bintray.com/bottles/patchelf-0.9_1.x86_64_linux.bottle.tar.gz
- ######################################################################## 100.0%
- ==> Pouring patchelf-0.9_1.x86_64_linux.bottle.tar.gz
- 🍺 /home/linuxbrew/.linuxbrew/Cellar/patchelf/0.9_1: 6 files, 1.2M
- ==> Installing ghc dependency: xz
- ==> Downloading https://linuxbrew.bintray.com/bottles/xz-5.2.2.x86_64_linux.bottle.tar.gz
- ######################################################################## 100.0%
- ==> Pouring xz-5.2.2.x86_64_linux.bottle.tar.gz
- 🍺 /home/linuxbrew/.linuxbrew/Cellar/xz/5.2.2: 98 files, 1.8M
- ==> Installing ghc dependency: sphinx-doc
- ==> Downloading https://linuxbrew.bintray.com/bottles/sphinx-doc-1.4.5.x86_64_linux.bottle.tar.gz
- ######################################################################## 100.0%
- ==> Pouring sphinx-doc-1.4.5.x86_64_linux.bottle.tar.gz
- ==> Caveats
- This formula is keg-only, which means it was not symlinked into /home/linuxbrew/.linuxbrew.
- This formula is mainly used internally by other formulae.
- Users are advised to use `pip` to install sphinx-doc.
- ==> Summary
- 🍺 /home/linuxbrew/.linuxbrew/Cellar/sphinx-doc/1.4.5: 2,243 files, 32.3M
- ==> Installing ghc dependency: homebrew/dupes/m4
- ==> Downloading https://linuxbrew.bintray.com/bottles-dupes/m4-1.4.17.x86_64_linux.bottle.tar.gz
- ######################################################################## 100.0%
- ==> Pouring m4-1.4.17.x86_64_linux.bottle.tar.gz
- 🍺 /home/linuxbrew/.linuxbrew/Cellar/m4/1.4.17: 12 files, 791.4K
- ==> Installing ghc dependency: homebrew/dupes/ncurses
- ==> Downloading https://linuxbrew.bintray.com/bottles-dupes/ncurses-6.0_2.x86_64_linux.bottle.tar.gz
- ######################################################################## 100.0%
- ==> Pouring ncurses-6.0_2.x86_64_linux.bottle.tar.gz
- 🍺 /home/linuxbrew/.linuxbrew/Cellar/ncurses/6.0_2: 3,830 files, 14.9M
- ==> Installing ghc dependency: gmp
- ==> Downloading https://linuxbrew.bintray.com/bottles/gmp-6.1.1.x86_64_linux.bottle.tar.gz
- ######################################################################## 100.0%
- ==> Pouring gmp-6.1.1.x86_64_linux.bottle.tar.gz
- 🍺 /home/linuxbrew/.linuxbrew/Cellar/gmp/6.1.1: 19 files, 3.6M
- ==> Installing ghc
- ==> Downloading https://downloads.haskell.org/~ghc/8.0.1/ghc-8.0.1-src.tar.xz
- ######################################################################## 100.0%
- ==> Downloading https://ftpmirror.gnu.org/gmp/gmp-6.1.1.tar.xz
- ==> Downloading from http://mirror2.mirror.garr.it/mirrors/gnuftp/gnu/gmp/gmp-6.1.1.tar.xz
- ######################################################################## 100.0%
- ==> ./configure --prefix=/home/linuxbrew/.linuxbrew/Cellar/ghc/8.0.1_3/libexec/integer-gmp --with-pic --disable-shared
- ==> make
- ==> make check
- ==> make install
- ==> Downloading http://downloads.haskell.org/~ghc/8.0.1/ghc-8.0.1-x86_64-deb7-linux.tar.xz
- ######################################################################## 100.0%
- ==> ./configure --prefix=/tmp/ghc-20161214-4544-1hdj93j/ghc-8.0.1/binary --with-gmp-includes=/home/linuxbrew/.linuxbrew/Cellar/ghc/8.0.1_3/libexec/integer-gmp/
- ==> make install
- ==> ./configure --prefix=/home/linuxbrew/.linuxbrew/Cellar/ghc/8.0.1_3 --with-gmp-includes=/home/linuxbrew/.linuxbrew/Cellar/ghc/8.0.1_3/libexec/integer-gmp/in
- ==> make
- ==> make install
- ==> /home/linuxbrew/.linuxbrew/Cellar/ghc/8.0.1_3/bin/ghc-pkg recache
- Last 15 lines from /home/linuxbrew/.cache/Homebrew/Logs/ghc/post_install.01.ghc-pkg:
- 2016-12-14 20:12:59 +0100
- /home/linuxbrew/.linuxbrew/Cellar/ghc/8.0.1_3/bin/ghc-pkg
- recache
- /home/linuxbrew/.linuxbrew/Cellar/ghc/8.0.1_3/lib/ghc-8.0.1/bin/ghc-pkg: error while loading shared libraries: libncursesw.so.6: cannot open shared object file: No such file or directory
- Warning: The post-install step did not complete successfully
- You can try again using `brew postinstall ghc`
- ==> Summary
- 🍺 /home/linuxbrew/.linuxbrew/Cellar/ghc/8.0.1_3: 5,859 files, 1.1G, built in 122 minutes 57 seconds
- linuxbrew@65c1ad8aaf2b:~$ brew patchelf ghc
- ==> Fixing up ghc...
- linuxbrew@65c1ad8aaf2b:~$ brew test ghc
- Testing ghc
- ==> /home/linuxbrew/.linuxbrew/Cellar/ghc/8.0.1_3/bin/runghc /tmp/ghc-test-20161215-1661-1bbtl8t/hello.hs
- Last 15 lines from /home/linuxbrew/.cache/Homebrew/Logs/ghc/test.01.runghc:
- 2016-12-15 10:07:15 +0100
- /home/linuxbrew/.linuxbrew/Cellar/ghc/8.0.1_3/bin/runghc
- /tmp/ghc-test-20161215-1661-1bbtl8t/hello.hs
- /home/linuxbrew/.linuxbrew/Cellar/ghc/8.0.1_3/lib/ghc-8.0.1/package.conf.d/package.cache: openBinaryFile: does not exist (No such file or directory)
- Error: ghc: failed
- Failed executing: /home/linuxbrew/.linuxbrew/Cellar/ghc/8.0.1_3/bin/runghc /tmp/ghc-test-20161215-1661-1bbtl8t/hello.hs
- /home/linuxbrew/.linuxbrew/Library/Homebrew/formula.rb:1802:in `block in system'
- /home/linuxbrew/.linuxbrew/Library/Homebrew/formula.rb:1740:in `open'
- /home/linuxbrew/.linuxbrew/Library/Homebrew/formula.rb:1740:in `system'
- /home/linuxbrew/.linuxbrew/Library/Taps/homebrew/homebrew-core/Formula/ghc.rb:228:in `block in <class:Ghc>'
- /home/linuxbrew/.linuxbrew/Library/Homebrew/formula.rb:1640:in `block (2 levels) in run_test'
- /home/linuxbrew/.linuxbrew/Library/Homebrew/formula.rb:870:in `with_logging'
- /home/linuxbrew/.linuxbrew/Library/Homebrew/formula.rb:1639:in `block in run_test'
- /home/linuxbrew/.linuxbrew/Library/Homebrew/extend/fileutils.rb:14:in `block in mktemp'
- /home/linuxbrew/.linuxbrew/Library/Homebrew/extend/fileutils.rb:74:in `block in run'
- /home/linuxbrew/.linuxbrew/Library/Homebrew/extend/fileutils.rb:74:in `chdir'
- /home/linuxbrew/.linuxbrew/Library/Homebrew/extend/fileutils.rb:74:in `run'
- /home/linuxbrew/.linuxbrew/Library/Homebrew/extend/fileutils.rb:13:in `mktemp'
- /home/linuxbrew/.linuxbrew/Library/Homebrew/formula.rb:1633:in `run_test'
- /home/linuxbrew/.linuxbrew/Library/Homebrew/test.rb:33:in `block in <main>'
- /usr/lib/ruby/2.3.0/timeout.rb:91:in `block in timeout'
- /usr/lib/ruby/2.3.0/timeout.rb:33:in `block in catch'
- /usr/lib/ruby/2.3.0/timeout.rb:33:in `catch'
- /usr/lib/ruby/2.3.0/timeout.rb:33:in `catch'
- /usr/lib/ruby/2.3.0/timeout.rb:106:in `timeout'
- /home/linuxbrew/.linuxbrew/Library/Homebrew/test.rb:32:in `<main>'
- linuxbrew@65c1ad8aaf2b:~$ brew postinstall ghc
- ==> /home/linuxbrew/.linuxbrew/Cellar/ghc/8.0.1_3/bin/ghc-pkg recache
- linuxbrew@65c1ad8aaf2b:~$ brew test ghc
- Testing ghc
- ==> /home/linuxbrew/.linuxbrew/Cellar/ghc/8.0.1_3/bin/runghc /tmp/ghc-test-20161215-2032-138jogp/hello.hs
- ==> /home/linuxbrew/.linuxbrew/Cellar/ghc/8.0.1_3/bin/ghc -o hello hello.hs
- ==> ./hello
- linuxbrew@65c1ad8aaf2b:~$ ghc --version
- The Glorious Glasgow Haskell Compilation System, version 8.0.1
- linuxbrew@65c1ad8aaf2b:~$ brew audit --strict ghc
- ==> Installing or updating 'rubocop' gem
- Fetching: rainbow-2.1.0.gem (100%)
- Successfully installed rainbow-2.1.0
- Fetching: ast-2.3.0.gem (100%)
- Successfully installed ast-2.3.0
- Fetching: parser-2.3.3.1.gem (100%)
- Successfully installed parser-2.3.3.1
- Fetching: powerpack-0.1.1.gem (100%)
- Successfully installed powerpack-0.1.1
- Fetching: ruby-progressbar-1.8.1.gem (100%)
- Successfully installed ruby-progressbar-1.8.1
- Fetching: unicode-display_width-1.1.2.gem (100%)
- Successfully installed unicode-display_width-1.1.2
- Fetching: rubocop-0.45.0.gem (100%)
- Successfully installed rubocop-0.45.0
- 7 gems installed
- linuxbrew@65c1ad8aaf2b:~$ brew audit --strict ghc
- linuxbrew@65c1ad8aaf2b:~$
Add Comment
Please, Sign In to add comment