@yatsuekku, @meadow: Sorry about the delay on this, I wasn't able to reproduce this, but from looking at the output, it looks like it could be caused by ocaml-ppxlib and/or ocaml-ppx_here being build with an older version of ocaml, causing the interfaces to not match with the newly build ocaml-lwt package. Try if rebuilding these helps (there might also other packages affected by this up the dependency tree, it might be easier to just uninstall all ocaml packages and start from a clean slate in that case).
Search Criteria
Package Details: ocaml-lwt 5.9.1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/ocaml-lwt.git (read-only, click to copy) |
---|---|
Package Base: | ocaml-lwt |
Description: | A library for cooperative threads in OCaml |
Upstream URL: | https://github.com/ocsigen/lwt |
Keywords: | concurrent coop cooperative event io library ocaml promise promises threads |
Licenses: | MIT |
Submitter: | SerP |
Maintainer: | dpeukert |
Last Packager: | dpeukert |
Votes: | 16 |
Popularity: | 0.000000 |
First Submitted: | 2010-07-22 14:30 (UTC) |
Last Updated: | 2025-03-18 10:52 (UTC) |
Dependencies (10)
- dune
- libev
- ocaml
- ocaml-findlib
- ocaml-ocplib-endianAUR
- ocaml-ppxlibAUR
- ocaml-reactAUR
- zstd (zstd-gitAUR, zstd-staticAUR)
- cppoAUR (make)
- ocaml-ppx_letAUR (check)
Required by (19)
- flow (make)
- flow-git (make)
- ocaml-alcotest
- ocaml-csv (make)
- ocaml-curl (make)
- ocaml-inotify
- ocaml-js_of_ocaml
- ocaml-lambda-term
- ocaml-logs_lwt
- ocaml-lwt-dllist (check)
- ocaml-lwt_domain
- ocaml-lwt_log
- ocaml-markup
- ocaml-mdx (check)
- ocaml-ounit
- ocaml-uring (check)
- ocaml-utop
- ocaml-zmq-lwt
- zeroinstall-injector
Sources (1)
dpeukert commented on 2025-05-06 20:51 (UTC)
meadow commented on 2025-04-07 11:05 (UTC)
@dpeukert, @yatsuekku I'm experiencing exactly the same issue.
yatsuekku commented on 2025-04-05 10:53 (UTC) (edited on 2025-04-05 10:53 (UTC) by yatsuekku)
@dpeukert For me the output of dune test
command is
File "_none_", line 1:
Error: Files /usr/lib/ocaml/ppx_here/expander/ppx_here_expander.cmxa
and /usr/lib/ocaml/ppxlib/stdppx/stdppx.cmxa
make inconsistent assumptions over interface Stdppx
File "test/core/test_lwt_mvar.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
File "test/core/test_lwt_condition.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
File "test/core/test_lwt_mutex.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
File "test/core/test_lwt_switch.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
File "test/core/test_lwt_pool.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
File "test/core/test_lwt_result.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
File "test/core/test_lwt_sequence.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
File "test/core/test_lwt_seq.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
File "test/core/test_lwt_stream.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
File "test/core/test_lwt_list.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
File "test/core/test_lwt.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
File "test/core/main.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
Testing library 'retry'...
..............
Ok. 14 tests ran, 0 tests skipped in 0.01 seconds
File "test/ppx/main.ml", line 9, characters 0-46:
9 | let%lwt structure_let_result = Lwt.return_true
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 22 [preprocessor]: let%lwt should not be used at the module item level.
Replace let%lwt x = e by let x = Lwt_main.run (e)
File "test/ppx/main.ml", line 9, characters 0-46:
9 | let%lwt structure_let_result = Lwt.return_true
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 22 [preprocessor]: let%lwt should not be used at the module item level.
Replace let%lwt x = e by let x = Lwt_main.run (e)
Testing library 'core'...
...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................SSSSSSSSSSSSSSSSSSSSSSS..................................................................................................................................................
Ok. 705 tests ran, 23 tests skipped in 0.09 seconds
Testing library 'ppx'...
................
Ok. 16 tests ran, 0 tests skipped in 1.20 seconds
Testing library 'react'...
...........
Ok. 11 tests ran, 0 tests skipped in 4.50 seconds
Testing library 'unix'...
.....................................SSS......................................................................................................................................................................................................
Ok. 235 tests ran, 3 tests skipped in 6.27 seconds
it gives status 1 and check()
fails. These files mentioned in error does not belong to any package therefore I'm not sure why they are here. This happens on update though, I managed to install this package before.
dpeukert commented on 2025-04-01 20:51 (UTC)
@meadow: Hi, I wasn't able to reproduce this this, can you post the entire build log?
meadow commented on 2025-04-01 10:05 (UTC)
Hello, check()
is failing on a (reasonably) clean system :)
hurufu commented on 2023-05-30 20:43 (UTC)
@dpeukert Confirmed, everything is Ok. Thanks a lot.
dpeukert commented on 2023-05-30 12:37 (UTC)
@hurufu: Everything should be working now.
dpeukert commented on 2023-05-30 08:28 (UTC)
@hurufu: My bad, the lwt_domain subpackage was moved into its own package, but I didn't notice that the change hasn't been released yet, will fix ASAP.
hurufu commented on 2023-05-30 08:17 (UTC)
It looks like it needs domainslib
now which is unavailable in aur.
haawda commented on 2021-02-25 16:23 (UTC) (edited on 2021-02-25 16:23 (UTC) by haawda)
In version 5.4 thich package needs ocaml-ppxlib now.
Pinned Comments
dpeukert commented on 2020-04-09 22:09 (UTC) (edited on 2020-09-26 18:11 (UTC) by dpeukert)
The PKGBUILD for this package is hosted here (contributions are welcome!): https://gitlab.com/dpeukert/pkgbuilds/tree/main/ocaml-lwt