The CI build installed "ocaml-dune amd64 3.16.0-2+b1" according to the log at 
https://ci.debian.net/packages/o/ocaml-luv/testing/amd64/55951141/

However, from `getbuildlog ocaml-luv 0.5.14-1 amd64`, I can see that ocaml-luv 
was built with "ocaml-dune amd64 3.17.1-1".

I wonder why the CI didn't use the latest dune package?

My local sbuild used the latest dune package, but still failed because of 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1073595

Best,
Andy


On Thursday, 9 January 2025 at 07:16, Gianfranco Costamagna 
<locutusofb...@debian.org> wrote:

> 
> 
> Source: ocaml-luv
> Version: 0.5.14-1
> Severity: serious
> 
> Hello, looks like something is still broken with ocaml-luv
> ∙ ∙ autopkgtest for ocaml-luv/0.5.14-1: amd64: Regression or new test ♻, 
> arm64: Regression or new test ♻, armel: Regression or new test ♻, armhf: 
> Regression or new test ♻, i386: Regression or new test ♻, ppc64el: Regression 
> or new test ♻, riscv64: Regression or new test ♻, s390x: Regression or new 
> test ♻
> 
> https://ci.debian.net/packages/o/ocaml-luv/testing/amd64/55951141/
> 
> 80s autopkgtest [23:32:37]: test helloworld: [-----------------------
> 80s File "/usr/lib/x86_64-linux-gnu/ocaml/5.2.0/luv/dune-package", line 1, 
> characters 11-15:
> 80s 1 | (lang dune 3.17)
> 80s ^^^^
> 80s Error: Version 3.17 of the dune language is not supported.
> 80s Supported versions of this extension in version 3.17 of the dune language:
> 80s - 1.0 to 1.12
> 80s - 2.0 to 2.9
> 80s - 3.0 to 3.16
> 80s -> required by _build/default/hello_world.exe
> 
> 80s -> required by alias all
> 
> 80s -> required by alias default
> 
> 81s autopkgtest [23:32:38]: test helloworld: -----------------------]
> 81s helloworld FAIL non-zero exit status 1
> 
> Also pinning dune from sid results in a different failure (check Ubuntu ci)
> https://autopkgtest.ubuntu.com/results/autopkgtest-plucky/plucky/amd64/o/ocaml-luv/20250108_223552_90758@/log.gz
> 
> 84s Setting up libluv-unix-ocaml-dev (0.5.14-1build1) ...
> 84s Processing triggers for man-db (2.13.0-1) ...
> 85s Processing triggers for libc-bin (2.40-4ubuntu1) ...
> 87s autopkgtest [22:35:21]: test helloworld: [-----------------------
> 87s File "dune", line 2, characters 7-18:
> 87s 2 | (name hello_world)
> 87s ^^^^^^^^^^^
> 87s /usr/bin/ld: 
> /usr/lib/x86_64-linux-gnu/ocaml/5.2.0/luv/c/libluv_c_stubs.a(c_generated_functions.o):
>  in function `luv_stub_266_uv_wtf8_length_as_utf16': 87s (.text+0x2e51): 
> undefined reference to` uv_wtf8_length_as_utf16'
> 87s /usr/bin/ld: 
> /usr/lib/x86_64-linux-gnu/ocaml/5.2.0/luv/c/libluv_c_stubs.a(c_generated_functions.o):
>  in function `luv_stub_267_uv_wtf8_to_utf16': 87s (.text+0x2e7d): undefined 
> reference to` uv_wtf8_to_utf16'
> 87s /usr/bin/ld: 
> /usr/lib/x86_64-linux-gnu/ocaml/5.2.0/luv/c/libluv_c_stubs.a(helpers.o): in 
> function `luv_utf16_length_as_wtf8': 87s (.text+0xea5): undefined reference 
> to` uv_utf16_length_as_wtf8'
> 87s /usr/bin/ld: 
> /usr/lib/x86_64-linux-gnu/ocaml/5.2.0/luv/c/libluv_c_stubs.a(helpers.o): in 
> function `luv_utf16_to_wtf8': 87s (.text+0xeb5): undefined reference to` 
> uv_utf16_to_wtf8'
> 87s collect2: error: ld returned 1 exit status
> 87s File "caml_startup", line 1:
> 87s Error: Error during linking (exit code 1)
> 88s autopkgtest [22:35:22]: test helloworld: -----------------------]
> 88s autopkgtest [22:35:22]: test helloworld: - - - - - - - - - - results - - 
> - - - - - - - -
> 88s helloworld FAIL non-zero exit status 1
> 88s autopkgtest [22:35:22]: test helloworld: - - - - - - - - - - stderr - - - 
> - - - - - - -
> 88s File "dune", line 2, characters 7-18:
> 88s 2 | (name hello_world)
> 88s ^^^^^^^^^^^
> 88s /usr/bin/ld: 
> /usr/lib/x86_64-linux-gnu/ocaml/5.2.0/luv/c/libluv_c_stubs.a(c_generated_functions.o):
>  in function `luv_stub_266_uv_wtf8_length_as_utf16': 88s (.text+0x2e51): 
> undefined reference to` uv_wtf8_length_as_utf16'
> 88s /usr/bin/ld: 
> /usr/lib/x86_64-linux-gnu/ocaml/5.2.0/luv/c/libluv_c_stubs.a(c_generated_functions.o):
>  in function `luv_stub_267_uv_wtf8_to_utf16': 88s (.text+0x2e7d): undefined 
> reference to` uv_wtf8_to_utf16'
> 88s /usr/bin/ld: 
> /usr/lib/x86_64-linux-gnu/ocaml/5.2.0/luv/c/libluv_c_stubs.a(helpers.o): in 
> function `luv_utf16_length_as_wtf8': 88s (.text+0xea5): undefined reference 
> to` uv_utf16_length_as_wtf8'
> 88s /usr/bin/ld: 
> /usr/lib/x86_64-linux-gnu/ocaml/5.2.0/luv/c/libluv_c_stubs.a(helpers.o): in 
> function `luv_utf16_to_wtf8': 88s (.text+0xeb5): undefined reference to` 
> uv_utf16_to_wtf8'
> 88s collect2: error: ld returned 1 exit status
> 88s File "caml_startup", line 1:
> 88s Error: Error during linking (exit code 1)
> 89s autopkgtest [22:35:23]: @@@@@@@@@@@@@@@@@@@@ summary
> 89s helloworld FAIL non-zero exit status 1
> 118s nova [W] Skipping flock for amd64
> 118s Creating nova instance 
> adt-plucky-amd64-ocaml-luv-20250108-223354-juju-7f2275-prod-proposed-migration-environment-15-79b3bd96-dd80-4e0e-b986-208f975f3863
>  from image adt/ubuntu-plucky-amd64-server-20250108.img (UUID 
> 99ddef43-3911-4ae7-933a-ef999fcbb876)...
> 118s nova [W] Timed out waiting for ba8884d4-58b3-4066-b92c-c6adc20e3117 to 
> get deleted.
> 
> And this looks really like the bug that this new version is trying to solve, 
> isn't it?
> 
> G.

Reply via email to