Loaded from commit d22aad478c13be2426ab38afdd191be35deec1df

=== Building opam install graphics.4.07.1 (0cff73)
[2018-11-01 18:52.58] Starting...
Sending build context to Docker daemon  2.048kB

Step 1/3 : FROM sha256:09ad963e19d65b0bef927e2429e17e85b7e1cca53d2c6c934790c4cd5022aeae
 ---> 09ad963e19d6
Step 2/3 : RUN opam pin add -k version -yn graphics 4.07.1 &&   opam config exec -- opam-ci-install graphics.4.07.1
 ---> Running in 0d191ee0706a
graphics is now pinned to version 4.07.1
$ opam remote

<><> Repository configuration for switch 4.07 <><><><><><><><><><><><><><><><><>
 1 default git+file:///home/opam/opam-repository
[NOTE] These are the repositories in use by the current switch. Use '--all' to see all configured repositories.
$ opam list
# Packages matching: installed
# Name              # Installed # Synopsis
base-bigarray       base
base-threads        base
base-unix           base
depext              transition  opam-depext transition package
ocaml               4.07.1      The OCaml compiler (virtual package)
ocaml-base-compiler 4.07.1      Official release 4.07.1
opam-ci-scripts     0.1         pinned to version 0.1 at git+https://github.com/kit-ty-kate/opam-ci-scripts.git
opam-depext         1.1.2       Query and install external dependencies of OPAM packages
$ opam depext -uivyj 2 graphics.4.07.1
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
libx11-dev
pkg-config
# The following system packages are needed:
# The following new OS packages need to be installed: pkg-config
The following command needs to be run through "sudo":
    apt-get update
Ign:1 http://deb.debian.org/debian stretch InRelease
Get:2 http://security.debian.org/debian-security stretch/updates InRelease [94.3 kB]
Get:3 http://deb.debian.org/debian stretch-updates InRelease [91.0 kB]
Hit:4 http://deb.debian.org/debian stretch Release
Get:5 http://security.debian.org/debian-security stretch/updates/main amd64 Packages [454 kB]
Get:6 http://deb.debian.org/debian stretch-updates/main amd64 Packages.diff/Index [6148 B]
Get:7 http://deb.debian.org/debian stretch-updates/main amd64 Packages 2018-10-28-1408.37.pdiff [335 B]
Get:7 http://deb.debian.org/debian stretch-updates/main amd64 Packages 2018-10-28-1408.37.pdiff [335 B]
Fetched 646 kB in 0s (1308 kB/s)
Reading package lists...
The following command needs to be run through "sudo":
    apt-get install -qq -yy pkg-config
# OS package update successful
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package sgml-base.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 17610 files and directories currently installed.)
Preparing to unpack .../0-sgml-base_1.29_all.deb ...
Unpacking sgml-base (1.29) ...
Selecting previously unselected package libicu57:amd64.
Preparing to unpack .../1-libicu57_57.1-6+deb9u2_amd64.deb ...
Unpacking libicu57:amd64 (57.1-6+deb9u2) ...
Selecting previously unselected package libxml2:amd64.
Preparing to unpack .../2-libxml2_2.9.4+dfsg1-2.2+deb9u2_amd64.deb ...
Unpacking libxml2:amd64 (2.9.4+dfsg1-2.2+deb9u2) ...
Selecting previously unselected package libglib2.0-0:amd64.
Preparing to unpack .../3-libglib2.0-0_2.50.3-2_amd64.deb ...
Unpacking libglib2.0-0:amd64 (2.50.3-2) ...
Selecting previously unselected package libglib2.0-data.
Preparing to unpack .../4-libglib2.0-data_2.50.3-2_all.deb ...
Unpacking libglib2.0-data (2.50.3-2) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../5-pkg-config_0.29-4+b1_amd64.deb ...
Unpacking pkg-config (0.29-4+b1) ...
Selecting previously unselected package shared-mime-info.
Preparing to unpack .../6-shared-mime-info_1.8-1+deb9u1_amd64.deb ...
Unpacking shared-mime-info (1.8-1+deb9u1) ...
Selecting previously unselected package xdg-user-dirs.
Preparing to unpack .../7-xdg-user-dirs_0.15-2+b1_amd64.deb ...
Unpacking xdg-user-dirs (0.15-2+b1) ...
Selecting previously unselected package xml-core.
Preparing to unpack .../8-xml-core_0.17_all.deb ...
Unpacking xml-core (0.17) ...
Setting up libglib2.0-0:amd64 (2.50.3-2) ...
No schema files found: doing nothing.
Setting up sgml-base (1.29) ...
Setting up libicu57:amd64 (57.1-6+deb9u2) ...
Setting up libxml2:amd64 (2.9.4+dfsg1-2.2+deb9u2) ...
Setting up pkg-config (0.29-4+b1) ...
Setting up libglib2.0-data (2.50.3-2) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Setting up shared-mime-info (1.8-1+deb9u1) ...
Setting up xml-core (0.17) ...
Setting up xdg-user-dirs (0.15-2+b1) ...
Processing triggers for sgml-base (1.29) ...
# OS packages installation successful
# Now letting OPAM install the packages
The following actions will be performed:
  - install conf-pkg-config 1.1     [required by conf-libX11]
  - install conf-libX11     1       [required by graphics]
  - install graphics        4.07.1*
===== 3 to install =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[graphics.4.07.1] found in cache
Processing  3/3:

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/6: [conf-pkg-config: pkg-config]
+ /usr/bin/pkg-config "--help" (CWD=/home/opam/.opam/4.07/.opam-switch/build/conf-pkg-config.1.1)
- Usage:
-   pkg-config [OPTION...]
- 
- Help Options:
-   -h, --help                              Show help options
- 
- Application Options:
-   --version                               output version of pkg-config
-   --modversion                            output version for package
-   --atleast-pkgconfig-version=VERSION     require given version of pkg-config
-   --libs                                  output all linker flags
-   --static                                output linker flags for static linking
-   --short-errors                          print short errors
-   --libs-only-l                           output -l flags
-   --libs-only-other                       output other libs (e.g. -pthread)
-   --libs-only-L                           output -L flags
-   --cflags                                output all pre-processor and compiler flags
-   --cflags-only-I                         output -I flags
-   --cflags-only-other                     output cflags not covered by the cflags-only-I option
-   --variable=NAME                         get the value of variable named NAME
-   --define-variable=NAME=VALUE            set variable NAME to VALUE
-   --exists                                return 0 if the module(s) exist
-   --print-variables                       output list of variables defined by the module
-   --uninstalled                           return 0 if the uninstalled version of one or more module(s) or their dependencies will be used
-   --atleast-version=VERSION               return 0 if the module is at least version VERSION
-   --exact-version=VERSION                 return 0 if the module is at exactly version VERSION
-   --max-version=VERSION                   return 0 if the module is at no newer than version VERSION
-   --list-all                              list all known packages
-   --debug                                 show verbose debug information
-   --print-errors                          show verbose information about missing or conflicting packages (default unless --exists or --atleast/exact/max-version given on the command line)
-   --silence-errors                        be silent about errors (default when --exists or --atleast/exact/max-version given on the command line)
-   --errors-to-stdout                      print errors from --print-errors to stdout not stderr
-   --print-provides                        print which packages the package provides
-   --print-requires                        print which packages the package requires
-   --print-requires-private                print which packages the package requires for static linking
-   --validate                              validate a package's .pc file
-   --define-prefix                         try to override the value of prefix for each .pc file found with a guesstimated value based on the location of the .pc file
-   --dont-define-prefix                    don't try to override the value of prefix for each .pc file found with a guesstimated value based on the location of the .pc file
-   --prefix-variable=PREFIX                set the name of the variable that pkg-config automatically sets
- 
-> compiled  conf-pkg-config.1.1
-> installed conf-pkg-config.1.1
Processing  3/6: [conf-libX11: pkg-config x11]
+ /usr/bin/pkg-config "x11" (CWD=/home/opam/.opam/4.07/.opam-switch/build/conf-libX11.1)
-> compiled  conf-libX11.1
-> installed conf-libX11.1
Processing  5/6: [graphics: ls install.sh]
+ /bin/ls "-l" "install.sh" (CWD=/home/opam/.opam/4.07/.opam-switch/build/graphics.4.07.1)
- -rw-r--r-- 1 opam opam 1980 Nov  1 18:57 install.sh
Processing  5/6: [graphics: ocaml unix.cma]
+ /home/opam/.opam/4.07/bin/ocaml "unix.cma" "probe.ml" (CWD=/home/opam/.opam/4.07/.opam-switch/build/graphics.4.07.1)
- uid=1000  groups=  stat=1000,1000,644

#=== ERROR while compiling graphics.4.07.1 ====================================#
"./install.sh": command not found.


<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build graphics 4.07.1
+- 
+- The following changes have been performed
| - install conf-libX11     1
| - install conf-pkg-config 1.1
+- 
# Run eval $(opam env) to update the current shell environment

The former state can be restored with:
    opam switch import "/home/opam/.opam/4.07/.opam-switch/backup/state-20181101185711.export"
'opam install --verbose --yes --jobs=2 graphics.4.07.1' failed.
Removing intermediate container 0d191ee0706a
The command '/bin/sh -c opam pin add -k version -yn graphics 4.07.1 &&   opam config exec -- opam-ci-install graphics.4.07.1' returned a non-zero code: 31
[2018-11-01 18:57.58] Failed: Command "sh" "-c" "docker build --label com.docker.datakit.digest=0cff735fe6e4d7fbd5d19dc003d4d754 --label com.docker.datakit.builton=1541098378.43 --rm --force-rm - < /tmp/tmp-2f0a1277/Dockerfile" exited with status 31