Bug#760261: [opam] opam broken by dose.3.2.2 update
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.
opam 1.1.2 has a simple Makefile-based build-system that would be easier for the Debian package to use (and run tests too),
so a solution might've been to package that for Debian.
However the testsuite fails with dose.3.2.2 (works with dose.3.1.2 (probably 3.1.x too), but that version seems to be gone from testing/unstable, so I don't know
if opam could force a dependency on that).
There is a beta version of opam 1.2.0 that supports dose.3.2.2, and I asked upstream what should be done
about the stable/released versions given that they're all broken now: https://github.com/ocaml/opam/issues/1683
For now a workaround is to install the working package from snapshot.debian.org, I don't know if it'd be possible the revert the broken
+b1 package to this:
http://snapshot.debian.org/archive/debian/20140202T163543Z/pool/main/o/opam/opam_1.1.1-1_amd64.deb
Test-case, this command should succeed:
(export OPAMROOT=/tmp/opamroot; rm -rf $OPAMROOT; opam init && opam install ocamlfind && opam install lwt)
If it says that it'll install ocamlfind again when 'opam install lwt' is run then it'll fail.
--- System information. ---
Architecture: amd64
Kernel: Linux 3.14-2-amd64
Debian Release: jessie/sid
500 unstable ftp.ro.debian.org
500 testing ftp.ro.debian.org
1 experimental ftp.ro.debian.org
--- Package information. ---
Depends (Version) | Installed
================================-+-=============
libbz2-1.0 | 1.0.6-7
libc6 (>= 2.14) |
libpcre3 (>= 8.10) |
zlib1g (>= 1:1.1.4) |
opam-docs (= 1.1.1-1) |
build-essential |
wget |
OR curl |
Recommends (Version) | Installed
=========================-+-===========
ocaml | 4.01.0-4
git | 1:2.1.0-1
rsync | 3.1.1-2
Package's Suggests field is empty.
Reply to: