Giter Site home page Giter Site logo

Comments (21)

SvenDowideit avatar SvenDowideit commented on July 20, 2024

very odd. what do you get when you run docker version?

perhaps your docker binary is corrupted, but its hard to know.

from osx-installer.

yhuang avatar yhuang commented on July 20, 2024

After the downloaded package manager puts the boot2docker installer under the /Applications directory.

When I double click on the boot2docker installer under the /Applications directory, I get these errors:

Last login: Mon Sep  1 10:20:15 on ttys005
bash
unset DYLD_LIBRARY_PATH ; unset LD_LIBRARY_PATH
mkdir -p ~/.boot2docker
if [ ! -f ~/.boot2docker/boot2docker.iso ]; then cp /usr/local/share/boot2docker/boot2docker.iso ~/.boot2docker/ ; fi
/usr/local/bin/boot2docker init 
/usr/local/bin/boot2docker up && export DOCKER_HOST=tcp://$(/usr/local/bin/boot2docker ip 2>/dev/null):2375
docker version
error in run: config error: Near line 1, key 'export HISTCONTROL': Near line 1: Expected value but found 'e' instead.

-bash: [: !=: unary operator expected
[~]
jimmyhuang@work$ bash
bash: parse_git_branch: command not found
[~]
jimmyhuang@work$ unset DYLD_LIBRARY_PATH ; unset LD_LIBRARY_PATH
bash: parse_git_branch: command not found
[~]
jimmyhuang@work$ mkdir -p ~/.boot2docker
bash: parse_git_branch: command not found
[~]
jimmyhuang@work$ if [ ! -f ~/.boot2docker/boot2docker.iso ]; then cp /usr/local/share/boot2docker/boot2docker.iso ~/.boot2docker/ ; fi
bash: parse_git_branch: command not found
[~]
jimmyhuang@work$ /usr/local/bin/boot2docker init 
error in run: config error: Near line 1, key 'export HISTCONTROL': Near line 1: Expected value but found 'e' instead.

bash: parse_git_branch: command not found
[~]
jimmyhuang@work$ /usr/local/bin/boot2docker up && export DOCKER_HOST=tcp://$(/usr/local/bin/boot2docker ip 2>/dev/null):2375
error in run: config error: Near line 1, key 'export HISTCONTROL': Near line 1: Expected value but found 'e' instead.

bash: parse_git_branch: command not found
[~]
jimmyhuang@work$ docker version
panic: runtime error: index out of range

goroutine 16 [running]:
runtime.panic(0x3a96e0, 0x60297c)
    /usr/local/go/src/pkg/runtime/panic.c:279 +0xf5
main.main()
    /go/src/github.com/docker/docker/docker/docker.go:99 +0x9ff

goroutine 19 [finalizer wait]:
runtime.park(0x164d0, 0x606550, 0x605029)
    /usr/local/go/src/pkg/runtime/proc.c:1369 +0x89
runtime.parkunlock(0x606550, 0x605029)
    /usr/local/go/src/pkg/runtime/proc.c:1385 +0x3b
runfinq()
    /usr/local/go/src/pkg/runtime/mgc0.c:2644 +0xcf
runtime.goexit()
    /usr/local/go/src/pkg/runtime/proc.c:1445

goroutine 20 [runnable]:
os/signal.loop()
    /usr/local/go/src/pkg/os/signal/signal_unix.go:19
created by os/signal.init·1
    /usr/local/go/src/pkg/os/signal/signal_unix.go:27 +0x32
bash: parse_git_branch: command not found

When I run docker version, I see this error:

panic: runtime error: index out of range

goroutine 16 [running]:
runtime.panic(0x3a96e0, 0x60297c)
    /usr/local/go/src/pkg/runtime/panic.c:279 +0xf5
main.main()
    /go/src/github.com/docker/docker/docker/docker.go:99 +0x9ff

goroutine 17 [runnable]:
runtime.MHeap_Scavenger()
    /usr/local/go/src/pkg/runtime/mheap.c:507
runtime.goexit()
    /usr/local/go/src/pkg/runtime/proc.c:1445

goroutine 18 [runnable]:
bgsweep()
    /usr/local/go/src/pkg/runtime/mgc0.c:1976
runtime.goexit()
    /usr/local/go/src/pkg/runtime/proc.c:1445

goroutine 19 [runnable]:
runfinq()
    /usr/local/go/src/pkg/runtime/mgc0.c:2606
runtime.goexit()
    /usr/local/go/src/pkg/runtime/proc.c:1445

goroutine 20 [runnable]:
os/signal.loop()
    /usr/local/go/src/pkg/os/signal/signal_unix.go:19
created by os/signal.init·1
    /usr/local/go/src/pkg/os/signal/signal_unix.go:27 +0x32

Have you tried to run the boot2docker installer in the 1.2.0 package manager here on a fresh Mac OS X Maverick machine? Thank you for your help.

from osx-installer.

yhuang avatar yhuang commented on July 20, 2024

I just tried building my own package manager with boot2docker v1.1.2. The build completed successfully.

$ docker rm build-osx-installer;true && docker build -t osx-installer . && docker run --privileged -i -t --name build-osx-installer osx-installer && docker cp build-osx-installer:/dmg/Docker.pkg .
Error response from daemon: No such container: build-osx-installer
2014/09/01 11:22:18 Error: failed to remove one or more containers
Sending build context to Docker daemon 1.218 MB
Sending build context to Docker daemon 
Step 0 : FROM debian:wheezy
Pulling repository debian
c1eec48018ed: Download complete 
511136ea3c5a: Download complete 
a9d9abc9a8a0: Download complete 
 ---> c1eec48018ed
Step 1 : MAINTAINER Steeve Morin "[email protected]"
 ---> Running in 03ecc5a38eee
 ---> 8bf946d0b7bc
Removing intermediate container 03ecc5a38eee
Step 2 : RUN apt-get update
 ---> Running in 398c161066e0
Get:1 http://security.debian.org wheezy/updates Release.gpg [836 B]
Get:2 http://security.debian.org wheezy/updates Release [102 kB]
Get:3 http://security.debian.org wheezy/updates/main amd64 Packages [265 kB]
Get:4 http://http.debian.net wheezy Release.gpg [1655 B]
Get:5 http://http.debian.net wheezy-updates Release.gpg [836 B]
Get:6 http://http.debian.net wheezy Release [168 kB]
Get:7 http://http.debian.net wheezy-updates Release [124 kB]
Get:8 http://http.debian.net wheezy/main amd64 Packages [7626 kB]
Get:9 http://http.debian.net wheezy-updates/main amd64 Packages [6116 B]
Fetched 8295 kB in 30s (270 kB/s)
Reading package lists...
 ---> 774430dc62cf
Removing intermediate container 398c161066e0
Step 3 : RUN apt-get -y install  curl                         build-essential                         libxml2-dev libssl-dev                         p7zip-full                         hfsplus hfsutils hfsprogs cpio
 ---> Running in 989af10e64b2
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  binutils bzip2 ca-certificates cpp cpp-4.7 dpkg-dev fakeroot g++ g++-4.7 gcc
  gcc-4.7 krb5-locales libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libbsd0 libc-bin libc-dev-bin libc6 libc6-dev
  libclass-isa-perl libcurl3 libdpkg-perl libfile-fcntllock-perl libgcrypt11
  libgdbm3 libgmp10 libgnutls26 libgomp1 libgpg-error0 libgssapi-krb5-2
  libhfsp0 libidn11 libitm1 libk5crypto3 libkeyutils1 libkrb5-3
  libkrb5support0 libldap-2.4-2 libmpc2 libmpfr4 libp11-kit0 libquadmath0
  librtmp0 libsasl2-2 libsasl2-modules libssh2-1 libssl-doc libssl1.0.0
  libstdc++6-4.7-dev libswitch-perl libtasn1-3 libtimedate-perl libxml2
  linux-libc-dev make manpages manpages-dev openssl patch perl perl-modules
  sgml-base xml-core zlib1g-dev
Suggested packages:
  binutils-doc bzip2-doc libarchive1 cpp-doc gcc-4.7-locales debian-keyring
  g++-multilib g++-4.7-multilib gcc-4.7-doc libstdc++6-4.7-dbg gcc-multilib
  autoconf automake1.9 libtool flex bison gdb gcc-doc gcc-4.7-multilib
  libmudflap0-4.7-dev libgcc1-dbg libgomp1-dbg libitm1-dbg libquadmath0-dbg
  libmudflap0-dbg libcloog-ppl0 libppl-c2 libppl7 binutils-gold hfsutils-tcltk
  glibc-doc rng-tools krb5-doc krb5-user libsasl2-modules-otp
  libsasl2-modules-ldap libsasl2-modules-sql libsasl2-modules-gssapi-mit
  libsasl2-modules-gssapi-heimdal libstdc++6-4.7-doc make-doc man-browser
  p7zip-rar ed diffutils-doc perl-doc libterm-readline-gnu-perl
  libterm-readline-perl-perl libpod-plainer-perl sgml-base-doc debhelper
The following NEW packages will be installed:
  binutils build-essential bzip2 ca-certificates cpio cpp cpp-4.7 curl
  dpkg-dev fakeroot g++ g++-4.7 gcc gcc-4.7 hfsplus hfsprogs hfsutils
  krb5-locales libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libbsd0 libc-dev-bin libc6-dev libclass-isa-perl
  libcurl3 libdpkg-perl libfile-fcntllock-perl libgcrypt11 libgdbm3 libgmp10
  libgnutls26 libgomp1 libgpg-error0 libgssapi-krb5-2 libhfsp0 libidn11
  libitm1 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2
  libmpc2 libmpfr4 libp11-kit0 libquadmath0 librtmp0 libsasl2-2
  libsasl2-modules libssh2-1 libssl-dev libssl-doc libssl1.0.0
  libstdc++6-4.7-dev libswitch-perl libtasn1-3 libtimedate-perl libxml2
  libxml2-dev linux-libc-dev make manpages manpages-dev openssl p7zip-full
  patch perl perl-modules sgml-base xml-core zlib1g-dev
The following packages will be upgraded:
  libc-bin libc6
2 upgraded, 72 newly installed, 0 to remove and 1 not upgraded.
Need to get 66.2 MB of archives.
After this operation, 163 MB of additional disk space will be used.
Get:1 http://security.debian.org/ wheezy/updates/main libc-bin amd64 2.13-38+deb7u4 [1271 kB]
Get:2 http://http.debian.net/debian/ wheezy/main libgdbm3 amd64 1.8.3-11 [46.9 kB]
Get:3 http://http.debian.net/debian/ wheezy/main libgpg-error0 amd64 1.10-3.1 [77.9 kB]
Get:4 http://http.debian.net/debian/ wheezy/main libgcrypt11 amd64 1.5.0-5+deb7u1 [300 kB]
Get:5 http://http.debian.net/debian/ wheezy/main libp11-kit0 amd64 0.12-3 [52.8 kB]
Get:6 http://http.debian.net/debian/ wheezy/main libkeyutils1 amd64 1.5.5-3 [8552 B]
Get:7 http://http.debian.net/debian/ wheezy/main libsasl2-2 amd64 2.1.25.dfsg1-6+deb7u1 [120 kB]
Get:8 http://http.debian.net/debian/ wheezy/main libtasn1-3 amd64 2.13-2 [67.7 kB]
Get:9 http://http.debian.net/debian/ wheezy/main libldap-2.4-2 amd64 2.4.31-1+nmu2 [243 kB]
Get:10 http://http.debian.net/debian/ wheezy/main libgnutls26 amd64 2.12.20-8+deb7u2 [618 kB]
Get:11 http://http.debian.net/debian/ wheezy/main libbsd0 amd64 0.4.2-1 [59.3 kB]
Get:12 http://http.debian.net/debian/ wheezy/main libssh2-1 amd64 1.4.2-1.1 [133 kB]
Get:13 http://http.debian.net/debian/ wheezy/main libidn11 amd64 1.25-2 [178 kB]
Get:14 http://http.debian.net/debian/ wheezy/main librtmp0 amd64 2.4+20111222.git4e06e21-1 [62.3 kB]
Get:15 http://http.debian.net/debian/ wheezy/main libitm1 amd64 4.7.2-5 [36.6 kB]
Get:16 http://http.debian.net/debian/ wheezy/main libcurl3 amd64 7.26.0-1+wheezy9 [331 kB]
Get:17 http://http.debian.net/debian/ wheezy/main libquadmath0 amd64 4.7.2-5 [125 kB]
Get:18 http://security.debian.org/ wheezy/updates/main libc6 amd64 2.13-38+deb7u4 [4221 kB]
Get:19 http://http.debian.net/debian/ wheezy/main perl-modules all 5.14.2-21+deb7u1 [3440 kB]
Get:20 http://http.debian.net/debian/ wheezy/main libgmp10 amd64 2:5.0.5+dfsg-2 [250 kB]
Get:21 http://http.debian.net/debian/ wheezy/main libgomp1 amd64 4.7.2-5 [27.5 kB]
Get:22 http://http.debian.net/debian/ wheezy/main libmpfr4 amd64 3.1.0-5 [538 kB]
Get:23 http://http.debian.net/debian/ wheezy/main libswitch-perl all 2.16-2 [21.0 kB]
Get:24 http://http.debian.net/debian/ wheezy/main libclass-isa-perl all 0.36-3 [12.3 kB]
Get:25 http://http.debian.net/debian/ wheezy/main perl amd64 5.14.2-21+deb7u1 [4407 kB]
Get:26 http://http.debian.net/debian/ wheezy/main sgml-base all 1.26+nmu4 [14.6 kB]
Get:27 http://http.debian.net/debian/ wheezy/main libmpc2 amd64 0.9-4 [40.1 kB]
Get:28 http://http.debian.net/debian/ wheezy/main bzip2 amd64 1.0.6-4 [50.1 kB]
Get:29 http://http.debian.net/debian/ wheezy/main cpp-4.7 amd64 4.7.2-5 [5416 kB]
Get:30 http://security.debian.org/ wheezy/updates/main libssl1.0.0 amd64 1.0.1e-2+deb7u12 [1259 kB]
Get:31 http://http.debian.net/debian/ wheezy/main cpio amd64 2.11+dfsg-0.1 [267 kB]
Get:32 http://http.debian.net/debian/ wheezy/main manpages all 3.44-1 [795 kB]
Get:33 http://security.debian.org/ wheezy/updates/main libkrb5support0 amd64 1.10.1+dfsg-5+deb7u2 [49.8 kB]
Get:34 http://security.debian.org/ wheezy/updates/main libk5crypto3 amd64 1.10.1+dfsg-5+deb7u2 [113 kB]
Get:35 http://http.debian.net/debian/ wheezy/main patch amd64 2.6.1-3 [121 kB]
Get:36 http://security.debian.org/ wheezy/updates/main libkrb5-3 amd64 1.10.1+dfsg-5+deb7u2 [393 kB]
Get:37 http://http.debian.net/debian/ wheezy/main binutils amd64 2.22-8 [4800 kB]
Get:38 http://security.debian.org/ wheezy/updates/main libgssapi-krb5-2 amd64 1.10.1+dfsg-5+deb7u2 [148 kB]
Get:39 http://http.debian.net/debian/ wheezy/main gcc-4.7 amd64 4.7.2-5 [8296 kB]
Get:40 http://security.debian.org/ wheezy/updates/main libxml2 amd64 2.8.0+dfsg1-7+wheezy1 [904 kB]
Get:41 http://security.debian.org/ wheezy/updates/main krb5-locales all 1.10.1+dfsg-5+deb7u2 [1503 kB]
Get:42 http://security.debian.org/ wheezy/updates/main libc-dev-bin amd64 2.13-38+deb7u4 [227 kB]
Get:43 http://security.debian.org/ wheezy/updates/main linux-libc-dev amd64 3.2.60-1+deb7u3 [826 kB]
Get:44 http://http.debian.net/debian/ wheezy/main cpp amd64 4:4.7.2-1 [16.6 kB]
Get:45 http://http.debian.net/debian/ wheezy/main gcc amd64 4:4.7.2-1 [5064 B]
Get:46 http://http.debian.net/debian/ wheezy/main g++ amd64 4:4.7.2-1 [1374 B]
Get:47 http://http.debian.net/debian/ wheezy/main libtimedate-perl all 1.2000-1 [41.2 kB]
Get:48 http://http.debian.net/debian/ wheezy/main build-essential amd64 11.5 [7178 B]
Get:49 http://http.debian.net/debian/ wheezy/main fakeroot amd64 1.18.4-2 [109 kB]
Get:50 http://http.debian.net/debian/ wheezy/main hfsplus amd64 1.0.4-12 [53.7 kB]
Get:51 http://http.debian.net/debian/ wheezy/main libalgorithm-merge-perl all 0.08-2 [13.5 kB]
Get:52 http://http.debian.net/debian/ wheezy/main libfile-fcntllock-perl amd64 0.14-2 [17.2 kB]
Get:53 http://http.debian.net/debian/ wheezy/main libsasl2-modules amd64 2.1.25.dfsg1-6+deb7u1 [116 kB]
Get:54 http://security.debian.org/ wheezy/updates/main libc6-dev amd64 2.13-38+deb7u4 [2654 kB]
Get:55 http://http.debian.net/debian/ wheezy/main p7zip-full amd64 9.20.1~dfsg.1-4 [1573 kB]
Get:56 http://http.debian.net/debian/ wheezy/main libstdc++6-4.7-dev amd64 4.7.2-5 [1726 kB]
Get:57 http://http.debian.net/debian/ wheezy/main xml-core all 0.13+nmu2 [24.2 kB]
Get:58 http://security.debian.org/ wheezy/updates/main openssl amd64 1.0.1e-2+deb7u12 [701 kB]
Get:59 http://http.debian.net/debian/ wheezy/main g++-4.7 amd64 4.7.2-5 [8011 kB]
Get:60 http://security.debian.org/ wheezy/updates/main libssl-dev amd64 1.0.1e-2+deb7u12 [1754 kB]
Get:61 http://security.debian.org/ wheezy/updates/main libssl-doc all 1.0.1e-2+deb7u12 [1198 kB]
Get:62 http://security.debian.org/ wheezy/updates/main libxml2-dev amd64 2.8.0+dfsg1-7+wheezy1 [900 kB]
Get:63 http://http.debian.net/debian/ wheezy/main make amd64 3.81-8.2 [396 kB]
Get:64 http://http.debian.net/debian/ wheezy/main libdpkg-perl all 1.16.15 [958 kB]
Get:65 http://http.debian.net/debian/ wheezy/main dpkg-dev all 1.16.15 [1356 kB]
Get:66 http://http.debian.net/debian/ wheezy/main ca-certificates all 20130119 [185 kB]
Get:67 http://http.debian.net/debian/ wheezy/main curl amd64 7.26.0-1+wheezy9 [270 kB]
Get:68 http://http.debian.net/debian/ wheezy/main libhfsp0 amd64 1.0.4-12 [40.1 kB]
Get:69 http://http.debian.net/debian/ wheezy/main hfsprogs amd64 332.25-10 [143 kB]
Get:70 http://http.debian.net/debian/ wheezy/main libalgorithm-diff-perl all 1.19.02-2 [51.5 kB]
Get:71 http://http.debian.net/debian/ wheezy/main libalgorithm-diff-xs-perl amd64 0.04-2+b1 [12.9 kB]
Get:72 http://http.debian.net/debian/ wheezy/main zlib1g-dev amd64 1:1.2.7.dfsg-13 [215 kB]
Get:73 http://http.debian.net/debian/ wheezy/main manpages-dev all 3.44-1 [1737 kB]
Get:74 http://http.debian.net/debian/ wheezy/main hfsutils amd64 3.2.6-11 [82.0 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 66.2 MB in 2min 47s (394 kB/s)
(Reading database ... 6701 files and directories currently installed.)
Preparing to replace libc-bin 2.13-38+deb7u3 (using .../libc-bin_2.13-38+deb7u4_amd64.deb) ...
Unpacking replacement libc-bin ...
Setting up libc-bin (2.13-38+deb7u4) ...
(Reading database ... 6701 files and directories currently installed.)
Preparing to replace libc6:amd64 2.13-38+deb7u3 (using .../libc6_2.13-38+deb7u4_amd64.deb) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Unpacking replacement libc6:amd64 ...
Setting up libc6:amd64 (2.13-38+deb7u4) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Selecting previously unselected package libgdbm3:amd64.
(Reading database ... 6701 files and directories currently installed.)
Unpacking libgdbm3:amd64 (from .../libgdbm3_1.8.3-11_amd64.deb) ...
Selecting previously unselected package libssl1.0.0:amd64.
Unpacking libssl1.0.0:amd64 (from .../libssl1.0.0_1.0.1e-2+deb7u12_amd64.deb) ...
Selecting previously unselected package libgpg-error0:amd64.
Unpacking libgpg-error0:amd64 (from .../libgpg-error0_1.10-3.1_amd64.deb) ...
Selecting previously unselected package libgcrypt11:amd64.
Unpacking libgcrypt11:amd64 (from .../libgcrypt11_1.5.0-5+deb7u1_amd64.deb) ...
Selecting previously unselected package libp11-kit0:amd64.
Unpacking libp11-kit0:amd64 (from .../libp11-kit0_0.12-3_amd64.deb) ...
Selecting previously unselected package libtasn1-3:amd64.
Unpacking libtasn1-3:amd64 (from .../libtasn1-3_2.13-2_amd64.deb) ...
Selecting previously unselected package libgnutls26:amd64.
Unpacking libgnutls26:amd64 (from .../libgnutls26_2.12.20-8+deb7u2_amd64.deb) ...
Selecting previously unselected package libkeyutils1:amd64.
Unpacking libkeyutils1:amd64 (from .../libkeyutils1_1.5.5-3_amd64.deb) ...
Selecting previously unselected package libkrb5support0:amd64.
Unpacking libkrb5support0:amd64 (from .../libkrb5support0_1.10.1+dfsg-5+deb7u2_amd64.deb) ...
Selecting previously unselected package libk5crypto3:amd64.
Unpacking libk5crypto3:amd64 (from .../libk5crypto3_1.10.1+dfsg-5+deb7u2_amd64.deb) ...
Selecting previously unselected package libkrb5-3:amd64.
Unpacking libkrb5-3:amd64 (from .../libkrb5-3_1.10.1+dfsg-5+deb7u2_amd64.deb) ...
Selecting previously unselected package libgssapi-krb5-2:amd64.
Unpacking libgssapi-krb5-2:amd64 (from .../libgssapi-krb5-2_1.10.1+dfsg-5+deb7u2_amd64.deb) ...
Selecting previously unselected package libidn11:amd64.
Unpacking libidn11:amd64 (from .../libidn11_1.25-2_amd64.deb) ...
Selecting previously unselected package libsasl2-2:amd64.
Unpacking libsasl2-2:amd64 (from .../libsasl2-2_2.1.25.dfsg1-6+deb7u1_amd64.deb) ...
Selecting previously unselected package libldap-2.4-2:amd64.
Unpacking libldap-2.4-2:amd64 (from .../libldap-2.4-2_2.4.31-1+nmu2_amd64.deb) ...
Selecting previously unselected package libbsd0:amd64.
Unpacking libbsd0:amd64 (from .../libbsd0_0.4.2-1_amd64.deb) ...
Selecting previously unselected package librtmp0:amd64.
Unpacking librtmp0:amd64 (from .../librtmp0_2.4+20111222.git4e06e21-1_amd64.deb) ...
Selecting previously unselected package libssh2-1:amd64.
Unpacking libssh2-1:amd64 (from .../libssh2-1_1.4.2-1.1_amd64.deb) ...
Selecting previously unselected package libcurl3:amd64.
Unpacking libcurl3:amd64 (from .../libcurl3_7.26.0-1+wheezy9_amd64.deb) ...
Selecting previously unselected package libgmp10:amd64.
Unpacking libgmp10:amd64 (from .../libgmp10_2%3a5.0.5+dfsg-2_amd64.deb) ...
Selecting previously unselected package libgomp1:amd64.
Unpacking libgomp1:amd64 (from .../libgomp1_4.7.2-5_amd64.deb) ...
Selecting previously unselected package libitm1:amd64.
Unpacking libitm1:amd64 (from .../libitm1_4.7.2-5_amd64.deb) ...
Selecting previously unselected package libmpfr4:amd64.
Unpacking libmpfr4:amd64 (from .../libmpfr4_3.1.0-5_amd64.deb) ...
Selecting previously unselected package libquadmath0:amd64.
Unpacking libquadmath0:amd64 (from .../libquadmath0_4.7.2-5_amd64.deb) ...
Selecting previously unselected package libxml2:amd64.
Unpacking libxml2:amd64 (from .../libxml2_2.8.0+dfsg1-7+wheezy1_amd64.deb) ...
Selecting previously unselected package libswitch-perl.
Unpacking libswitch-perl (from .../libswitch-perl_2.16-2_all.deb) ...
Selecting previously unselected package libclass-isa-perl.
Unpacking libclass-isa-perl (from .../libclass-isa-perl_0.36-3_all.deb) ...
Selecting previously unselected package perl-modules.
Unpacking perl-modules (from .../perl-modules_5.14.2-21+deb7u1_all.deb) ...
Selecting previously unselected package perl.
Unpacking perl (from .../perl_5.14.2-21+deb7u1_amd64.deb) ...
Selecting previously unselected package sgml-base.
Unpacking sgml-base (from .../sgml-base_1.26+nmu4_all.deb) ...
Selecting previously unselected package libmpc2:amd64.
Unpacking libmpc2:amd64 (from .../libmpc2_0.9-4_amd64.deb) ...
Selecting previously unselected package cpio.
Unpacking cpio (from .../cpio_2.11+dfsg-0.1_amd64.deb) ...
Selecting previously unselected package manpages.
Unpacking manpages (from .../manpages_3.44-1_all.deb) ...
Selecting previously unselected package bzip2.
Unpacking bzip2 (from .../bzip2_1.0.6-4_amd64.deb) ...
Selecting previously unselected package krb5-locales.
Unpacking krb5-locales (from .../krb5-locales_1.10.1+dfsg-5+deb7u2_all.deb) ...
Selecting previously unselected package patch.
Unpacking patch (from .../patch_2.6.1-3_amd64.deb) ...
Selecting previously unselected package binutils.
Unpacking binutils (from .../binutils_2.22-8_amd64.deb) ...
Selecting previously unselected package libc-dev-bin.
Unpacking libc-dev-bin (from .../libc-dev-bin_2.13-38+deb7u4_amd64.deb) ...
Selecting previously unselected package linux-libc-dev:amd64.
Unpacking linux-libc-dev:amd64 (from .../linux-libc-dev_3.2.60-1+deb7u3_amd64.deb) ...
Selecting previously unselected package libc6-dev:amd64.
Unpacking libc6-dev:amd64 (from .../libc6-dev_2.13-38+deb7u4_amd64.deb) ...
Selecting previously unselected package cpp-4.7.
Unpacking cpp-4.7 (from .../cpp-4.7_4.7.2-5_amd64.deb) ...
Selecting previously unselected package cpp.
Unpacking cpp (from .../cpp_4%3a4.7.2-1_amd64.deb) ...
Selecting previously unselected package gcc-4.7.
Unpacking gcc-4.7 (from .../gcc-4.7_4.7.2-5_amd64.deb) ...
Selecting previously unselected package gcc.
Unpacking gcc (from .../gcc_4%3a4.7.2-1_amd64.deb) ...
Selecting previously unselected package libstdc++6-4.7-dev.
Unpacking libstdc++6-4.7-dev (from .../libstdc++6-4.7-dev_4.7.2-5_amd64.deb) ...
Selecting previously unselected package g++-4.7.
Unpacking g++-4.7 (from .../g++-4.7_4.7.2-5_amd64.deb) ...
Selecting previously unselected package g++.
Unpacking g++ (from .../g++_4%3a4.7.2-1_amd64.deb) ...
Selecting previously unselected package make.
Unpacking make (from .../make_3.81-8.2_amd64.deb) ...
Selecting previously unselected package libtimedate-perl.
Unpacking libtimedate-perl (from .../libtimedate-perl_1.2000-1_all.deb) ...
Selecting previously unselected package libdpkg-perl.
Unpacking libdpkg-perl (from .../libdpkg-perl_1.16.15_all.deb) ...
Selecting previously unselected package dpkg-dev.
Unpacking dpkg-dev (from .../dpkg-dev_1.16.15_all.deb) ...
Selecting previously unselected package build-essential.
Unpacking build-essential (from .../build-essential_11.5_amd64.deb) ...
Selecting previously unselected package openssl.
Unpacking openssl (from .../openssl_1.0.1e-2+deb7u12_amd64.deb) ...
Selecting previously unselected package ca-certificates.
Unpacking ca-certificates (from .../ca-certificates_20130119_all.deb) ...
Selecting previously unselected package curl.
Unpacking curl (from .../curl_7.26.0-1+wheezy9_amd64.deb) ...
Selecting previously unselected package fakeroot.
Unpacking fakeroot (from .../fakeroot_1.18.4-2_amd64.deb) ...
Selecting previously unselected package libhfsp0.
Unpacking libhfsp0 (from .../libhfsp0_1.0.4-12_amd64.deb) ...
Selecting previously unselected package hfsplus.
Unpacking hfsplus (from .../hfsplus_1.0.4-12_amd64.deb) ...
Selecting previously unselected package hfsprogs.
Unpacking hfsprogs (from .../hfsprogs_332.25-10_amd64.deb) ...
Selecting previously unselected package libalgorithm-diff-perl.
Unpacking libalgorithm-diff-perl (from .../libalgorithm-diff-perl_1.19.02-2_all.deb) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Unpacking libalgorithm-diff-xs-perl (from .../libalgorithm-diff-xs-perl_0.04-2+b1_amd64.deb) ...
Selecting previously unselected package libalgorithm-merge-perl.
Unpacking libalgorithm-merge-perl (from .../libalgorithm-merge-perl_0.08-2_all.deb) ...
Selecting previously unselected package libfile-fcntllock-perl.
Unpacking libfile-fcntllock-perl (from .../libfile-fcntllock-perl_0.14-2_amd64.deb) ...
Selecting previously unselected package libsasl2-modules:amd64.
Unpacking libsasl2-modules:amd64 (from .../libsasl2-modules_2.1.25.dfsg1-6+deb7u1_amd64.deb) ...
Selecting previously unselected package zlib1g-dev:amd64.
Unpacking zlib1g-dev:amd64 (from .../zlib1g-dev_1%3a1.2.7.dfsg-13_amd64.deb) ...
Selecting previously unselected package libssl-dev.
Unpacking libssl-dev (from .../libssl-dev_1.0.1e-2+deb7u12_amd64.deb) ...
Selecting previously unselected package libssl-doc.
Unpacking libssl-doc (from .../libssl-doc_1.0.1e-2+deb7u12_all.deb) ...
Selecting previously unselected package libxml2-dev:amd64.
Unpacking libxml2-dev:amd64 (from .../libxml2-dev_2.8.0+dfsg1-7+wheezy1_amd64.deb) ...
Selecting previously unselected package manpages-dev.
Unpacking manpages-dev (from .../manpages-dev_3.44-1_all.deb) ...
Selecting previously unselected package p7zip-full.
Unpacking p7zip-full (from .../p7zip-full_9.20.1~dfsg.1-4_amd64.deb) ...
Selecting previously unselected package xml-core.
Unpacking xml-core (from .../xml-core_0.13+nmu2_all.deb) ...
Selecting previously unselected package hfsutils.
Unpacking hfsutils (from .../hfsutils_3.2.6-11_amd64.deb) ...
Setting up libgdbm3:amd64 (1.8.3-11) ...
Setting up libssl1.0.0:amd64 (1.0.1e-2+deb7u12) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
Setting up libgpg-error0:amd64 (1.10-3.1) ...
Setting up libgcrypt11:amd64 (1.5.0-5+deb7u1) ...
Setting up libp11-kit0:amd64 (0.12-3) ...
Setting up libtasn1-3:amd64 (2.13-2) ...
Setting up libgnutls26:amd64 (2.12.20-8+deb7u2) ...
Setting up libkeyutils1:amd64 (1.5.5-3) ...
Setting up libkrb5support0:amd64 (1.10.1+dfsg-5+deb7u2) ...
Setting up libk5crypto3:amd64 (1.10.1+dfsg-5+deb7u2) ...
Setting up libkrb5-3:amd64 (1.10.1+dfsg-5+deb7u2) ...
Setting up libgssapi-krb5-2:amd64 (1.10.1+dfsg-5+deb7u2) ...
Setting up libidn11:amd64 (1.25-2) ...
Setting up libsasl2-2:amd64 (2.1.25.dfsg1-6+deb7u1) ...
Setting up libldap-2.4-2:amd64 (2.4.31-1+nmu2) ...
Setting up libbsd0:amd64 (0.4.2-1) ...
Setting up librtmp0:amd64 (2.4+20111222.git4e06e21-1) ...
Setting up libssh2-1:amd64 (1.4.2-1.1) ...
Setting up libcurl3:amd64 (7.26.0-1+wheezy9) ...
Setting up libgmp10:amd64 (2:5.0.5+dfsg-2) ...
Setting up libgomp1:amd64 (4.7.2-5) ...
Setting up libitm1:amd64 (4.7.2-5) ...
Setting up libmpfr4:amd64 (3.1.0-5) ...
Setting up libquadmath0:amd64 (4.7.2-5) ...
Setting up libxml2:amd64 (2.8.0+dfsg1-7+wheezy1) ...
Setting up libclass-isa-perl (0.36-3) ...
Setting up libmpc2:amd64 (0.9-4) ...
Setting up cpio (2.11+dfsg-0.1) ...
update-alternatives: using /bin/mt-gnu to provide /bin/mt (mt) in auto mode
Setting up manpages (3.44-1) ...
Setting up bzip2 (1.0.6-4) ...
Setting up krb5-locales (1.10.1+dfsg-5+deb7u2) ...
Setting up patch (2.6.1-3) ...
Setting up binutils (2.22-8) ...
Setting up libc-dev-bin (2.13-38+deb7u4) ...
Setting up linux-libc-dev:amd64 (3.2.60-1+deb7u3) ...
Setting up libc6-dev:amd64 (2.13-38+deb7u4) ...
Setting up cpp-4.7 (4.7.2-5) ...
Setting up cpp (4:4.7.2-1) ...
Setting up gcc-4.7 (4.7.2-5) ...
Setting up gcc (4:4.7.2-1) ...
Setting up make (3.81-8.2) ...
Setting up openssl (1.0.1e-2+deb7u12) ...
Setting up ca-certificates (20130119) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
Setting up curl (7.26.0-1+wheezy9) ...
Setting up fakeroot (1.18.4-2) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up libhfsp0 (1.0.4-12) ...
Setting up hfsplus (1.0.4-12) ...
Setting up hfsprogs (332.25-10) ...
Setting up libsasl2-modules:amd64 (2.1.25.dfsg1-6+deb7u1) ...
Setting up zlib1g-dev:amd64 (1:1.2.7.dfsg-13) ...
Setting up libssl-dev (1.0.1e-2+deb7u12) ...
Setting up libssl-doc (1.0.1e-2+deb7u12) ...
Setting up libxml2-dev:amd64 (2.8.0+dfsg1-7+wheezy1) ...
Setting up manpages-dev (3.44-1) ...
Setting up p7zip-full (9.20.1~dfsg.1-4) ...
Setting up hfsutils (3.2.6-11) ...
Setting up g++-4.7 (4.7.2-5) ...
Setting up g++ (4:4.7.2-1) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up libswitch-perl (2.16-2) ...
Setting up perl-modules (5.14.2-21+deb7u1) ...
Setting up libstdc++6-4.7-dev (4.7.2-5) ...
Setting up perl (5.14.2-21+deb7u1) ...
update-alternatives: using /usr/bin/prename to provide /usr/bin/rename (rename) in auto mode
Setting up sgml-base (1.26+nmu4) ...
Setting up libtimedate-perl (1.2000-1) ...
Setting up libdpkg-perl (1.16.15) ...
Setting up dpkg-dev (1.16.15) ...
Setting up build-essential (11.5) ...
Setting up libalgorithm-diff-perl (1.19.02-2) ...
Setting up libalgorithm-diff-xs-perl (0.04-2+b1) ...
Setting up libalgorithm-merge-perl (0.08-2) ...
Setting up libfile-fcntllock-perl (0.14-2) ...
Setting up xml-core (0.13+nmu2) ...
Processing triggers for ca-certificates ...
Updating certificates in /etc/ssl/certs... 158 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d....done.
Processing triggers for sgml-base ...
 ---> b42b5143b6af
Removing intermediate container 989af10e64b2
Step 4 : RUN curl -L https://github.com/steeve/bomutils/archive/master.tar.gz | tar xvz &&     cd /bomutils-master &&     make && make install
 ---> Running in 1a6709b09d08
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   123    0   123    0     0    137      0 --:--:-- --:--:-- --:--:--   206
  0     0    0 16396    0     0   7854      0 --:--:--  0:00:02 --:--:-- 45671
bomutils-master/
bomutils-master/Makefile
bomutils-master/Makefile.win
bomutils-master/README.md
bomutils-master/bom.h
bomutils-master/build.mk
bomutils-master/crc32.cpp
bomutils-master/crc32.hpp
bomutils-master/crc32_poly.hpp
bomutils-master/dumpbom.1
bomutils-master/dumpbom.cpp
bomutils-master/ls4mkbom.1
bomutils-master/ls4mkbom.cpp
bomutils-master/lsbom.1
bomutils-master/lsbom.cpp
bomutils-master/mkbom.1
bomutils-master/mkbom.cpp
bomutils-master/printnode.cpp
bomutils-master/printnode.hpp
g++ -c -O2 -g0 -s -Wall  mkbom.cpp
g++ -c -O2 -g0 -s -Wall  printnode.cpp
g++ -c -O2 -g0 -s -Wall  crc32.cpp
g++ -o mkbom  mkbom.o printnode.o crc32.o 
g++ -c -O2 -g0 -s -Wall  dumpbom.cpp
g++ -o dumpbom  dumpbom.o 
g++ -c -O2 -g0 -s -Wall  lsbom.cpp
g++ -o lsbom  lsbom.o 
g++ -c -O2 -g0 -s -Wall  ls4mkbom.cpp
g++ -o ls4mkbom  ls4mkbom.o printnode.o crc32.o 
mkdir -p /usr/bin
mkdir -p /usr/share/man/man1
cp mkbom /usr/bin/
cp dumpbom /usr/bin/
cp lsbom /usr/bin/
cp ls4mkbom /usr/bin/
cp mkbom.1 /usr/share/man/man1/
cp dumpbom.1 /usr/share/man/man1/
cp lsbom.1 /usr/share/man/man1/
cp ls4mkbom.1 /usr/share/man/man1/
 ---> c667454b9743
Removing intermediate container 1a6709b09d08
Step 5 : RUN curl -L https://github.com/downloads/mackyle/xar/xar-1.6.1.tar.gz | tar xvz &&     cd xar-1.6.1 &&     ./configure &&     make && make install
 ---> Running in f9ac1cf71f2c
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   129    0   129    0     0     59      0 --:--:--  0:00:02 --:--:--    70
  4  176k    4  8645    0     0   2921      0  0:01:01  0:00:02  0:00:59  2921xar-1.6.1/
xar-1.6.1/autogen.sh
xar-1.6.1/cfghdrs.stamp.in
xar-1.6.1/cfgoutputs.stamp.in
xar-1.6.1/ChangeLog
xar-1.6.1/config.guess
xar-1.6.1/config.sub
xar-1.6.1/configure
xar-1.6.1/configure.ac
xar-1.6.1/include/
xar-1.6.1/include/config.h.in
xar-1.6.1/include/xar.h.in
xar-1.6.1/INSTALL
xar-1.6.1/install-sh
xar-1.6.1/lib/
xar-1.6.1/lib/appledouble.h
xar-1.6.1/lib/archive.c
xar-1.6.1/lib/archive.h
xar-1.6.1/lib/arcmod.c
xar-1.6.1/lib/arcmod.h
xar-1.6.1/lib/asprintf.h
xar-1.6.1/lib/b64.c
xar-1.6.1/lib/b64.h
xar-1.6.1/lib/bzxar.c
xar-1.6.1/lib/bzxar.h
xar-1.6.1/lib/darwinattr.c
xar-1.6.1/lib/darwinattr.h
xar-1.6.1/lib/data.c
xar-1.6.1/lib/data.h
xar-1.6.1/lib/ea.c
xar-1.6.1/lib/ea.h
xar-1.6.1/lib/err.c
xar-1.6.1/lib/ext2.c
xar-1.6.1/lib/ext2.h
xar-1.6.1/lib/fbsdattr.c
xar-1.6.1/lib/fbsdattr.h
xar-1.6.1/lib/filetree.c
xar-1.6.1/lib/filetree.h
xar-1.6.1/lib/hash.c
xar-1.6.1/lib/hash.h
xar-1.6.1/lib/io.c
xar-1.6.1/lib/io.h
xar-1.6.1/lib/libxar.la.in.in
xar-1.6.1/lib/linuxattr.c
xar-1.6.1/lib/linuxattr.h
xar-1.6.1/lib/lzmaxar.c
xar-1.6.1/lib/lzmaxar.h
xar-1.6.1/lib/macho.c
xar-1.6.1/lib/macho.h
xar-1.6.1/lib/Makefile.inc.in
xar-1.6.1/lib/script.c
xar-1.6.1/lib/script.h
xar-1.6.1/lib/signature.c
xar-1.6.1/lib/signature.h
xar-1.6.1/lib/stat.c
xar-1.6.1/lib/stat.h
xar-1.6.1/lib/strmode.h
xar-1.6.1/lib/subdoc.c
xar-1.6.1/lib/subdoc.h
xar-1.6.1/lib/util.c
xar-1.6.1/lib/util.h
xar-1.6.1/lib/zxar.c
xar-1.6.1/lib/zxar.h
xar-1.6.1/LICENSE
xar-1.6.1/Makefile.in
xar-1.6.1/NEWS
xar-1.6.1/src/
xar-1.6.1/src/Makefile.inc.in
xar-1.6.1/src/xar.1
xar-1.6.1/src/xar.c
100  176k  100  176k    0     0  47400      0  0:00:03  0:00:03 --:--:--  196k
xar-1.6.1/src/xar.html
xar-1.6.1/test/
xar-1.6.1/test/attr
xar-1.6.1/test/buffer.c
xar-1.6.1/test/checksums
xar-1.6.1/test/compression
xar-1.6.1/test/data
xar-1.6.1/test/data.xsl
xar-1.6.1/test/functions
xar-1.6.1/test/hardlink
xar-1.6.1/test/heap
xar-1.6.1/test/heap1.xsl
xar-1.6.1/test/validate.c
xar-1.6.1/xar.spec.in
xar-1.6.1/xar_README.txt
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 for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for ld... /usr/bin/ld
checking for ar... /usr/bin/ar
checking for ranlib... /usr/bin/ranlib
checking for autoconf... no
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdint.h... (cached) yes
checking ext2fs/ext2_fs.h usability... no
checking ext2fs/ext2_fs.h presence... no
checking for ext2fs/ext2_fs.h... no
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/xattr.h usability... yes
checking sys/xattr.h presence... yes
checking for sys/xattr.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/extattr.h usability... no
checking sys/extattr.h presence... no
checking for sys/extattr.h... no
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking for lgetxattr... yes
checking for lsetxattr... yes
checking for getxattr... yes
checking for setxattr... yes
checking for getattrlist... no
checking for setattrlist... no
checking for lchmod... no
checking for lchown... yes
checking for chflags... no
checking for statvfs... yes
checking for statfs... yes
checking for strmode... no
checking for struct statfs.f_fstypename... no
checking for struct statvfs.f_fstypename... no
checking for struct stat.st_flags... no
checking size of uid_t... 4
checking size of gid_t... 4
checking size of ino_t... 8
checking size of dev_t... 8
checking for acl_get_file in -lacl... no
checking for asprintf... yes
checking for xml2-config... /usr/bin/xml2-config
checking for libxml >= 2.6.11... 2.8.0
checking libxml/xmlwriter.h usability... yes
checking libxml/xmlwriter.h presence... yes
checking for libxml/xmlwriter.h... yes
checking openssl/evp.h usability... yes
checking openssl/evp.h presence... yes
checking for openssl/evp.h... yes
checking for OpenSSL_add_all_ciphers in -lcrypto... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for deflate in -lz... yes
checking bzlib.h usability... no
checking bzlib.h presence... no
checking for bzlib.h... no
checking for BZ2_bzCompress in -lbz2... no
checking lzma.h usability... no
checking lzma.h presence... no
checking for lzma.h... no
checking for lzma_code in -llzma... no
configure: creating ./config.status
config.status: creating cfgoutputs.stamp
config.status: creating Makefile
config.status: creating include/xar.h
config.status: creating lib/Makefile.inc
config.status: creating lib/libxar.la.in
config.status: creating src/Makefile.inc
config.status: creating xar.spec
config.status: creating cfghdrs.stamp
config.status: creating include/config.h
gcc -Wall -g -O2  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/archive.c -o lib/archive.o
lib/archive.c: In function 'xar_close':
lib/archive.c:469:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
lib/archive.c: In function 'xar_unserialize':
lib/archive.c:1684:12: warning: variable 'noattr' set but not used [-Wunused-but-set-variable]
lib/archive.c:1683:33: warning: variable 'uri' set but not used [-Wunused-but-set-variable]
lib/archive.c:1683:24: warning: variable 'prefix' set but not used [-Wunused-but-set-variable]
gcc -Wall -g -O2  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/arcmod.c -o lib/arcmod.o
gcc -Wall -g -O2  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/b64.c -o lib/b64.o
gcc -Wall -g -O2  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/bzxar.c -o lib/bzxar.o
gcc -Wall -g -O2  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/darwinattr.c -o lib/darwinattr.o
gcc -Wall -g -O2  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/data.c -o lib/data.o
gcc -Wall -g -O2  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/ea.c -o lib/ea.o
gcc -Wall -g -O2  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/err.c -o lib/err.o
gcc -Wall -g -O2  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/ext2.c -o lib/ext2.o
gcc -Wall -g -O2  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/fbsdattr.c -o lib/fbsdattr.o
gcc -Wall -g -O2  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/filetree.c -o lib/filetree.o
lib/filetree.c: In function 'xar_prop_next':
lib/filetree.c:353:7: warning: variable 'err' set but not used [-Wunused-but-set-variable]
lib/filetree.c:395:7: warning: variable 'err' set but not used [-Wunused-but-set-variable]
lib/filetree.c: In function 'xar_file_next':
lib/filetree.c:850:8: warning: variable 'err' set but not used [-Wunused-but-set-variable]
lib/filetree.c: In function 'xar_prop_unserialize':
lib/filetree.c:1058:10: warning: variable 'err' set but not used [-Wunused-but-set-variable]
gcc -Wall -g -O2  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/io.c -o lib/io.o
gcc -Wall -g -O2  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/lzmaxar.c -o lib/lzmaxar.o
gcc -Wall -g -O2  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/linuxattr.c -o lib/linuxattr.o
gcc -Wall -g -O2  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/hash.c -o lib/hash.o
gcc -Wall -g -O2  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/signature.c -o lib/signature.o
gcc -Wall -g -O2  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/stat.c -o lib/stat.o
gcc -Wall -g -O2  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/subdoc.c -o lib/subdoc.o
gcc -Wall -g -O2  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/util.c -o lib/util.o
lib/util.c: In function 'xar_get_path':
lib/util.c:97:7: warning: variable 'err' set but not used [-Wunused-but-set-variable]
gcc -Wall -g -O2  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/zxar.c -o lib/zxar.o
gcc -Wall -g -O2  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/script.c -o lib/script.o
gcc -Wall -g -O2  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/macho.c -o lib/macho.o
gcc -shared -Wl,-soname,libxar.so.1 -o lib/librxar.so.1 lib/archive.o lib/arcmod.o lib/b64.o lib/bzxar.o lib/darwinattr.o lib/data.o lib/ea.o lib/err.o lib/ext2.o lib/fbsdattr.o lib/filetree.o lib/io.o lib/lzmaxar.o lib/linuxattr.o lib/hash.o lib/signature.o lib/stat.o lib/subdoc.o lib/util.o lib/zxar.o lib/script.o lib/macho.o -Llib  -lz -lcrypto  -L/usr/lib -lxml2
rm -f lib/librxar.so
ln -s librxar.so.1 lib/librxar.so
gcc -shared -Wl,-soname,libxar.so.1 -o lib/libxar.so.1 lib/archive.o lib/arcmod.o lib/b64.o lib/bzxar.o lib/darwinattr.o lib/data.o lib/ea.o lib/err.o lib/ext2.o lib/fbsdattr.o lib/filetree.o lib/io.o lib/lzmaxar.o lib/linuxattr.o lib/hash.o lib/signature.o lib/stat.o lib/subdoc.o lib/util.o lib/zxar.o lib/script.o lib/macho.o -Llib  -lz -lcrypto  -L/usr/lib -lxml2
rm -f lib/libxar.so
ln -s libxar.so.1 lib/libxar.so
gcc -Wall -g -O2   -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/archive.c -o lib/archive.static.o
lib/archive.c: In function 'xar_close':
lib/archive.c:469:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
lib/archive.c: In function 'xar_unserialize':
lib/archive.c:1684:12: warning: variable 'noattr' set but not used [-Wunused-but-set-variable]
lib/archive.c:1683:33: warning: variable 'uri' set but not used [-Wunused-but-set-variable]
lib/archive.c:1683:24: warning: variable 'prefix' set but not used [-Wunused-but-set-variable]
gcc -Wall -g -O2   -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/arcmod.c -o lib/arcmod.static.o
gcc -Wall -g -O2   -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/b64.c -o lib/b64.static.o
gcc -Wall -g -O2   -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/bzxar.c -o lib/bzxar.static.o
gcc -Wall -g -O2   -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/darwinattr.c -o lib/darwinattr.static.o
gcc -Wall -g -O2   -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/data.c -o lib/data.static.o
gcc -Wall -g -O2   -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/ea.c -o lib/ea.static.o
gcc -Wall -g -O2   -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/err.c -o lib/err.static.o
gcc -Wall -g -O2   -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/ext2.c -o lib/ext2.static.o
gcc -Wall -g -O2   -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/fbsdattr.c -o lib/fbsdattr.static.o
gcc -Wall -g -O2   -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/filetree.c -o lib/filetree.static.o
lib/filetree.c: In function 'xar_prop_next':
lib/filetree.c:353:7: warning: variable 'err' set but not used [-Wunused-but-set-variable]
lib/filetree.c:395:7: warning: variable 'err' set but not used [-Wunused-but-set-variable]
lib/filetree.c: In function 'xar_file_next':
lib/filetree.c:850:8: warning: variable 'err' set but not used [-Wunused-but-set-variable]
lib/filetree.c: In function 'xar_prop_unserialize':
lib/filetree.c:1058:10: warning: variable 'err' set but not used [-Wunused-but-set-variable]
gcc -Wall -g -O2   -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/io.c -o lib/io.static.o
gcc -Wall -g -O2   -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/lzmaxar.c -o lib/lzmaxar.static.o
gcc -Wall -g -O2   -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/linuxattr.c -o lib/linuxattr.static.o
gcc -Wall -g -O2   -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/hash.c -o lib/hash.static.o
gcc -Wall -g -O2   -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/signature.c -o lib/signature.static.o
gcc -Wall -g -O2   -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/stat.c -o lib/stat.static.o
gcc -Wall -g -O2   -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/subdoc.c -o lib/subdoc.static.o
gcc -Wall -g -O2   -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/util.c -o lib/util.static.o
lib/util.c: In function 'xar_get_path':
lib/util.c:97:7: warning: variable 'err' set but not used [-Wunused-but-set-variable]
gcc -Wall -g -O2   -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/zxar.c -o lib/zxar.static.o
gcc -Wall -g -O2   -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/script.c -o lib/script.static.o
gcc -Wall -g -O2   -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/macho.c -o lib/macho.static.o
/usr/bin/ar cvr lib/libxar.a lib/archive.static.o lib/arcmod.static.o lib/b64.static.o lib/bzxar.static.o lib/darwinattr.static.o lib/data.static.o lib/ea.static.o lib/err.static.o lib/ext2.static.o lib/fbsdattr.static.o lib/filetree.static.o lib/io.static.o lib/lzmaxar.static.o lib/linuxattr.static.o lib/hash.static.o lib/signature.static.o lib/stat.static.o lib/subdoc.static.o lib/util.static.o lib/zxar.static.o lib/script.static.o lib/macho.static.o
a - lib/archive.static.o
a - lib/arcmod.static.o
a - lib/b64.static.o
a - lib/bzxar.static.o
a - lib/darwinattr.static.o
a - lib/data.static.o
a - lib/ea.static.o
a - lib/err.static.o
a - lib/ext2.static.o
a - lib/fbsdattr.static.o
a - lib/filetree.static.o
a - lib/io.static.o
a - lib/lzmaxar.static.o
a - lib/linuxattr.static.o
a - lib/hash.static.o
a - lib/signature.static.o
a - lib/stat.static.o
a - lib/subdoc.static.o
a - lib/util.static.o
a - lib/zxar.static.o
a - lib/script.static.o
a - lib/macho.static.o
/usr/bin/ranlib lib/libxar.a 
sed -e s/@LIBXAR_SNAME@/libxar.so.1/ -e s/@LIBXAR_LNAME@/libxar.so/ -e s/@LIBXAR_ANAME@/libxar.a/ < lib/libxar.la.in > lib/libxar.la
gcc -Wall -g -O2  -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c src/xar.c -o src/xar.o
src/xar.c: In function 'is_valid_dir':
src/xar.c:672:6: warning: variable 'err' set but not used [-Wunused-but-set-variable]
src/xar.c: In function 'archive':
src/xar.c:1211:7: warning: variable 'err' set but not used [-Wunused-but-set-variable]
src/xar.c: In function 'main':
src/xar.c:1931:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
gcc -Wall -g -O2  -o src/xar src/xar.o -Wl,-rpath,/xar-1.6.1/lib -Llib  lib/libxar.a -lz -lcrypto  -L/usr/lib -lxml2
gcc -Wall -g -O2  -o src/ixar src/xar.o -Wl,-rpath,/usr/local/lib -Llib  lib/libxar.so.1 -lz -lcrypto  -L/usr/lib -lxml2
/usr/bin/install -c -d /usr/local/include/xar
/usr/bin/install -c -m 0644  include/xar.h /usr/local/include/xar
/usr/bin/install -c -d /usr/local/lib
/usr/bin/install -c -m 0755 lib/libxar.so.1 /usr/local/lib
rm -f /usr/local/lib/libxar.so
ln -s libxar.so.1 /usr/local/lib/libxar.so
/usr/bin/install -c -m 0644 lib/libxar.a /usr/local/lib
/usr/bin/install -c -m 0644 lib/libxar.la /usr/local/lib
/usr/bin/install -c -d /usr/local/bin
/usr/bin/install -c -m 0755 src/ixar /usr/local/bin/xar
/usr/bin/install -c -d /usr/local/share/man/man1
/usr/bin/install -c -m 0644 src/xar.1 /usr/local/share/man/man1
 ---> b48be8fc438a
Removing intermediate container f9ac1cf71f2c
Step 6 : ENV VBOX_VERSION 4.3.14
 ---> Running in b9d38443d948
 ---> 42d4bd4e1d15
Removing intermediate container b9d38443d948
Step 7 : RUN curl -L -o vbox.dmg http://download.virtualbox.org/virtualbox/$VBOX_VERSION/VirtualBox-$VBOX_VERSION-95030-OSX.dmg
 ---> Running in d8088f99854e
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  115M  100  115M    0     0   352k      0  0:05:36  0:05:36 --:--:--  366k
 ---> c1bfe84490e1
Removing intermediate container d8088f99854e
Step 8 : ENV DOCKER_VERSION  1.2.0
 ---> Running in 97e194930235
 ---> a9cb1d42257c
Removing intermediate container 97e194930235
Step 9 : ENV BOOT2DOCKER_CLI_VERSION 1.2.0
 ---> Running in 43a5037bf01b
 ---> 69d9b990cabc
Removing intermediate container 43a5037bf01b
Step 10 : ENV BOOT2DOCKER_ISO_VERSION 1.2.0
 ---> Running in 11daace61e5f
 ---> c3f6ace3f2aa
Removing intermediate container 11daace61e5f
Step 11 : ENV INSTALLER_VERSION 1.2.0
 ---> Running in effbab4afbfe
 ---> 799ac67e0194
Removing intermediate container effbab4afbfe
Step 12 : RUN curl -L -o /docker.tgz http://get.docker.io/builds/Darwin/x86_64/docker-$DOCKER_VERSION.tgz
 ---> Running in 3591e7eee69d
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1869k  100 1869k    0     0   226k      0  0:00:08  0:00:08 --:--:--  292k
 ---> e22c4eb60911
Removing intermediate container 3591e7eee69d
Step 13 : RUN curl -L -o /boot2docker https://github.com/boot2docker/boot2docker-cli/releases/download/v${BOOT2DOCKER_CLI_VERSION}/boot2docker-v${BOOT2DOCKER_CLI_VERSION}-darwin-amd64
 ---> Running in d82662ef8e15
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   371    0   371    0     0    260      0 --:--:--  0:00:01 --:--:--   323
100 7272k  100 7272k    0     0   319k      0  0:00:22  0:00:22 --:--:--  342k
 ---> 1d16cefd439e
Removing intermediate container d82662ef8e15
Step 14 : RUN curl -L -o /boot2docker.iso https://github.com/boot2docker/boot2docker/releases/download/v${BOOT2DOCKER_ISO_VERSION}/boot2docker.iso
 ---> Running in 6366f367cfb2
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   342    0   342    0     0    394      0 --:--:-- --:--:-- --:--:--  1200
100 23.0M  100 23.0M    0     0   240k      0  0:01:37  0:01:37 --:--:--  169k
 ---> 754426008c31
Removing intermediate container 6366f367cfb2
Step 15 : ADD mpkg /mpkg
 ---> 675c95628eba
Removing intermediate container 5693b11ec09e
Step 16 : RUN mkdir -p /mpkg/vbox &&     cd /mpkg/vbox &&     7z x /vbox.dmg -ir'!*.hfs' &&     7z x `find . -name '*.hfs'` -ir'!*.pkg' &&     mv VirtualBox/VirtualBox.pkg . &&     rm -rf vbox.dmg &&     rm -rf `find . -name '*.hfs'`
 ---> Running in 7604d6f1a13d

7-Zip [64] 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=C,Utf16=off,HugeFiles=on,8 CPUs)

Processing archive: /vbox.dmg

Extracting  2.hfs

Everything is Ok

Size:       145141760
Compressed: 121275213

7-Zip [64] 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=C,Utf16=off,HugeFiles=on,8 CPUs)

Processing archive: ./2.hfs

Extracting  VirtualBox/VirtualBox.pkg

Everything is Ok

Size:       115193984
Compressed: 145141760
 ---> 056fb58a59d4
Removing intermediate container 7604d6f1a13d
Step 17 : RUN cd /mpkg/vbox &&     mv VirtualBox.pkg /tmp &&     xar -xf /tmp/VirtualBox.pkg &&     rm -rf /tmp/VirtualBox.pkg
 ---> Running in cf175d3767a5
 ---> 34a63b1b0c7c
Removing intermediate container cf175d3767a5
Step 18 : RUN cd /mpkg/vbox &&     mv *.pkg .. &&     rm -rf vbox
 ---> Running in fc4e96d6d680
 ---> 5542603c4d79
Removing intermediate container fc4e96d6d680
Step 19 : RUN cd /mpkg/docker.pkg &&     mkdir ./rootfs &&     cd rootfs &&     cat /docker.tgz | tar xvz &&     find . | cpio -o --format odc | gzip -c > ../Payload &&     mkbom . ../Bom &&     sed -i         -e "s/%DOCKER_NUMBER_OF_FILES%/`find . | wc -l`/g"         -e "s/%DOCKER_INSTALL_KBYTES%/`du -sk | cut -f1`/g"         -e "s/%DOCKER_VERSION%/$DOCKER_VERSION/g"         ../PackageInfo /mpkg/Distribution &&     cd .. &&     rm -rf ./rootfs
 ---> Running in 1cea28aa0b47
