Package Details: ocaml-luv 0.5.12-3

Git Clone URL: https://aur.archlinux.org/ocaml-luv.git (read-only, click to copy)
Package Base: ocaml-luv
Description: Cross-platform asynchronous I/O and system calls
Upstream URL: https://github.com/aantron/luv
Keywords: async binding c io library libuv ocaml syscalls uv
Licenses: MIT
Submitter: dpeukert
Maintainer: dpeukert
Last Packager: dpeukert
Votes: 2
Popularity: 0.000001
First Submitted: 2021-02-18 23:15 (UTC)
Last Updated: 2023-05-30 12:00 (UTC)

Pinned Comments

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

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

Latest Comments

1 2 Next › Last »

dpeukert commented on 2023-04-19 11:47 (UTC)

@Score_Under: Should be fixed now.

dpeukert commented on 2023-04-19 11:41 (UTC)

@Score_Under: It looks like the tag was re-released based on a different commit, looking into it.

Score_Under commented on 2023-04-18 05:38 (UTC)

I'm seeing a different checksum on the source tar.gz, fetched from 2 different locations. Has it been edited?

dpeukert commented on 2022-10-16 14:23 (UTC)

@pricechrispy: Thanks for the heads-up, fixed.

pricechrispy commented on 2022-10-16 07:20 (UTC)

@dpeukert Package additionally requires dependency: ocaml-stdlib-shims

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

After the 4.14.0 rebuild, this package now builds again.

Score_Under commented on 2022-06-16 12:32 (UTC)

as a note for those wanting to install this without waiting for arch repos to update, you can install asp and use asp checkout ocaml-integerscd ocaml-integers/trunkmakepkg -is, ditto for ocaml-ctypes, and it should build after that.

dpeukert commented on 2022-06-14 18:06 (UTC)

@MarsSeed: This should build again when ocaml-types and ocaml-integers are updated in the main repos (https://aur.archlinux.org/packages/ocaml-luv#comment-792428).

MarsSeed commented on 2022-06-14 17:10 (UTC)

Build failed for me. Could you maybe check if you can suggest a solution?

Running[112]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -o src/c/generate_types_start.exe 
    /usr/lib/ocaml/bigarray-compat/bigarray_compat.cmxa -I /usr/lib/ocaml /usr/lib/ocaml/integers/integers.cmxa -I 
    /usr/lib/ocaml/integers /usr/lib/ocaml/ctypes/ctypes.cmxa -I /usr/lib/ocaml/ctypes /usr/lib/ocaml/str.cmxa -I 
    /usr/lib/ocaml /usr/lib/ocaml/ctypes/cstubs.cmxa -I /usr/lib/ocaml/ctypes src/c/luv_c_type_descriptions.cmxa 
    src/c/.generate_types_start.eobjs/native/dune__exe__Generate_types_start.cmx)

Command [112] exited with code 2:
$ (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -o src/c/generate_types_start.exe 
    /usr/lib/ocaml/bigarray-compat/bigarray_compat.cmxa -I /usr/lib/ocaml /usr/lib/ocaml/integers/integers.cmxa -I 
    /usr/lib/ocaml/integers /usr/lib/ocaml/ctypes/ctypes.cmxa -I /usr/lib/ocaml/ctypes /usr/lib/ocaml/str.cmxa -I 
    /usr/lib/ocaml /usr/lib/ocaml/ctypes/cstubs.cmxa -I /usr/lib/ocaml/ctypes src/c/luv_c_type_descriptions.cmxa 
    src/c/.generate_types_start.eobjs/native/dune__exe__Generate_types_start.cmx)

File "_none_", line 1:
Error: Files /usr/lib/ocaml/ctypes/ctypes.cmxa
    and /usr/lib/ocaml/integers/integers.cmxa
    make inconsistent assumptions over implementation Signed
Running[113]: (cd _build/default && /usr/bin/ocamlmklib.opt -g -o src/unix/luv_unix_stubs src/unix/luv_unix.o)
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'ocaml-luv-0.5.11-2'

For reference, here are all the configuration data reported at the very beginning of build():

==> Starting build()...
Shared cache: disabled
Workspace root: /home/user/.cache/yay/ocaml-luv/src/luv-0.5.11
Auto-detected concurrency: 4
Running[0]: /usr/bin/ocamlc.opt -config > /tmp/dune_618ca1_output
Dune context:
{ name = "default"
; kind = "default"
; profile = Release
; merlin = true
; for_host = None
; fdo_target_exe = None
; build_dir = "default"
; toplevel_path = None
; ocaml_bin = External "/usr/bin"
; ocaml = Ok External "/usr/bin/ocaml"
; ocamlc = External "/usr/bin/ocamlc.opt"
; ocamlopt = Ok External "/usr/bin/ocamlopt.opt"
; ocamldep = Ok External "/usr/bin/ocamldep.opt"
; ocamlmklib = Ok External "/usr/bin/ocamlmklib.opt"
; env =
    map
    { "CAML_LD_LIBRARY_PATH" :
        "/home/user/.cache/yay/ocaml-luv/src/luv-0.5.11/_build/install/default/lib/stublibs"
    ; "DUNE_OCAML_HARDCODED" : "/usr/lib/ocaml"
    ; "DUNE_OCAML_STDLIB" : "/usr/lib/ocaml"
    ; "DUNE_SOURCEROOT" :
        "/home/user/.cache/yay/ocaml-luv/src/luv-0.5.11"
    ; "INSIDE_DUNE" :
        "/home/user/.cache/yay/ocaml-luv/src/luv-0.5.11/_build/default"
    ; "MANPATH" :
        "/home/user/.cache/yay/ocaml-luv/src/luv-0.5.11/_build/install/default/bin"
    ; "OCAMLFIND_IGNORE_DUPS_IN" :
        "/home/user/.cache/yay/ocaml-luv/src/luv-0.5.11/_build/install/default/lib"
    ; "OCAMLPATH" :
        "/home/user/.cache/yay/ocaml-luv/src/luv-0.5.11/_build/install/default/lib"
    ; "OCAMLTOP_INCLUDE_PATH" :
        "/home/user/.cache/yay/ocaml-luv/src/luv-0.5.11/_build/install/default/lib/toplevel"
    }
; findlib_path = [ External "/usr/lib/ocaml" ]
; arch_sixtyfour = true
; natdynlink_supported = true
; supports_shared_libraries = true
; ocaml_config =
    { version = "4.13.1"
    ; standard_library_default = "/usr/lib/ocaml"
    ; standard_library = "/usr/lib/ocaml"
    ; standard_runtime = "the_standard_runtime_variable_was_deleted"
    ; ccomp_type = "cc"
    ; c_compiler = "gcc"
    ; ocamlc_cflags =
        [ "-O2"
        ; "-fno-strict-aliasing"
        ; "-fwrapv"
        ; "-pthread"
        ; "-fPIC"
        ; "-march=x86-64"
        ; "-mtune=generic"
        ; "-O2"
        ; "-pipe"
        ; "-fno-plt"
        ; "-fexceptions"
        ; "-Wp,-D_FORTIFY_SOURCE=2"
        ; "-Wformat"
        ; "-Werror=format-security"
        ; "-fstack-clash-protection"
        ; "-fcf-protection"
        ; "-flto"
        ; "-ffat-lto-objects"
        ]
    ; ocamlc_cppflags = [ "-D_FILE_OFFSET_BITS=64" ]
    ; ocamlopt_cflags =
        [ "-O2"
        ; "-fno-strict-aliasing"
        ; "-fwrapv"
        ; "-pthread"
        ; "-fPIC"
        ; "-march=x86-64"
        ; "-mtune=generic"
        ; "-O2"
        ; "-pipe"
        ; "-fno-plt"
        ; "-fexceptions"
        ; "-Wp,-D_FORTIFY_SOURCE=2"
        ; "-Wformat"
        ; "-Werror=format-security"
        ; "-fstack-clash-protection"
        ; "-fcf-protection"
        ; "-flto"
        ; "-ffat-lto-objects"
        ]
    ; ocamlopt_cppflags = [ "-D_FILE_OFFSET_BITS=64" ]
    ; bytecomp_c_compiler =
        [ "gcc"
        ; "-O2"
        ; "-fno-strict-aliasing"
        ; "-fwrapv"
        ; "-pthread"
        ; "-fPIC"
        ; "-march=x86-64"
        ; "-mtune=generic"
        ; "-O2"
        ; "-pipe"
        ; "-fno-plt"
        ; "-fexceptions"
        ; "-Wp,-D_FORTIFY_SOURCE=2"
        ; "-Wformat"
        ; "-Werror=format-security"
        ; "-fstack-clash-protection"
        ; "-fcf-protection"
        ; "-flto"
        ; "-ffat-lto-objects"
        ; "-D_FILE_OFFSET_BITS=64"
        ]
    ; bytecomp_c_libraries = [ "-lm"; "-lpthread" ]
    ; native_c_compiler =
        [ "gcc"
        ; "-O2"
        ; "-fno-strict-aliasing"
        ; "-fwrapv"
        ; "-pthread"
        ; "-fPIC"
        ; "-march=x86-64"
        ; "-mtune=generic"
        ; "-O2"
        ; "-pipe"
        ; "-fno-plt"
        ; "-fexceptions"
        ; "-Wp,-D_FORTIFY_SOURCE=2"
        ; "-Wformat"
        ; "-Werror=format-security"
        ; "-fstack-clash-protection"
        ; "-fcf-protection"
        ; "-flto"
        ; "-ffat-lto-objects"
        ; "-D_FILE_OFFSET_BITS=64"
        ]
    ; native_c_libraries = [ "-lm" ]
    ; native_pack_linker = [ "ld"; "-r"; "-o" ]
    ; cc_profile = []
    ; architecture = "amd64"
    ; model = "default"
    ; int_size = 63
    ; word_size = 64
    ; system = "linux"
    ; asm = [ "as" ]
    ; asm_cfi_supported = true
    ; with_frame_pointers = false
    ; ext_exe = ""
    ; ext_obj = ".o"
    ; ext_asm = ".s"
    ; ext_lib = ".a"
    ; ext_dll = ".so"
    ; os_type = "Unix"
    ; default_executable_name = "a.out"
    ; systhread_supported = true
    ; host = "x86_64-pc-linux-gnu"
    ; target = "x86_64-pc-linux-gnu"
    ; profiling = false
    ; flambda = false
    ; spacetime = false
    ; safe_string = false
    ; exec_magic_number = "Caml1999X030"
    ; cmi_magic_number = "Caml1999I030"
    ; cmo_magic_number = "Caml1999O030"
    ; cma_magic_number = "Caml1999A030"
    ; cmx_magic_number = "Caml1999Y030"
    ; cmxa_magic_number = "Caml1999Z030"
    ; ast_impl_magic_number = "Caml1999M030"
    ; ast_intf_magic_number = "Caml1999N030"
    ; cmxs_magic_number = "Caml1999D030"
    ; cmt_magic_number = "Caml1999T030"
    ; natdynlink_supported = true
    ; supports_shared_libraries = true
    ; windows_unicode = false
    }
}

dpeukert commented on 2022-06-08 08:44 (UTC) (edited on 2022-06-16 16:00 (UTC) by dpeukert)

@webdawg: AFAICT, this is caused by ocaml-ctypes and ocaml-integers in the main repo not being rebuilt/updated. I filed a bug: https://bugs.archlinux.org/task/75084