This package currently doesn't build with ocaml>=5.3.0, due to the new deep effect handler syntax. Until this is is fixed (or I until I'm able to come up with a patch), you can either downgrade to ocaml 5.2.1 or use flow-bin.
Search Criteria
Package Details: flow 0.259.1-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/flow.git (read-only, click to copy) |
---|---|
Package Base: | flow |
Description: | A static type checker for JavaScript |
Upstream URL: | https://flow.org |
Keywords: | checker facebook flow flowtype javascript static type |
Licenses: | MIT |
Submitter: | Gordin |
Maintainer: | dpeukert |
Last Packager: | dpeukert |
Votes: | 14 |
Popularity: | 0.000000 |
First Submitted: | 2014-11-19 15:18 (UTC) |
Last Updated: | 2025-01-22 08:01 (UTC) |
Dependencies (17)
- libev
- camlp-streams (make)
- dune (make)
- ocaml (make)
- ocaml-base (ocaml-base-gitAUR) (make)
- ocaml-dtoaAUR (make)
- ocaml-fileutilsAUR (make)
- ocaml-inotifyAUR (make)
- ocaml-lwtAUR (make)
- ocaml-lwt_logAUR (make)
- ocaml-ppxlibAUR (make)
- ocaml-ppx_derivingAUR (ocaml-ppx_deriving-gitAUR) (make)
- ocaml-ppx_expectAUR (make)
- ocaml-ppx_gen_recAUR (make)
- ocaml-ppx_letAUR (make)
- ocaml-visitorsAUR (make)
- ocaml-wtf8AUR (make)
Required by (0)
Sources (1)
dpeukert commented on 2025-01-26 11:00 (UTC)
dpeukert commented on 2022-06-24 07:31 (UTC) (edited on 2022-08-10 20:52 (UTC) by dpeukert)
Not updating to 0.181.0 for now, as that requires ocaml 4.14.0.
Edit: ocaml was updated to 4.14.0, so I've updated flow as well.
dpeukert commented on 2021-07-31 18:09 (UTC)
Fixed.
dpeukert commented on 2021-07-31 14:23 (UTC) (edited on 2021-07-31 17:20 (UTC) by dpeukert)
Huh, getting some errors while building. Looking into it, you can use flow-bin for now.
File "src/stubs/flowEventLogger.ml", line 116, characters 41-42:
116 | let ephemeral_command_success ?json_data:_ ~client_context:_ ~profiling:_ = ()
^
Error (warning 16 [unerasable-optional-argument]): this optional argument cannot be erased.
File "src/stubs/flowEventLogger.ml", line 118, characters 41-42:
118 | let ephemeral_command_failure ?json_data:_ ~client_context:_ = ()
^
Error (warning 16 [unerasable-optional-argument]): this optional argument cannot be erased.
dpeukert commented on 2021-07-31 13:42 (UTC)
@JKAbrams: That looks like it could be caused one of the packages mentioned (ocaml-sexplib and ocaml-parsexp) being built with an older version of ocaml. I've bumped all my ocaml packages because of the ocaml 4.12.0 update being released anyway, so that should hopefully fix it. If that doesn't work, you can try uninstalling and reinstalling all your ocaml packages. Or you can use the flow-bin package.
JKAbrams commented on 2021-07-20 20:35 (UTC) (edited on 2021-07-20 20:36 (UTC) by JKAbrams)
Getting a build error since the latest version update (Version: 0.155.1-1):
File "_none_", line 1:
Error: Files /usr/lib/ocaml/sexplib/sexplib.cmxa
and /usr/lib/ocaml/parsexp/parsexp.cmxa
make inconsistent assumptions over implementation Parsexp
Command exited with code 2.
Compilation unsuccessful after building 1685 targets (0 cached) in 00:08:05.
make: *** [Makefile:362: build-flow] Error 10
dpeukert commented on 2020-07-06 17:29 (UTC) (edited on 2020-09-26 17:55 (UTC) by dpeukert)
The PKGBUILD for this package is hosted here (contributions are welcome!): https://gitlab.com/dpeukert/pkgbuilds/tree/main/flow
dpeukert commented on 2020-06-21 13:22 (UTC)
@TheGoliath I haven't had much time to work on this recently, but IIRC the last remaining dependency I was having problems with was ocaml-sedlex, so when I get that fixed, it should hopefully work.
Pinned Comments
dpeukert commented on 2025-01-26 11:00 (UTC)
This package currently doesn't build with ocaml>=5.3.0, due to the new deep effect handler syntax. Until this is is fixed (or I until I'm able to come up with a patch), you can either downgrade to ocaml 5.2.1 or use flow-bin.
dpeukert commented on 2020-07-06 17:29 (UTC) (edited on 2020-09-26 17:55 (UTC) by dpeukert)
The PKGBUILD for this package is hosted here (contributions are welcome!): https://gitlab.com/dpeukert/pkgbuilds/tree/main/flow