Package Details: ocaml-csv 2.4-1

Git Clone URL: https://aur.archlinux.org/ocaml-csv.git (read-only, click to copy)
Package Base: ocaml-csv
Description: OCaml CSV parsing library
Upstream URL: https://github.com/Chris00/ocaml-csv
Licenses: GPL
Submitter: oriba
Maintainer: None
Last Packager: mortzu
Votes: 3
Popularity: 0.000000
First Submitted: 2015-09-07 09:09 (UTC)
Last Updated: 2022-01-02 11:12 (UTC)

Dependencies (8)

Required by (1)

Sources (1)

Latest Comments

1 2 Next › Last »

mortzu commented on 2019-11-29 19:44 (UTC)

pkgname=ocaml-csv
pkgver=2.3
pkgrel=3
pkgdesc="OCaml CSV parsing library"
arch=('i686' 'x86_64')
url="https://github.com/Chris00/ocaml-csv"
license=('GPL')
depends=('ocaml')
makedepends=('ocaml' 'ocaml-findlib' 'ocamlbuild' 'ocaml-lwt' 'opam' 'ocaml-uutf')
source=(https://github.com/Chris00/ocaml-csv/archive/$pkgver.tar.gz)
md5sums=('1d2e565c0f7214254efe3dfde566c048')
sha256sums=('e795287c086997ab3ca57e3d8e0c2fdbf6d5c977bef54249943432f1c932ad81')
options=(!libtool !strip zipman)

build() {
  cd $pkgname-$pkgver
  make
}

package() {
  cd $pkgname-$pkgver
  DESTDIR="${pkgdir}" dune install --prefix=/usr --libdir="$(ocamlfind printconf destdir)"
}

mortzu commented on 2019-11-29 19:35 (UTC)

Please fix or orphan!

the-k commented on 2019-02-04 10:21 (UTC)

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 (UTC)

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

oriba commented on 2018-11-16 13:18 (UTC)

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 (UTC)

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

steinbuch commented on 2018-11-16 13:08 (UTC) (edited on 2018-11-16 13:14 (UTC) by steinbuch)

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

oriba commented on 2018-11-16 13:04 (UTC)

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 :-)