[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#760261: [opam] opam broken by dose.3.2.2 update



On 09/11/2014 01:38 AM, Mehdi Dogguy wrote:
> Le 2014-09-02 09:29, Török Edwin a écrit :
>> Package: opam
>> Version: 1.1.1-1+b1
>> Severity: normal
>>
>> --- Please enter the report below this line. ---
>>
>> opam version is now 1.1.1-1+b1, which is broken due to using
>> dose.3.2.2 instead of 3.1.x (as the initial version without +b1
>> apparently did).
>> This would've been detected by opam's testsuite, except that Debian
>> didn't build/run that test-suite due to using its own build-system.
>>
> 
> Can you please tell us how exactly opam is broken? Do you have a test
> that produces an error? What worked using 1.1.1-1 but didn't using
> version 1.1.1-1+b1?

Testcase is:
$ (export OPAMROOT=/tmp/opamroot; rm -rf $OPAMROOT; opam init && opam install ocamlfind && opam install lwt)

This works with 1.1.1-1.

Fails with 1.1.1-1+b1 trying to install ocamlfind again (it is already installed by first opam install command):
[...]
# Makefile:150: depend: No such file or directory
# ocamlfind: Package bytes is already installed
#  - (file /tmp/opamroot/system/lib/bytes/META already exists)
# make[1]: *** [install] Error 2
# make: *** [install] Error 2

Best regards,
--Edwin


Reply to: