GNU bug report logs - #49950
[PATCH] Update opam and dune

Previous Next

Package: guix-patches;

Reported by: Julien Lepiller <julien <at> lepiller.eu>

Date: Mon, 9 Aug 2021 02:16:02 UTC

Severity: normal

Tags: patch

Done: Julien Lepiller <julien <at> lepiller.eu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Julien Lepiller <julien <at> lepiller.eu>
To: 49950 <at> debbugs.gnu.org
Subject: [bug#49950] [PATCH] Update opam and dune
Date: Mon, 9 Aug 2021 04:14:44 +0200
[Message part 1 (text/plain, inline)]
Hi Guix!

This small series updates opam and dune. Opam was surprisingly
difficult to update, after the switch to dune, but I had to update it
because the previous version we had doesn't build with the new dune.

The most difficult part was making the tests pass, as they require
network access. For some of them, I was able to download the files in
advance (see opam-repo in the inputs), and change the tests to use
that, fix shebangs, ... I still had to disable three tests: one that
runs opam and let it clone a git repository, one that fails only
because of a difference in text formating (it's expected to be on one
line, but actually is nicely formated), and one that compares a
generated dune file with the one that was just modified.

also ocaml-markup fails with the new dune, so I updated it to the
latest version.
[0001-gnu-ocaml-markup-Update-to-1.0.2.patch (text/x-patch, attachment)]
[0002-gnu-ocaml-opam-file-format-Update-to-2.1.3.patch (text/x-patch, attachment)]
[0003-gnu-opam-Update-to-2.1.0.patch (text/x-patch, attachment)]
[0004-gnu-ocaml-dune-Update-to-2.9.0.patch (text/x-patch, attachment)]

This bug report was last modified 3 years and 276 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.