caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] OPAM exceptions
@ 2012-11-08 22:11 Ashish Agarwal
  2012-11-09  8:04 ` Thomas Gazagnaire
  2012-11-09  8:11 ` Thomas Gazagnaire
  0 siblings, 2 replies; 3+ messages in thread
From: Ashish Agarwal @ 2012-11-08 22:11 UTC (permalink / raw)
  To: Caml List

[-- Attachment #1: Type: text/plain, Size: 1432 bytes --]

While running opam install [packages], several packages installed fine and
then one failed with:

The compilation of oasis.0.3.0 failed in
/home/aa144/.opam/3.12.1/build/oasis.0.3.0.
cannot unlock /home/aa144/.opam/3.12.1/lock (29885)

I was running 'opam list' in another window, so perhaps that caused some
problems. After this, most commands kept failing with the same error until
I manually removed the lock file. But still I get the following errors:

$ opam switch system
  'opam.opt switch system' failed

Fatal error: exception End_of_file
    at
 Raised at file "pervasives.ml", line 333, characters 20-31
Called from file "src/opamSystem.ml", line 396, characters 12-25
Called from file "src/opamFilename.ml", line 251, characters 4-39
Called from file "src/opamFilename.ml", line 247, characters 12-15
Re-raised at file "src/opamFilename.ml", line 252, characters 10-11
Called from file "src/opamFilename.ml", line 247, characters 12-15
Re-raised at file "src/opamFilename.ml", line 252, characters 10-11
Called from file "src/opamMain.ml", line 480, characters 6-102

$ opam install oasis
  'opam.opt install oasis' failed

Fatal error: exception End_of_file
    at
 Raised at file "pervasives.ml", line 333, characters 20-31
Called from file "src/opamSystem.ml", line 396, characters 12-25
Called from file "src/opamFilename.ml", line 251, characters 4-39
Called from file "src/opamMain.ml", line 480, characters 6-102

[-- Attachment #2: Type: text/html, Size: 2026 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] OPAM exceptions
  2012-11-08 22:11 [Caml-list] OPAM exceptions Ashish Agarwal
@ 2012-11-09  8:04 ` Thomas Gazagnaire
  2012-11-09  8:11 ` Thomas Gazagnaire
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Gazagnaire @ 2012-11-09  8:04 UTC (permalink / raw)
  To: Ashish Agarwal; +Cc: Caml List

This kinds of bugs are better tracked on opam issue system. Could we continue this discussion in  https://github.com/OCamlPro/opam/issues/285 ?

On Nov 8, 2012, at 11:11 PM, Ashish Agarwal wrote:

> While running opam install [packages], several packages installed fine and then one failed with:
> 
> The compilation of oasis.0.3.0 failed in /home/aa144/.opam/3.12.1/build/oasis.0.3.0.
> cannot unlock /home/aa144/.opam/3.12.1/lock (29885)
> 
> I was running 'opam list' in another window, so perhaps that caused some problems. After this, most commands kept failing with the same error until I manually removed the lock file. But still I get the following errors:
> 
> $ opam switch system
>   'opam.opt switch system' failed
> 
> Fatal error: exception End_of_file
>     at
>  Raised at file "pervasives.ml", line 333, characters 20-31
> Called from file "src/opamSystem.ml", line 396, characters 12-25
> Called from file "src/opamFilename.ml", line 251, characters 4-39
> Called from file "src/opamFilename.ml", line 247, characters 12-15
> Re-raised at file "src/opamFilename.ml", line 252, characters 10-11
> Called from file "src/opamFilename.ml", line 247, characters 12-15
> Re-raised at file "src/opamFilename.ml", line 252, characters 10-11
> Called from file "src/opamMain.ml", line 480, characters 6-102
> 
> $ opam install oasis
>   'opam.opt install oasis' failed
> 
> Fatal error: exception End_of_file
>     at
>  Raised at file "pervasives.ml", line 333, characters 20-31
> Called from file "src/opamSystem.ml", line 396, characters 12-25
> Called from file "src/opamFilename.ml", line 251, characters 4-39
> Called from file "src/opamMain.ml", line 480, characters 6-102
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] OPAM exceptions
  2012-11-08 22:11 [Caml-list] OPAM exceptions Ashish Agarwal
  2012-11-09  8:04 ` Thomas Gazagnaire
@ 2012-11-09  8:11 ` Thomas Gazagnaire
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Gazagnaire @ 2012-11-09  8:11 UTC (permalink / raw)
  To: Ashish Agarwal; +Cc: Caml List

This kinds of bugs are better tracked on opam issue system. Could we continue this discussion in  https://github.com/OCamlPro/opam/issues/285 ?

On Nov 8, 2012, at 11:11 PM, Ashish Agarwal wrote:

> While running opam install [packages], several packages installed fine and then one failed with:
> 
> The compilation of oasis.0.3.0 failed in /home/aa144/.opam/3.12.1/build/oasis.0.3.0.
> cannot unlock /home/aa144/.opam/3.12.1/lock (29885)
> 
> I was running 'opam list' in another window, so perhaps that caused some problems. After this, most commands kept failing with the same error until I manually removed the lock file. But still I get the following errors:
> 
> $ opam switch system
>  'opam.opt switch system' failed
> 
> Fatal error: exception End_of_file
>    at
> Raised at file "pervasives.ml", line 333, characters 20-31
> Called from file "src/opamSystem.ml", line 396, characters 12-25
> Called from file "src/opamFilename.ml", line 251, characters 4-39
> Called from file "src/opamFilename.ml", line 247, characters 12-15
> Re-raised at file "src/opamFilename.ml", line 252, characters 10-11
> Called from file "src/opamFilename.ml", line 247, characters 12-15
> Re-raised at file "src/opamFilename.ml", line 252, characters 10-11
> Called from file "src/opamMain.ml", line 480, characters 6-102
> 
> $ opam install oasis
>  'opam.opt install oasis' failed
> 
> Fatal error: exception End_of_file
>    at
> Raised at file "pervasives.ml", line 333, characters 20-31
> Called from file "src/opamSystem.ml", line 396, characters 12-25
> Called from file "src/opamFilename.ml", line 251, characters 4-39
> Called from file "src/opamMain.ml", line 480, characters 6-102
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-11-09  8:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-08 22:11 [Caml-list] OPAM exceptions Ashish Agarwal
2012-11-09  8:04 ` Thomas Gazagnaire
2012-11-09  8:11 ` Thomas Gazagnaire

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).