Skip to content

Instantly share code, notes, and snippets.

@rainerborene
Created November 13, 2017 21:58
Show Gist options
  • Save rainerborene/e69ec4ab75477de0bc375274f34da794 to your computer and use it in GitHub Desktop.
Save rainerborene/e69ec4ab75477de0bc375274f34da794 to your computer and use it in GitHub Desktop.
✓ Pulling nanobox/build:feature_release-2017-11 image
✓ Starting docker container
✓ Preparing environment for build
✓ Gathering requirements
✓ Mounting cache_dirs
! Installing binaries and runtimes
- Installing packages :
calculating dependencies... done.
nothing to upgrade.
7 packages to be installed (20M to download, 64M to install):
libgpg-error-1.27 libyaml-0.1.7 libffi-3.2.1nb4 libgcrypt-1.8.1 ruby-2.3.5nb1 postgresql96-client-9.6.5 libxslt-1.1.30
downloading packages...
libgpg-error-1.27.tgz 100% 278KB 278.0KB/s 278.0KB/s 00:01
libyaml-0.1.7.tgz 100% 120KB 119.6KB/s 119.6KB/s 00:00
libffi-3.2.1nb4.tgz 100% 55KB 55.0KB/s 55.0KB/s 00:01
libgcrypt-1.8.1.tgz 100% 1123KB 561.4KB/s 430.7KB/s 00:02
ruby-2.3.5nb1.tgz 100% 14MB 2.9MB/s 5.8MB/s 00:05
postgresql96-client-9.6.5.tgz 100% 3980KB 1.3MB/s 2.1MB/s 00:03
libxslt-1.1.30.tgz 100% 681KB 680.7KB/s 680.7KB/s 00:01
installing packages...
installing libgpg-error-1.27...
installing libyaml-0.1.7...
installing libffi-3.2.1nb4...
installing libgcrypt-1.8.1...
installing ruby-2.3.5nb1...
installing postgresql96-client-9.6.5...
installing libxslt-1.1.30...
pkg_install warnings: 0, errors: 0
reading local summary...
processing local summary...
marking ruby-2.3.5nb1 as non auto-removable
marking postgresql96-client-9.6.5 as non auto-removable
marking pkgconf-1.3.5 as non auto-removable
marking libxml2-2.9.7 as non auto-removable
marking libxslt-1.1.30 as non auto-removable
! FAILED TO BUILD ENVIRONMENT !
Exit
1
Command
su - gonano -c "cd /opt/nanobox/engine/bin; export PATH=\"/data/sbin:/data/bin:/opt/gonano/sbin:/opt/gonano/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"; export CODE_DIR=\"/app\"; export DATA_DIR=\"/data\"; export APP_DIR=\"/mnt/app\"; export CACHE_DIR=\"/mnt/cache\"; export ETC_DIR=\"/data/etc\"; export ENV_DIR=\"/data/etc/env.d\"; stdbuf -o0 /opt/nanobox/engine/bin/build '{\"code_dir\":\"/app\",\"data_dir\":\"/data\",\"app_dir\":\"/mnt/app\",\"cache_dir\":\"/mnt/cache/app\",\"etc_dir\":\"/data/etc\",\"env_dir\":\"/data/etc/env.d\",\"config\":{}}'"
Output
- Installing packages :
calculating dependencies... done.
nothing to upgrade.
7 packages to be installed (20M to download, 64M to install):
libgpg-error-1.27 libyaml-0.1.7 libffi-3.2.1nb4 libgcrypt-1.8.1 ruby-2.3.5nb1 postgresql96-client-9.6.5 libxslt-1.1.30
downloading packages...
libgpg-error-1.27.tgz 100% 278KB 278.0KB/s 278.0KB/s 00:01
libyaml-0.1.7.tgz 100% 120KB 119.6KB/s 119.6KB/s 00:00
libffi-3.2.1nb4.tgz 100% 55KB 55.0KB/s 55.0KB/s 00:01
libgcrypt-1.8.1.tgz 100% 1123KB 561.4KB/s 430.7KB/s 00:02
ruby-2.3.5nb1.tgz 100% 14MB 2.9MB/s 5.8MB/s 00:05
postgresql96-client-9.6.5.tgz 100% 3980KB 1.3MB/s 2.1MB/s 00:03
libxslt-1.1.30.tgz 100% 681KB 680.7KB/s 680.7KB/s 00:01
installing packages...
installing libgpg-error-1.27...
installing libyaml-0.1.7...
installing libffi-3.2.1nb4...
installing libgcrypt-1.8.1...
installing ruby-2.3.5nb1...
installing postgresql96-client-9.6.5...
installing libxslt-1.1.30...
pkg_install warnings: 0, errors: 0
reading local summary...
processing local summary...
marking ruby-2.3.5nb1 as non auto-removable
marking postgresql96-client-9.6.5 as non auto-removable
marking pkgconf-1.3.5 as non auto-removable
marking libxml2-2.9.7 as non auto-removable
marking libxslt-1.1.30 as non auto-removable
Error : failed to execute hook (build) on 59e53fd509004cd9526fd37f5dddb2f8ec1b73c8f01268010728dffe7b24f755: util:Exec:/opt/nanobox/hooks/build: bad exit code(1):
Context : failed to build the code -> failed to run the (build)build hook
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment