Skip to content

Instantly share code, notes, and snippets.

@Adiqq
Created October 28, 2017 18:15
Show Gist options
  • Save Adiqq/c0f5ba4b5813e38654510df5ea4b00ad to your computer and use it in GitHub Desktop.
Save Adiqq/c0f5ba4b5813e38654510df5ea4b00ad to your computer and use it in GitHub Desktop.
Arch - fail
❯ docker build -t buckaroo .
Sending build context to Docker daemon 35.84kB
Step 1/16 : FROM base/archlinux
---> 40aec536e4af
Step 2/16 : RUN echo -e "\nen_US.UTF-8 UTF-8" >> /etc/locale.gen
---> Running in b2a896a63ef0
---> 56ada7eefd40
Step 3/16 : RUN locale-gen
---> Running in 0ed299fb13e4
Generating locales...
en_US.UTF-8... done
Generation complete.
---> bb10581cae6a
Step 4/16 : RUN pacman -Syu
---> Running in 3374829947e4
:: Synchronizing package databases...
downloading core.db...
downloading core.db...
downloading core.db...
downloading core.db...
downloading core.db...
downloading extra.db...
downloading extra.db...
downloading extra.db...
downloading extra.db...
downloading extra.db...
downloading community.db...
downloading community.db...
downloading community.db...
downloading community.db...
downloading community.db...
:: Starting full system upgrade...
there is nothing to do
---> ea171ab47035
Step 5/16 : RUN pacman -S git bash ruby --noconfirm
---> Running in 1f46dc11dd3f
warning: bash-4.4.012-2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (6) libyaml-0.1.7-1 pcre2-10.30-1 perl-error-0.17025-2 bash-4.4.012-2 git-2.14.3-1 ruby-2.4.2-1
Total Download Size: 11.36 MiB
Total Installed Size: 60.00 MiB
Net Upgrade Size: 52.87 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
downloading bash-4.4.012-2-x86_64.pkg.tar.xz...
downloading bash-4.4.012-2-x86_64.pkg.tar.xz...
downloading bash-4.4.012-2-x86_64.pkg.tar.xz...
downloading bash-4.4.012-2-x86_64.pkg.tar.xz...
downloading bash-4.4.012-2-x86_64.pkg.tar.xz...
downloading perl-error-0.17025-2-any.pkg.tar.xz...
downloading perl-error-0.17025-2-any.pkg.tar.xz...
downloading perl-error-0.17025-2-any.pkg.tar.xz...
downloading perl-error-0.17025-2-any.pkg.tar.xz...
downloading perl-error-0.17025-2-any.pkg.tar.xz...
downloading pcre2-10.30-1-x86_64.pkg.tar.xz...
downloading pcre2-10.30-1-x86_64.pkg.tar.xz...
downloading pcre2-10.30-1-x86_64.pkg.tar.xz...
downloading pcre2-10.30-1-x86_64.pkg.tar.xz...
downloading pcre2-10.30-1-x86_64.pkg.tar.xz...
downloading git-2.14.3-1-x86_64.pkg.tar.xz...
downloading libyaml-0.1.7-1-x86_64.pkg.tar.xz...
downloading libyaml-0.1.7-1-x86_64.pkg.tar.xz...
downloading libyaml-0.1.7-1-x86_64.pkg.tar.xz...
downloading libyaml-0.1.7-1-x86_64.pkg.tar.xz...
downloading libyaml-0.1.7-1-x86_64.pkg.tar.xz...
downloading ruby-2.4.2-1-x86_64.pkg.tar.xz...
downloading ruby-2.4.2-1-x86_64.pkg.tar.xz...
downloading ruby-2.4.2-1-x86_64.pkg.tar.xz...
downloading ruby-2.4.2-1-x86_64.pkg.tar.xz...
downloading ruby-2.4.2-1-x86_64.pkg.tar.xz...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
warning: could not get file information for usr/share/man/man1/bash.1.gz
warning: could not get file information for usr/share/man/man1/bashbug.1.gz
:: Processing package changes...
reinstalling bash...
installing perl-error...
installing pcre2...
installing git...
Optional dependencies for git
tk: gitk and git gui
perl-libwww: git svn
perl-term-readkey: git svn
perl-mime-tools: git send-email
perl-net-smtp-ssl: git send-email TLS support
perl-authen-sasl: git send-email TLS support
perl-mediawiki-api: git mediawiki support
perl-datetime-format-iso8601: git mediawiki support
perl-lwp-protocol-https: git mediawiki https support
perl-cgi: gitweb (web interface) support
python2: various helper scripts
subversion: git svn
cvsps2: git cvsimport
gnome-keyring: GNOME keyring credential helper
installing libyaml...
installing ruby...
The default location of gem installs is $HOME/.gem/ruby
Add the following line to your PATH if you plan to install using gem
$(ruby -rubygems -e "puts Gem.user_dir")/bin
If you want to install to the system wide location, you must either:
edit /etc/gemrc or run gem with the --no-user-install flag.
Optional dependencies for ruby
ruby-docs: Ruby documentation
tk: for Ruby/TK
:: Running post-transaction hooks...
(1/2) Warn about old perl modules
(2/2) Updating the info directory file...
---> ee9769903df4
Step 6/16 : RUN useradd -m -G wheel -s /bin/bash archie
---> Running in 599e2a06a842
---> 0b92cc10ff6f
Step 7/16 : COPY install.sh /home/archie/install.sh
---> 792d942ff789
Step 8/16 : RUN chmod +x /home/archie/install.sh
---> Running in 620d8bbc2864
---> dad7a3a59801
Step 9/16 : USER archie
---> Running in 8a02d9779b6c
---> 6ec486d9b634
Step 10/16 : RUN whoami
---> Running in 668a71efea46
archie
---> c12b1694b094
Step 11/16 : RUN git clone https://github.com/Linuxbrew/brew.git ~/.linuxbrew
---> Running in 3c9ad5135ac2
Cloning into '/home/archie/.linuxbrew'...
---> ba5be7bba9a6
Step 12/16 : ENV PATH="${PATH}:~/.linuxbrew/bin"
---> Running in f385f3a5fa84
---> e95b0ffaba48
Step 13/16 : ENV MANPATH="$(brew --prefix)/share/man:$MANPATH"
---> Running in df6ae2196cfb
---> 2c47ef47acf2
Step 14/16 : ENV INFOPATH="$(brew --prefix)/share/info:$INFOPATH"
---> Running in 6c78e32eb24f
---> 1300abc7cf0e
Step 15/16 : RUN bash ~/install.sh
---> Running in 1e7e9e0b8097
==> Tapping homebrew/core
Cloning into '/home/archie/.linuxbrew/Library/Taps/homebrew/homebrew-core'...
Tapped 4419 formulae (4,694 files, 12.4MB)
==> Installing dependencies for gcc: patchelf, zlib, gmp, mpfr, libmpc, isl
==> Installing gcc dependency: patchelf
==> Downloading https://linuxbrew.bintray.com/bottles/patchelf-0.9_1.x86_64_linux.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/00/00c02e6c700f4427da40a82e2a5d88427cfb28a79b3ac69f441d69d8377254f4?__gda__=exp=1509214922~hmac=e0921e2326a5cabe12cfd3d9da83c09e0da9ebb2c26588969fbab519cbb82b86&response-content-disposition=attachment%3Bfilename%3D%22patchelf-0.9_1.x86_64_linux.bottle.tar.gz%22&response-content-type=application%2Fgzip&requestInfo=U2FsdGVkX1-EwUUTTG91R2cCUI4gZYP0hSZ2eBjxshUkdo2lTr7KA-IPRLzO24wULvoutMMsobrOc5cmq_Ni-alJ8RAqRNudBu_bypcPuZmr2YNZgQRaAsZmoMPncSwOodEk3Q6cs77uQ-Z2D_MZ4g&response-X-Checksum-Sha1=0b3a2bab524cc9e6522afe2ce1389c64870a63ec&response-X-Checksum-Sha2=00c02e6c700f4427da40a82e2a5d88427cfb28a79b3ac69f441d69d8377254f4
==> Pouring patchelf-0.9_1.x86_64_linux.bottle.tar.gz
🍺
==> Installing gcc dependency: zlib
==> Downloading https://linuxbrew.bintray.com/bottles/zlib-1.2.11.x86_64_linux.bottle.tar.gz
==> Pouring zlib-1.2.11.x86_64_linux.bottle.tar.gz
🍺
==> Installing gcc dependency: gmp
==> Downloading https://linuxbrew.bintray.com/bottles/gmp-6.1.2_1.x86_64_linux.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/98/982feb05de02cb3907835e1d3f78c39834f98bf8a6e382467f78e151294a93f2?__gda__=exp=1509214924~hmac=a256bbe8fad59d46ae7808796bea73b375664631c7e172a789feaff9b974731b&response-content-disposition=attachment%3Bfilename%3D%22gmp-6.1.2_1.x86_64_linux.bottle.tar.gz%22&response-content-type=application%2Fgzip&requestInfo=U2FsdGVkX19nmvFeygiG9GoCggBFwFqO41LWoZ1FIKgT0ZsaIR8ckbHNGcs90TslL3nSTo7q9-dj-Qus7MoHVNmL8N-BM2Q-x_fNibCyAHb1RsyJjE6mMbaqsF-cHJiKOX2i2YgcKk9LM438MChtuA&response-X-Checksum-Sha1=f30a14c02ef6014cc00f6e71ad60d4ac96cb47a8&response-X-Checksum-Sha2=982feb05de02cb3907835e1d3f78c39834f98bf8a6e382467f78e151294a93f2
==> Pouring gmp-6.1.2_1.x86_64_linux.bottle.tar.gz
🍺
==> Installing gcc dependency: mpfr
==> Downloading https://linuxbrew.bintray.com/bottles/mpfr-3.1.6.x86_64_linux.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/0c/0c55b9bbdab9f6b4821157d5b9c585f2792ab1de2a994917c92dec877ae0f3c1?__gda__=exp=1509214924~hmac=4c0c2c0673960867f9a269f7fdc4d45a1bdf60f9f9ed193c48313b7486d7d01f&response-content-disposition=attachment%3Bfilename%3D%22mpfr-3.1.6.x86_64_linux.bottle.tar.gz%22&response-content-type=application%2Fgzip&requestInfo=U2FsdGVkX19026EwBN8cpkN0hi5gLThQslMwoNnOexfNK6v3qOydmowKDAg9-nATdtyIqBxl0MUBw3sFrkDNdJqmQb9xxzg6JdkJCv_sHd8e5manCtyv_4HdXMzOQm97yNWacDNP3rqOSWxvZ3aB7g&response-X-Checksum-Sha1=0675920d4a1e844be3d8dcf6ac84815172f8e032&response-X-Checksum-Sha2=0c55b9bbdab9f6b4821157d5b9c585f2792ab1de2a994917c92dec877ae0f3c1
==> Pouring mpfr-3.1.6.x86_64_linux.bottle.tar.gz
🍺
==> Installing gcc dependency: libmpc
==> Downloading https://linuxbrew.bintray.com/bottles/libmpc-1.0.3_1.x86_64_linux.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/ed/eda921e4634e55e43a58c2030a3d49f9749251c4a257ef886744792587798bc5?__gda__=exp=1509214925~hmac=ce155aab7713a9a176ebcdcb41e091966621f9988ed2d267ceb5a38f2d49f5e2&response-content-disposition=attachment%3Bfilename%3D%22libmpc-1.0.3_1.x86_64_linux.bottle.tar.gz%22&response-content-type=application%2Fgzip&requestInfo=U2FsdGVkX1_ZlcvrrckPn7oyUm0jbHn7uuglVGPJYhg-2Y6SNCUbbivSMf1z4Ra5l2hBTnp0FqudaekRXU1aJejJnTz-sm-_Bh6U2sI1InRNj_ETF-2s_y5PkEAw_lOIzbKN9YG-WZLHlR95XkUOPQ&response-X-Checksum-Sha1=c4434c3fc3b3a9bd0b95cc8e61bb85493dad660e&response-X-Checksum-Sha2=eda921e4634e55e43a58c2030a3d49f9749251c4a257ef886744792587798bc5
==> Pouring libmpc-1.0.3_1.x86_64_linux.bottle.tar.gz
🍺
==> Installing gcc dependency: isl
==> Downloading https://linuxbrew.bintray.com/bottles/isl-0.18.x86_64_linux.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/96/964e01eb84ffc9082464b5232d8965f8b6d92dc691d8525d0b6daca88154c4ca?__gda__=exp=1509214926~hmac=1c955423ce53f4b0f8b9143191f34688c78fb201aca7f7523cf21f5f64e14a21&response-content-disposition=attachment%3Bfilename%3D%22isl-0.18.x86_64_linux.bottle.tar.gz%22&response-content-type=application%2Fgzip&requestInfo=U2FsdGVkX1_dez3D0ADu0vhQWi4Eo1eL_UmQjbg8v2PTqLgZBP3aRTBkua0-cDJSd7-hxjNiObA9_c4oWohtICJ0KoC24A_5LxXhblqYZrBCe14zgmp2McK6TXsMuQHBd-7cVo3WQmKfv-7y3UNLCw&response-X-Checksum-Sha1=65621c7f25a894941201589d802921d57d8bee08&response-X-Checksum-Sha2=964e01eb84ffc9082464b5232d8965f8b6d92dc691d8525d0b6daca88154c4ca
==> Pouring isl-0.18.x86_64_linux.bottle.tar.gz
🍺
==> Installing gcc
==> Downloading https://linuxbrew.bintray.com/bottles/gcc-5.4.0.x86_64_linux.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/ec/ec7aa5870c27648d5a9caf25baa8426dc1c61543c763bd6a9a596b751f20cf62?__gda__=exp=1509214927~hmac=cabc839288088b4aaba0bbe80dcb3f226b563427d98b0da3ad822ee0a7d34d67&response-content-disposition=attachment%3Bfilename%3D%22gcc-5.4.0.x86_64_linux.bottle.tar.gz%22&response-content-type=application%2Fgzip&requestInfo=U2FsdGVkX19NUg2JGOOk_ng-8g78itttOOsA1ZsApYNfeU56ZW2dOpy6gnIjasfMIvYumYZjcgBQaV31LZqNpTvQuc4dighOQ7Gqs71Lavjklq4se0MXvEWj8In2HLc0wp9_hgwYWxkwHtnEdlM95Q&response-X-Checksum-Sha1=9849a84a2a946664cb608fa5ecc2e2b3b8e45240&response-X-Checksum-Sha2=ec7aa5870c27648d5a9caf25baa8426dc1c61543c763bd6a9a596b751f20cf62
==> Pouring gcc-5.4.0.x86_64_linux.bottle.tar.gz
==> Creating the GCC specs file: /home/archie/.linuxbrew/Cellar/gcc/5.4.0/bin/../lib/gcc/x86_64-unknown-linux-gnu/5.4.0/specs
🍺
==> Tapping facebook/fb
Cloning into '/home/archie/.linuxbrew/Library/Taps/facebook/homebrew-fb'...
Tapped 3 formulae (32 files, 125.3KB)
==> Tapping loopperfect/lp
Cloning into '/home/archie/.linuxbrew/Library/Taps/loopperfect/homebrew-lp'...
Tapped 7 formulae (47 files, 157.1KB)
==> Installing buckaroo@1.3.1 from loopperfect/lp
==> Installing dependencies for loopperfect/lp/buckaroo@1.3.1: jdk, ant, buck
==> Installing loopperfect/lp/buckaroo@1.3.1 dependency: jdk
==> Downloading https://linuxbrew.bintray.com/bottles/jdk-9.0.1+11.x86_64_linux.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/07/0701a22799493a1989ce113a5c3e43c0e1a140f33733ff7cc04c91257f456c6d?__gda__=exp=1509214938~hmac=14fc028587f6542f1ac9e50b67670c4f2206c477ad4f368d59ed6952fa0b13cd&response-content-disposition=attachment%3Bfilename%3D%22jdk-9.0.1%2B11.x86_64_linux.bottle.tar.gz%22&response-content-type=application%2Fgzip&requestInfo=U2FsdGVkX1-_63ujFsd-VSb-VdQ2dGQKdL1dTepGiByfAacvQor7IwQZDVsiaZtIvlMob9OnsRzctcOXMPbW_H9mQ1ENS7VC9v5bEw9ERXyYb09sEX0eV-gmFwty3S2TbVYWFS_OiRVJ8gJdeemSNA&response-X-Checksum-Sha1=23d35356eea2d9c2adf51e7d018f96acea31b3a6&response-X-Checksum-Sha2=0701a22799493a1989ce113a5c3e43c0e1a140f33733ff7cc04c91257f456c6d
==> Pouring jdk-9.0.1+11.x86_64_linux.bottle.tar.gz
==> Caveats
By installing and using JDK you agree to the
Oracle Binary Code License Agreement for the Java SE Platform Products and JavaFX
http://www.oracle.com/technetwork/java/javase/terms/license/index.html
==> Summary
🍺
==> Installing loopperfect/lp/buckaroo@1.3.1 dependency: ant
==> Downloading https://linuxbrew.bintray.com/bottles/ant-1.10.1.x86_64_linux.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/2c/2cb9acc8acd965aea4e4fbc49095f874aad5e9564c3ac04eb40abbbcfbe97438?__gda__=exp=1509214971~hmac=c0325056c5c433e735ec0515b25e2910ac1bb90d319665ae664b07741d3b1a70&response-content-disposition=attachment%3Bfilename%3D%22ant-1.10.1.x86_64_linux.bottle.tar.gz%22&response-content-type=application%2Fgzip&requestInfo=U2FsdGVkX1_Qq0_qobrgsvtSTqjoEhf73yj58lQ757B5wgl0XVaZS8E8keCHRtMhW35SqGJOfkHOUCbnb2jtKsT3rvA_9UC5UZf9y7W2GEeFxweGQhZsE_kwSj-8G9URYWpz1uk5U350Vz97T2MtEQ&response-X-Checksum-Sha1=0e8eb5c9b22662035fd6d6e2860975b97df93b4d&response-X-Checksum-Sha2=2cb9acc8acd965aea4e4fbc49095f874aad5e9564c3ac04eb40abbbcfbe97438
==> Pouring ant-1.10.1.x86_64_linux.bottle.tar.gz
🍺
==> Installing loopperfect/lp/buckaroo@1.3.1 dependency: buck
==> Downloading https://api.github.com/repos/facebook/buck/tarball/v2017.10.01.01
==> Downloading from https://codeload.github.com/facebook/buck/legacy.tar.gz/v2017.10.01.01
==> ant
Last 15 lines from /home/archie/.cache/Homebrew/Logs/buck/01.ant:
[javac] ^^^^^^^^
[javac] Override cannot be resolved to a type
[javac] ----------
[javac] 2903. ERROR in /tmp/buck-20171028-4319-162el2/facebook-buck-2025fd7/third-party/java/aosp/src/com/android/manifmerger/XmlNode.java (at line 301)
[javac] @Override
[javac] ^^^^^^^^
[javac] Override cannot be resolved to a type
[javac] ----------
[javac] 2903 problems (2903 errors)
BUILD FAILED
/tmp/buck-20171028-4319-162el2/facebook-buck-2025fd7/build.xml:351: The following error occurred while executing this line:
/tmp/buck-20171028-4319-162el2/facebook-buck-2025fd7/build.xml:395: Compile failed; see the compiler error output for details.
Total time: 1 second
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/facebook/homebrew-fb/issues
The command '/bin/sh -c bash ~/install.sh' returned a non-zero code: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment