Skip to content

Instantly share code, notes, and snippets.

@cohama
Created June 4, 2013 13:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cohama/5706079 to your computer and use it in GitHub Desktop.
Save cohama/5706079 to your computer and use it in GitHub Desktop.
The following actions will be performed:
- install spotinstall.1.1.0
1 to install | 0 to reinstall | 0 to upgrade | 0 to downgrade | 0 to remove
=-=-= Installing spotinstall.1.1.0 =-=-=
The archive for spotinstall.1.1.0 is in the local cache.
Extracting /home/cohama/.opam/archives/spotinstall.1.1.0+opam.tar.gz.
Building spotinstall.1.1.0:
ocaml setup.ml -configure --prefix /home/cohama/.opam/4.00.1+annot
ocaml setup.ml -build
ocaml setup.ml -install
Configuration:
ocamlfind: ..................................... /home/cohama/.opam/4.00.1+annot/bin/ocamlfind
ocamlc: ........................................ /home/cohama/.opam/4.00.1+annot/bin/ocamlc.opt
ocamlopt: ...................................... /home/cohama/.opam/4.00.1+annot/bin/ocamlopt.opt
ocamlbuild: .................................... /home/cohama/.opam/4.00.1+annot/bin/ocamlbuild
Package name: .................................. spotinstall
Package version: ............................... 1.1.0
os_type: ....................................... Unix
system: ........................................ linux_elf
architecture: .................................. i386
ccomp_type: .................................... cc
ocaml_version: ................................. 4.00.1
standard_library_default: ...................... /home/cohama/.opam/4.00.1+annot/lib/ocaml
standard_library: .............................. /home/cohama/.opam/4.00.1+annot/lib/ocaml
standard_runtime: .............................. /home/cohama/.opam/4.00.1+annot/bin/ocamlrun
bytecomp_c_compiler: ........................... gcc -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC
native_c_compiler: ............................. gcc -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT
model: ......................................... default
ext_obj: ....................................... .o
ext_asm: ....................................... .s
ext_lib: ....................................... .a
ext_dll: ....................................... .so
default_executable_name: ....................... a.out
systhread_supported: ........................... true
Install architecture-independent files dir: .... /home/cohama/.opam/4.00.1+annot
Install architecture-dependent files in dir: ... $prefix
User executables: .............................. $exec_prefix/bin
System admin executables: ...................... $exec_prefix/sbin
Program executables: ........................... $exec_prefix/libexec
Read-only single-machine data: ................. $prefix/etc
Modifiable architecture-independent data: ...... $prefix/com
Modifiable single-machine data: ................ $prefix/var
Object code libraries: ......................... $exec_prefix/lib
Read-only arch-independent data root: .......... $prefix/share
Read-only architecture-independent data: ....... $datarootdir
Info documentation: ............................ $datarootdir/info
Locale-dependent data: ......................... $datarootdir/locale
Man documentation: ............................. $datarootdir/man
Documentation root: ............................ $datarootdir/doc/$pkg_name
HTML documentation: ............................ $docdir
DVI documentation: ............................. $docdir
PDF documentation: ............................. $docdir
PS documentation: .............................. $docdir
findlib_version: ............................... 1.3.3
is_native: ..................................... true
suffix_program: ................................
Remove a file.: ................................ rm -f
Remove a directory.: ........................... rm -rf
Turn ocaml debug flag on: ...................... true
Turn ocaml profile flag on: .................... false
Compiler support generation of .cmxs.: ......... true
*** omake: creating OMakeroot
OMakefile already exists, overwrite (yes/no)? *** omake: skipping OMakefile
*** omake: project files OMakefile and OMakeroot have been installed
*** omake: you should edit these files before continuing
*** omake: reading OMakefiles
File OMyMakefile: line 599, characters 2-21:
Warning: old-style foreach expression.
This expression should use a => binding.
--- Checking for ocamlfind... (found /home/cohama/.opam/4.00.1+annot/bin/ocamlfind)
--- Checking for ocamlc.opt... (found /home/cohama/.opam/4.00.1+annot/bin/ocamlc.opt)
--- Checking for ocamlopt.opt... (found /home/cohama/.opam/4.00.1+annot/bin/ocamlopt.opt)
--- Checking whether ocamlc understands the "z" warnings... (yes)
*** omake: finished reading OMakefiles (0.05 sec)
--- Checking if ocamldep understands -modules... (yes)
- build . spotinstall.cmo
+ ocamlfind ocamlc -package spotlib,orakuda -w A-4-9 -warn-error A-4-9 -annot -w Ae -g -syntax camlp4o -package orakuda.syntax -I . -c spotinstall.ml
File "spotinstall.ml", line 33, characters 17-60:
Error: This expression has type [> Spotlib.Spot.Unix.Process_status.t ]
but an expression was expected of type 'a -> 'b
*** omake: 14/23 targets are up to date
*** omake: failed (0.28 sec, 1/1 scans, 1/1 rules, 10/78 digests)
*** omake: targets were not rebuilt because of errors:
spotinstall.cmi
depends on: spotinstall.ml
spotinstall.cmo
depends on: spotinstall.ml
spotinstall.cmx
depends on: spotinstall.ml
spotinstall.o
depends on: spotinstall.ml
E: Failure("Command 'yes no | omake --install; PREFIX=/home/cohama/.opam/4.00.1+annot omake' terminated with error code 2")
The compilation of spotinstall.1.1.0 failed.
Uninstalling spotinstall.1.1.0:
ocaml setup.ml -uninstall
*** omake: reading OMakefiles
*** omake: finished reading OMakefiles (0.03 sec)
*** omake: done (0.04 sec, 0/0 scans, 1/1 rules, 0/69 digests)
==== ERROR [while installing spotinstall.1.1.0] ====
# opam-version 1.0.0 (1.0.0)
# os linux
# command ocaml setup.ml -build
# path /home/cohama/.opam/4.00.1+annot/build/spotinstall.1.1.0
# exit-code 1
# env-file /home/cohama/.opam/4.00.1+annot/build/spotinstall.1.1.0/spotinstall-ffb3fd.env
# stdout-file /home/cohama/.opam/4.00.1+annot/build/spotinstall.1.1.0/spotinstall-ffb3fd.out
# stderr-file /home/cohama/.opam/4.00.1+annot/build/spotinstall.1.1.0/spotinstall-ffb3fd.err
### stdout ###
...[truncated]
--- Checking for ocamlfind... (found /home/cohama/.opam/4.00.1+annot/bin/ocamlfind)
--- Checking for ocamlc.opt... (found /home/cohama/.opam/4.00.1+annot/bin/ocamlc.opt)
--- Checking for ocamlopt.opt... (found /home/cohama/.opam/4.00.1+annot/bin/ocamlopt.opt)
--- Checking whether ocamlc understands the "z" warnings... (yes)
*** omake: finished reading OMakefiles (0.05 sec)
--- Checking if ocamldep understands -modules... (yes)
- build . spotinstall.cmo
+ ocamlfind ocamlc -package spotlib,orakuda -w A-4-9 -warn-error A-4-9 -annot -w Ae -g -syntax camlp4o -package orakuda.syntax -I . -c spotinstall.ml
*** omake: 14/23 targets are up to date
*** omake: failed (0.28 sec, 1/1 scans, 1/1 rules, 10/78 digests)
### stderr ###
...[truncated]
*** omake: targets were not rebuilt because of errors:
spotinstall.cmi
depends on: spotinstall.ml
spotinstall.cmo
depends on: spotinstall.ml
spotinstall.cmx
depends on: spotinstall.ml
spotinstall.o
depends on: spotinstall.ml
E: Failure("Command 'yes no | omake --install; PREFIX=/home/cohama/.opam/4.00.1+annot omake' terminated with error code 2")
'opam install spotinstall -v' failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment