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: None
Last Packager: dpeukert
Votes: 2
Popularity: 0.000000
First Submitted: 2021-02-18 23:15 (UTC)
Last Updated: 2023-05-30 12:00 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

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

dpeukert commented on 2022-02-08 18:45 (UTC)

@sgt-hartman: Should now be fixed, sorry about the delay.

sgt-hartman commented on 2022-02-04 12:30 (UTC)

@dpeukert Thank you for your feedback. Don't know much how packaging works but maybe it is possible to use a git tag or commit instead of downloading release package to workaround this ?

dpeukert commented on 2022-02-04 02:19 (UTC)

@sgt-hartman: Looks like upstream updated the existing release instead of just doing a new one (not a fan of that). Will update soon, in the meantime, building with --skipchecksums should let you build & install the package.

sgt-hartman commented on 2022-02-03 20:09 (UTC)

sha512sums validity check fails:

[ben@dellxps13 ~]$ yay -S ocaml-luv
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1]  ocaml-luv-0.5.11-1

  1 ocaml-luv                                (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> A
:: Deleting (1/1): /home/ben/.cache/yay/ocaml-luv
:: (1/1) Downloaded PKGBUILD: ocaml-luv
  1 ocaml-luv                                (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> N
:: (1/1) Parsing SRCINFO: ocaml-luv
==> Making package: ocaml-luv 0.5.11-1 (Thu 03 Feb 2022 09:03:31 PM CET)
==> Retrieving sources...
  -> Downloading ocaml-luv-0.5.11-1.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   119  100   119    0     0    839      0 --:--:-- --:--:-- --:--:--   843
100  406k    0  406k    0     0   565k      0 --:--:-- --:--:-- --:--:--  565k
==> Validating source files with sha512sums...
    ocaml-luv-0.5.11-1.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!
 -> error downloading sources: ocaml-luv 
         context: exit status 1 


==> Making package: ocaml-luv 0.5.11-1 (Thu 03 Feb 2022 09:03:34 PM CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found ocaml-luv-0.5.11-1.tar.gz
==> Validating source files with sha512sums...
    ocaml-luv-0.5.11-1.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!
 -> error making: ocaml-luv

romainhk commented on 2021-03-27 11:55 (UTC) (edited on 2021-03-27 11:55 (UTC) by romainhk)

wow, that was quick :) it works perfectly now. Thanks !

dpeukert commented on 2021-03-27 10:59 (UTC)

@romainhk: Should be fixed now, thanks for the heads-up.

romainhk commented on 2021-03-27 06:04 (UTC)

I got a checksum error on ocaml-luv-0.5.7-1-no-vendored-libuv-headers.diff so this package cannot be installed Can you update the associated checksum with "32956ba4b3a66f807e260b6d6f9e19782c6c6e9127de6e13484eb3cee4b0abd6" ? (if its the right one :)