usr/
usr/local/
usr/local/bin/
usr/local/bin/docker
13140 blocks
 ---> 934dcd96d5af
Removing intermediate container 1cea28aa0b47
Step 20 : RUN cd /mpkg/boot2docker.pkg &&     mkdir ./rootfs &&     cd ./rootfs &&     cp /boot2docker . &&     chmod +x boot2docker &&     find . | cpio -o --format odc | gzip -c > ../Payload &&     mkbom . ../Bom &&     sed -i         -e "s/%BOOT2DOCKER_NUMBER_OF_FILES%/`find . | wc -l`/g"         -e "s/%BOOT2DOCKER_INSTALL_KBYTES%/`du -sk | cut -f1`/g"         -e "s/%BOOT2DOCKER_VERSION%/$BOOT2DOCKER_CLI_VERSION/g"         ../PackageInfo /mpkg/Distribution &&     cd .. &&     rm -rf ./rootfs
 ---> Running in 2be29bb48f6e
14546 blocks
 ---> e2de85419068
Removing intermediate container 2be29bb48f6e
Step 21 : RUN cd /mpkg/boot2dockeriso.pkg &&     mkdir ./rootfs &&     cd ./rootfs &&     cp /boot2docker.iso . &&     find . | cpio -o --format odc | gzip -c > ../Payload &&     mkbom . ../Bom &&     sed -i         -e "s/%BOOT2DOCKER_ISO_NUMBER_OF_FILES%/`find . | wc -l`/g"         -e "s/%BOOT2DOCKER_ISO_INSTALL_KBYTES%/`du -sk | cut -f1`/g"         -e "s/%BOOT2DOCKER_ISO_VERSION%/$BOOT2DOCKER_ISO_VERSION/g"         ../PackageInfo /mpkg/Distribution &&     cd .. &&     rm -rf ./rootfs
 ---> Running in 085553cb2f04
47105 blocks
 ---> ab5c248f131e
Removing intermediate container 085553cb2f04
Step 22 : RUN cd /mpkg/boot2dockerapp.pkg &&     mkdir ./rootfs &&     cd ./rootfs &&     mv /mpkg/boot2docker.app . &&     find . | cpio -o --format odc | gzip -c > ../Payload &&     mkbom . ../Bom &&     sed -i         -e "s/%BOOT2DOCKERAPP_NUMBER_OF_FILES%/`find . | wc -l`/g"         -e "s/%BOOT2DOCKERAPP_INSTALL_KBYTES%/`du -sk | cut -f1`/g"         -e "s/%BOOT2DOCKERAPP_VERSION%/$INSTALLER_VERSION/g"         ../PackageInfo /mpkg/Distribution &&     cd .. &&     rm -rf ./rootfs
 ---> Running in a07992c851d1
807 blocks
 ---> 7ead949db2c1
Removing intermediate container a07992c851d1
Step 23 : RUN sed -i         -e "s/%INSTALLER_VERSION%/$INSTALLER_VERSION/g"         mpkg/Resources/en.lproj/Welcome.html
 ---> Running in 7179f776c167
 ---> 8414c93d7fd6
Removing intermediate container 7179f776c167
Step 24 : RUN sed -i         -e "s/%INSTALLER_VERSION%/$INSTALLER_VERSION/g"         mpkg/Resources/en.lproj/Installed.html
 ---> Running in dba87f0f5ad8
 ---> 9e94309acf42
