Processing: [default: loading data] [guile.1.0: dl] [guile.1.0: extract] -> retrieved guile.1.0 (https://opam.ocaml.org/cache) [guile: dune build] + /home/opam/.opam/default/bin/dune "build" "-p" "guile" "-j" "32" "--promote-install-files=false" "@install" (CWD=/home/opam/.opam/default/.opam-switch/build/guile.1.0) - File "stubgen/dune", lines 12-16, characters 0-263: - 12 | (rule (targets bindings_stubs_gen.exe) - 13 | (deps bindings_stubs_gen.c c_flags c_library_flags) - 14 | (action - 15 | (bash - 16 | "%{cc} bindings_stubs_gen.c -I `dirname %{lib:ctypes:ctypes_cstubs_internals.h}` -I %{ocaml_where} $(< c_flags) $(< c_library_flags) -o %{targets}"))) - (cd _build/default/stubgen && /usr/bin/bash -e -u -o pipefail -c 'gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -Wall -fdiagnostics-color=always bindings_stubs_gen.c -I `dirname /home/opam/.opam/default/lib/ctypes/ctypes_cstubs_internals.h` -I /home/opam/.opam/default/lib/ocaml $(< c_flags) $(< c_library_flags) -o ./bindings_stubs_gen.exe') - bindings_stubs_gen.c: In function 'main': - bindings_stubs_gen.c:35:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 35 | enum { check_SCM_UNDEFINED_const = (int)SCM_UNDEFINED }; - | ^ - bindings_stubs_gen.c:36:19: error: initialization of 'intptr_t' {aka 'long int'} from 'struct scm_unused_struct *' makes integer from pointer without a cast [-Wint-conversion] - 36 | intptr_t v = (SCM_UNDEFINED); - | ^ - bindings_stubs_gen.c:42:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 42 | enum { check_SCM_EOL_const = (int)SCM_EOL }; - | ^ - bindings_stubs_gen.c:43:19: error: initialization of 'intptr_t' {aka 'long int'} from 'struct scm_unused_struct *' makes integer from pointer without a cast [-Wint-conversion] - 43 | intptr_t v = (SCM_EOL); - | ^ - bindings_stubs_gen.c:49:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 49 | enum { check_SCM_BOOL_T_const = (int)SCM_BOOL_T }; - | ^ - bindings_stubs_gen.c:50:19: error: initialization of 'intptr_t' {aka 'long int'} from 'struct scm_unused_struct *' makes integer from pointer without a cast [-Wint-conversion] - 50 | intptr_t v = (SCM_BOOL_T); - | ^ - bindings_stubs_gen.c:56:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 56 | enum { check_SCM_BOOL_F_const = (int)SCM_BOOL_F }; - | ^ - bindings_stubs_gen.c:57:19: error: initialization of 'intptr_t' {aka 'long int'} from 'struct scm_unused_struct *' makes integer from pointer without a cast [-Wint-conversion] - 57 | intptr_t v = (SCM_BOOL_F); - | ^ [ERROR] The compilation of guile.1.0 failed at "dune build -p guile -j 32 --promote-install-files=false @install". #=== ERROR while compiling guile.1.0 ==========================================# # context 2.4.1 | linux/x86_64 | ocaml-compiler.5.4.1+letrec | file:///home/opam/opam-repository # path ~/.opam/default/.opam-switch/build/guile.1.0 # command ~/.opam/default/bin/dune build -p guile -j 32 --promote-install-files=false @install # exit-code 1 # env-file /tmp/opam-root-8/guile-8-ae4708.env # output-file /tmp/opam-root-8/guile-8-ae4708.out ### output ### # File "stubgen/dune", lines 12-16, characters 0-263: # 12 | (rule (targets bindings_stubs_gen.exe) # 13 | (deps bindings_stubs_gen.c c_flags c_library_flags) # 14 | (action # 15 | (bash # 16 | "%{cc} bindings_stubs_gen.c -I `dirname %{lib:ctypes:ctypes_cstubs_internals.h}` -I %{ocaml_where} $(< c_flags) $(< c_library_flags) -o %{targets}"))) # (cd _build/default/stubgen && /usr/bin/bash -e -u -o pipefail -c 'gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -Wall -fdiagnostics-color=always bindings_stubs_gen.c -I `dirname /home/opam/.opam/default/lib/ctypes/ctypes_cstubs_internals.h` -I /home/opam/.opam/default/lib/ocaml $(< c_flags) $(< c_library_flags) -o ./bindings_stubs_gen.exe') # bindings_stubs_gen.c: In function 'main': # bindings_stubs_gen.c:35:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] # 35 | enum { check_SCM_UNDEFINED_const = (int)SCM_UNDEFINED }; # | ^ # bindings_stubs_gen.c:36:19: error: initialization of 'intptr_t' {aka 'long int'} from 'struct scm_unused_struct *' makes integer from pointer without a cast [-Wint-conversion] # 36 | intptr_t v = (SCM_UNDEFINED); # | ^ # bindings_stubs_gen.c:42:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] # 42 | enum { check_SCM_EOL_const = (int)SCM_EOL }; # | ^ # bindings_stubs_gen.c:43:19: error: initialization of 'intptr_t' {aka 'long int'} from 'struct scm_unused_struct *' makes integer from pointer without a cast [-Wint-conversion] # 43 | intptr_t v = (SCM_EOL); # | ^ # bindings_stubs_gen.c:49:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] # 49 | enum { check_SCM_BOOL_T_const = (int)SCM_BOOL_T }; # | ^ # bindings_stubs_gen.c:50:19: error: initialization of 'intptr_t' {aka 'long int'} from 'struct scm_unused_struct *' makes integer from pointer without a cast [-Wint-conversion] # 50 | intptr_t v = (SCM_BOOL_T); # | ^ # bindings_stubs_gen.c:56:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] # 56 | enum { check_SCM_BOOL_F_const = (int)SCM_BOOL_F }; # | ^ # bindings_stubs_gen.c:57:19: error: initialization of 'intptr_t' {aka 'long int'} from 'struct scm_unused_struct *' makes integer from pointer without a cast [-Wint-conversion] # 57 | intptr_t v = (SCM_BOOL_F); # | ^