StanAngeloff / php.vim

An up-to-date Vim syntax for PHP (7.x supported)
477 stars 69 forks source link

Docker build index error #36

Closed gonzaloserrano closed 9 years ago

gonzaloserrano commented 9 years ago

Hi,

I executed the docker stuff in OSX with boot2docker and in the end i'm getting a php.vim file with the next content:

PHP Warning:  file_get_contents(/var/php/syntax/php.vim): failed to open stream: No such file or directory in /build/update-vim-syntax.php on line 162

Warning: file_get_contents(/var/php/syntax/php.vim): failed to open stream: No such file or directory in /build/update-vim-syntax.php on line 162

Any hints?

Thanks!

edit: i think it's related with the apt process stuff/gpg keys, then i tried to execute a bash process to "login" in the container and shot some errors and exited edit2: i could execute it without docker with no problem

StanAngeloff commented 9 years ago

Hey,

Thanks for reporting this. I just tried the commands on Ubuntu 14.04 and the process completed fine (full trace attached at the end of this post). Can you run all commands in order and paste the output here? I am guessing the Docker volume isn't created properly and this causes the script to fail.

~/.vim/bundle/php.vim ➜ start docker
[sudo] password for stan:
docker start/running, process 3945
~/.vim/bundle/php.vim ➜
~/.vim/bundle/php.vim ➜ docker -v
Docker version 1.4.1, build 5bc2ff8
~/.vim/bundle/php.vim ➜ docker build -t stanangeloff/php.vim .
Sending build context to Docker daemon 5.497 MB
Sending build context to Docker daemon
Step 0 : FROM ubuntu:14.04
 ---> 9bd07e480c5b
Step 1 : MAINTAINER Stan Angeloff "stanimir@psp-webtech.co.uk"
 ---> Running in e78dbfa72800
 ---> fa60d98aad14
Removing intermediate container e78dbfa72800
Step 2 : RUN echo 'deb http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu trusty main' >> /etc/apt/sources.list && apt-key adv -q --keyserver 'keyserver.ubuntu.com' --recv-keys 'E5267A6C'
 ---> Running in 255f7c68ddb9
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.svJMOP5TY9 --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg -q --keyserver keyserver.ubuntu.com --recv-keys E5267A6C
gpg: requesting key E5267A6C from hkp server keyserver.ubuntu.com
 ---> d2aa6b268909
Removing intermediate container 255f7c68ddb9
Step 3 : RUN apt-get update
 ---> Running in 83ef192fb146
Ign http://ppa.launchpad.net trusty InRelease
Get:1 http://ppa.launchpad.net trusty Release.gpg [316 B]
Get:2 http://ppa.launchpad.net trusty Release [15.1 kB]
Ign http://archive.ubuntu.com trusty InRelease
Ign http://archive.ubuntu.com trusty-updates InRelease
Ign http://archive.ubuntu.com trusty-security InRelease
Get:3 http://ppa.launchpad.net trusty/main amd64 Packages [21.6 kB]
Hit http://archive.ubuntu.com trusty Release.gpg
Get:4 http://archive.ubuntu.com trusty-updates Release.gpg [933 B]
Get:5 http://archive.ubuntu.com trusty-security Release.gpg [933 B]
Hit http://archive.ubuntu.com trusty Release
Get:6 http://archive.ubuntu.com trusty-updates Release [62.0 kB]
Get:7 http://archive.ubuntu.com trusty-security Release [62.0 kB]
Get:8 http://archive.ubuntu.com trusty/main Sources [1335 kB]
Get:9 http://archive.ubuntu.com trusty/restricted Sources [5335 B]
Get:10 http://archive.ubuntu.com trusty/universe Sources [7926 kB]
Get:11 http://archive.ubuntu.com trusty/main amd64 Packages [1743 kB]
Get:12 http://archive.ubuntu.com trusty/restricted amd64 Packages [16.0 kB]
Get:13 http://archive.ubuntu.com trusty/universe amd64 Packages [7589 kB]
Get:14 http://archive.ubuntu.com trusty-updates/main Sources [226 kB]
Get:15 http://archive.ubuntu.com trusty-updates/restricted Sources [1874 B]
Get:16 http://archive.ubuntu.com trusty-updates/universe Sources [127 kB]
Get:17 http://archive.ubuntu.com trusty-updates/main amd64 Packages [552 kB]
Get:18 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [14.8 kB]
Get:19 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [324 kB]
Get:20 http://archive.ubuntu.com trusty-security/main Sources [79.8 kB]
Get:21 http://archive.ubuntu.com trusty-security/restricted Sources [1874 B]
Get:22 http://archive.ubuntu.com trusty-security/universe Sources [19.1 kB]
Get:23 http://archive.ubuntu.com trusty-security/main amd64 Packages [251 kB]
Get:24 http://archive.ubuntu.com trusty-security/restricted amd64 Packages [14.8 kB]
Get:25 http://archive.ubuntu.com trusty-security/universe amd64 Packages [110 kB]
Fetched 20.5 MB in 55s (366 kB/s)
Reading package lists...
 ---> 57e4e0c8833c
Removing intermediate container 83ef192fb146
Step 4 : RUN apt-get -y install     openssl ;
 ---> Running in 64d735026136
Reading package lists...
Building dependency tree...
Reading state information...
Suggested packages:
  ca-certificates
The following NEW packages will be installed:
  openssl
0 upgraded, 1 newly installed, 0 to remove and 22 not upgraded.
Need to get 489 kB of archives.
After this operation, 928 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main openssl amd64 1.0.1f-1ubuntu2.8 [489 kB]
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
dpkg-preconfigure: unable to re-open stdin:
Fetched 489 kB in 0s (500 kB/s)
Selecting previously unselected package openssl.
(Reading database ... 11527 files and directories currently installed.)
Preparing to unpack .../openssl_1.0.1f-1ubuntu2.8_amd64.deb ...
Unpacking openssl (1.0.1f-1ubuntu2.8) ...
Setting up openssl (1.0.1f-1ubuntu2.8) ...
 ---> 34b3cbb7318d
Removing intermediate container 64d735026136
Step 5 : RUN apt-get -y install     php5-cli     php5-curl     php5-gd     php5-gmp     php5-intl     php5-mcrypt     php5-memcache     php5-mysql     php5-pgsql     php5-sqlite ;
 ---> Running in 62330670350a
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  ca-certificates fontconfig-config fonts-dejavu-core krb5-locales
  libasn1-8-heimdal libcurl3 libedit2 libfontconfig1 libfreetype6 libgd3
  libgmp10 libgssapi-krb5-2 libgssapi3-heimdal libhcrypto4-heimdal
  libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal libicu52
  libidn11 libjbig0 libjpeg-turbo8 libjpeg8 libk5crypto3 libkeyutils1
  libkrb5-26-heimdal libkrb5-3 libkrb5support0 libldap-2.4-2 libmcrypt4
  libmysqlclient18 libonig2 libpq5 libqdbm14 libroken18-heimdal librtmp0
  libsasl2-2 libsasl2-modules libsasl2-modules-db libtiff5 libvpx1
  libwind0-heimdal libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxml2
  libxpm4 lsof mysql-common php5-common php5-json php5-readline psmisc
  sgml-base xml-core
Suggested packages:
  libgd-tools krb5-doc krb5-user libmcrypt-dev mcrypt libsasl2-modules-otp
  libsasl2-modules-ldap libsasl2-modules-sql libsasl2-modules-gssapi-mit
  libsasl2-modules-gssapi-heimdal php-pear php5-user-cache memcached
  sgml-base-doc debhelper
The following NEW packages will be installed:
  ca-certificates fontconfig-config fonts-dejavu-core krb5-locales
  libasn1-8-heimdal libcurl3 libedit2 libfontconfig1 libfreetype6 libgd3
  libgmp10 libgssapi-krb5-2 libgssapi3-heimdal libhcrypto4-heimdal
  libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal libicu52
  libidn11 libjbig0 libjpeg-turbo8 libjpeg8 libk5crypto3 libkeyutils1
  libkrb5-26-heimdal libkrb5-3 libkrb5support0 libldap-2.4-2 libmcrypt4
  libmysqlclient18 libonig2 libpq5 libqdbm14 libroken18-heimdal librtmp0
  libsasl2-2 libsasl2-modules libsasl2-modules-db libtiff5 libvpx1
  libwind0-heimdal libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxml2
  libxpm4 lsof mysql-common php5-cli php5-common php5-curl php5-gd php5-gmp
  php5-intl php5-json php5-mcrypt php5-memcache php5-mysql php5-pgsql
  php5-readline php5-sqlite psmisc sgml-base xml-core
0 upgraded, 66 newly installed, 0 to remove and 22 not upgraded.
Need to get 17.5 MB of archives.
After this operation, 70.8 MB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/ trusty/main libedit2 amd64 3.1-20140620-2+deb.sury.org~trusty+4 [84.4 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty/main libroken18-heimdal amd64 1.6~git20131207+dfsg-1ubuntu1 [40.0 kB]
Get:3 http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/ trusty/main libgd3 amd64 2.1.0-4+deb.sury.org~trusty+1 [135 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ trusty/main libasn1-8-heimdal amd64 1.6~git20131207+dfsg-1ubuntu1 [160 kB]
Get:5 http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/ trusty/main php5-common amd64 5.6.5+dfsg-1+deb.sury.org~trusty+1 [690 kB]
Get:6 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libkrb5support0 amd64 1.12+dfsg-2ubuntu4.2 [29.8 kB]
Get:7 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libk5crypto3 amd64 1.12+dfsg-2ubuntu4.2 [79.8 kB]
Get:8 http://archive.ubuntu.com/ubuntu/ trusty/main libkeyutils1 amd64 1.5.6-1 [7318 B]
Get:9 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libkrb5-3 amd64 1.12+dfsg-2ubuntu4.2 [262 kB]
Get:10 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libgssapi-krb5-2 amd64 1.12+dfsg-2ubuntu4.2 [113 kB]
Get:11 http://archive.ubuntu.com/ubuntu/ trusty/main libhcrypto4-heimdal amd64 1.6~git20131207+dfsg-1ubuntu1 [84.0 kB]
Get:12 http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/ trusty/main php5-json amd64 1.3.6-1+deb.sury.org~trusty+2 [18.6 kB]
Get:13 http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/ trusty/main php5-cli amd64 5.6.5+dfsg-1+deb.sury.org~trusty+1 [2134 kB]
Get:14 http://archive.ubuntu.com/ubuntu/ trusty/main libheimbase1-heimdal amd64 1.6~git20131207+dfsg-1ubuntu1 [29.0 kB]
Get:15 http://archive.ubuntu.com/ubuntu/ trusty/main libwind0-heimdal amd64 1.6~git20131207+dfsg-1ubuntu1 [47.8 kB]
Get:16 http://archive.ubuntu.com/ubuntu/ trusty/main libhx509-5-heimdal amd64 1.6~git20131207+dfsg-1ubuntu1 [104 kB]
Get:17 http://archive.ubuntu.com/ubuntu/ trusty/main libkrb5-26-heimdal amd64 1.6~git20131207+dfsg-1ubuntu1 [197 kB]
Get:18 http://archive.ubuntu.com/ubuntu/ trusty/main libheimntlm0-heimdal amd64 1.6~git20131207+dfsg-1ubuntu1 [15.2 kB]
Get:19 http://archive.ubuntu.com/ubuntu/ trusty/main libgssapi3-heimdal amd64 1.6~git20131207+dfsg-1ubuntu1 [90.1 kB]
Get:20 http://archive.ubuntu.com/ubuntu/ trusty/main libidn11 amd64 1.28-1ubuntu2 [93.0 kB]
Get:21 http://archive.ubuntu.com/ubuntu/ trusty/main libsasl2-modules-db amd64 2.1.25.dfsg1-17build1 [14.9 kB]
Get:22 http://archive.ubuntu.com/ubuntu/ trusty/main libsasl2-2 amd64 2.1.25.dfsg1-17build1 [56.5 kB]
Get:23 http://archive.ubuntu.com/ubuntu/ trusty/main libldap-2.4-2 amd64 2.4.31-1+nmu2ubuntu8 [154 kB]
Get:24 http://archive.ubuntu.com/ubuntu/ trusty/main librtmp0 amd64 2.4+20121230.gitdf6c518-1 [57.5 kB]
Get:25 http://archive.ubuntu.com/ubuntu/ trusty/main libxau6 amd64 1:1.0.8-1 [8376 B]
Get:26 http://archive.ubuntu.com/ubuntu/ trusty/main libxdmcp6 amd64 1:1.1.1-1 [12.8 kB]
Get:27 http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/ trusty/main php5-curl amd64 5.6.5+dfsg-1+deb.sury.org~trusty+1 [27.5 kB]
Get:28 http://archive.ubuntu.com/ubuntu/ trusty/main libxcb1 amd64 1.10-2ubuntu1 [38.0 kB]
Get:29 http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/ trusty/main php5-gd amd64 5.6.5+dfsg-1+deb.sury.org~trusty+1 [28.1 kB]
Get:30 http://archive.ubuntu.com/ubuntu/ trusty/main libx11-data all 2:1.6.2-1ubuntu2 [111 kB]
Get:31 http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/ trusty/main php5-gmp amd64 5.6.5+dfsg-1+deb.sury.org~trusty+1 [21.2 kB]
Get:32 http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/ trusty/main php5-intl amd64 5.6.5+dfsg-1+deb.sury.org~trusty+1 [109 kB]
Get:33 http://archive.ubuntu.com/ubuntu/ trusty/main libx11-6 amd64 2:1.6.2-1ubuntu2 [560 kB]
Get:34 http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/ trusty/main php5-mcrypt amd64 5.6.5+dfsg-1+deb.sury.org~trusty+1 [14.8 kB]
Get:35 http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/ trusty/main php5-memcache amd64 3.0.8-5+deb.sury.org~trusty+1 [72.8 kB]
Get:36 http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/ trusty/main php5-mysql amd64 5.6.5+dfsg-1+deb.sury.org~trusty+1 [64.0 kB]
Get:37 http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/ trusty/main php5-pgsql amd64 5.6.5+dfsg-1+deb.sury.org~trusty+1 [56.2 kB]
Get:38 http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/ trusty/main php5-readline amd64 5.6.5+dfsg-1+deb.sury.org~trusty+1 [12.1 kB]
Get:39 http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/ trusty/main php5-sqlite amd64 5.6.5+dfsg-1+deb.sury.org~trusty+1 [24.3 kB]
Get:40 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libxml2 amd64 2.9.1+dfsg1-3ubuntu4.4 [570 kB]
Get:41 http://archive.ubuntu.com/ubuntu/ trusty/main sgml-base all 1.26+nmu4ubuntu1 [12.5 kB]
Get:42 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libcurl3 amd64 7.35.0-1ubuntu2.3 [172 kB]
Get:43 http://archive.ubuntu.com/ubuntu/ trusty/main fonts-dejavu-core all 2.34-1ubuntu1 [1024 kB]
Get:44 http://archive.ubuntu.com/ubuntu/ trusty-updates/main fontconfig-config all 2.11.0-0ubuntu4.1 [47.4 kB]
Get:45 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libfreetype6 amd64 2.5.2-1ubuntu2.2 [305 kB]
Get:46 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libfontconfig1 amd64 2.11.0-0ubuntu4.1 [123 kB]
Get:47 http://archive.ubuntu.com/ubuntu/ trusty/main libjpeg-turbo8 amd64 1.3.0-0ubuntu2 [104 kB]
Get:48 http://archive.ubuntu.com/ubuntu/ trusty/main libjpeg8 amd64 8c-2ubuntu8 [2194 B]
Get:49 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libjbig0 amd64 2.0-2ubuntu4.1 [26.1 kB]
Get:50 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libtiff5 amd64 4.0.3-7ubuntu0.1 [142 kB]
Get:51 http://archive.ubuntu.com/ubuntu/ trusty/main libvpx1 amd64 1.3.0-2 [556 kB]
Get:52 http://archive.ubuntu.com/ubuntu/ trusty/main libxpm4 amd64 1:3.5.10-1 [38.3 kB]
Get:53 http://archive.ubuntu.com/ubuntu/ trusty/main libgmp10 amd64 2:5.1.3+dfsg-1ubuntu1 [218 kB]
Get:54 http://archive.ubuntu.com/ubuntu/ trusty/main libicu52 amd64 52.1-3 [6770 kB]
Get:55 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-common all 5.5.41-0ubuntu0.14.04.1 [14.1 kB]
Get:56 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libmysqlclient18 amd64 5.5.41-0ubuntu0.14.04.1 [595 kB]
Get:57 http://archive.ubuntu.com/ubuntu/ trusty/main ca-certificates all 20130906ubuntu2 [175 kB]
Get:58 http://archive.ubuntu.com/ubuntu/ trusty-updates/main krb5-locales all 1.12+dfsg-2ubuntu4.2 [12.6 kB]
Get:59 http://archive.ubuntu.com/ubuntu/ trusty/main libsasl2-modules amd64 2.1.25.dfsg1-17build1 [64.3 kB]
Get:60 http://archive.ubuntu.com/ubuntu/ trusty/main lsof amd64 4.86+dfsg-1ubuntu2 [257 kB]
Get:61 http://archive.ubuntu.com/ubuntu/ trusty/main psmisc amd64 22.20-1ubuntu2 [53.2 kB]
Get:62 http://archive.ubuntu.com/ubuntu/ trusty/main xml-core all 0.13+nmu2 [23.3 kB]
Get:63 http://archive.ubuntu.com/ubuntu/ trusty/universe libmcrypt4 amd64 2.5.8-3.1ubuntu1 [61.9 kB]
Get:64 http://archive.ubuntu.com/ubuntu/ trusty/universe libonig2 amd64 5.9.1-1ubuntu1 [89.1 kB]
Get:65 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libpq5 amd64 9.3.5-0ubuntu0.14.04.1 [80.6 kB]
Get:66 http://archive.ubuntu.com/ubuntu/ trusty/universe libqdbm14 amd64 1.8.78-3 [109 kB]
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
dpkg-preconfigure: unable to re-open stdin:
Fetched 17.5 MB in 14s (1206 kB/s)
Selecting previously unselected package libroken18-heimdal:amd64.
(Reading database ... 11619 files and directories currently installed.)
Preparing to unpack .../libroken18-heimdal_1.6~git20131207+dfsg-1ubuntu1_amd64.deb ...
Unpacking libroken18-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1) ...
Selecting previously unselected package libasn1-8-heimdal:amd64.
Preparing to unpack .../libasn1-8-heimdal_1.6~git20131207+dfsg-1ubuntu1_amd64.deb ...
Unpacking libasn1-8-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1) ...
Selecting previously unselected package libedit2:amd64.
Preparing to unpack .../libedit2_3.1-20140620-2+deb.sury.org~trusty+4_amd64.deb ...
Unpacking libedit2:amd64 (3.1-20140620-2+deb.sury.org~trusty+4) ...
Selecting previously unselected package libkrb5support0:amd64.
Preparing to unpack .../libkrb5support0_1.12+dfsg-2ubuntu4.2_amd64.deb ...
Unpacking libkrb5support0:amd64 (1.12+dfsg-2ubuntu4.2) ...
Selecting previously unselected package libk5crypto3:amd64.
Preparing to unpack .../libk5crypto3_1.12+dfsg-2ubuntu4.2_amd64.deb ...
Unpacking libk5crypto3:amd64 (1.12+dfsg-2ubuntu4.2) ...
Selecting previously unselected package libkeyutils1:amd64.
Preparing to unpack .../libkeyutils1_1.5.6-1_amd64.deb ...
Unpacking libkeyutils1:amd64 (1.5.6-1) ...
Selecting previously unselected package libkrb5-3:amd64.
Preparing to unpack .../libkrb5-3_1.12+dfsg-2ubuntu4.2_amd64.deb ...
Unpacking libkrb5-3:amd64 (1.12+dfsg-2ubuntu4.2) ...
Selecting previously unselected package libgssapi-krb5-2:amd64.
Preparing to unpack .../libgssapi-krb5-2_1.12+dfsg-2ubuntu4.2_amd64.deb ...
Unpacking libgssapi-krb5-2:amd64 (1.12+dfsg-2ubuntu4.2) ...
Selecting previously unselected package libhcrypto4-heimdal:amd64.
Preparing to unpack .../libhcrypto4-heimdal_1.6~git20131207+dfsg-1ubuntu1_amd64.deb ...
Unpacking libhcrypto4-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1) ...
Selecting previously unselected package libheimbase1-heimdal:amd64.
Preparing to unpack .../libheimbase1-heimdal_1.6~git20131207+dfsg-1ubuntu1_amd64.deb ...
Unpacking libheimbase1-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1) ...
Selecting previously unselected package libwind0-heimdal:amd64.
Preparing to unpack .../libwind0-heimdal_1.6~git20131207+dfsg-1ubuntu1_amd64.deb ...
Unpacking libwind0-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1) ...
Selecting previously unselected package libhx509-5-heimdal:amd64.
Preparing to unpack .../libhx509-5-heimdal_1.6~git20131207+dfsg-1ubuntu1_amd64.deb ...
Unpacking libhx509-5-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1) ...
Selecting previously unselected package libkrb5-26-heimdal:amd64.
Preparing to unpack .../libkrb5-26-heimdal_1.6~git20131207+dfsg-1ubuntu1_amd64.deb ...
Unpacking libkrb5-26-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1) ...
Selecting previously unselected package libheimntlm0-heimdal:amd64.
Preparing to unpack .../libheimntlm0-heimdal_1.6~git20131207+dfsg-1ubuntu1_amd64.deb ...
Unpacking libheimntlm0-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1) ...
Selecting previously unselected package libgssapi3-heimdal:amd64.
Preparing to unpack .../libgssapi3-heimdal_1.6~git20131207+dfsg-1ubuntu1_amd64.deb ...
Unpacking libgssapi3-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1) ...
Selecting previously unselected package libidn11:amd64.
Preparing to unpack .../libidn11_1.28-1ubuntu2_amd64.deb ...
Unpacking libidn11:amd64 (1.28-1ubuntu2) ...
Selecting previously unselected package libsasl2-modules-db:amd64.
Preparing to unpack .../libsasl2-modules-db_2.1.25.dfsg1-17build1_amd64.deb ...
Unpacking libsasl2-modules-db:amd64 (2.1.25.dfsg1-17build1) ...
Selecting previously unselected package libsasl2-2:amd64.
Preparing to unpack .../libsasl2-2_2.1.25.dfsg1-17build1_amd64.deb ...
Unpacking libsasl2-2:amd64 (2.1.25.dfsg1-17build1) ...
Selecting previously unselected package libldap-2.4-2:amd64.
Preparing to unpack .../libldap-2.4-2_2.4.31-1+nmu2ubuntu8_amd64.deb ...
Unpacking libldap-2.4-2:amd64 (2.4.31-1+nmu2ubuntu8) ...
Selecting previously unselected package librtmp0:amd64.
Preparing to unpack .../librtmp0_2.4+20121230.gitdf6c518-1_amd64.deb ...
Unpacking librtmp0:amd64 (2.4+20121230.gitdf6c518-1) ...
Selecting previously unselected package libxau6:amd64.
Preparing to unpack .../libxau6_1%3a1.0.8-1_amd64.deb ...
Unpacking libxau6:amd64 (1:1.0.8-1) ...
Selecting previously unselected package libxdmcp6:amd64.
Preparing to unpack .../libxdmcp6_1%3a1.1.1-1_amd64.deb ...
Unpacking libxdmcp6:amd64 (1:1.1.1-1) ...
Selecting previously unselected package libxcb1:amd64.
Preparing to unpack .../libxcb1_1.10-2ubuntu1_amd64.deb ...
Unpacking libxcb1:amd64 (1.10-2ubuntu1) ...
Selecting previously unselected package libx11-data.
Preparing to unpack .../libx11-data_2%3a1.6.2-1ubuntu2_all.deb ...
Unpacking libx11-data (2:1.6.2-1ubuntu2) ...
Selecting previously unselected package libx11-6:amd64.
Preparing to unpack .../libx11-6_2%3a1.6.2-1ubuntu2_amd64.deb ...
Unpacking libx11-6:amd64 (2:1.6.2-1ubuntu2) ...
Selecting previously unselected package libxml2:amd64.
Preparing to unpack .../libxml2_2.9.1+dfsg1-3ubuntu4.4_amd64.deb ...
Unpacking libxml2:amd64 (2.9.1+dfsg1-3ubuntu4.4) ...
Selecting previously unselected package sgml-base.
Preparing to unpack .../sgml-base_1.26+nmu4ubuntu1_all.deb ...
Unpacking sgml-base (1.26+nmu4ubuntu1) ...
Selecting previously unselected package libcurl3:amd64.
Preparing to unpack .../libcurl3_7.35.0-1ubuntu2.3_amd64.deb ...
Unpacking libcurl3:amd64 (7.35.0-1ubuntu2.3) ...
Selecting previously unselected package fonts-dejavu-core.
Preparing to unpack .../fonts-dejavu-core_2.34-1ubuntu1_all.deb ...
Unpacking fonts-dejavu-core (2.34-1ubuntu1) ...
Selecting previously unselected package fontconfig-config.
Preparing to unpack .../fontconfig-config_2.11.0-0ubuntu4.1_all.deb ...
Unpacking fontconfig-config (2.11.0-0ubuntu4.1) ...
Selecting previously unselected package libfreetype6:amd64.
Preparing to unpack .../libfreetype6_2.5.2-1ubuntu2.2_amd64.deb ...
Unpacking libfreetype6:amd64 (2.5.2-1ubuntu2.2) ...
Selecting previously unselected package libfontconfig1:amd64.
Preparing to unpack .../libfontconfig1_2.11.0-0ubuntu4.1_amd64.deb ...
Unpacking libfontconfig1:amd64 (2.11.0-0ubuntu4.1) ...
Selecting previously unselected package libjpeg-turbo8:amd64.
Preparing to unpack .../libjpeg-turbo8_1.3.0-0ubuntu2_amd64.deb ...
Unpacking libjpeg-turbo8:amd64 (1.3.0-0ubuntu2) ...
Selecting previously unselected package libjpeg8:amd64.
Preparing to unpack .../libjpeg8_8c-2ubuntu8_amd64.deb ...
Unpacking libjpeg8:amd64 (8c-2ubuntu8) ...
Selecting previously unselected package libjbig0:amd64.
Preparing to unpack .../libjbig0_2.0-2ubuntu4.1_amd64.deb ...
Unpacking libjbig0:amd64 (2.0-2ubuntu4.1) ...
Selecting previously unselected package libtiff5:amd64.
Preparing to unpack .../libtiff5_4.0.3-7ubuntu0.1_amd64.deb ...
Unpacking libtiff5:amd64 (4.0.3-7ubuntu0.1) ...
Selecting previously unselected package libvpx1:amd64.
Preparing to unpack .../libvpx1_1.3.0-2_amd64.deb ...
Unpacking libvpx1:amd64 (1.3.0-2) ...
Selecting previously unselected package libxpm4:amd64.
Preparing to unpack .../libxpm4_1%3a3.5.10-1_amd64.deb ...
Unpacking libxpm4:amd64 (1:3.5.10-1) ...
Selecting previously unselected package libgd3:amd64.
Preparing to unpack .../libgd3_2.1.0-4+deb.sury.org~trusty+1_amd64.deb ...
Unpacking libgd3:amd64 (2.1.0-4+deb.sury.org~trusty+1) ...
Selecting previously unselected package libgmp10:amd64.
Preparing to unpack .../libgmp10_2%3a5.1.3+dfsg-1ubuntu1_amd64.deb ...
Unpacking libgmp10:amd64 (2:5.1.3+dfsg-1ubuntu1) ...
Selecting previously unselected package libicu52:amd64.
Preparing to unpack .../libicu52_52.1-3_amd64.deb ...
Unpacking libicu52:amd64 (52.1-3) ...
Selecting previously unselected package mysql-common.
Preparing to unpack .../mysql-common_5.5.41-0ubuntu0.14.04.1_all.deb ...
Unpacking mysql-common (5.5.41-0ubuntu0.14.04.1) ...
Selecting previously unselected package libmysqlclient18:amd64.
Preparing to unpack .../libmysqlclient18_5.5.41-0ubuntu0.14.04.1_amd64.deb ...
Unpacking libmysqlclient18:amd64 (5.5.41-0ubuntu0.14.04.1) ...
Selecting previously unselected package ca-certificates.
Preparing to unpack .../ca-certificates_20130906ubuntu2_all.deb ...
Unpacking ca-certificates (20130906ubuntu2) ...
Selecting previously unselected package krb5-locales.
Preparing to unpack .../krb5-locales_1.12+dfsg-2ubuntu4.2_all.deb ...
Unpacking krb5-locales (1.12+dfsg-2ubuntu4.2) ...
Selecting previously unselected package libsasl2-modules:amd64.
Preparing to unpack .../libsasl2-modules_2.1.25.dfsg1-17build1_amd64.deb ...
Unpacking libsasl2-modules:amd64 (2.1.25.dfsg1-17build1) ...
Selecting previously unselected package lsof.
Preparing to unpack .../lsof_4.86+dfsg-1ubuntu2_amd64.deb ...
Unpacking lsof (4.86+dfsg-1ubuntu2) ...
Selecting previously unselected package psmisc.
Preparing to unpack .../psmisc_22.20-1ubuntu2_amd64.deb ...
Unpacking psmisc (22.20-1ubuntu2) ...
Selecting previously unselected package xml-core.
Preparing to unpack .../xml-core_0.13+nmu2_all.deb ...
Unpacking xml-core (0.13+nmu2) ...
Selecting previously unselected package libmcrypt4.
Preparing to unpack .../libmcrypt4_2.5.8-3.1ubuntu1_amd64.deb ...
Unpacking libmcrypt4 (2.5.8-3.1ubuntu1) ...
Selecting previously unselected package libonig2.
Preparing to unpack .../libonig2_5.9.1-1ubuntu1_amd64.deb ...
Unpacking libonig2 (5.9.1-1ubuntu1) ...
Selecting previously unselected package libpq5.
Preparing to unpack .../libpq5_9.3.5-0ubuntu0.14.04.1_amd64.deb ...
Unpacking libpq5 (9.3.5-0ubuntu0.14.04.1) ...
Selecting previously unselected package libqdbm14.
Preparing to unpack .../libqdbm14_1.8.78-3_amd64.deb ...
Unpacking libqdbm14 (1.8.78-3) ...
Selecting previously unselected package php5-common.
Preparing to unpack .../php5-common_5.6.5+dfsg-1+deb.sury.org~trusty+1_amd64.deb ...
Unpacking php5-common (5.6.5+dfsg-1+deb.sury.org~trusty+1) ...
Selecting previously unselected package php5-json.
Preparing to unpack .../php5-json_1.3.6-1+deb.sury.org~trusty+2_amd64.deb ...
Unpacking php5-json (1.3.6-1+deb.sury.org~trusty+2) ...
Selecting previously unselected package php5-cli.
Preparing to unpack .../php5-cli_5.6.5+dfsg-1+deb.sury.org~trusty+1_amd64.deb ...
Unpacking php5-cli (5.6.5+dfsg-1+deb.sury.org~trusty+1) ...
Selecting previously unselected package php5-curl.
Preparing to unpack .../php5-curl_5.6.5+dfsg-1+deb.sury.org~trusty+1_amd64.deb ...
Unpacking php5-curl (5.6.5+dfsg-1+deb.sury.org~trusty+1) ...
Selecting previously unselected package php5-gd.
Preparing to unpack .../php5-gd_5.6.5+dfsg-1+deb.sury.org~trusty+1_amd64.deb ...
Unpacking php5-gd (5.6.5+dfsg-1+deb.sury.org~trusty+1) ...
Selecting previously unselected package php5-gmp.
Preparing to unpack .../php5-gmp_5.6.5+dfsg-1+deb.sury.org~trusty+1_amd64.deb ...
Unpacking php5-gmp (5.6.5+dfsg-1+deb.sury.org~trusty+1) ...
Selecting previously unselected package php5-intl.
Preparing to unpack .../php5-intl_5.6.5+dfsg-1+deb.sury.org~trusty+1_amd64.deb ...
Unpacking php5-intl (5.6.5+dfsg-1+deb.sury.org~trusty+1) ...
Selecting previously unselected package php5-mcrypt.
Preparing to unpack .../php5-mcrypt_5.6.5+dfsg-1+deb.sury.org~trusty+1_amd64.deb ...
Unpacking php5-mcrypt (5.6.5+dfsg-1+deb.sury.org~trusty+1) ...
Selecting previously unselected package php5-memcache.
Preparing to unpack .../php5-memcache_3.0.8-5+deb.sury.org~trusty+1_amd64.deb ...
Unpacking php5-memcache (3.0.8-5+deb.sury.org~trusty+1) ...
Selecting previously unselected package php5-mysql.
Preparing to unpack .../php5-mysql_5.6.5+dfsg-1+deb.sury.org~trusty+1_amd64.deb ...
Unpacking php5-mysql (5.6.5+dfsg-1+deb.sury.org~trusty+1) ...
Selecting previously unselected package php5-pgsql.
Preparing to unpack .../php5-pgsql_5.6.5+dfsg-1+deb.sury.org~trusty+1_amd64.deb ...
Unpacking php5-pgsql (5.6.5+dfsg-1+deb.sury.org~trusty+1) ...
Selecting previously unselected package php5-readline.
Preparing to unpack .../php5-readline_5.6.5+dfsg-1+deb.sury.org~trusty+1_amd64.deb ...
Unpacking php5-readline (5.6.5+dfsg-1+deb.sury.org~trusty+1) ...
Selecting previously unselected package php5-sqlite.
Preparing to unpack .../php5-sqlite_5.6.5+dfsg-1+deb.sury.org~trusty+1_amd64.deb ...
Unpacking php5-sqlite (5.6.5+dfsg-1+deb.sury.org~trusty+1) ...
Setting up libroken18-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1) ...
Setting up libasn1-8-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1) ...
Setting up libedit2:amd64 (3.1-20140620-2+deb.sury.org~trusty+4) ...
Setting up libkrb5support0:amd64 (1.12+dfsg-2ubuntu4.2) ...
Setting up libk5crypto3:amd64 (1.12+dfsg-2ubuntu4.2) ...
Setting up libkeyutils1:amd64 (1.5.6-1) ...
Setting up libkrb5-3:amd64 (1.12+dfsg-2ubuntu4.2) ...
Setting up libgssapi-krb5-2:amd64 (1.12+dfsg-2ubuntu4.2) ...
Setting up libhcrypto4-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1) ...
Setting up libheimbase1-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1) ...
Setting up libwind0-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1) ...
Setting up libhx509-5-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1) ...
Setting up libkrb5-26-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1) ...
Setting up libheimntlm0-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1) ...
Setting up libgssapi3-heimdal:amd64 (1.6~git20131207+dfsg-1ubuntu1) ...
Setting up libidn11:amd64 (1.28-1ubuntu2) ...
Setting up libsasl2-modules-db:amd64 (2.1.25.dfsg1-17build1) ...
Setting up libsasl2-2:amd64 (2.1.25.dfsg1-17build1) ...
Setting up libldap-2.4-2:amd64 (2.4.31-1+nmu2ubuntu8) ...
Setting up librtmp0:amd64 (2.4+20121230.gitdf6c518-1) ...
Setting up libxau6:amd64 (1:1.0.8-1) ...
Setting up libxdmcp6:amd64 (1:1.1.1-1) ...
Setting up libxcb1:amd64 (1.10-2ubuntu1) ...
Setting up libx11-data (2:1.6.2-1ubuntu2) ...
Setting up libx11-6:amd64 (2:1.6.2-1ubuntu2) ...
Setting up libxml2:amd64 (2.9.1+dfsg1-3ubuntu4.4) ...
Setting up sgml-base (1.26+nmu4ubuntu1) ...
Setting up libcurl3:amd64 (7.35.0-1ubuntu2.3) ...
Setting up fonts-dejavu-core (2.34-1ubuntu1) ...
Setting up fontconfig-config (2.11.0-0ubuntu4.1) ...
Setting up libfreetype6:amd64 (2.5.2-1ubuntu2.2) ...
Setting up libfontconfig1:amd64 (2.11.0-0ubuntu4.1) ...
Setting up libjpeg-turbo8:amd64 (1.3.0-0ubuntu2) ...
Setting up libjpeg8:amd64 (8c-2ubuntu8) ...
Setting up libjbig0:amd64 (2.0-2ubuntu4.1) ...
Setting up libtiff5:amd64 (4.0.3-7ubuntu0.1) ...
Setting up libvpx1:amd64 (1.3.0-2) ...
Setting up libxpm4:amd64 (1:3.5.10-1) ...
Setting up libgd3:amd64 (2.1.0-4+deb.sury.org~trusty+1) ...
Setting up libgmp10:amd64 (2:5.1.3+dfsg-1ubuntu1) ...
Setting up libicu52:amd64 (52.1-3) ...
Setting up mysql-common (5.5.41-0ubuntu0.14.04.1) ...
Setting up libmysqlclient18:amd64 (5.5.41-0ubuntu0.14.04.1) ...
Setting up ca-certificates (20130906ubuntu2) ...
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 krb5-locales (1.12+dfsg-2ubuntu4.2) ...
Setting up libsasl2-modules:amd64 (2.1.25.dfsg1-17build1) ...
Setting up lsof (4.86+dfsg-1ubuntu2) ...
Setting up psmisc (22.20-1ubuntu2) ...
Setting up xml-core (0.13+nmu2) ...
Setting up libmcrypt4 (2.5.8-3.1ubuntu1) ...
Setting up libonig2 (5.9.1-1ubuntu1) ...
Setting up libpq5 (9.3.5-0ubuntu0.14.04.1) ...
Setting up libqdbm14 (1.8.78-3) ...
Setting up php5-common (5.6.5+dfsg-1+deb.sury.org~trusty+1) ...
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

Creating config file /etc/php5/mods-available/pdo.ini with new version
php5_invoke: Enable module pdo for cli SAPI
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

Creating config file /etc/php5/mods-available/opcache.ini with new version
php5_invoke: Enable module opcache for cli SAPI
Setting up php5-json (1.3.6-1+deb.sury.org~trusty+2) ...
php5_invoke: Enable module json for cli SAPI
Setting up php5-cli (5.6.5+dfsg-1+deb.sury.org~trusty+1) ...
update-alternatives: using /usr/bin/php5 to provide /usr/bin/php (php) in auto mode
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

Creating config file /etc/php5/cli/php.ini with new version
Setting up php5-curl (5.6.5+dfsg-1+deb.sury.org~trusty+1) ...
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

Creating config file /etc/php5/mods-available/curl.ini with new version
php5_invoke: Enable module curl for cli SAPI
Setting up php5-gd (5.6.5+dfsg-1+deb.sury.org~trusty+1) ...
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

Creating config file /etc/php5/mods-available/gd.ini with new version
php5_invoke: Enable module gd for cli SAPI
Setting up php5-gmp (5.6.5+dfsg-1+deb.sury.org~trusty+1) ...
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

Creating config file /etc/php5/mods-available/gmp.ini with new version
php5_invoke: Enable module gmp for cli SAPI
Setting up php5-intl (5.6.5+dfsg-1+deb.sury.org~trusty+1) ...
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

Creating config file /etc/php5/mods-available/intl.ini with new version
php5_invoke: Enable module intl for cli SAPI
Setting up php5-mcrypt (5.6.5+dfsg-1+deb.sury.org~trusty+1) ...
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

Creating config file /etc/php5/mods-available/mcrypt.ini with new version
php5_invoke: Enable module mcrypt for cli SAPI
Setting up php5-memcache (3.0.8-5+deb.sury.org~trusty+1) ...
Setting up php5-mysql (5.6.5+dfsg-1+deb.sury.org~trusty+1) ...
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

Creating config file /etc/php5/mods-available/mysql.ini with new version
php5_invoke: Enable module mysql for cli SAPI
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

Creating config file /etc/php5/mods-available/mysqli.ini with new version
php5_invoke: Enable module mysqli for cli SAPI
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

Creating config file /etc/php5/mods-available/pdo_mysql.ini with new version
php5_invoke: Enable module pdo_mysql for cli SAPI
Setting up php5-pgsql (5.6.5+dfsg-1+deb.sury.org~trusty+1) ...
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

Creating config file /etc/php5/mods-available/pgsql.ini with new version
php5_invoke: Enable module pgsql for cli SAPI
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

Creating config file /etc/php5/mods-available/pdo_pgsql.ini with new version
php5_invoke: Enable module pdo_pgsql for cli SAPI
Setting up php5-readline (5.6.5+dfsg-1+deb.sury.org~trusty+1) ...
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

Creating config file /etc/php5/mods-available/readline.ini with new version
php5_invoke: Enable module readline for cli SAPI
Setting up php5-sqlite (5.6.5+dfsg-1+deb.sury.org~trusty+1) ...
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

Creating config file /etc/php5/mods-available/sqlite3.ini with new version
php5_invoke: Enable module sqlite3 for cli SAPI
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

Creating config file /etc/php5/mods-available/pdo_sqlite.ini with new version
php5_invoke: Enable module pdo_sqlite for cli SAPI
Processing triggers for libc-bin (2.19-0ubuntu6.4) ...
Processing triggers for ca-certificates (20130906ubuntu2) ...
Updating certificates in /etc/ssl/certs... 164 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d....done.
Processing triggers for sgml-base (1.26+nmu4ubuntu1) ...
 ---> c70e524e044f
Removing intermediate container 62330670350a
Step 6 : ADD scripts/ /build
 ---> 7a1005b2b76c
Removing intermediate container 78490be6247e
Step 7 : WORKDIR /build
 ---> Running in 515e10ca9606
 ---> cf2e1edfc9fd
Removing intermediate container 515e10ca9606
Step 8 : ENTRYPOINT /usr/bin/php
 ---> Running in 595ac5e66c59
 ---> 0e6ee42cc7a7
