==> Retrieving sources... -> Found camlidl109.tar.gz -> Found arch-build-system-fix.patch -> Found META.camlidl ==> Generating checksums for source files... ==> Making package: camlidl 1.09-1 (Thu 21 Nov 2024 09:15:21 AM UTC) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (1) New Version Net Change extra/ocaml 5.2.0-1 135.97 MiB Total Installed Size: 135.97 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing ocaml... Optional dependencies for ocaml ncurses: advanced ncurses features [installed] tk: advanced tk features :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found camlidl109.tar.gz -> Found arch-build-system-fix.patch -> Found META.camlidl ==> Validating source files with sha512sums... camlidl109.tar.gz ... Passed arch-build-system-fix.patch ... Passed META.camlidl ... Passed ==> Extracting sources... -> Extracting camlidl109.tar.gz with bsdtar ==> Starting prepare()... ==> Starting build()... cd compiler; make all make[1]: Entering directory '/src/packages/pentesting/camlidl/src/camlidl-camlidl109/compiler' rm -f config.ml ocamlc -g -c config.mli ocamlc -g -c utils.mli sed -e 's|%%CPP%%|cpp|' \ config.mlp > config.ml ocamlc -g -c idltypes.mli chmod -w config.ml ocamllex linenum.mll ocamlc -g -c linenum.mli 16 states, 331 transitions, table size 1420 bytes ocamlyacc -v parser_midl.mly 12 shift/reduce conflicts, 4 reduce/reduce conflicts. ocamlyacc -v parser_midl.mly ocamllex lexer_midl.mll ocamlc -g -c config.ml 12 shift/reduce conflicts, 4 reduce/reduce conflicts. ocamlc -g -c utils.ml ocamlc -g -c clflags.ml 129 states, 1747 transitions, table size 7762 bytes ocamlc -g -c prefix.mli ocamlc -g -c cvttyp.mli ocamlc -g -c variables.mli ocamlc -g -c structdecl.mli ocamlc -g -c enumdecl.mli ocamlc -g -c uniondecl.mli ocamlc -g -c typedef.mli ocamlc -g -c funct.mli ocamlc -g -c constdecl.mli ocamlc -g -c linenum.ml ocamlc -g -c prefix.ml ocamlc -g -c lexpr.mli ocamlc -g -c variables.ml ocamlc -g -c idlarray.mli ocamlc -g -c struct.mli ocamlc -g -c enum.mli ocamlc -g -c union.mli ocamlc -g -c cvtval.mli ocamlc -g -c constdecl.ml ocamlc -g -c intf.mli ocamlc -g -c lexpr.ml ocamlc -g -c cvttyp.ml ocamlc -g -c idlarray.ml ocamlc -g -c struct.ml ocamlc -g -c enum.ml ocamlc -g -c union.ml ocamlc -g -c cvtval.ml ocamlc -g -c structdecl.ml ocamlc -g -c enumdecl.ml ocamlc -g -c uniondecl.ml ocamlc -g -c typedef.ml ocamlc -g -c funct.ml ocamlc -g -c intf.ml ocamlc -g -c file.mli ocamlc -g -c predef.mli ocamlc -g -c file.ml ocamlc -g -c parse_aux.mli ocamlc -g -c parser_midl.mli ocamlc -g -c parse.mli ocamlc -g -c fixlabels.mli ocamlc -g -c normalize.mli ocamlc -g -c predef.ml ocamlc -g -c parse_aux.ml ocamlc -g -c parser_midl.ml ocamlc -g -c lexer_midl.mli ocamlc -g -c fixlabels.ml ocamlc -g -c normalize.ml ocamlc -g -c main.ml ocamlc -g -c lexer_midl.ml ocamlc -g -c parse.ml ocamlc -g -o camlidl config.cmo utils.cmo clflags.cmo prefix.cmo lexpr.cmo cvttyp.cmo variables.cmo idlarray.cmo struct.cmo enum.cmo union.cmo cvtval.cmo structdecl.cmo enumdecl.cmo uniondecl.cmo typedef.cmo funct.cmo constdecl.cmo intf.cmo file.cmo predef.cmo linenum.cmo parse_aux.cmo parser_midl.cmo lexer_midl.cmo parse.cmo fixlabels.cmo normalize.cmo main.cmo make[1]: Leaving directory '/src/packages/pentesting/camlidl/src/camlidl-camlidl109/compiler' cd runtime; make all make[1]: Entering directory '/src/packages/pentesting/camlidl/src/camlidl-camlidl109/runtime' ocamlc -g -ccopt "-Wall -g" idlalloc.c ocamlc -g -ccopt "-Wall -g" comintf.c ocamlc -g -ccopt "-Wall -g" comerror.c comerror.c: In function ‘camlidl_raise_error’: comerror.c:37:7: error: implicit declaration of function ‘invalid_argument’; did you mean ‘caml_invalid_argument’? [-Wimplicit-function-declaration] 37 | invalid_argument("Exception Com.Error not initialized"); | ^~~~~~~~~~~~~~~~ | caml_invalid_argument comerror.c:40:12: error: implicit declaration of function ‘copy_string’; did you mean ‘caml_copy_string’? [-Wimplicit-function-declaration] 40 | vwho = copy_string(who); | ^~~~~~~~~~~ | caml_copy_string comerror.c:42:14: error: implicit declaration of function ‘alloc_small’; did you mean ‘caml_alloc_small’? [-Wimplicit-function-declaration] 42 | bucket = alloc_small(4, 0); | ^~~~~~~~~~~ | caml_alloc_small comerror.c:48:3: error: implicit declaration of function ‘mlraise’; did you mean ‘caml_raise’? [-Wimplicit-function-declaration] 48 | mlraise(bucket); | ^~~~~~~ | caml_raise comerror.c: In function ‘camlidl_uncaught_exception’: idlalloc.c: In function ‘camlidl_find_enum’: comerror.c:173:16: error: implicit declaration of function ‘format_caml_exception’ [-Wimplicit-function-declaration] 173 | char * msg = format_caml_exception(exn_bucket); | ^~~~~~~~~~~~~~~~~~~~~ idlalloc.c:35:3: error: implicit declaration of function ‘invalid_argument’; did you mean ‘caml_invalid_argument’? [-Wimplicit-function-declaration] 35 | invalid_argument(errmsg); | ^~~~~~~~~~~~~~~~ | caml_invalid_argument comerror.c:173:16: error: initialization of ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] idlalloc.c: In function ‘camlidl_alloc_flag_list’: idlalloc.c:47:19: error: implicit declaration of function ‘alloc_small’; did you mean ‘caml_alloc_small’? [-Wimplicit-function-declaration] 47 | value v = alloc_small(2, 0); | ^~~~~~~~~~~ | caml_alloc_small idlalloc.c: In function ‘camlidl_register_allocation’: idlalloc.c:73:7: error: implicit declaration of function ‘stat_alloc’ [-Wimplicit-function-declaration] 73 | stat_alloc(sizeof(struct camlidl_block_list)); | ^~~~~~~~~~ idlalloc.c:73:7: error: initialization of ‘struct camlidl_block_list *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] idlalloc.c: In function ‘camlidl_malloc’: idlalloc.c:95:16: error: initialization of ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 95 | void * res = stat_alloc(sz); | ^~~~~~~~~~ idlalloc.c:96:31: error: ‘stat_free’ undeclared (first use in this function); did you mean ‘caml_stat_free’? 96 | camlidl_register_allocation(stat_free, res, ctx); | ^~~~~~~~~ | caml_stat_free idlalloc.c:96:31: note: each undeclared identifier is reported only once for each function it appears in make[1]: *** [Makefile.unix:40: comerror.o] Error 2 make[1]: *** Waiting for unfinished jobs.... idlalloc.c: In function ‘camlidl_free’: idlalloc.c:108:5: error: implicit declaration of function ‘stat_free’; did you mean ‘caml_stat_free’? [-Wimplicit-function-declaration] 108 | stat_free(tmp); | ^~~~~~~~~ | caml_stat_free idlalloc.c: In function ‘camlidl_malloc_string’: idlalloc.c:114:18: error: implicit declaration of function ‘string_length’; did you mean ‘caml_string_length’? [-Wimplicit-function-declaration] 114 | mlsize_t len = string_length(mlstring); | ^~~~~~~~~~~~~ | caml_string_length comintf.c: In function ‘camlidl_pack_interface’: comintf.c:37:15: error: implicit declaration of function ‘alloc_final’; did you mean ‘caml_alloc_final’? [-Wimplicit-function-declaration] 37 | value res = alloc_final(2, camlidl_finalize_interface, 0, 1); | ^~~~~~~~~~~ | caml_alloc_final comintf.c: In function ‘camlidl_make_interface’: comintf.c:59:34: error: implicit declaration of function ‘stat_alloc’ [-Wimplicit-function-declaration] 59 | (struct camlidl_component *) stat_alloc(sizeof(struct camlidl_component)); | ^~~~~~~~~~ comintf.c:59:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 59 | (struct camlidl_component *) stat_alloc(sizeof(struct camlidl_component)); | ^ comintf.c:73:3: error: implicit declaration of function ‘register_global_root’; did you mean ‘caml_register_global_root’? [-Wimplicit-function-declaration] 73 | register_global_root(&(comp->intf[0].caml_object)); | ^~~~~~~~~~~~~~~~~~~~ | caml_register_global_root comintf.c: In function ‘camlidl_Release’: comintf.c:128:7: error: implicit declaration of function ‘remove_global_root’; did you mean ‘caml_remove_global_root’? [-Wimplicit-function-declaration] 128 | remove_global_root(&(intf->caml_object)); | ^~~~~~~~~~~~~~~~~~ | caml_remove_global_root make[1]: *** [Makefile.unix:40: idlalloc.o] Error 2 comintf.c:134:5: error: implicit declaration of function ‘stat_free’; did you mean ‘caml_stat_free’? [-Wimplicit-function-declaration] 134 | stat_free(comp); | ^~~~~~~~~ | caml_stat_free comintf.c: In function ‘camlidl_com_combine’: comintf.c:174:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 174 | c = (struct camlidl_component *) | ^ comintf.c: In function ‘camlidl_com_create_instance’: comintf.c:207:3: error: implicit declaration of function ‘invalid_argument’; did you mean ‘caml_invalid_argument’? [-Wimplicit-function-declaration] 207 | invalid_argument("Com.create_instance not implemented"); | ^~~~~~~~~~~~~~~~ | caml_invalid_argument comintf.c: In function ‘camlidl_com_register_factory’: comintf.c:235:29: error: initialization of ‘struct camlidl_comp *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 235 | struct camlidl_comp * c = stat_alloc(sizeof(struct camlidl_comp)); | ^~~~~~~~~~ comintf.c: In function ‘camlidl_com_parse_uid’: comintf.c:250:7: error: implicit declaration of function ‘string_length’; did you mean ‘caml_string_length’? [-Wimplicit-function-declaration] 250 | if (string_length(str) != 36 || | ^~~~~~~~~~~~~ | caml_string_length comintf.c:255:9: error: implicit declaration of function ‘alloc_small’; did you mean ‘caml_alloc_small’? [-Wimplicit-function-declaration] 255 | res = alloc_small((sizeof(GUID) + sizeof(value) - 1) / sizeof(value), | ^~~~~~~~~~~ | caml_alloc_small comintf.c: In function ‘camlidl_com_create_instance’: comintf.c:209:1: warning: control reaches end of non-void function [-Wreturn-type] 209 | } | ^ make[1]: *** [Makefile.unix:40: comintf.o] Error 2 make[1]: Leaving directory '/src/packages/pentesting/camlidl/src/camlidl-camlidl109/runtime' make: *** [Makefile:19: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> Removing installed dependencies... checking dependencies... Package (1) Old Version Net Change ocaml 5.2.0-1 -135.97 MiB Total Removed Size: 135.97 MiB :: Do you want to remove these packages? [Y/n] :: Processing package changes... removing ocaml... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate...