Skip to content

Instantly share code, notes, and snippets.

@davidkazuhiro
Created October 15, 2017 14:43
Show Gist options
  • Save davidkazuhiro/3cc1ce05b99e36cadd88dfba910e54da to your computer and use it in GitHub Desktop.
Save davidkazuhiro/3cc1ce05b99e36cadd88dfba910e54da to your computer and use it in GitHub Desktop.
$ hab pkg build .
hab-studio: Creating Studio at /hab/studios/src (default)
hab-studio: Importing davidkazuhiro secret origin key
» Importing origin key from standard input
★ Imported secret origin key davidkazuhiro-20171015144159.
hab-studio: Building '.' in Studio at /hab/studios/src (default)
hab-studio: Exported: HAB_ORIGIN=davidkazuhiro
Script started, file is /src/results/logs/sinatra-hab.2017-10-15-144216.log
: Loading /src/habitat/plan.sh
sinatra-hab: Plan loaded
sinatra-hab: Validating plan metadata
sinatra-hab: hab-plan-build setup
sinatra-hab: Using HAB_BIN=/hab/pkgs/core/hab/0.21.0/20170421003135/bin/hab for installs, signing, and hashing
sinatra-hab: Resolving scaffolding dependencies
» Installing core/scaffolding-ruby
↓ Downloading core/scaffolding-ruby/0.8.6/20171014221429
12.22 KB / 12.22 KB | [===============================] 100.00 % 4.40 MB/s
↓ Downloading core/acl/2.2.52/20170513213108
90.15 KB / 90.15 KB \ [===============================] 100.00 % 2.94 MB/s
↓ Downloading core/attr/2.4.47/20170513213059
63.08 KB / 63.08 KB / [===============================] 100.00 % 4.93 MB/s
↓ Downloading core/binutils/2.25.1/20170513201927
2.81 MB / 2.81 MB | [=================================] 100.00 % 8.01 MB/s
↓ Downloading core/bundler/1.15.4/20171014220001
607.59 KB / 607.59 KB / [============================] 100.00 % 10.77 MB/s
↓ Downloading core/busybox-static/1.24.2/20170513215502
510.76 KB / 510.76 KB | [=============================] 100.00 % 8.60 MB/s
↓ Downloading core/cacerts/2017.09.20/20171014212239
126.37 KB / 126.37 KB | [============================] 100.00 % 13.41 MB/s
↓ Downloading core/coreutils/8.25/20170513213226
2.00 MB / 2.00 MB | [=================================] 100.00 % 7.33 MB/s
↓ Downloading core/gcc-libs/5.2.0/20170513212920
1.74 MB / 1.74 MB \ [=================================] 100.00 % 3.42 MB/s
↓ Downloading core/gcc/5.2.0/20170513202244
38.07 MB / 38.07 MB - [==============================] 100.00 % 10.57 MB/s
↓ Downloading core/glibc/2.22/20170513201042
7.76 MB / 7.76 MB - [================================] 100.00 % 10.59 MB/s
↓ Downloading core/gmp/6.1.0/20170513202112
364.20 KB / 364.20 KB / [=============================] 100.00 % 5.47 MB/s
↓ Downloading core/grep/2.22/20170513213444
177.65 KB / 177.65 KB \ [=============================] 100.00 % 8.79 MB/s
↓ Downloading core/libcap/2.24/20170513213120
31.80 KB / 31.80 KB / [==============================] 100.00 % 18.26 MB/s
↓ Downloading core/libffi/3.2.1/20170514003538
36.23 KB / 36.23 KB / [==============================] 100.00 % 11.62 MB/s
↓ Downloading core/libmpc/1.0.3/20170513202228
69.42 KB / 69.42 KB / [==============================] 100.00 % 20.21 MB/s
↓ Downloading core/libtool/2.4.6/20170513213706
373.52 KB / 373.52 KB \ [=============================] 100.00 % 9.42 MB/s
↓ Downloading core/libyaml/0.1.6/20170514013335
57.61 KB / 57.61 KB | [==============================] 100.00 % 94.81 MB/s
↓ Downloading core/linux-headers/4.3/20170513200956
798.35 KB / 798.35 KB | [============================] 100.00 % 10.08 MB/s
↓ Downloading core/make/4.2.1/20170513214620
355.65 KB / 355.65 KB / [============================] 100.00 % 10.21 MB/s
↓ Downloading core/mpfr/3.1.4/20170513202156
309.59 KB / 309.59 KB \ [============================] 100.00 % 10.91 MB/s
↓ Downloading core/ncurses/6.0/20170513213009
784.41 KB / 784.41 KB \ [============================] 100.00 % 10.49 MB/s
↓ Downloading core/openssl/1.0.2l/20171014213633
2.10 MB / 2.10 MB / [================================] 100.00 % 12.45 MB/s
↓ Downloading core/pcre/8.38/20170513213423
712.11 KB / 712.11 KB - [============================] 100.00 % 11.39 MB/s
↓ Downloading core/pkg-config/0.29/20170513212944
157.64 KB / 157.64 KB | [============================] 100.00 % 14.17 MB/s
↓ Downloading core/readline/6.3.8/20170513213506
271.89 KB / 271.89 KB \ [============================] 100.00 % 19.12 MB/s
↓ Downloading core/rq/0.9.2/20170612005822
4.68 MB / 4.68 MB \ [================================] 100.00 % 10.28 MB/s
↓ Downloading core/ruby/2.4.2/20171014214232
5.29 MB / 5.29 MB | [================================] 100.00 % 11.96 MB/s
↓ Downloading core/sed/4.2.2/20170513213123
116.72 KB / 116.72 KB \ [============================] 100.00 % 17.67 MB/s
↓ Downloading core/tar/1.29/20170513213607
607.74 KB / 607.74 KB / [============================] 100.00 % 11.87 MB/s
↓ Downloading core/zlib/1.2.8/20170513201911
70.96 KB / 70.96 KB / [==============================] 100.00 % 15.57 MB/s
✓ Installed core/acl/2.2.52/20170513213108
✓ Installed core/attr/2.4.47/20170513213059
✓ Installed core/binutils/2.25.1/20170513201927
✓ Installed core/bundler/1.15.4/20171014220001
✓ Installed core/busybox-static/1.24.2/20170513215502
✓ Installed core/cacerts/2017.09.20/20171014212239
✓ Installed core/coreutils/8.25/20170513213226
✓ Installed core/gcc-libs/5.2.0/20170513212920
✓ Installed core/gcc/5.2.0/20170513202244
✓ Installed core/glibc/2.22/20170513201042
✓ Installed core/gmp/6.1.0/20170513202112
✓ Installed core/grep/2.22/20170513213444
✓ Installed core/libcap/2.24/20170513213120
✓ Installed core/libffi/3.2.1/20170514003538
✓ Installed core/libmpc/1.0.3/20170513202228
✓ Installed core/libtool/2.4.6/20170513213706
✓ Installed core/libyaml/0.1.6/20170514013335
✓ Installed core/linux-headers/4.3/20170513200956
✓ Installed core/make/4.2.1/20170513214620
✓ Installed core/mpfr/3.1.4/20170513202156
✓ Installed core/ncurses/6.0/20170513213009
✓ Installed core/openssl/1.0.2l/20171014213633
✓ Installed core/pcre/8.38/20170513213423
✓ Installed core/pkg-config/0.29/20170513212944
✓ Installed core/readline/6.3.8/20170513213506
✓ Installed core/rq/0.9.2/20170612005822
✓ Installed core/ruby/2.4.2/20171014214232
✓ Installed core/sed/4.2.2/20170513213123
✓ Installed core/tar/1.29/20170513213607
✓ Installed core/zlib/1.2.8/20170513201911
✓ Installed core/scaffolding-ruby/0.8.6/20171014221429
★ Install of core/scaffolding-ruby/0.8.6/20171014221429 complete with 31 new packages installed.
sinatra-hab: Resolved scaffolding dependency 'core/scaffolding-ruby' to /hab/pkgs/core/scaffolding-ruby/0.8.6/20171014221429
sinatra-hab: Resolving build dependencies
» Installing core/scaffolding-ruby
→ Using core/scaffolding-ruby/0.8.6/20171014221429
★ Install of core/scaffolding-ruby/0.8.6/20171014221429 complete with 0 new packages installed.
sinatra-hab: Resolved build dependency 'core/scaffolding-ruby' to /hab/pkgs/core/scaffolding-ruby/0.8.6/20171014221429
» Installing core/bundler/1.15.4/20171014220001
→ Using core/bundler/1.15.4/20171014220001
★ Install of core/bundler/1.15.4/20171014220001 complete with 0 new packages installed.
sinatra-hab: Resolved build dependency 'core/bundler/1.15.4/20171014220001' to /hab/pkgs/core/bundler/1.15.4/20171014220001
» Installing core/ruby/2.4.2/20171014214232
→ Using core/ruby/2.4.2/20171014214232
★ Install of core/ruby/2.4.2/20171014214232 complete with 0 new packages installed.
sinatra-hab: Resolved build dependency 'core/ruby/2.4.2/20171014214232' to /hab/pkgs/core/ruby/2.4.2/20171014214232
» Installing core/tar/1.29/20170513213607
→ Using core/tar/1.29/20170513213607
★ Install of core/tar/1.29/20170513213607 complete with 0 new packages installed.
sinatra-hab: Resolved build dependency 'core/tar/1.29/20170513213607' to /hab/pkgs/core/tar/1.29/20170513213607
» Installing core/busybox-static/1.24.2/20170513215502
→ Using core/busybox-static/1.24.2/20170513215502
★ Install of core/busybox-static/1.24.2/20170513215502 complete with 0 new packages installed.
sinatra-hab: Resolved build dependency 'core/busybox-static/1.24.2/20170513215502' to /hab/pkgs/core/busybox-static/1.24.2/20170513215502
» Installing core/rq/0.9.2/20170612005822
→ Using core/rq/0.9.2/20170612005822
★ Install of core/rq/0.9.2/20170612005822 complete with 0 new packages installed.
sinatra-hab: Resolved build dependency 'core/rq/0.9.2/20170612005822' to /hab/pkgs/core/rq/0.9.2/20170612005822
» Installing core/gcc/5.2.0/20170513202244
→ Using core/gcc/5.2.0/20170513202244
★ Install of core/gcc/5.2.0/20170513202244 complete with 0 new packages installed.
sinatra-hab: Resolved build dependency 'core/gcc/5.2.0/20170513202244' to /hab/pkgs/core/gcc/5.2.0/20170513202244
» Installing core/make/4.2.1/20170513214620
→ Using core/make/4.2.1/20170513214620
★ Install of core/make/4.2.1/20170513214620 complete with 0 new packages installed.
sinatra-hab: Resolved build dependency 'core/make/4.2.1/20170513214620' to /hab/pkgs/core/make/4.2.1/20170513214620
» Installing core/pkg-config/0.29/20170513212944
→ Using core/pkg-config/0.29/20170513212944
★ Install of core/pkg-config/0.29/20170513212944 complete with 0 new packages installed.
sinatra-hab: Resolved build dependency 'core/pkg-config/0.29/20170513212944' to /hab/pkgs/core/pkg-config/0.29/20170513212944
sinatra-hab: Loading Scaffolding /hab/pkgs/core/scaffolding-ruby/0.8.6/20171014221429/lib/scaffolding.sh
sinatra-hab: Resolving run dependencies
sinatra-hab: Settings PATH=/hab/pkgs/core/scaffolding-ruby/0.8.6/20171014221429/bin:/hab/pkgs/core/bundler/1.15.4/20171014220001/bin:/hab/pkgs/core/ruby/2.4.2/20171014214232/bin:/hab/pkgs/core/tar/1.29/20170513213607/bin:/hab/pkgs/core/busybox-static/1.24.2/20170513215502/bin:/hab/pkgs/core/rq/0.9.2/20170612005822/bin:/hab/pkgs/core/gcc/5.2.0/20170513202244/bin:/hab/pkgs/core/make/4.2.1/20170513214620/bin:/hab/pkgs/core/pkg-config/0.29/20170513212944/bin:/hab/pkgs/core/acl/2.2.52/20170513213108/bin:/hab/pkgs/core/attr/2.4.47/20170513213059/bin:/hab/pkgs/core/binutils/2.25.1/20170513201927/bin:/hab/pkgs/core/coreutils/8.25/20170513213226/bin:/hab/pkgs/core/glibc/2.22/20170513201042/bin:/hab/pkgs/core/grep/2.22/20170513213444/bin:/hab/pkgs/core/libcap/2.24/20170513213120/bin:/hab/pkgs/core/libtool/2.4.6/20170513213706/bin:/hab/pkgs/core/ncurses/6.0/20170513213009/bin:/hab/pkgs/core/openssl/1.0.2l/20171014213633/bin:/hab/pkgs/core/pcre/8.38/20170513213423/bin:/hab/pkgs/core/sed/4.2.2/20170513213123/bin:/hab/pkgs/core/hab-plan-build/0.21.0/20170421003843/bin:/hab/pkgs/core/bash/4.3.42/20161213234235/bin:/hab/pkgs/core/binutils/2.25.1/20161208212141/bin:/hab/pkgs/core/bzip2/1.0.6/20161208225359/bin:/hab/pkgs/core/coreutils/8.25/20161208223423/bin:/hab/pkgs/core/file/5.24/20161208231044/bin:/hab/pkgs/core/findutils/4.4.2/20161208223828/bin:/hab/pkgs/core/gawk/4.1.3/20161208225252/bin:/hab/pkgs/core/grep/2.22/20161213233954/bin:/hab/pkgs/core/gzip/1.6/20161214000205/bin:/hab/pkgs/core/hab/0.21.0/20170421003135/bin:/hab/pkgs/core/rq/0.9.2/20170207175633/bin:/hab/pkgs/core/sed/4.2.2/20161208223647/bin:/hab/pkgs/core/tar/1.29/20161209183612/bin:/hab/pkgs/core/unzip/6.0/20161214012024/bin:/hab/pkgs/core/wget/1.18/20161214015248/bin:/hab/pkgs/core/xz/5.2.2/20161208230159/bin:/hab/pkgs/core/acl/2.2.52/20161208223311/bin:/hab/pkgs/core/attr/2.4.47/20161208223238/bin:/hab/pkgs/core/glibc/2.22/20160612063629/bin:/hab/pkgs/core/less/481/20161213235230/bin:/hab/pkgs/core/libcap/2.24/20161208223353/bin:/hab/pkgs/core/libidn/1.32/20161214015159/bin:/hab/pkgs/core/ncurses/6.0/20161213233720/bin:/hab/pkgs/core/openssl/1.0.2j/20161214012334/bin:/hab/pkgs/core/pcre/8.38/20161213233903/bin
created directory: '/hab/cache/src'
sinatra-hab: Downloading 'https://github.com/davidkazuhiro/sinatra-hab/archive/sinatra-hab-v0.1.0-alpha.tar.gz' to 'sinatra-hab-v0.1.0-alpha.tar.gz'
--2017-10-15 14:42:52-- https://github.com/davidkazuhiro/sinatra-hab/archive/sinatra-hab-v0.1.0-alpha.tar.gz
Resolving github.com (github.com)... 192.30.255.112, 192.30.255.113
Connecting to github.com (github.com)|192.30.255.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/davidkazuhiro/sinatra-hab/tar.gz/sinatra-hab-v0.1.0-alpha [following]
--2017-10-15 14:42:53-- https://codeload.github.com/davidkazuhiro/sinatra-hab/tar.gz/sinatra-hab-v0.1.0-alpha
Resolving codeload.github.com (codeload.github.com)... 192.30.255.120, 192.30.255.121
Connecting to codeload.github.com (codeload.github.com)|192.30.255.120|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2962 (2.9K) [application/x-gzip]
Saving to: 'sinatra-hab-v0.1.0-alpha.tar.gz'
sinatra-hab-v0.1.0- 100%[===================>] 2.89K --.-KB/s in 0.005s
2017-10-15 14:42:54 (564 KB/s) - 'sinatra-hab-v0.1.0-alpha.tar.gz' saved [2962/2962]
sinatra-hab: Downloaded 'sinatra-hab-v0.1.0-alpha.tar.gz'
sinatra-hab: Verifying sinatra-hab-v0.1.0-alpha.tar.gz
sinatra-hab: Checksum verified for sinatra-hab-v0.1.0-alpha.tar.gz
sinatra-hab: Clean the cache
sinatra-hab: Unpacking sinatra-hab-v0.1.0-alpha.tar.gz
sinatra-hab: Setting build environment
created directory: '/hab/cache/src/sinatra-hab-v0.1.0-alpha'
sinatra-hab: Setting PREFIX=/hab/pkgs/davidkazuhiro/sinatra-hab/v0.1.0-alpha/20171015144216
sinatra-hab: Setting LD_RUN_PATH=
sinatra-hab: Setting CFLAGS=-I/hab/pkgs/core/ruby/2.4.2/20171014214232/include -I/hab/pkgs/core/gcc/5.2.0/20170513202244/include -I/hab/pkgs/core/make/4.2.1/20170513214620/include
sinatra-hab: Setting CXXFLAGS=-I/hab/pkgs/core/ruby/2.4.2/20171014214232/include -I/hab/pkgs/core/gcc/5.2.0/20170513202244/include -I/hab/pkgs/core/make/4.2.1/20170513214620/include
sinatra-hab: Setting CPPFLAGS=-I/hab/pkgs/core/ruby/2.4.2/20171014214232/include -I/hab/pkgs/core/gcc/5.2.0/20170513202244/include -I/hab/pkgs/core/make/4.2.1/20170513214620/include
sinatra-hab: Setting LDFLAGS=-L/hab/pkgs/core/ruby/2.4.2/20171014214232/lib -L/hab/pkgs/core/gcc/5.2.0/20170513202244/lib
sinatra-hab: Setting PKG_CONFIG_PATH=/hab/pkgs/core/ruby/2.4.2/20171014214232/lib/pkgconfig
sinatra-hab: Preparing to build
sinatra-hab: Building
sinatra-hab: WARN pkg_path_for() '' did not find a suitable installed package
sinatra-hab: WARN Resolved package set: (/hab/pkgs/core/scaffolding-ruby/0.8.6/20171014221429 /hab/pkgs/core/bundler/1.15.4/20171014220001 /hab/pkgs/core/ruby/2.4.2/20171014214232 /hab/pkgs/core/tar/1.29/20170513213607 /hab/pkgs/core/busybox-static/1.24.2/20170513215502 /hab/pkgs/core/rq/0.9.2/20170612005822 /hab/pkgs/core/gcc/5.2.0/20170513202244 /hab/pkgs/core/make/4.2.1/20170513214620 /hab/pkgs/core/pkg-config/0.29/20170513212944)
env: can't execute '/bin/ruby': No such file or directory
sinatra-hab: Installing dependencies using
sinatra-hab: WARN pkg_path_for() '' did not find a suitable installed package
sinatra-hab: WARN Resolved package set: (/hab/pkgs/core/scaffolding-ruby/0.8.6/20171014221429 /hab/pkgs/core/bundler/1.15.4/20171014220001 /hab/pkgs/core/ruby/2.4.2/20171014214232 /hab/pkgs/core/tar/1.29/20170513213607 /hab/pkgs/core/busybox-static/1.24.2/20170513215502 /hab/pkgs/core/rq/0.9.2/20170612005822 /hab/pkgs/core/gcc/5.2.0/20170513202244 /hab/pkgs/core/make/4.2.1/20170513214620 /hab/pkgs/core/pkg-config/0.29/20170513212944)
sinatra-hab: WARN pkg_path_for() '' did not find a suitable installed package
sinatra-hab: WARN Resolved package set: (/hab/pkgs/core/scaffolding-ruby/0.8.6/20171014221429 /hab/pkgs/core/bundler/1.15.4/20171014220001 /hab/pkgs/core/ruby/2.4.2/20171014214232 /hab/pkgs/core/tar/1.29/20170513213607 /hab/pkgs/core/busybox-static/1.24.2/20170513215502 /hab/pkgs/core/rq/0.9.2/20170612005822 /hab/pkgs/core/gcc/5.2.0/20170513202244 /hab/pkgs/core/make/4.2.1/20170513214620 /hab/pkgs/core/pkg-config/0.29/20170513212944)
env: can't execute '/bin/ruby': No such file or directory
mv: can't rename '.bundle/config.prehab': No such file or directory
sinatra-hab: Build time: 0m38s
sinatra-hab: Exiting on error
Script done, file is /src/results/logs/sinatra-hab.2017-10-15-144216.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment