[Debian-med-packaging] [covid-19] Help for ocaml package needed

Shayan Doust hello at shayandoust.me
Tue Jun 2 18:01:54 BST 2020


Hello Andreas et al.,

I've integrated the patch and done a few tweaks overall for mcl[1].

Building within sbuild on unstable, I get the following error:

...
Making all in setops
make[5]: Entering directory '/<<PKGBUILDDIR>>/testing/setops'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/<<PKGBUILDDIR>>/testing/setops'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/testing'
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
ocaml setup.ml -all
File "./setup.ml", line 247, characters 8-26:
247 |         buf.[i] <- f s.[i]
              ^^^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.set
Use Bytes.set instead.
File "./setup.ml", line 247, characters 8-11:
247 |         buf.[i] <- f s.[i]
              ^^^
Error: This expression has type string but an expression was expected of
type
         bytes
make[1]: *** [debian/rules:74: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
--------------------------------------------------------------------------------
Build finished at 2020-06-02T16:50:16Z

Finished
--------
...

I'll leave this CC'd in the list so that someone with more OCaml
experience can suggest a possible solution to this.

Kind regards,
Shayan Doust

[1]: https://salsa.debian.org/med-team/mcl

On 01/06/2020 20:04, Andreas Tille wrote:
> On Mon, Jun 01, 2020 at 05:22:56PM +0100, Shayan Doust wrote:
>> I've ran a diff and generated a patch between the plain 12-068 version
>> (I cannot find its source on salsa so I just downloaded this tarball
>> from the author's website but that shouldn't make any difference) and
>> the mcl clone.
>>
>> ~7,000 lines in the patch all featuring new files and its contents
>> regarding OCaml support but I will experiment tomorrow and see how
>> cleanly and effectively I can apply this patch over the newer Debian
>> packaged mcl.
> 
> Sounds promising - thanks a lot
> 
>     Andreas.
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x6D7D441919D02395.asc
Type: application/pgp-keys
Size: 4983 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20200602/f3751ceb/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20200602/f3751ceb/attachment.sig>


More information about the Debian-med-packaging mailing list