Removing intermediate container 595ac5e66c59
Step 9 : CMD update-vim-syntax.php
 ---> Running in 84d64569efe2
 ---> dbcad36079ba
Removing intermediate container 84d64569efe2
Successfully built dbcad36079ba
~/.vim/bundle/php.vim ➜ docker run --rm -i -v "$PWD":/var/php -t stanangeloff/php.vim > /tmp/php.vim && cat /tmp/php.vim | sed 's/\x0D$//' > syntax/php.vim
~/.vim/bundle/php.vim ➜ docker rmi stanangeloff/php.vim
Untagged: stanangeloff/php.vim:latest
Deleted: dbcad36079ba135c6e18677456d3bf09da92605a17198ca5d10db251aab47154
Deleted: 0e6ee42cc7a753fb11a9b9e24a8bd8c0d439f0f93bf339dc9f39eec6c7fe42b1
Deleted: cf2e1edfc9fd0ba0e0f0fabbca6e8169f118fb0c84cf134fd74ab6bc7a903ed4
Deleted: 7a1005b2b76c6129a887754bd6715840a79b3556fe0adb746ca99ae8cd179ad6
Deleted: c70e524e044f6cde5d731f7699ce1db17177f5f19acb7b7f09e8abf114d167c0
Deleted: 34b3cbb7318d5fd5f878ba90e5863c02049d8f2ecf699bdb45b85d7ea952428a
Deleted: 57e4e0c8833cbf9aa7c8652d793ada5a1154e89169e91b899d6932da7f712dfa
Deleted: d2aa6b26890902ee875beaadbb5e0af894774a8d03993fce8e4a40f1ae9e91dc
Deleted: fa60d98aad14f604e48cc76ab33a28070a2f59fc3d6c247d779b03034073bb8a
gonzaloserrano commented 9 years ago

Hi, i upgraded docker from 1.3.X to 1.4.1 and now works as expected!

Thanks!

gonzaloserrano commented 9 years ago

More news, the generated file has windows carriage returns and that causes errors, converting it (i'm using dos2unix) solves the problem.

StanAngeloff commented 9 years ago

the generated file has windows carriage returns and that causes errors

This should be fixed by the | sed 's/\x0D$//' at the end of the docker run command, no?

gonzaloserrano commented 9 years ago

Hey,

Looks like with the default sed command that comes from OSX does not work.

I saw this somewhere:

 # IN UNIX ENVIRONMENT: convert DOS newlines (CR/LF) to Unix format.
 sed 's/.$//'               # assumes that all lines end with CR/LF
 sed 's/^M$//'              # in bash/tcsh, press Ctrl-V then Ctrl-M
 sed 's/\x0D$//'            # works on ssed, gsed 3.02.80 or higher

Then i did a brew install gnu-sed and changing sedfor gsed did the trick.

Thanks.

StanAngeloff commented 9 years ago

Thanks for investigating. I haven't used sed on a Mac and was unaware of the differences.