[opam-devel] opam 1.1.0 failure on debian wheezy i386

Felipe Gonzalez catseye.chandra at gmail.com
Fri Nov 15 17:53:26 GMT 2013


  }The following actions will be performed:
 - install base-threads.base
 - install base-unix.base
 - install base-bigarray.base
3 to install | 0 to reinstall | 0 to upgrade | 0 to downgrade | 0 to remove
Do you want to continue ? [Y/n] y
00:04.123  029259  FILE(comp)              Read
~/.opam/compilers/4.01.0/4.01.0/4.01.0.comp in 0.000s
00:04.123  029259  FILE(comp)              Read
~/.opam/compilers/system/system/system.comp in 0.000s
00:04.124  029259  FILE(comp)              Read
~/.opam/compilers/4.01.0/4.01.0/4.01.0.comp in 0.000s
00:04.124  029259  FILE(installed)         Wrote ~/.opam/4.01.0/installed
in 0.000s
00:04.124  029259  FILE(installed.roots)   Wrote
~/.opam/4.01.0/installed.roots in 0.000s
00:04.124  029259  FILE(reinstall)         Wrote ~/.opam/4.01.0/reinstall
in 0.000s
00:04.124  029259  FILE(installed)         Read ~/.opam/4.01.0/installed in
0.000s
00:04.124  029259  FILE(installed)         Read ~/.opam/system/installed in
0.000s
00:04.124  029259  PARALLEL                Iterate over 3 task(s) with 1
process(es)
00:04.127  029259  PARALLEL                Creating process 29264
00:04.127  029259  PARALLEL                waiting for a child process to
finish
00:04.127  029264  PARALLEL                Spawning a new process
00:04.127  029264  STATE                   LOAD-STATE(child)
00:04.128  029264  FILE(config)            Read ~/.opam/config in 0.000s
00:04.133  029264  STATE                   Loaded
/home/philou/.opam/state.cache in 0.004s
00:04.133  029264  FILE(aliases)           Read ~/.opam/aliases in 0.000s
00:04.135  029264  FILE(repo-config)       Read ~/.opam/repo/default/config
in 0.000s
00:04.155  029264  FILE(repo-index)        Read ~/.opam/repo/package-index
in 0.019s
00:04.155  029264  FILE(repo-index)        Read ~/.opam/repo/compiler-index
in 0.001s
00:04.155  029264  FILE(pinned)            Cannot find
/home/philou/.opam/4.01.0/pinned
00:04.155  029264  FILE(installed)         Read ~/.opam/4.01.0/installed in
0.000s
00:04.155  029264  FILE(installed.roots)   Read
~/.opam/4.01.0/installed.roots in 0.000s
00:04.165  029264  FILE(reinstall)         Read ~/.opam/4.01.0/reinstall in
0.000s
00:04.165  029264  STATE                   ROOT      : /home/philou/.opam
00:04.165  029264  STATE                   SWITCH    : 4.01.0
00:04.165  029264  STATE                   COMPILER  : 4.01.0
00:04.165  029264  STATE                   COMPILERS : { 3.11.2, 3.12.1,
3.12.1+natdynlink-osx, 4.00.0, 4.00.0+debug-runtime, 4.00.0+fp, 4.00.1,
4.00.1+BER, 4.00.1+alloc-profiling, 4.00.1+annot, 4.00.1+french,
4.00.1+mirage-unix, 4.00.1+mirage-xen, 4.00.1+open-types,
4.00.1+raspberrypi, 4.00.1+short-types, 4.01.0, 4.01.0+fp, 4.01.0beta1,
4.01.0beta1+no-camlp4, 4.01.0dev+extension-points, 4.01.0dev+fp,
4.01.0dev+trunk, 4.02.0dev+fp, 4.02.0dev+trunk, system }
00:04.165  029264  STATE                   REPOS     : { default }
00:04.165  029264  STATE                   PACKAGES  : 1629 packages
00:04.165  029264  STATE                   INSTALLED : {}
00:04.165  029264  STATE                   ROOTS     : {}
00:04.165  029264  STATE                   REINSTALL : {}
00:04.165  029264  STATE                   State child loaded in 0.036s

=-=-= Installing base-bigarray.base =-=-=
00:04.165  029264  ACTION                  extract_package:
base-bigarray.base
00:04.165  029264  FILENAME                rmdir
/home/philou/.opam/4.01.0/build/base-bigarray.base
00:04.165  029264  STATE                   get_archive base-bigarray.base
00:04.165  029264  CURL                    pull-archive
00:04.345  029264  FILE(file_attributes)   Read
~/.opam/repo/default/urls.txt in 0.180s
default    Downloading
https://opam.ocaml.org/archives/base-bigarray.base+opam.tar.gz
00:05.697  029264  CURL                    curl
00:05.697  029264  CURL                    dowloading
https://opam.ocaml.org/archives/base-bigarray.base+opam.tar.gz
Downloading https://opam.ocaml.org/archives/base-bigarray.base+opam.tar.gz
00:05.697  029264  PARALLEL                write_error
00:05.702  029259  PARALLEL                29264 is dead (exit 1)
00:05.702  029259  PARALLEL                read_error
00:05.705  029259  PARALLEL                Creating process 29265
00:05.705  029259  PARALLEL                waiting for a child process to
finish
00:05.705  029265  PARALLEL                Spawning a new process
00:05.705  029265  STATE                   LOAD-STATE(child)
00:05.706  029265  FILE(config)            Read ~/.opam/config in 0.000s
00:05.711  029265  STATE                   Loaded
/home/philou/.opam/state.cache in 0.005s
00:05.711  029265  FILE(aliases)           Read ~/.opam/aliases in 0.000s
00:05.713  029265  FILE(repo-config)       Read ~/.opam/repo/default/config
in 0.000s
00:05.732  029265  FILE(repo-index)        Read ~/.opam/repo/package-index
in 0.019s
00:05.733  029265  FILE(repo-index)        Read ~/.opam/repo/compiler-index
in 0.000s
00:05.733  029265  FILE(pinned)            Cannot find
/home/philou/.opam/4.01.0/pinned
00:05.733  029265  FILE(installed)         Read ~/.opam/4.01.0/installed in
0.000s
00:05.733  029265  FILE(installed.roots)   Read
~/.opam/4.01.0/installed.roots in 0.000s
00:05.742  029265  FILE(reinstall)         Read ~/.opam/4.01.0/reinstall in
0.000s
00:05.742  029265  STATE                   ROOT      : /home/philou/.opam
00:05.742  029265  STATE                   SWITCH    : 4.01.0
00:05.742  029265  STATE                   COMPILER  : 4.01.0
00:05.742  029265  STATE                   COMPILERS : { 3.11.2, 3.12.1,
3.12.1+natdynlink-osx, 4.00.0, 4.00.0+debug-runtime, 4.00.0+fp, 4.00.1,
4.00.1+BER, 4.00.1+alloc-profiling, 4.00.1+annot, 4.00.1+french,
4.00.1+mirage-unix, 4.00.1+mirage-xen, 4.00.1+open-types,
4.00.1+raspberrypi, 4.00.1+short-types, 4.01.0, 4.01.0+fp, 4.01.0beta1,
4.01.0beta1+no-camlp4, 4.01.0dev+extension-points, 4.01.0dev+fp,
4.01.0dev+trunk, 4.02.0dev+fp, 4.02.0dev+trunk, system }
00:05.742  029265  STATE                   REPOS     : { default }
00:05.742  029265  STATE                   PACKAGES  : 1629 packages
00:05.742  029265  STATE                   INSTALLED : {}
00:05.742  029265  STATE                   ROOTS     : {}
00:05.742  029265  STATE                   REINSTALL : {}
00:05.742  029265  STATE                   State child loaded in 0.036s

=-=-= Installing base-threads.base =-=-=
00:05.742  029265  ACTION                  extract_package:
base-threads.base
00:05.742  029265  FILENAME                rmdir
/home/philou/.opam/4.01.0/build/base-threads.base
00:05.742  029265  STATE                   get_archive base-threads.base
00:05.742  029265  CURL                    pull-archive
00:05.922  029265  FILE(file_attributes)   Read
~/.opam/repo/default/urls.txt in 0.179s
default    Downloading
https://opam.ocaml.org/archives/base-threads.base+opam.tar.gz
00:07.143  029265  CURL                    curl
00:07.143  029265  CURL                    dowloading
https://opam.ocaml.org/archives/base-threads.base+opam.tar.gz
Downloading https://opam.ocaml.org/archives/base-threads.base+opam.tar.gz
00:07.144  029265  PARALLEL                write_error
00:07.148  029259  PARALLEL                29265 is dead (exit 1)
00:07.148  029259  PARALLEL                read_error
00:07.151  029259  PARALLEL                Creating process 29266
00:07.151  029259  PARALLEL                waiting for a child process to
finish
00:07.151  029266  PARALLEL                Spawning a new process
00:07.151  029266  STATE                   LOAD-STATE(child)
00:07.151  029266  FILE(config)            Read ~/.opam/config in 0.000s
00:07.156  029266  STATE                   Loaded
/home/philou/.opam/state.cache in 0.005s
00:07.156  029266  FILE(aliases)           Read ~/.opam/aliases in 0.000s
00:07.159  029266  FILE(repo-config)       Read ~/.opam/repo/default/config
in 0.000s
00:07.178  029266  FILE(repo-index)        Read ~/.opam/repo/package-index
in 0.018s
00:07.178  029266  FILE(repo-index)        Read ~/.opam/repo/compiler-index
in 0.000s
00:07.178  029266  FILE(pinned)            Cannot find
/home/philou/.opam/4.01.0/pinned
00:07.178  029266  FILE(installed)         Read ~/.opam/4.01.0/installed in
0.000s
00:07.178  029266  FILE(installed.roots)   Read
~/.opam/4.01.0/installed.roots in 0.000s
00:07.187  029266  FILE(reinstall)         Read ~/.opam/4.01.0/reinstall in
0.000s
00:07.187  029266  STATE                   ROOT      : /home/philou/.opam
00:07.187  029266  STATE                   SWITCH    : 4.01.0
00:07.188  029266  STATE                   COMPILER  : 4.01.0
00:07.188  029266  STATE                   COMPILERS : { 3.11.2, 3.12.1,
3.12.1+natdynlink-osx, 4.00.0, 4.00.0+debug-runtime, 4.00.0+fp, 4.00.1,
4.00.1+BER, 4.00.1+alloc-profiling, 4.00.1+annot, 4.00.1+french,
4.00.1+mirage-unix, 4.00.1+mirage-xen, 4.00.1+open-types,
4.00.1+raspberrypi, 4.00.1+short-types, 4.01.0, 4.01.0+fp, 4.01.0beta1,
4.01.0beta1+no-camlp4, 4.01.0dev+extension-points, 4.01.0dev+fp,
4.01.0dev+trunk, 4.02.0dev+fp, 4.02.0dev+trunk, system }
00:07.188  029266  STATE                   REPOS     : { default }
00:07.188  029266  STATE                   PACKAGES  : 1629 packages
00:07.188  029266  STATE                   INSTALLED : {}
00:07.188  029266  STATE                   ROOTS     : {}
00:07.188  029266  STATE                   REINSTALL : {}
00:07.188  029266  STATE                   State child loaded in 0.036s

=-=-= Installing base-unix.base =-=-=
00:07.188  029266  ACTION                  extract_package: base-unix.base
00:07.188  029266  FILENAME                rmdir
/home/philou/.opam/4.01.0/build/base-unix.base
00:07.188  029266  STATE                   get_archive base-unix.base
00:07.188  029266  CURL                    pull-archive
00:07.367  029266  FILE(file_attributes)   Read
~/.opam/repo/default/urls.txt in 0.179s
default    Downloading
https://opam.ocaml.org/archives/base-unix.base+opam.tar.gz
00:08.582  029266  CURL                    curl
00:08.582  029266  CURL                    dowloading
https://opam.ocaml.org/archives/base-unix.base+opam.tar.gz
Downloading https://opam.ocaml.org/archives/base-unix.base+opam.tar.gz
00:08.583  029266  PARALLEL                write_error
00:08.587  029259  PARALLEL                29266 is dead (exit 1)
00:08.587  029259  PARALLEL                read_error


===== ERROR while installing base-bigarray.base =====
Could not get the source for base-bigarray.base.

===== ERROR while installing base-threads.base =====
Could not get the source for base-threads.base.

===== ERROR while installing base-unix.base =====
Could not get the source for base-unix.base.
00:08.587  029259  STATE                   LOAD-STATE(switch-backup-err)
00:08.587  029259  FILE(config)            Read ~/.opam/config in 0.000s
00:08.593  029259  STATE                   Loaded
/home/philou/.opam/state.cache in 0.006s
00:08.593  029259  FILE(aliases)           Read ~/.opam/aliases in 0.000s
00:08.596  029259  FILE(repo-config)       Read ~/.opam/repo/default/config
in 0.000s
00:08.614  029259  FILE(repo-index)        Read ~/.opam/repo/package-index
in 0.017s
00:08.614  029259  FILE(repo-index)        Read ~/.opam/repo/compiler-index
in 0.000s
00:08.614  029259  FILE(pinned)            Cannot find
/home/philou/.opam/4.01.0/pinned
00:08.614  029259  FILE(installed)         Read ~/.opam/4.01.0/installed in
0.000s
00:08.614  029259  FILE(installed.roots)   Read
~/.opam/4.01.0/installed.roots in 0.000s
00:08.622  029259  FILE(reinstall)         Read ~/.opam/4.01.0/reinstall in
0.000s
00:08.622  029259  STATE                   ROOT      : /home/philou/.opam
00:08.622  029259  STATE                   SWITCH    : 4.01.0
00:08.622  029259  STATE                   COMPILER  : 4.01.0
00:08.622  029259  STATE                   COMPILERS : { 3.11.2, 3.12.1,
3.12.1+natdynlink-osx, 4.00.0, 4.00.0+debug-runtime, 4.00.0+fp, 4.00.1,
4.00.1+BER, 4.00.1+alloc-profiling, 4.00.1+annot, 4.00.1+french,
4.00.1+mirage-unix, 4.00.1+mirage-xen, 4.00.1+open-types,
4.00.1+raspberrypi, 4.00.1+short-types, 4.01.0, 4.01.0+fp, 4.01.0beta1,
4.01.0beta1+no-camlp4, 4.01.0dev+extension-points, 4.01.0dev+fp,
4.01.0dev+trunk, 4.02.0dev+fp, 4.02.0dev+trunk, system }
00:08.622  029259  STATE                   REPOS     : { default }
00:08.622  029259  STATE                   PACKAGES  : 1629 packages
00:08.622  029259  STATE                   INSTALLED : {}
00:08.622  029259  STATE                   ROOTS     : {}
00:08.622  029259  STATE                   REINSTALL : {}
00:08.622  029259  STATE                   State switch-backup-err loaded
in 0.034s
00:08.622  029259  SYSTEM                  rm
/home/philou/.opam/4.01.0/backup/state-20131015174852.export
00:08.622  029259  SYSTEM                  unlocking
/home/philou/.opam/4.01.0/lock (29259)
00:08.622  029259  SYSTEM                  rm /home/philou/.opam/4.01.0/lock
'opam install -v --debug base-threads base-bigarray base-unix' failed.


The write_errors looks suspicious right after the CURL, but I've triple
checked .opam permissions, seems ok.
This box is really low on ram, only 512M without swap!


Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ocaml.org/pipermail/opam-devel/attachments/20131115/9aa96d33/attachment-0001.html>


More information about the opam-devel mailing list