Removing intermediate container dba87f0f5ad8
Step 25 : RUN sed -i         -e "s/%INSTALLER_VERSION%/$INSTALLER_VERSION/g"         /mpkg/Distribution &&   sed -i         -e "s/%VBOX_VERSION%/$VBOX_VERSION/g"         /mpkg/Distribution &&   sed -i         -e "s/%VBOX_VERSION%/$VBOX_VERSION/g"         mpkg/Resources/en.lproj/Localizable.strings
 ---> Running in acf40a95ea11
 ---> 1edf86be164b
Removing intermediate container acf40a95ea11
Step 26 : RUN mkdir -p /dmg
 ---> Running in d094c84a4824
 ---> 887506cc38f0
Removing intermediate container d094c84a4824
Step 27 : RUN cd /mpkg &&     xar -c --compression=none -f /dmg/Docker.pkg .
 ---> Running in 8e535f85b0c1
 ---> 6edc58e49e35
Removing intermediate container 8e535f85b0c1
Step 28 : ADD makedmg.sh /
 ---> 01ee5455f7ca
Removing intermediate container f26e1ef763f3
Step 29 : RUN chmod +x makedmg.sh
 ---> Running in aa3e3189aefe
 ---> 9f049df4d2ed
Removing intermediate container aa3e3189aefe
Step 30 : CMD ["/makedmg.sh", "docker.dmg", "Docker", "/dmg"]
 ---> Running in 0d529a6a38c9
 ---> 591d0f7ffb4e
