FS#52612 - Change of behaviour in zlib
Attached to Project:
Arch Linux
Opened by Rodolphe Lepigre (rlepigre) - Wednesday, 18 January 2017, 09:22 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 18 January 2017, 17:54 GMT
Opened by Rodolphe Lepigre (rlepigre) - Wednesday, 18 January 2017, 09:22 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 18 January 2017, 17:54 GMT
|
Details
Description: there has been a change of behavior of the zlib
compression
library, which propagates to the camlzip library (OCaml language). I noticed the problem with version zlib-1:1.2.11-1-x86_64.pkg.tar.xz and rolling back to zlib-1:1.2.8-7-x86_64.pkg.tar.xz solves the problem. Steps to reproduce: my instance of the problem is for sure not minimal as it involves OCaml libraries. However I do not have time to do more right now. You can do the following: - install opam-git from the AUR - run "opam install ocamlfind" - run "opam install camlzip" - run "opam install imagelib" - use the provided program (imgtest.tar) |
This task depends upon
Closed by Doug Newgard (Scimmia)
Wednesday, 18 January 2017, 17:54 GMT
Reason for closing: Not a bug
Wednesday, 18 January 2017, 17:54 GMT
Reason for closing: Not a bug
imgtest.tar
retcode = inflate(zs, camlzip_flush_table[Int_val(vflush)]);
if (retcode < 0 || retcode == Z_NEED_DICT)
camlzip_error("Zlib.inflate", vzs);
On a given instance, the function "camlzip_error" is called with the newer version of zlib.
It is not called with an older version.
The issue can be closed...