Package Details: ocaml-camlzip 1.11-1

Git Clone URL: https://aur.archlinux.org/ocaml-camlzip.git (read-only, click to copy)
Package Base: ocaml-camlzip
Description: ZIP and gzip library for OCaml
Upstream URL: https://github.com/xavierleroy/camlzip
Licenses: GPL
Conflicts: ocaml-zip
Provides: ocaml-zip
Replaces: ocaml-zip
Submitter: Forty-Bot
Maintainer: Forty-Bot
Last Packager: Forty-Bot
Votes: 12
Popularity: 0.000000
First Submitted: 2021-02-12 18:32 (UTC)
Last Updated: 2023-02-12 16:11 (UTC)

Latest Comments

« First ‹ Previous 1 2

Forty-Bot commented on 2020-02-28 00:17 (UTC)

Hm, can you try running the ocamlfind ocamlmklib ... line with -v?

DHouck commented on 2020-02-27 23:18 (UTC) (edited on 2020-02-27 23:19 (UTC) by DHouck)

This isn’t building for me, and I don’t know enough about OCaml to figure out why. I think it might be missing a dependency or something?

I’m building in a chroot using devtools as described in https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_clean_chroot#Convenience_way; that’s part of why I think it might be a dependency issue. Here’s the transcript of what it’s trying to do:

% extra-x86_64-build                                                                                  [0]
[sudo] password for dhouck: 
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
:: Starting full system upgrade...
 there is nothing to do
==> Building in chroot for [extra] (x86_64)...
==> Synchronizing chroot copy [/var/lib/archbuild/extra-x86_64/root] -> [dhouck]...done
==> Making package: ocaml-zip 1.10-1 (Thu Feb 27 15:12:03 2020)
==> Retrieving sources...
  -> Found rel110.tar.gz
==> Validating source files with md5sums...
    rel110.tar.gz ... Passed
==> Making package: ocaml-zip 1.10-1 (Thu 27 Feb 2020 03:12:06 PM PST)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (1) ocaml-4.09.0-2

Total Installed Size:  219.59 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                        [#################################################] 100%
(1/1) checking package integrity                                                      [#################################################] 100%
(1/1) loading package files                                                           [#################################################] 100%
(1/1) checking for file conflicts                                                     [#################################################] 100%
:: Processing package changes...
(1/1) installing ocaml                                                                [#################################################] 100%
Optional dependencies for ocaml
    ncurses: advanced ncurses features [installed]
    tk: advanced tk features
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (2) ocaml-compiler-libs-4.09.0-2  ocaml-findlib-1.8.1-4

Total Installed Size:  107.36 MiB

:: Proceed with installation? [Y/n] 
(2/2) checking keys in keyring                                                        [#################################################] 100%
(2/2) checking package integrity                                                      [#################################################] 100%
(2/2) loading package files                                                           [#################################################] 100%
(2/2) checking for file conflicts                                                     [#################################################] 100%
:: Processing package changes...
(1/2) installing ocaml-compiler-libs                                                  [#################################################] 100%
(2/2) installing ocaml-findlib                                                        [#################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Retrieving sources...
  -> Found rel110.tar.gz
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting rel110.tar.gz with bsdtar
==> Starting build()...
ocamlfind ocamlc -g -safe-string -c -ccopt -g  zlibstubs.c
ocamlfind ocamlc -g -safe-string -c zlib.mli
ocamlfind ocamlc -g -safe-string -c zip.mli
ocamlfind ocamlc -g -safe-string -c gzip.mli
ocamlfind ocamlc -g -safe-string -c zlib.ml
ocamlfind ocamlc -g -safe-string -c zip.ml
File "gzip.mli", line 29, characters 18-39:
29 | val open_in_chan: Pervasives.in_channel -> in_channel
                       ^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "gzip.mli", line 89, characters 33-55:
89 | val open_out_chan: ?level:int -> Pervasives.out_channel -> out_channel
                                      ^^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
ocamlfind ocamlopt -safe-string -c zlib.ml
ocamlfind ocamlc -g -safe-string -c gzip.ml
File "gzip.ml", line 23, characters 13-34:
23 |   { in_chan: Pervasives.in_channel;
                  ^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "gzip.ml", line 77, characters 11-33:
77 |   let ic = Pervasives.open_in_bin filename in
                ^^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "gzip.ml", line 81, characters 4-23:
81 |     Pervasives.close_in ic; raise exn
         ^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "gzip.ml", line 85, characters 12-28:
85 |     let n = Pervasives.input iz.in_chan iz.in_buffer 0
                 ^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "gzip.ml", line 111, characters 14-30:
111 |       let n = Pervasives.input iz.in_chan iz.in_buffer 0
                    ^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "gzip.ml", line 169, characters 2-21:
169 |   Pervasives.close_in iz.in_chan
        ^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "gzip.ml", line 172, characters 14-36:
172 |   { out_chan: Pervasives.out_channel;
                    ^^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "gzip.ml", line 199, characters 24-47:
199 |   open_out_chan ~level (Pervasives.open_out_bin filename)
                              ^^^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "gzip.ml", line 202, characters 2-19:
202 |   Pervasives.output oz.out_chan oz.out_buffer 0 oz.out_pos;
        ^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "gzip.ml", line 240, characters 4-26:
240 |     Pervasives.output_byte oc (Int32.to_int !r);
          ^^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "gzip.ml", line 265, characters 2-18:
265 |   Pervasives.flush oz.out_chan
        ^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "gzip.ml", line 278, characters 2-22:
278 |   Pervasives.close_out oz.out_chan
        ^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "zip.ml", line 62, characters 16-37:
62 |     if_channel: Pervasives.in_channel;
                     ^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "zip.ml", line 72, characters 16-38:
72 |     of_channel: Pervasives.out_channel;
                     ^^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "zip.ml", line 221, characters 11-33:
221 |   let ic = Pervasives.open_in_bin filename in
                 ^^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "zip.ml", line 234, characters 4-23:
234 |     Pervasives.close_in ic; raise exn
          ^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "zip.ml", line 239, characters 2-21:
239 |   Pervasives.close_in ifile.if_channel
        ^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "zip.ml", line 375, characters 17-40:
375 |     of_channel = Pervasives.open_out_bin filename;
                       ^^^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "zip.ml", line 422, characters 2-22:
422 |   Pervasives.close_out oc
        ^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "zip.ml", line 557, characters 4-23:
557 |     Pervasives.close_in ic
          ^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "zip.ml", line 559, characters 4-23:
559 |     Pervasives.close_in ic; raise x
          ^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
ocamlfind ocamlmklib -o zip -oc camlzip zlib.cmo zip.cmo gzip.cmo \
             -lz
ocamlfind ocamlopt -safe-string -c zip.ml
ocamlfind ocamlopt -safe-string -c gzip.ml
File "gzip.ml", line 23, characters 13-34:
23 |   { in_chan: Pervasives.in_channel;
                  ^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "gzip.ml", line 77, characters 11-33:
77 |   let ic = Pervasives.open_in_bin filename in
                ^^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "zip.ml", line 62, characters 16-37:
62 |     if_channel: Pervasives.in_channel;
                     ^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "gzip.ml", line 81, characters 4-23:
81 |     Pervasives.close_in ic; raise exn
         ^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "zip.ml", line 72, characters 16-38:
72 |     of_channel: Pervasives.out_channel;
                     ^^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "gzip.ml", line 85, characters 12-28:
85 |     let n = Pervasives.input iz.in_chan iz.in_buffer 0
                 ^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "gzip.ml", line 111, characters 14-30:
111 |       let n = Pervasives.input iz.in_chan iz.in_buffer 0
                    ^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "gzip.ml", line 169, characters 2-21:
169 |   Pervasives.close_in iz.in_chan
        ^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "gzip.ml", line 172, characters 14-36:
172 |   { out_chan: Pervasives.out_channel;
                    ^^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "gzip.ml", line 199, characters 24-47:
199 |   open_out_chan ~level (Pervasives.open_out_bin filename)
                              ^^^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "gzip.ml", line 202, characters 2-19:
202 |   Pervasives.output oz.out_chan oz.out_buffer 0 oz.out_pos;
        ^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "gzip.ml", line 240, characters 4-26:
240 |     Pervasives.output_byte oc (Int32.to_int !r);
          ^^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "gzip.ml", line 265, characters 2-18:
265 |   Pervasives.flush oz.out_chan
        ^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "gzip.ml", line 278, characters 2-22:
278 |   Pervasives.close_out oz.out_chan
        ^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "zip.ml", line 221, characters 11-33:
221 |   let ic = Pervasives.open_in_bin filename in
                 ^^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "zip.ml", line 234, characters 4-23:
234 |     Pervasives.close_in ic; raise exn
          ^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "zip.ml", line 239, characters 2-21:
239 |   Pervasives.close_in ifile.if_channel
        ^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "zip.ml", line 375, characters 17-40:
375 |     of_channel = Pervasives.open_out_bin filename;
                       ^^^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "zip.ml", line 422, characters 2-22:
422 |   Pervasives.close_out oc
        ^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "zip.ml", line 557, characters 4-23:
557 |     Pervasives.close_in ic
          ^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "zip.ml", line 559, characters 4-23:
559 |     Pervasives.close_in ic; raise x
          ^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the 
stdlib-shims library: https://github.com/ocaml/stdlib-shims
ocamlfind ocamlmklib -o zip -oc camlzip zlib.cmx zip.cmx gzip.cmx \
             -lz
ocamlfind ocamlopt -safe-string -shared -linkall -I ./ -o zip.cmxs zip.cmxa
/usr/bin/ld: cannot find -lcamlzip
collect2: error: ld returned 1 exit status
File "caml_startup", line 1:
Error: Error during linking
make: *** [Makefile:48: zip.cmxs] Error 2
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /var/lib/archbuild/extra-x86_64/dhouck/build

oriba commented on 2019-06-23 20:26 (UTC)

@andrea_berling: thank you for reporting the problem!

andrea_berling commented on 2019-06-16 16:34 (UTC) (edited on 2019-06-16 16:34 (UTC) by andrea_berling)

Hi, can you remove 'wildcard' in the package function? It works only if it is in a Makefile. Currently the .cmxa and .so files do not get installed. I fixed this in my machine by substituting $(wildcard *.cmxa) with *.cmxa, and likewise for .so, in the PKGBUILD.

Forty-Bot commented on 2017-09-07 01:57 (UTC)

Hi, can you install as camlzip instead of zip? Renaming the package breaks dependencies.

Skal commented on 2014-06-19 12:02 (UTC)

Hi. Can you add an 'options (staticlibs)' to PKGBUILD so that *.a files are not striped from the package (the !strip does not appear to have the intended effect)? This is a necessary requirement to build patoline.

Franek commented on 2011-07-31 09:11 (UTC)

The source address for camlzip-1.04.tar.gz appears to be out of date. Please replace it with http://forge.ocamlcore.org/frs/download.php/328/camlzip-1.04.tar.gz .