Removing intermediate container 0d529a6a38c9
Successfully built 591d0f7ffb4e
Creating DMG File...
141+0 records in
141+0 records out
147849216 bytes (148 MB) copied, 0.133268 s, 1.1 GB/s
Initialized docker.dmg as a 141 MB HFS Plus volume
Mounting DMG File...
Copying content to DMG File...
Unmounting DMG File...
All Done!

I then clicked on the package, which put the boot2docker installer in the /Applications directory. When I clicked on THAT installer, I got the same error I have been getting with the downloaded version:

$ unset DYLD_LIBRARY_PATH ; unset LD_LIBRARY_PATH
bash: parse_git_branch: command not found
[~]
jimmyhuang@work$ mkdir -p ~/.boot2docker
bash: parse_git_branch: command not found
[~]
jimmyhuang@work$ if [ ! -f ~/.boot2docker/boot2docker.iso ]; then cp /usr/local/share/boot2docker/boot2docker.iso ~/.boot2docker/ ; fi
bash: parse_git_branch: command not found
[~]
jimmyhuang@work$ /usr/local/bin/boot2docker init 
error in run: config error: Near line 1, key 'export HISTCONTROL': Near line 1: Expected value but found 'e' instead.

bash: parse_git_branch: command not found
[~]
jimmyhuang@work$ /usr/local/bin/boot2docker up && export DOCKER_HOST=tcp://$(/usr/local/bin/boot2docker ip 2>/dev/null):2375
error in run: config error: Near line 1, key 'export HISTCONTROL': Near line 1: Expected value but found 'e' instead.

bash: parse_git_branch: command not found
[~]
jimmyhuang@work$ docker version
panic: runtime error: index out of range

goroutine 16 [running]:
runtime.panic(0x3a96e0, 0x60297c)
    /usr/local/go/src/pkg/runtime/panic.c:279 +0xf5
main.main()
    /go/src/github.com/docker/docker/docker/docker.go:99 +0x9ff

goroutine 19 [finalizer wait]:
runtime.park(0x164d0, 0x606550, 0x605029)
    /usr/local/go/src/pkg/runtime/proc.c:1369 +0x89
runtime.parkunlock(0x606550, 0x605029)
    /usr/local/go/src/pkg/runtime/proc.c:1385 +0x3b
runfinq()
    /usr/local/go/src/pkg/runtime/mgc0.c:2644 +0xcf
runtime.goexit()
    /usr/local/go/src/pkg/runtime/proc.c:1445

goroutine 20 [runnable]:
os/signal.loop()
    /usr/local/go/src/pkg/os/signal/signal_unix.go:19
created by os/signal.init·1
    /usr/local/go/src/pkg/os/signal/signal_unix.go:27 +0x32
bash: parse_git_branch: command not found

from osx-installer.

SvenDowideit avatar SvenDowideit commented on July 20, 2024

I've just re tested the installer on my osx 10.9.4, and it works.

I'm pretty suspicious of the bash: parse_git_branch: command not found error you're getting, and similarly, error in run: config error: Near line 1, key 'export HISTCONTROL': Near line 1: Expected value but found 'e' instead. looks more like you have something very different about your OSX.

When you work it out, please tell us more so we can try to work around it.

from osx-installer.

yhuang avatar yhuang commented on July 20, 2024

I removed everything in my .profile and rebooted. I got farther with the installation:

Last login: Mon Sep  1 23:58:51 on ttys000
work:~ jimmyhuang$ bash
bash-3.2$ unset DYLD_LIBRARY_PATH ; unset LD_LIBRARY_PATH
bash-3.2$ mkdir -p ~/.boot2docker
if [ ! -f ~/.boot2docker/boot2docker.iso ]; then cp /usr/local/share/boot2docker/boot2docker.iso ~/.boot2docker/ ; fi
/usr/local/bin/boot2docker init 
/usr/local/bin/boot2docker up && export DOCKER_HOST=tcp://$(/usr/local/bin/boot2docker ip 2>/dev/null):2375
docker version
bash-3.2$ if [ ! -f ~/.boot2docker/boot2docker.iso ]; then cp /usr/local/share/boot2docker/boot2docker.iso ~/.boot2docker/ ; fi
bash-3.2$ /usr/local/bin/boot2docker init 
error in run: config error: Near line 1, key 'export HISTCONTROL': Near line 1: Expected value but found 'e' instead.

bash-3.2$ /usr/local/bin/boot2docker up && export DOCKER_HOST=tcp://$(/usr/local/bin/boot2docker ip 2>/dev/null):2375
error in run: config error: Near line 1, key 'export HISTCONTROL': Near line 1: Expected value but found 'e' instead.

bash-3.2$ docker version
Client version: 1.2.0
Client API version: 1.14
Go version (client): go1.3.1
Git commit (client): fa7b24f
OS/Arch (client): darwin/amd64
2014/09/01 23:58:51 Get http:///var/run/docker.sock/v1.14/version: dial unix /var/run/docker.sock: no such file or directory

The issue is basically I cannot run boot2docker directly:

$ boot2docker
error in run: config error: Near line 1, key 'export HISTCONTROL': Near line 1: Expected value but found 'e' instead.

I cannot figure out what config file boot2docker is referring to. I have not run into any of these errors in previous versions of boot2docker.

from osx-installer.

SvenDowideit avatar SvenDowideit commented on July 20, 2024

I'm sorry, but there is nothing like HISTCONTROL in boot2docker.

I wonder what do you get if you run rgrep HISTCONTROL ~ ?

from osx-installer.

yhuang avatar yhuang commented on July 20, 2024

My current workaround is basically run the boot2docker v1.2.0 installer first, so docker v1.2.0 is installed first. After that, I run the boot2docker v1.1.2 installer, so Virtual Box may have Tiny Core Linux installed because boot2docker init can now finish. After that, I shutdown Virtual Box to update it, since the version packaged with v1.1.2 is out of date. Unfortunately, this workaround would leave me with boot2docker v1.1.2, but at least I can start playing with docker v1.2.0.

$ docker version
Client version: 1.2.0
Client API version: 1.14
Go version (client): go1.3.1
Git commit (client): fa7b24f
OS/Arch (client): darwin/amd64
Server version: 1.2.0
Server API version: 1.14
Go version (server): go1.3.1
Git commit (server): fa7b24f

$ boot2docker version
Client version: v1.1.2
Git commit: 429947b

