Skip to content

Instantly share code, notes, and snippets.

@timbertson
Created January 20, 2016 21:28
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 timbertson/5834db27e6d0ce22a86d to your computer and use it in GitHub Desktop.
Save timbertson/5834db27e6d0ce22a86d to your computer and use it in GitHub Desktop.
+ echo 'CONTENTS OF gup.opam:'
CONTENTS OF gup.opam:
+ cat gup.opam
opam-version: "1"
version: "0.5.1"
maintainer: "tim@gfxmonk.net"
depends: [
"batteries"
"cryptokit"
"extunix"
"lwt" { ">=2.5.1" }
"ocamlfind" {build}
]
build: [
["make" "-C" "ocaml" "native"]
]
+ export OPAMYES=1
+ OPAMYES=1
++ pwd
+ opam pin add --kind git --no-action /home/tim/dev/ocaml/gup
[NOTE] Package gup is already git-pinned to /home/tim/dev/ocaml/gup.
This will erase any previous custom definition.
Proceed ? [Y/n] y
[NOTE] Pinning in mixed mode: OPAM will use tracked files in the current working tree from
/home/tim/dev/ocaml/gup. If this is not what you want, pin to a given branch (e.g.
/home/tim/dev/ocaml/gup#HEAD)
[gup] /home/tim/dev/ocaml/gup updated
[gup] Installing new package description from /home/tim/dev/ocaml/gup
+ opam install gup
=-=- Synchronising pinned packages =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[gup] /home/tim/dev/ocaml/gup already up-to-date
The following actions will be performed:
∗ install gup 0.5.1*
=-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[gup] /home/tim/dev/ocaml/gup already up-to-date
=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[ERROR] The compilation of gup failed at "make -C ocaml native".
#=== ERROR while installing gup.0.5.1 =========================================#
# opam-version 1.2.2
# os linux
# command make -C ocaml native
# path /home/tim/Desktop/gup-opam/gup-test/build/gup.0.5.1
# compiler system (4.02.0)
# exit-code 2
# env-file /home/tim/Desktop/gup-opam/gup-test/build/gup.0.5.1/gup-7145-d2c37b.env
# stdout-file /home/tim/Desktop/gup-opam/gup-test/build/gup.0.5.1/gup-7145-d2c37b.out
# stderr-file /home/tim/Desktop/gup-opam/gup-test/build/gup.0.5.1/gup-7145-d2c37b.err
### stdout ###
# make: Entering directory '/home/tim/Desktop/gup-opam/gup-test/build/gup.0.5.1/ocaml'
# echo "let version = \"$(cat ../VERSION)\"" > gup/version.ml
# ocamlbuild -use-ocamlfind main.native
# Failure: ocamlfind not found on path, but -no-ocamlfind not used.
# Makefile:40: recipe for target 'main.native' failed
# make: Leaving directory '/home/tim/Desktop/gup-opam/gup-test/build/gup.0.5.1/ocaml'
### stderr ###
# make: *** [main.native] Error 2
=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The following actions failed
∗ install gup 0.5.1
No changes have been performed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment