Package Details: ocaml-ppx_here 1:0.17.0-1

Git Clone URL: https://aur.archlinux.org/ocaml-ppx_here.git (read-only, click to copy)
Package Base: ocaml-ppx_here
Description: Expands [%here] into its location
Upstream URL: https://github.com/janestreet/ppx_here
Keywords: library line number ocaml position replace rewrite rewriter source value
Licenses: MIT
Submitter: J5lx
Maintainer: dpeukert
Last Packager: dpeukert
Votes: 1
Popularity: 0.000000
First Submitted: 2016-02-06 02:10 (UTC)
Last Updated: 2024-05-28 20:36 (UTC)

Pinned Comments

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

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

Latest Comments

dpeukert commented on 2024-05-21 09:18 (UTC)

@frankenstein20: This is caused by a gcc update. Until the rebuild in the main repos is complete (see here for progress), you can rebuild and install ocaml-base manually.

frankenstein20 commented on 2024-05-17 17:41 (UTC)

Do you know how to fix this

$ (cd _build/default && /usr/bin/ocamlopt.opt -g -w -24 -o .ppx/ff408171a8b46151d93f2f1b1c8a9f6e/ppx.exe /usr/lib/ocaml/compiler-libs/ocamlcommon.cmxa /usr/lib/ocaml/ocaml-compiler-libs/common/ocaml_common.cmxa /usr/lib/ocaml/ppxlib/astlib/astlib.cmxa /usr/lib/ocaml/stdlib-shims/stdlib_shims.cmxa /usr/lib/ocaml/ppxlib/ast/ppxlib_ast.cmxa /usr/lib/ocaml/ocaml-compiler-libs/shadow/ocaml_shadow.cmxa /usr/lib/ocaml/ppxlib/print_diff/ppxlib_print_diff.cmxa /usr/lib/ocaml/ppx_derivers/ppx_derivers.cmxa /usr/lib/ocaml/ppxlib/traverse_builtins/ppxlib_traverse_builtins.cmxa /usr/lib/ocaml/sexplib0/sexplib0.cmxa /usr/lib/ocaml/ppxlib/stdppx/stdppx.cmxa /usr/lib/ocaml/ppxlib/ppxlib.cmxa /usr/lib/ocaml/base/base_internalhash_types/base_internalhash_types.cmxa -I /usr/lib/ocaml/base/base_internalhash_types /usr/lib/ocaml/base/caml/caml.cmxa /usr/lib/ocaml/base/shadow_stdlib/shadow_stdlib.cmxa /usr/lib/ocaml/base/base.cmxa -I /usr/lib/ocaml/base expander/ppx_here_expander.cmxa src/ppx_here.cmxa .ppx/ff408171a8b46151d93f2f1b1c8a9f6e/dune__exe___ppx.cmx)
lto1: fatal error: bytecode stream in file ‘/usr/lib/ocaml/base/libbase_stubs.a’ generated with LTO version 13.1 instead of the expected 14.0
compilation terminated.
lto-wrapper: fatal error: gcc returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
File "caml_startup", line 1:
Error: Error during linking (exit code 1)
-> required by _build/default/.ppx/ff408171a8b46151d93f2f1b1c8a9f6e/ppx.exe
-> required by _build/install/default/lib/ppx_here/ppx.exe
-> required by _build/default/ppx_here.install
-> required by alias install
==> ERROR: A failure occurred in build().
    Aborting...

Command 'sudo --user=#1000 -- makepkg --force' failed to execute.

Thank you

dpeukert commented on 2023-10-10 10:55 (UTC)

@dreieck: Hi, yes, that's the minimum version of ocaml-base required by upstream and sadly the version of ocaml-base in the repos has been out-of-date for quite some time. Just updating to the new version in the ocaml-base PKGBUILD from the repos works.

dreieck commented on 2023-10-10 10:41 (UTC)

Does it really need ocaml-base>=0.16.0? ocaml-base in the Arch repository is currently at version 0.15.1.

Regards!

dpeukert commented on 2022-08-11 08:54 (UTC)

After the 4.14.0 rebuild, this package now builds again.

dpeukert commented on 2022-07-16 21:22 (UTC)

@VannTen: Sorry about the delay, this seems to be caused by ocaml-base in the main repos not being rebuilt. I've filed a bug (https://bugs.archlinux.org/task/75349), but in the meantime, you can rebuild ocaml-base manually and this package should build afterwards.

VannTen commented on 2022-06-28 15:28 (UTC)

the build seem to be broken (in a clean chroot anyway)

Not sure if it's an upstream issue ?

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

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