$ boot2docker ssh
2014/09/02 00:19:36 VM "boot2docker-vm" is not running.
work:~ jimmyhuang$ boot2docker start
2014/09/02 00:20:31 Waiting for VM to be started...
.......
2014/09/02 00:20:53 Started.
2014/09/02 00:20:53 To connect the Docker client to the Docker daemon, please set:
2014/09/02 00:20:53     export DOCKER_HOST=tcp://192.168.59.103:2375
work:~ jimmyhuang$ boot2docker ssh
                        ##        .
                  ## ## ##       ==
               ## ## ## ##      ===
           /""""""""""""""""\___/ ===
      ~~~ {~~ ~~~~ ~~~ ~~~~ ~~ ~ /  ===- ~~~
           \______ o          __/
             \    \        __/
              \____\______/
 _                 _   ____     _            _
| |__   ___   ___ | |_|___ \ __| | ___   ___| | _____ _ __
| '_ \ / _ \ / _ \| __| __) / _` |/ _ \ / __| |/ / _ \ '__|
| |_) | (_) | (_) | |_ / __/ (_| | (_) | (__|   <  __/ |
|_.__/ \___/ \___/ \__|_____\__,_|\___/ \___|_|\_\___|_|

  boot2docker with VirtualBox guest additions version 4.3.14

boot2docker: 1.2.0
             master : e75396e - Fri Aug 22 06:03:48 UTC 2014

I did figure out why I was getting that nasty panic: runtime error: index out of range error. I used to include a script that would automatically set my DOCKER_HOST variable every time I start up a new console. Here is the command:

export DOCKER_HOST=$($BOOT2DOCKER ip 2>/dev/null):2375

What I was missing is tcp://. I think in v1.1.2 and earlier, the older versions were more forgiving.

from osx-installer.

yhuang avatar yhuang commented on July 20, 2024

More good news Sven. I was finally able to get the default boot2docker installer to work on my Mac OS X. What I had to do was to put a file called profile in my home directory.

Verbose = false
VBM = "VBoxManage"
SSH = "ssh"
SSHGen = "ssh-keygen"
SSHKey = "~/.ssh/id_boot2docker"
VM = "boot2docker-vm"
Dir = "~/.boot2docker"
ISO = "~/.boot2docker/boot2docker.iso"
VMDK = ""
DiskSize = 20000
Memory = 2048
SSHPort = 2022
DockerPort = 2375
HostIP = "192.168.59.3"
DHCPIP = "192.168.59.99"
NetMask = [255, 255, 255, 0]
LowerIP = "192.168.59.103"
UpperIP = "192.168.59.254"
DHCPEnabled = true
Serial = false
SerialFile = "~/.boot2docker/boot2docker-vm.sock"

I do not understand how this one file changed things, but it did in my case.

Last login: Tue Sep  2 17:43:27 on ttys003
bash
unset DYLD_LIBRARY_PATH ; unset LD_LIBRARY_PATH
mkdir -p ~/.boot2docker
if [ ! -f ~/.boot2docker/boot2docker.iso ]; then cp /usr/local/share/boot2docker/boot2docker.iso ~/.boot2docker/ ; fi
/usr/local/bin/boot2docker init 
/usr/local/bin/boot2docker up && export DOCKER_HOST=tcp://$(/usr/local/bin/boot2docker ip 2>/dev/null):2375
docker version
[~]
$ bash
[~]
$ unset DYLD_LIBRARY_PATH ; unset LD_LIBRARY_PATH
[~]
$ mkdir -p ~/.boot2docker
[~]
$ if [ ! -f ~/.boot2docker/boot2docker.iso ]; then cp /usr/local/share/boot2docker/boot2docker.iso ~/.boot2docker/ ; fi
[~]
$ /usr/local/bin/boot2docker init 
[~]
$ /usr/local/bin/boot2docker up && export DOCKER_HOST=tcp://$(/usr/local/bin/boot2docker ip 2>/dev/null):2375
Waiting for VM and Docker daemon to start...
..........................................
Started.

To connect the Docker client to the Docker daemon, please set:
    export DOCKER_HOST=tcp://192.168.59.103:2375

[~]
$ docker version
Client version: 1.2.0
Client API version: 1.14
Go version (client): go1.3.1
Git commit (client): fa7b24f
OS/Arch (client): darwin/amd64
Server version: 1.2.0
Server API version: 1.14
Go version (server): go1.3.1
Git commit (server): fa7b24f
[~]
$ boot2docker status
running

boot2docker version
Client version: v1.2.0

$ boot2docker ssh
                        ##        .
                  ## ## ##       ==
               ## ## ## ##      ===
           /""""""""""""""""\___/ ===
      ~~~ {~~ ~~~~ ~~~ ~~~~ ~~ ~ /  ===- ~~~
           \______ o          __/
             \    \        __/
              \____\______/
 _                 _   ____     _            _
| |__   ___   ___ | |_|___ \ __| | ___   ___| | _____ _ __
| '_ \ / _ \ / _ \| __| __) / _` |/ _ \ / __| |/ / _ \ '__|
| |_) | (_) | (_) | |_ / __/ (_| | (_) | (__|   <  __/ |
|_.__/ \___/ \___/ \__|_____\__,_|\___/ \___|_|\_\___|_|
boot2docker: 1.2.0
             3.16.1-config-file : e75396e - Fri Aug 22 06:45:30 UTC 2014

from osx-installer.

SvenDowideit avatar SvenDowideit commented on July 20, 2024

extremely odd, as boto2docker looks for $HOME/.boot2docker/profile, but only loads it if its there.

from osx-installer.

lalyos avatar lalyos commented on July 20, 2024

@SvenDowideit i might now what the problem is: one of my college run into a similar issue,
and at the end it turned out he had a wrong DOCKER_HOST environment variable.

It was missing the tcp:// schema.

Reproduce the painc

$ export DOCKER_HOST=192.168.59.103:2375
$ docker ps

from osx-installer.

yhuang avatar yhuang commented on July 20, 2024

Hi Sven,

What also struck me as odd is that the profile file seems to be required for boot2docker v1.2.0 installer and boot2docker the executable. I was able to generate the profile file while I still had boot2docker v1.1.2 before uninstalling it and Virtual Box (I like to do clean installs). How would someone who is installing boot2docker for the first time get this profile file?

On my laptop, if the profile file is not in my home directory, calling boot2docker would produce this error:

error in run: config error: Near line 1, key 'export HISTCONTROL': Near line 1: Expected value but found 'e' instead.

In addition, the profile file must be in the home directory and not the ~/.boot2docker/ directory. If it is in the ~/.boot2docker/ directory, I can only call boot2docker successfully from inside the ~/.boot2docker/ directory. As soon as I leave that directory (e.g. home directory), calling boot2docker would yield the above error. I started using boot2docker with version v1.0.1, and the installation has always been uneventful until v1.2.0.

Thanks to your patience and guidance, I am able to have a relatively clean install of boot2docker v1.2.0, so I am good here. I just wanted to pass along some of my observations in case others find themselves in a similar situation. Thank you again for your help.

from osx-installer.

SvenDowideit avatar SvenDowideit commented on July 20, 2024

@lalyos that panic appears to be fixed in docker master - and assumes that you meant to have tcp://

from osx-installer.

lalyos avatar lalyos commented on July 20, 2024

@SvenDowideit yes i meant, if tcp:// is missing from DOCKER_HOST you can reproduce the panic with boot2docker v1.2.0

I was searching for the panic string, and found this issue, and just wanted to record that in our case this issue was solved by simple fixing DOCKER_HOST

from osx-installer.

SvenDowideit avatar SvenDowideit commented on July 20, 2024

@yhuang I've just run the Boot2Docker v1.2.0 installer on a totally fresh OSX installation, and it worked pretty much exactly like the video at http://docs.docker.com/installation/mac/ (just updated for little UI tweaks that have happened since that release).

from osx-installer.

Achimh3011 avatar Achimh3011 commented on July 20, 2024

I had the same error message after manually moving/deleting VirtualBox files. A removal of the boot2docker VM via VirtualBox GUI fixed the problem for me.

from osx-installer.

denmat avatar denmat commented on July 20, 2024

I've had the same problem.

The boot2docker command is getting ~/.boot2docker/profile confused with ~/.profile.

I moved the configuration in my ~/.profile into ~/.bashrc the problem went away.

Maybe this is the culprit from boot2docker-cli (not sure how to test go).

func cfgFilename(dir string) string {
  filename := os.Getenv("BOOT2DOCKER_PROFILE")
  if filename == "" {
    filename = filepath.Join(dir, "profile")
  }
  return filename
}

While it doesn't specify '.profile' maybe it picks it up anyway? At any rate should it be:

  filename = filepath.Join(dir, '.boot2docker', 'profile')

from osx-installer.

SvenDowideit avatar SvenDowideit commented on July 20, 2024

@tianon this really aught to be on your 1.3.2 radar

i wish there was a 'move issue to other repo'

from osx-installer.

tianon avatar tianon commented on July 20, 2024
filename = filepath.Join(dir, '.boot2docker', 'profile')

certainly can't be correct.

The dir here is from
https://github.com/boot2docker/boot2docker-cli/blob/56eaa53d43f490c7b6e2d6bf5e5ceaf641047448/config.go#L137
(filename := cfgFilename(B2D.Dir)) which is set at
https://github.com/boot2docker/boot2docker-cli/blob/56eaa53d43f490c7b6e2d6bf5e5ceaf641047448/config.go#L93
(B2D.Dir = dir) which comes from
https://github.com/boot2docker/boot2docker-cli/blob/56eaa53d43f490c7b6e2d6bf5e5ceaf641047448/config.go#L78
(dir, err := cfgDir(".boot2docker")).

I'm not sure I see any way for the code to ever pick up .profile unless you've explicitly set BOOT2DOCKER_PROFILE to the value $HOME/.profile.

from osx-installer.

denmat avatar denmat commented on July 20, 2024

@tianon, yes okay (didn't really look that much at the code). Could this be a old version/new version cleanup issue then?

I have never deliberately set BOOT2DOCKER_PROFILE.

But here is the good news. After a reboot I don't have the same issues and can't reproduce.

I now get this even with my profile set to:

$ cat .profile 
#!/bin/bash
source ~/.bashrc
BOOT2DOCKER_PROFILE=$HOME/.profile

All good.

Last login: Mon Nov 24 14:31:24 on ttys009
bash
unset DYLD_LIBRARY_PATH ; unset LD_LIBRARY_PATH
mkdir -p ~/.boot2docker
if [ ! -f ~/.boot2docker/boot2docker.iso ]; then cp /usr/local/share/boot2docker/boot2docker.iso ~/.boot2docker/ ; fi
/usr/local/bin/boot2docker init 
/usr/local/bin/boot2docker up 
$(/usr/local/bin/boot2docker shellinit)
docker version
user@curtis ~ $ bash
user@curtis ~ $ unset DYLD_LIBRARY_PATH ; unset LD_LIBRARY_PATH
user@curtis ~ $ mkdir -p ~/.boot2docker
user@curtis ~ $ if [ ! -f ~/.boot2docker/boot2docker.iso ]; then cp /usr/local/share/boot2docker/boot2docker.iso ~/.boot2docker/ ; fi
user@curtis ~ $ /usr/local/bin/boot2docker init 
user@curtis ~ $ /usr/local/bin/boot2docker up 
Waiting for VM and Docker daemon to start...
.......................ooooooooooooooooo
Started.
Writing /Users/user/.boot2docker/certs/boot2docker-vm/ca.pem
Writing /Users/user/.boot2docker/certs/boot2docker-vm/cert.pem
Writing /Users/user/.boot2docker/certs/boot2docker-vm/key.pem

To connect the Docker client to the Docker daemon, please set:
    export DOCKER_HOST=tcp://192.168.59.103:2376
    export DOCKER_CERT_PATH=/Users/user/.boot2docker/certs/boot2docker-vm
    export DOCKER_TLS_VERIFY=1

user@curtis ~ $ $(/usr/local/bin/boot2docker shellinit)
Writing /Users/user/.boot2docker/certs/boot2docker-vm/ca.pem
Writing /Users/user/.boot2docker/certs/boot2docker-vm/cert.pem
Writing /Users/user/.boot2docker/certs/boot2docker-vm/key.pem
user@curtis ~ $ docker version
Client version: 1.3.1
Client API version: 1.15
Go version (client): go1.3.3
Git commit (client): 4e9bbfa
OS/Arch (client): darwin/amd64
Server version: 1.3.1
Server API version: 1.15
Go version (server): go1.3.3
Git commit (server): 4e9bbfa

Go figure :)

from osx-installer.

tianon avatar tianon commented on July 20, 2024

So bizarre. Thanks for doing additional testing! :)

from osx-installer.

tianon avatar tianon commented on July 20, 2024

Sorry, this repository is long-since deprecated in favor of Docker Toolbox (whose usage is now also discouraged in favor of Docker for Windows and Docker for Mac).

from osx-installer.

Related Issues (20)

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.