Package Details: ocaml-lwt 5.9.1-1

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)

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

Latest Comments

1 2 3 4 5 6 Next › Last »

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.

dpeukert commented on 2020-10-30 17:03 (UTC)

@Tio: I wasn't able to reproduce this, can you post the entire build log if possible? Thanks