caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Anil Madhavapeddy <anil@recoil.org>
To: "Ömer Sinan Ağacan" <omeragacan@gmail.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] opam package problem - can't install easy-format
Date: Fri, 22 Feb 2013 11:46:01 +0000	[thread overview]
Message-ID: <D6B8B2ED-4CDF-4859-BFB9-DCEE4F58F059@recoil.org> (raw)
In-Reply-To: <CAMQQO3kUzEC1z8_H_Wvnmip-ybsUXAwy3-vHfBdXXR5a1WC2OA@mail.gmail.com>

We'd appreciate it if you opened an issue up on:
http://github.com/OCamlPro/opam-repository

It's likely that you don't have the latest version of OPAM (0.9.3), since
patch handling was changed to make it more robust.  Do also let us know
the compiler version you are running with in the bug report.

The easy_format package does successfully build on Linux x86_64/ocaml4
in our autobuilder:

=-=-= Installing easy-format.1.0.1 =-=-=
Downloading 
http://opam.ocamlpro.com/archives/easy-format.1.0.1+opam.tar.gz
.
Extracting /x/pkg_opro_remote_all4/compiler_system4-packages_easy-format/archives/easy-format.1.0.1+opam.tar.gz.
Applying easy-format-make.diff.
patching file Makefile
Hunk #1 succeeded at 6 with fuzz 1.
Applying meta-tpl.diff.
patching file META.tpl
Building easy-format.1.0.1:
  make
  make install
ocamlc -c easy_format.mli
ocamlc -c -dtypes easy_format.ml
ocamlmklib -o easy_format easy_format.cmo
touch bytecode
ocamlc -c easy_format.mli
ocamlopt -c -dtypes easy_format.ml
ocamlmklib -o easy_format easy_format.cmx
ocamlopt -I . -shared -linkall -o easy_format.cmxs easy_format.cmx
touch nativecode
echo "version = \"1.0.1\"" > META; cat META.tpl >> META

(etc)

On 22 Feb 2013, at 11:41, Ömer Sinan Ağacan <omeragacan@gmail.com> wrote:

> Hi,
> 
> Sorry if I'm posting this to wrong mailing list ( do we have an opam
> specific list ? )
> 
> I'm trying to install merlin package and it has easy-format as a dependency.
> 
> I'm using an up-to-date version of opam(just run `opam upgrade` few
> minutes ago). Here is the output:
> 
>    ➜  ~  opam install easy-format
>    The following actions will be performed:
>     - install easy-format.1.0.1
>    1 to install | 0 to reinstall | 0 to upgrade | 0 to downgrade | 0 to remove
> 
>    =-=-= easy-format.1.0.1 =-=-=
>    The archive for easy-format.1.0.1 is in the local cache.
>    Extracting /home/omer/.opam/archives/easy-format.1.0.1+opam.tar.gz.
>    Applying easy-format-make.diff.
> 
>    [ERROR] while installing easy-format.1.0.1
>      Application of patch
> /home/omer/.opam/system/build/easy-format.1.0.1/easy-format-make.diff
> failed, can not determine the '-p' level to patch.
>      'opam install easy-format' failed.
> 
> Can anyone help ?
> 
> -- 
> Caml-list mailing list.  Subscription management and archives:
> https://sympa.inria.fr/sympa/arc/caml-list
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs


  reply	other threads:[~2013-02-22 11:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-22 11:41 Ömer Sinan Ağacan
2013-02-22 11:46 ` Anil Madhavapeddy [this message]
2013-02-22 12:08   ` Ömer Sinan Ağacan
2013-02-22 12:12     ` Anil Madhavapeddy
2013-02-22 12:25       ` Hezekiah M. Carty
2013-02-22 13:17         ` Anil Madhavapeddy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D6B8B2ED-4CDF-4859-BFB9-DCEE4F58F059@recoil.org \
    --to=anil@recoil.org \
    --cc=caml-list@inria.fr \
    --cc=omeragacan@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).