Package Details: ocaml-uunf 15.1.0-1

Git Clone URL: https://aur.archlinux.org/ocaml-uunf.git (read-only, click to copy)
Package Base: ocaml-uunf
Description: Unicode text normalization for OCaml
Upstream URL: https://erratique.ch/software/uunf
Keywords: character library normalization normalize ocaml text unicode
Licenses: ISC
Submitter: dpeukert
Maintainer: dpeukert
Last Packager: dpeukert
Votes: 0
Popularity: 0.000000
First Submitted: 2022-07-16 18:45 (UTC)
Last Updated: 2024-01-27 23:15 (UTC)

Pinned Comments

dpeukert commented on 2022-07-16 18:46 (UTC)

The PKGBUILD for this package is hosted here (contributions are welcome!): https://gitlab.com/dpeukert/pkgbuilds/tree/main/ocaml-uunf

Latest Comments

eclairevoyant commented on 2022-12-11 11:46 (UTC)

Looks good, thanks for looking into this!

dpeukert commented on 2022-12-11 11:07 (UTC)

@eclairevoyant: Thanks for the heads-up, all affected packages (ocaml-logs, ocaml-uucd, ocaml-uucp, ocaml-uunf, ocaml-uuseg) should be fixed now.

eclairevoyant commented on 2022-12-03 14:02 (UTC) (edited on 2022-12-03 14:05 (UTC) by eclairevoyant)

Actually on further review I think it makes more sense to add 'ocaml-xmlm' as a regular dependency under ocaml-uucd, since uucd seems to require xmlm according to its source files:

$ rg xmlm -uuu
uucd-15.0.0/B0.ml
7:let xmlm = B0_ocaml.libname "xmlm"
13:  let requires = [xmlm] in
45:        "xmlm", {||};

uucd-15.0.0/README.md
10:Uucd is made of a single module, depends on [Xmlm][xmlm] and is distributed
15:[xmlm]: http://erratique.ch/software/xmlm

uucd-15.0.0/opam
16:          "xmlm"]
24:Uucd is made of a single module, depends on [Xmlm][xmlm] and is distributed
29:[xmlm]: http://erratique.ch/software/xmlm

uucd-15.0.0/.ocamlinit
3:#require "xmlm"

uucd-15.0.0/_tags
4:<src/uucd.{mli,ml}> : package(xmlm)
5:<test/test.{byte,native}> : package(xmlm)

uucd-15.0.0/pkg/META
3:requires = "xmlm"

eclairevoyant commented on 2022-12-03 13:52 (UTC)

It seems this package also requires 'ocaml-xmlm' in makedepends:

==> Starting prepare()...
build_support.ml: Downloading http://www.unicode.org/Public/15.0.0/ucdxml/ucd.all.grouped.zip
#################################################################################################################################### 100.0%
ocamlfind ocamldep -package uucd -modules support/gen_props.ml > support/gen_props.ml.depends
+ ocamlfind ocamldep -package uucd -modules support/gen_props.ml > support/gen_props.ml.depends
ocamlfind: Package `xmlm' not found - required by `uucd'
Command exited with code 2.
build_support.ml: [ERROR] cmd ['ocamlbuild' '-classic-display' '-no-links' '-use-ocamlfind'
     'gen_props.native']: exited with 10
==> ERROR: A failure occurred in prepare().
    Aborting...

Adding that dep allows completing the build in a clean chroot. The same error also appears when building ocaml-uucp but I figured I'd refrain from repeating in multiple places since you maintain both packages.

dpeukert commented on 2022-07-16 18:46 (UTC)

The PKGBUILD for this package is hosted here (contributions are welcome!): https://gitlab.com/dpeukert/pkgbuilds/tree/main/ocaml-uunf