Build:
- 0
2026-10-23 20:25.33: New job: build ocaml-expat.1.1.0 (b6f5c96a67b6)
2026-10-23 20:25.33: Waiting for resource in pool day11-builds
2026-10-23 20:28.45: Got resource from pool day11-builds
2026-10-23 20:28.45: [profile full] build ocaml-expat.1.1.0
2026-10-23 20:28.46: build ocaml-expat.1.1.0 (b6f5c96a67b6)
=== DEPENDENCIES (5 transitive) ===
compiler-cloning.enabled 1aa529c962c5
ocaml.5.5.2 3d66d99b0b38
ocaml-base-compiler.5.5.2 546a7f1026cd
ocaml-compiler.5.5.2 956e368db607
ocamlfind.1.9.9~preview 36cecca1627b
=== STDOUT ===
Processing: [default: loading data]
The following system packages will first need to be installed:
libexpat1-dev
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libexpat1-dev"
- E: Failed to fetch http://deb.debian.org/debian/pool/main/e/expat/libexpat1-dev_2.7.1-2_amd64.deb 404 Not Found [IP: 151.101.62.132 80]
- E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
[ERROR] System package install failed with exit code 100 at command:
sudo apt-get install -qq -yy libexpat1-dev
[ERROR] These packages are still missing: libexpat1-dev
[NOTE] You can retry with '--assume-depexts' to skip this check, or run 'opam option depext=false' to permanently disable handling of system packages.
opam-build: depexts install failed; running apt-get update and retrying
The following system packages will first need to be installed:
libexpat1-dev
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libexpat1-dev"
- (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20108 files and directories currently installed.)
- Preparing to unpack .../libexpat1_2.9.0-1~deb13u1_amd64.deb ...
- Unpacking libexpat1:amd64 (2.9.0-1~deb13u1) over (2.7.1-2) ...
- Selecting previously unselected package libexpat1-dev:amd64.
- Preparing to unpack .../libexpat1-dev_2.9.0-1~deb13u1_amd64.deb ...
- Unpacking libexpat1-dev:amd64 (2.9.0-1~deb13u1) ...
- Setting up libexpat1:amd64 (2.9.0-1~deb13u1) ...
- Setting up libexpat1-dev:amd64 (2.9.0-1~deb13u1) ...
- Processing triggers for libc-bin (2.41-12+deb13u3) ...
[ocaml-expat.1.1.0: dl]
[ocaml-expat.1.1.0: extract]
-> retrieved ocaml-expat.1.1.0 (https://opam.ocaml.org/cache)
[ocaml-expat: make all]
+ /usr/bin/make "all" (CWD=/home/opam/.opam/default/.opam-switch/build/ocaml-expat.1.1.0)
- gcc -I /home/opam/.opam/default/lib/ocaml -MM *.c > depend
- ocamlfind ocamldep -package bytes *.mli *.ml >> depend
- ocamlfind ocamlc -package bytes -c -ccopt "-pthread" expat_stubs.c
- expat_stubs.c: In function 'Val_option_string':
- expat_stubs.c:64:16: error: implicit declaration of function 'alloc'; did you mean 'valloc'? [-Wimplicit-function-declaration]
- 64 | some = alloc(1, 0);
- | ^~~~~
- | valloc
- expat_stubs.c:65:20: error: implicit declaration of function 'copy_string'; did you mean 'caml_copy_string'? [-Wimplicit-function-declaration]
- 65 | some_str = copy_string(str);
- | ^~~~~~~~~~~
- | caml_copy_string
- In file included from expat_stubs.c:23:
- expat_stubs.c: In function 'String_option_val':
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:366:24: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 366 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- expat_stubs.c:78:16: note: in expansion of macro 'String_val'
- 78 | return String_val(Field(string_option, 0));
- | ^~~~~~~~~~
- expat_stubs.c: In function 'xml_parser_finalize':
- expat_stubs.c:90:5: error: implicit declaration of function 'remove_global_root'; did you mean 'caml_remove_global_root'? [-Wimplicit-function-declaration]
- 90 | remove_global_root(handlers);
- | ^~~~~~~~~~~~~~~~~~
- | caml_remove_global_root
- expat_stubs.c: In function 'create_ocaml_expat_parser':
- expat_stubs.c:135:14: error: implicit declaration of function 'alloc_custom'; did you mean 'caml_alloc_custom'? [-Wimplicit-function-declaration]
- 135 | parser = alloc_custom(&xml_parser_ops, sizeof(XML_Parser), 1, 5000);
- | ^~~~~~~~~~~~
- | caml_alloc_custom
- expat_stubs.c:144:5: error: implicit declaration of function 'register_global_root'; did you mean 'caml_register_global_root'? [-Wimplicit-function-declaration]
- 144 | register_global_root(handlers);
- | ^~~~~~~~~~~~~~~~~~~~
- | caml_register_global_root
- expat_stubs.c:149:17: error: implicit declaration of function 'alloc_tuple'; did you mean 'caml_alloc_tuple'? [-Wimplicit-function-declaration]
- 149 | *handlers = alloc_tuple(NUM_HANDLERS);
- | ^~~~~~~~~~~
- | caml_alloc_tuple
- expat_stubs.c: In function 'expat_XML_GetCurrentByteIndex':
- expat_stubs.c:269:5: warning: 'XML_GetCurrentByteIndex' is deprecated: please use XML_GetCurrentByteIndex64 instead [-Wdeprecated-declarations]
- 269 | return Val_long(XML_GetCurrentByteIndex(XML_Parser_val(parser)));
- | ^~~~~~
- In file included from expat_stubs.c:15:
- /usr/include/expat.h:971:24: note: declared here
- 971 | XMLPARSEAPI(XML_Index) XML_GetCurrentByteIndex(XML_Parser parser);
- | ^~~~~~~~~~~~~~~~~~~~~~~
- expat_stubs.c: In function 'expat_XML_GetCurrentByteCount':
- expat_stubs.c:279:5: warning: 'XML_GetCurrentByteCount' is deprecated: please use XML_GetCurrentByteCount64 instead [-Wdeprecated-declarations]
- 279 | return Val_long(XML_GetCurrentByteCount(XML_Parser_val(parser)));
- | ^~~~~~
- /usr/include/expat.h:979:1: note: declared here
- 979 | XML_GetCurrentByteCount(XML_Parser parser);
- | ^~~~~~~~~~~~~~~~~~~~~~~
- expat_stubs.c: In function 'expat_XML_GetCurrentColumnNumber':
- expat_stubs.c:289:5: warning: 'XML_GetCurrentColumnNumber' is deprecated: please use XML_GetCurrentColumnNumber64 instead [-Wdeprecated-declarations]
- 289 | return Val_long(XML_GetCurrentColumnNumber(XML_Parser_val(parser)));
- | ^~~~~~
- /usr/include/expat.h:968:23: note: declared here
- 968 | XMLPARSEAPI(XML_Size) XML_GetCurrentColumnNumber(XML_Parser parser);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- expat_stubs.c: In function 'expat_XML_GetCurrentLineNumber':
- expat_stubs.c:299:5: warning: 'XML_GetCurrentLineNumber' is deprecated: please use XML_GetCurrentLineNumber64 instead [-Wdeprecated-declarations]
- 299 | return Val_long(XML_GetCurrentLineNumber(XML_Parser_val(parser)));
- | ^~~~~~
- /usr/include/expat.h:965:23: note: declared here
- 965 | XMLPARSEAPI(XML_Size) XML_GetCurrentLineNumber(XML_Parser parser);
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- In file included from expat_stubs.c:26:
- expat_stubs.c: In function 'expat_XML_ErrorString':
- expat_stubs.c:337:21: error: implicit declaration of function 'alloc_string'; did you mean 'caml_alloc_string'? [-Wimplicit-function-declaration]
- 337 | CAMLreturn (alloc_string(0));
- | ^~~~~~~~~~~~
- /home/opam/.opam/default/lib/ocaml/caml/memory.h:449:29: note: in definition of macro 'CAMLreturnT'
- 449 | type caml__temp_result = (result); \
- | ^~~~~~
- expat_stubs.c:337:9: note: in expansion of macro 'CAMLreturn'
- 337 | CAMLreturn (alloc_string(0));
- | ^~~~~~~~~~
- expat_stubs.c: In function 'expat_error':
- expat_stubs.c:350:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 350 | expat_error_exn = caml_named_value("expat_error");
- | ^
- expat_stubs.c:352:13: error: implicit declaration of function 'invalid_argument'; did you mean 'caml_invalid_argument'? [-Wimplicit-function-declaration]
- 352 | invalid_argument("Exception Expat_error not initialized");
- | ^~~~~~~~~~~~~~~~
- | caml_invalid_argument
- expat_stubs.c:356:5: error: implicit declaration of function 'raise_with_arg'; did you mean 'caml_raise_with_arg'? [-Wimplicit-function-declaration]
- 356 | raise_with_arg(*expat_error_exn, Val_long(error_code));
- | ^~~~~~~~~~~~~~
- | caml_raise_with_arg
- expat_stubs.c: In function 'expat_XML_Parse':
- expat_stubs.c:368:51: error: implicit declaration of function 'string_length'; did you mean 'caml_string_length'? [-Wimplicit-function-declaration]
- 368 | if(!XML_Parse(xml_parser, String_val(string), string_length(string), 0)) {
- | ^~~~~~~~~~~~~
- | caml_string_length
- expat_stubs.c: In function 'expat_XML_ParseSub':
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:366:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 366 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- expat_stubs.c:387:20: note: in expansion of macro 'String_val'
- 387 | char *string = String_val(vstring);
- | ^~~~~~~~~~
- expat_stubs.c: In function 'start_element_handler':
- expat_stubs.c:451:5: error: implicit declaration of function 'callback2' [-Wimplicit-function-declaration]
- 451 | callback2(Field(*handlers, EXPAT_START_ELEMENT_HANDLER), tag, list);
- | ^~~~~~~~~
- expat_stubs.c: In function 'end_element_handler':
- expat_stubs.c:500:5: error: implicit declaration of function 'callback'; did you mean 'calloc'? [-Wimplicit-function-declaration]
- 500 | callback(Field(*handlers, EXPAT_END_ELEMENT_HANDLER), tag);
- | ^~~~~~~~
- | calloc
- expat_stubs.c: In function 'character_data_handler':
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:366:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 366 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- expat_stubs.c:550:12: note: in expansion of macro 'String_val'
- 550 | memcpy(String_val(str), data, len);
- | ^~~~~~~~~~
- In file included from expat_stubs.c:13:
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
- 43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
- | ~~~~~~~~~~~~~~~~~^~~~~~
- expat_stubs.c: In function 'default_handler':
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:366:24: warning: passing argument 1 of 'memmove' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 366 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- expat_stubs.c:819:13: note: in expansion of macro 'String_val'
- 819 | memmove(String_val(d), data, len);
- | ^~~~~~~~~~
- /usr/include/string.h:47:29: note: expected 'void *' but argument is of type 'const char *'
- 47 | extern void *memmove (void *__dest, const void *__src, size_t __n)
- | ~~~~~~^~~~~~
- expat_stubs.c: In function 'external_entity_ref_handler':
- expat_stubs.c:891:5: error: implicit declaration of function 'callbackN' [-Wimplicit-function-declaration]
- 891 | callbackN(Field(*handlers, EXPAT_EXTERNAL_ENTITY_REF_HANDLER), 4, arg);
- | ^~~~~~~~~
- make: *** [Makefile:111: expat_stubs.o] Error 2
build failed...
[ERROR] The compilation of ocaml-expat.1.1.0 failed at "make all".
=== STDERR ===
2026-10-23 20:29.00: FAILED: build ocaml-expat.1.1.0
2026-10-23 20:29.00: Job failed: build failed: ocaml-expat.1.1.0