Package Details: ocaml-csv 2.2-2

Git Clone URL: https://aur.archlinux.org/ocaml-csv.git (read-only)
Package Base: ocaml-csv
Description: OCaml CSV parsing library
Upstream URL: https://github.com/Chris00/ocaml-csv
Licenses: GPL
Submitter: oriba
Maintainer: oriba
Last Packager: oriba
Votes: 2
Popularity: 0.000001
First Submitted: 2015-09-07 09:09
Last Updated: 2018-11-16 13:02

Dependencies (6)

Required by (1)

Sources (1)

Latest Comments

the-k commented on 2019-05-22 15:33

@oriba I made it work. You can apply https://gist.github.com/lubo/ec366241998820d758b50951595c1f0f.

the-k commented on 2019-02-04 10:21

I've tried again and now I get this:

dune build @install examples/example.exe -j 4 ocamlc lwt/.csv_lwt.objs/csv_lwt.{cmi,cmti} (exit 2) (cd _build/default && /usr/bin/ocamlc.opt -w @a-4-29-40-41-42-44-45-48-58-59-60-40 -strict-sequence -strict-formats -short-paths -keep-locs -safe-string -g -bin-annot -I lwt/.csv_lwt.objs -I lwt/.csv_lwt.objs/.private -I /usr/lib/ocaml/bytes -I /usr/lib/ocaml/lwt -I /usr/lib/ocaml/lwt/unix -I /usr/lib/ocaml/result -I /usr/lib/ocaml/threads -I src/.csv.objs -no-alias-deps -opaque -open Csv_lwt__ -o lwt/.csv_lwt.objs/csv_lwt.cmi -c -intf lwt/csv_lwt.mli) File "lwt/csv_lwt.mli", line 1: Error: /usr/lib/ocaml/lwt/unix/lwt_io.cmi is not a compiled interface for this version of OCaml. It seems to be for an older version of OCaml. Error: Rule failed to generate the following targets: - lwt/csv_lwt.ml make: *** [Makefile:6: build] Error 1

oriba commented on 2018-11-16 13:22

Maybe the package should be removed from AUR and anyone has to use opam....?!

oriba commented on 2018-11-16 13:18

Oh, thats really bad. Looks like the installation process must be changed, so that dune (which I don#t know) installs correctly.

Any ideas how to do that?

If someone wants to pick up the package, please let me know. I have not the time to explore dune and all the other make/install tools. ocaml-csv has changed installation procdure, ocaml-sqlite3 alos, but both use different tools.

So. I could orphane the package, or is someone knows how to change package() to work correctly, please let me know.

steinbuch commented on 2018-11-16 13:16

It is located at [..]/src/ocaml-csv-2.2/_build/default/examples/csvtool.exe

steinbuch commented on 2018-11-16 13:08

Since the update the binary /usr/bin/csvtool is not getting installed anymore!

oriba commented on 2018-11-16 13:04

Thanks for reporting. I added opam as makependency. Should not crash. But it seems the situation in general has moved from dependency hell of code to dependency hell of installation-tools.

I hate the "I'm bored... I should create another build and deploy tool" shit. Every some months a new tool for making/installing/deploying/foo/bar is developed. It creates a big mess. Annoying shit. I like OCamlMakefile :-)

the-k commented on 2018-11-16 10:13

Package() crashes for me:

dune install opam (internal) [WARNING] Running as root is not recommended [ERROR] Opam has not been initialised, please run `opam init' Done: 0/0 (jobs: 1)Installing /home/lubo/.cache/yay/ocaml-csv/pkg/ocaml-csv/usr/lib/ocaml/csv/META Installing /home/lubo/.cache/yay/ocaml-csv/pkg/ocaml-csv/usr/lib/ocaml/csv/csv.a Installing /home/lubo/.cache/yay/ocaml-csv/pkg/ocaml-csv/usr/lib/ocaml/csv/csv.cma Installing /home/lubo/.cache/yay/ocaml-csv/pkg/ocaml-csv/usr/lib/ocaml/csv/csv.cmi Installing /home/lubo/.cache/yay/ocaml-csv/pkg/ocaml-csv/usr/lib/ocaml/csv/csv.cmt Installing /home/lubo/.cache/yay/ocaml-csv/pkg/ocaml-csv/usr/lib/ocaml/csv/csv.cmti Installing /home/lubo/.cache/yay/ocaml-csv/pkg/ocaml-csv/usr/lib/ocaml/csv/csv.cmx Installing /home/lubo/.cache/yay/ocaml-csv/pkg/ocaml-csv/usr/lib/ocaml/csv/csv.cmxa Installing /home/lubo/.cache/yay/ocaml-csv/pkg/ocaml-csv/usr/lib/ocaml/csv/csv.cmxs Installing /home/lubo/.cache/yay/ocaml-csv/pkg/ocaml-csv/usr/lib/ocaml/csv/csv.dune Installing /home/lubo/.cache/yay/ocaml-csv/pkg/ocaml-csv/usr/lib/ocaml/csv/csv.ml Installing /home/lubo/.cache/yay/ocaml-csv/pkg/ocaml-csv/usr/lib/ocaml/csv/csv.mli Installing /home/lubo/.cache/yay/ocaml-csv/pkg/ocaml-csv/usr/lib/ocaml/csv/csv.cmi Installing /home/lubo/.cache/yay/ocaml-csv/pkg/ocaml-csv/usr/lib/ocaml/csv/csv.cmt Installing /home/lubo/.cache/yay/ocaml-csv/pkg/ocaml-csv/usr/lib/ocaml/csv/csv.cmx Installing /home/lubo/.cache/yay/ocaml-csv/pkg/ocaml-csv/usr/lib/ocaml/csv/csv.ml Installing /home/lubo/.cache/yay/ocaml-csv/pkg/ocaml-csv/usr/lib/ocaml/csv/csvCsv_row.cmi Installing /home/lubo/.cache/yay/ocaml-csv/pkg/ocaml-csv/usr/lib/ocaml/csv/csvCsv_row.cmt Installing /home/lubo/.cache/yay/ocaml-csv/pkg/ocaml-csv/usr/lib/ocaml/csv/csvCsv_row.cmx Installing /home/lubo/.cache/yay/ocaml-csv/pkg/ocaml-csv/usr/lib/ocaml/csv/csvCsv_utils.cmi Installing /home/lubo/.cache/yay/ocaml-csv/pkg/ocaml-csv/usr/lib/ocaml/csv/csvCsv_utils.cmt Installing /home/lubo/.cache/yay/ocaml-csv/pkg/ocaml-csv/usr/lib/ocaml/csv/csvCsv_utils.cmx Installing /home/lubo/.cache/yay/ocaml-csv/pkg/ocaml-csv/usr/lib/ocaml/csv/csv_row.ml Installing /home/lubo/.cache/yay/ocaml-csv/pkg/ocaml-csv/usr/lib/ocaml/csv/csv_utils.ml Installing /home/lubo/.cache/yay/ocaml-csv/pkg/ocaml-csv/usr/lib/ocaml/csv/opam Installing /usr/bin/csvtool Error: exception Sys_error("/usr/bin/csvtool: Permission denied") Backtrace: Raised by primitive operation at file "stdlib.ml", line 316, characters 29-55 Called from file "src/stdune/io.ml", line 148, characters 19-178 Called from file "src/stdune/exn.ml", line 21, characters 8-11 Re-raised at file "src/stdune/exn.ml", line 23, characters 30-37 Called from file "bin/main.ml", line 553, characters 17-264 Called from file "list.ml", line 106, characters 12-15 Called from file "list.ml", line 106, characters 12-15 Called from file "src/fiber/fiber.ml", line 111, characters 22-27 Called from file "src/fiber/fiber.ml", line 299, characters 6-13

I must not segfault. Uncertainty is the mind-killer. Exceptions are the little-death that brings total obliteration. I will fully express my cases. Execution will pass over me and through me. And when it has gone past, I will unwind the stack along its path. Where the cases are handled there will be nothing. Only I will remain. make: *** [Makefile:12: install] Error 1

the-k commented on 2017-11-17 14:57

There's missing dependency on ocamlbuild.