Package Details: ocaml-ppxlib 0.32.0-1

Git Clone URL: https://aur.archlinux.org/ocaml-ppxlib.git (read-only, click to copy)
Package Base: ocaml-ppxlib
Description: Standard infrastructure for ppx rewriters
Upstream URL: https://github.com/ocaml-ppx/ppxlib
Keywords: base compile compiler library ocaml ppx rewrite rewriter
Licenses: MIT
Submitter: J5lx
Maintainer: dpeukert
Last Packager: dpeukert
Votes: 2
Popularity: 0.000000
First Submitted: 2018-06-27 23:55 (UTC)
Last Updated: 2024-02-12 19:05 (UTC)

Pinned Comments

dpeukert commented on 2020-04-09 22:14 (UTC) (edited on 2020-09-26 18:12 (UTC) by dpeukert)

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

Latest Comments

1 2 Next › Last »

MarsSeed commented on 2022-06-14 16:59 (UTC)

Build was successful, but then the packaging phase failed for me. What could be the issue? (Similar problem just happened with another Ocaml-based AUR package.)

==> Starting package()...
dune install: option `--libdir': the path must be absolute to avoid ambiguity
Usage: dune install [OPTION]... [PACKAGE]...
Try `dune install --help' or `dune --help' for more information.
==> ERROR: A failure occurred in package().
    Aborting...
error: failed to build 'ocaml-ppxlib-0.26.0-1'

presidentwolf commented on 2022-03-11 19:20 (UTC) (edited on 2022-03-13 18:35 (UTC) by presidentwolf)

Edit - Disregard. My PATH var got prepended by opam causing this issue. Removing its entry resolved it.

Failing to build. Tried reinstalling stdlib-shims and sexplib0. No improvement.

Running[233]: (cd _build/default && /usr/bin/ocamldep.opt -modules -impl ast/versions.pp.ml) > _build/default/ast/.ppxlib_ast.objs/versions.pp.ml.d
File "ast/dune", line 8, characters 19-31:
8 |  (libraries astlib stdlib-shims)
                       ^^^^^^^^^^^^
Error: Library "stdlib-shims" not found.
Hint: try:
  dune external-lib-deps --missing --no-config --root . --ignore-promoted-rules --default-target @install --always-show-command-line --promote-install-files --release --profile release --verbose @install
File "astlib/dune", line 4, characters 12-38:
4 |  (libraries ocaml-compiler-libs.common compiler-libs.common)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Library "ocaml-compiler-libs.common" not found.
Hint: try:
  dune external-lib-deps --missing --no-config --root . --ignore-promoted-rules --default-target @install --always-show-command-line --promote-install-files --release --profile release --verbose @install
File "metaquot_lifters/dune", line 6, characters 51-63:
6 |  (libraries ppxlib ppxlib_traverse_builtins stdppx stdlib-shims))
                                                       ^^^^^^^^^^^^
Error: Library "stdlib-shims" not found.
Hint: try:
  dune external-lib-deps --missing --no-config --root . --ignore-promoted-rules --default-target @install --always-show-command-line --promote-install-files --release --profile release --verbose @install
File "src/dune", line 13, characters 2-10:
13 |   sexplib0)
       ^^^^^^^^
Error: Library "sexplib0" not found.
Hint: try:
  dune external-lib-deps --missing --no-config --root . --ignore-promoted-rules --default-target @install --always-show-command-line --promote-install-files --release --profile release --verbose @install
File "src/gen/dune", line 5, characters 62-74:
5 |  (libraries ppxlib_ast astlib ppxlib_traverse_builtins stdppx stdlib-shims))
                                                                  ^^^^^^^^^^^^
Error: Library "stdlib-shims" not found.
Hint: try:
  dune external-lib-deps --missing --no-config --root . --ignore-promoted-rules --default-target @install --always-show-command-line --promote-install-files --release --profile release --verbose @install
File "stdppx/dune", line 4, characters 21-33:
4 |  (libraries sexplib0 stdlib-shims)
                         ^^^^^^^^^^^^
Error: Library "stdlib-shims" not found.
Hint: try:
  dune external-lib-deps --missing --no-config --root . --ignore-promoted-rules --default-target @install --always-show-command-line --promote-install-files --release --profile release --verbose @install
==> ERROR: A failure occurred in build().
    Aborting...

simona commented on 2021-02-18 22:27 (UTC)

thx :-)

dpeukert commented on 2021-02-18 22:18 (UTC)

@simona Fixed, sorry about the delay.

dpeukert commented on 2021-02-06 16:12 (UTC)

@simona Sorry about that, I forgot to update the patch. Will try to fix it this evening.

simona commented on 2021-02-06 16:05 (UTC)

patching file ast/ast_helper_lite.ml
Hunk #1 FAILED at 20.
1 out of 1 hunk FAILED -- saving rejects to file ast/ast_helper_lite.ml.rej
patching file ast/ast_helper_lite.mli
Hunk #1 FAILED at 16.
1 out of 1 hunk FAILED -- saving rejects to file ast/ast_helper_lite.mli.rej
patching file ast/dune
Hunk #1 FAILED at 9.
1 out of 1 hunk FAILED -- saving rejects to file ast/dune.rej
patching file ast/versions.ml
Hunk #3 succeeded at 506 (offset 17 lines).
patching file ast/versions.mli
==> ERRORE: Si è verificato un errore in prepare().

dpeukert commented on 2020-06-01 14:48 (UTC)

@TheGoliath No worries, glad it's working now.

dpeukert commented on 2020-06-01 14:32 (UTC)

@TheGoliath As the error message says, your ocaml-migrate-parsetree was compiled with an older version of ocaml. Try rebuilding that package and then try rebuilding this one again.