Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/haxe.spec'], chrootPath='/var/lib/mock/f43-build-57214620-6550322/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.n19j3xww:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.n19j3xww:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0bac6ca2f92b4f87a2c42230f40083f6', '-D', '/var/lib/mock/f43-build-57214620-6550322/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.n19j3xww:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/haxe.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1737331200 Wrote: /builddir/build/SRPMS/haxe-4.3.4-8.fc43.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/haxe.spec'], chrootPath='/var/lib/mock/f43-build-57214620-6550322/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.n19j3xww:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.n19j3xww:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ce3b1ee83a684139ba90dc24755d9ced', '-D', '/var/lib/mock/f43-build-57214620-6550322/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.n19j3xww:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/haxe.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1737331200 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.cVY79Y + umask 022 + cd /builddir/build/BUILD/haxe-4.3.4-build + test -d /builddir/build/BUILD/haxe-4.3.4-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/haxe-4.3.4-build + /usr/bin/rm -rf /builddir/build/BUILD/haxe-4.3.4-build + /usr/bin/mkdir -p /builddir/build/BUILD/haxe-4.3.4-build + /usr/bin/mkdir -p /builddir/build/BUILD/haxe-4.3.4-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mfJzFq + umask 022 + cd /builddir/build/BUILD/haxe-4.3.4-build + cd /builddir/build/BUILD/haxe-4.3.4-build + rm -rf haxe-4.3.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/haxe-4.3.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd haxe-4.3.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + pushd extra/haxelib_src ~/build/BUILD/haxe-4.3.4-build/haxe-4.3.4/extra/haxelib_src ~/build/BUILD/haxe-4.3.4-build/haxe-4.3.4 + tar -xf /builddir/build/SOURCES/haxelib-f17fffa97554b1bdba37750e3418051f017a5bc2.tar.gz --strip-components=1 + popd ~/build/BUILD/haxe-4.3.4-build/haxe-4.3.4 ~/build/BUILD/haxe-4.3.4-build/haxe-4.3.4/extra/haxelib_src/hx3compat ~/build/BUILD/haxe-4.3.4-build/haxe-4.3.4 + pushd extra/haxelib_src/hx3compat + tar -xf /builddir/build/SOURCES/hx3compat-f1f18201e5c0479cb5adf5f6028788b37f37b730.tar.gz --strip-components=1 + popd ~/build/BUILD/haxe-4.3.4-build/haxe-4.3.4 + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/haxe-ocaml5.3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7bssSu + umask 022 + cd /builddir/build/BUILD/haxe-4.3.4-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd haxe-4.3.4 + make make: git: No such file or directory make: git: No such file or directory dune build --workspace dune-workspace.dev src-prebuild/prebuild.exe _build/default/src-prebuild/prebuild.exe libparams -cclib -lpcre2-8 -cclib -lz -cclib -lmbedtls -cclib -lmbedx509 -cclib -lmbedcrypto > lib.sexp _build/default/src-prebuild/prebuild.exe version "0" "" "" > src/compiler/version.ml dune build --workspace dune-workspace.dev src/haxe.exe process_stubs.c: In function ‘process_run’: process_stubs.c:369:25: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 369 | argv[2] = val_string(cmd); | ^ process_stubs.c:373:25: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 373 | argv[0] = val_string(cmd); | ^ process_stubs.c:376:35: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 376 | argv[i+1] = val_string(v); | ^ process_stubs.c: In function ‘process_stdout_read’: process_stubs.c:446:47: warning: passing argument 2 of ‘read’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 446 | nbytes = read(p->oread,val_string(str)+val_int(pos),val_int(len)); In file included from /usr/include/features.h:524, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/15/include/limits.h:210, from /usr/lib/gcc/x86_64-redhat-linux/15/include/syslimits.h:9, from /usr/lib/gcc/x86_64-redhat-linux/15/include/limits.h:34, from /usr/lib64/ocaml/caml/config.h:48, from /usr/lib64/ocaml/caml/misc.h:21, from /usr/lib64/ocaml/caml/alloc.h:19, from process_stubs.c:25: /usr/include/bits/unistd.h:26:17: note: expected ‘void *’ but argument is of type ‘const char *’ 26 | read (int __fd, __fortify_clang_overload_arg0 (void *, ,__buf), size_t __nbytes) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ process_stubs.c: In function ‘process_stderr_read’: process_stubs.c:477:47: warning: passing argument 2 of ‘read’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 477 | nbytes = read(p->eread,val_string(str)+val_int(pos),val_int(len)); /usr/include/bits/unistd.h:26:17: note: expected ‘void *’ but argument is of type ‘const char *’ 26 | read (int __fd, __fortify_clang_overload_arg0 (void *, ,__buf), size_t __nbytes) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from mbedtls_stubs.c:16: mbedtls_stubs.c: In function ‘ml_mbedtls_ctr_drbg_random’: /usr/lib64/ocaml/caml/mlvalues.h:365:24: warning: passing argument 2 of ‘mbedtls_ctr_drbg_random’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 365 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/ocaml/caml/memory.h:433:29: note: in definition of macro ‘CAMLreturnT’ 433 | type caml__temp_result = (result); \ | ^~~~~~ mbedtls_stubs.c:87:9: note: in expansion of macro ‘CAMLreturn’ 87 | CAMLreturn(Val_int(mbedtls_ctr_drbg_random(CtrDrbg_val(p_rng), String_val(output), Int_val(output_len)))); | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ mbedtls_stubs.c:87:20: note: in expansion of macro ‘Val_int’ 87 | CAMLreturn(Val_int(mbedtls_ctr_drbg_random(CtrDrbg_val(p_rng), String_val(output), Int_val(output_len)))); | ^~~~~~~ mbedtls_stubs.c:87:72: note: in expansion of macro ‘String_val’ 87 | CAMLreturn(Val_int(mbedtls_ctr_drbg_random(CtrDrbg_val(p_rng), String_val(output), Int_val(output_len)))); | ^~~~~~~~~~ In file included from mbedtls_stubs.c:26: /usr/include/mbedtls/ctr_drbg.h:520:44: note: expected ‘unsigned char *’ but argument is of type ‘const char *’ 520 | unsigned char *output, size_t output_len); | ~~~~~~~~~~~~~~~^~~~~~ mbedtls_stubs.c: In function ‘ml_mbedtls_entropy_func’: /usr/lib64/ocaml/caml/mlvalues.h:365:24: warning: passing argument 2 of ‘mbedtls_entropy_func’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 365 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/ocaml/caml/memory.h:433:29: note: in definition of macro ‘CAMLreturnT’ 433 | type caml__temp_result = (result); \ | ^~~~~~ mbedtls_stubs.c:127:9: note: in expansion of macro ‘CAMLreturn’ 127 | CAMLreturn(Val_int(mbedtls_entropy_func(PVoid_val(data), String_val(output), Int_val(len)))); | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ mbedtls_stubs.c:127:20: note: in expansion of macro ‘Val_int’ 127 | CAMLreturn(Val_int(mbedtls_entropy_func(PVoid_val(data), String_val(output), Int_val(len)))); | ^~~~~~~ mbedtls_stubs.c:127:66: note: in expansion of macro ‘String_val’ 127 | CAMLreturn(Val_int(mbedtls_entropy_func(PVoid_val(data), String_val(output), Int_val(len)))); | ^~~~~~~~~~ In file included from mbedtls_stubs.c:25: /usr/include/mbedtls/entropy.h:192:53: note: expected ‘unsigned char *’ but argument is of type ‘const char *’ 192 | int mbedtls_entropy_func(void *data, unsigned char *output, size_t len); | ~~~~~~~~~~~~~~~^~~~~~ mbedtls_stubs.c: In function ‘ml_mbedtls_x509_crt_parse’: mbedtls_stubs.c:176:71: warning: pointer targets in passing argument 2 of ‘mbedtls_x509_crt_parse’ differ in signedness [-Wpointer-sign] 176 | CAMLreturn(Val_int(mbedtls_x509_crt_parse(X509Crt_val(chain), buf, len + 1))); | ^~~ | | | const char * /usr/lib64/ocaml/caml/memory.h:433:29: note: in definition of macro ‘CAMLreturnT’ 433 | type caml__temp_result = (result); \ | ^~~~~~ mbedtls_stubs.c:176:9: note: in expansion of macro ‘CAMLreturn’ 176 | CAMLreturn(Val_int(mbedtls_x509_crt_parse(X509Crt_val(chain), buf, len + 1))); | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ mbedtls_stubs.c:176:20: note: in expansion of macro ‘Val_int’ 176 | CAMLreturn(Val_int(mbedtls_x509_crt_parse(X509Crt_val(chain), buf, len + 1))); | ^~~~~~~ In file included from /usr/include/mbedtls/ssl.h:25, from /usr/include/mbedtls/debug.h:19, from mbedtls_stubs.c:21: /usr/include/mbedtls/x509_crt.h:455:74: note: expected ‘const unsigned char *’ but argument is of type ‘const char *’ 455 | int mbedtls_x509_crt_parse(mbedtls_x509_crt *chain, const unsigned char *buf, size_t buflen); | ~~~~~~~~~~~~~~~~~~~~~^~~ In file included from mbedtls_stubs.c:14: mbedtls_stubs.c: In function ‘caml_string_of_asn1_buf’: /usr/lib64/ocaml/caml/mlvalues.h:365:24: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 365 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ mbedtls_stubs.c:195:16: note: in expansion of macro ‘String_val’ 195 | memcpy(String_val(s), dat->p, dat->len); | ^~~~~~~~~~ In file included from /usr/include/features.h:524, from /usr/include/ctype.h:25, from mbedtls_stubs.c:1: /usr/include/bits/string_fortified.h:26:1: note: expected ‘void *’ but argument is of type ‘const char *’ 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ mbedtls_stubs.c: In function ‘hx_cert_get_alt_names’: mbedtls_stubs.c:203:29: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] 203 | if (cert->ext_types & MBEDTLS_X509_EXT_SUBJECT_ALT_NAME == 0 || &cert->subject_alt_names == NULL) { | ^ mbedtls_stubs.c:203:98: warning: the comparison will always evaluate as ‘false’ for the address of ‘subject_alt_names’ will never be NULL [-Waddress] 203 | if (cert->ext_types & MBEDTLS_X509_EXT_SUBJECT_ALT_NAME == 0 || &cert->subject_alt_names == NULL) { | ^~ /usr/include/mbedtls/x509_crt.h:65:27: note: ‘subject_alt_names’ declared here 65 | mbedtls_x509_sequence subject_alt_names; /**< Optional list of raw entries of Subject Alternative Names extension (currently only dNSName and OtherName are listed). */ | ^~~~~~~~~~~~~~~~~ mbedtls_stubs.c: In function ‘ml_mbedtls_pk_parse_key’: /usr/lib64/ocaml/caml/mlvalues.h:365:24: warning: pointer targets in passing argument 2 of ‘mbedtls_pk_parse_key’ differ in signedness [-Wpointer-sign] 365 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ | | | const char * /usr/lib64/ocaml/caml/memory.h:433:29: note: in definition of macro ‘CAMLreturnT’ 433 | type caml__temp_result = (result); \ | ^~~~~~ mbedtls_stubs.c:377:9: note: in expansion of macro ‘CAMLreturn’ 377 | CAMLreturn(mbedtls_pk_parse_key(PkContext_val(ctx), String_val(key), caml_string_length(key) + 1, pwd, pwdlen)); | ^~~~~~~~~~ mbedtls_stubs.c:377:61: note: in expansion of macro ‘String_val’ 377 | CAMLreturn(mbedtls_pk_parse_key(PkContext_val(ctx), String_val(key), caml_string_length(key) + 1, pwd, pwdlen)); | ^~~~~~~~~~ In file included from /usr/include/mbedtls/ssl_ciphersuites.h:19, from /usr/include/mbedtls/ssl.h:22: /usr/include/mbedtls/pk.h:701:47: note: expected ‘const unsigned char *’ but argument is of type ‘const char *’ 701 | const unsigned char *key, size_t keylen, | ~~~~~~~~~~~~~~~~~~~~~^~~ mbedtls_stubs.c:377:107: warning: pointer targets in passing argument 4 of ‘mbedtls_pk_parse_key’ differ in signedness [-Wpointer-sign] 377 | CAMLreturn(mbedtls_pk_parse_key(PkContext_val(ctx), String_val(key), caml_string_length(key) + 1, pwd, pwdlen)); | ^~~ | | | const char * /usr/lib64/ocaml/caml/memory.h:433:29: note: in definition of macro ‘CAMLreturnT’ 433 | type caml__temp_result = (result); \ | ^~~~~~ mbedtls_stubs.c:377:9: note: in expansion of macro ‘CAMLreturn’ 377 | CAMLreturn(mbedtls_pk_parse_key(PkContext_val(ctx), String_val(key), caml_string_length(key) + 1, pwd, pwdlen)); | ^~~~~~~~~~ /usr/include/mbedtls/pk.h:702:47: note: expected ‘const unsigned char *’ but argument is of type ‘const char *’ 702 | const unsigned char *pwd, size_t pwdlen); | ~~~~~~~~~~~~~~~~~~~~~^~~ mbedtls_stubs.c: In function ‘ml_mbedtls_pk_parse_public_key’: /usr/lib64/ocaml/caml/mlvalues.h:365:24: warning: pointer targets in passing argument 2 of ‘mbedtls_pk_parse_public_key’ differ in signedness [-Wpointer-sign] 365 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ | | | const char * /usr/lib64/ocaml/caml/memory.h:433:29: note: in definition of macro ‘CAMLreturnT’ 433 | type caml__temp_result = (result); \ | ^~~~~~ mbedtls_stubs.c:391:9: note: in expansion of macro ‘CAMLreturn’ 391 | CAMLreturn(mbedtls_pk_parse_public_key(PkContext_val(ctx), String_val(key), caml_string_length(key) + 1)); | ^~~~~~~~~~ mbedtls_stubs.c:391:68: note: in expansion of macro ‘String_val’ 391 | CAMLreturn(mbedtls_pk_parse_public_key(PkContext_val(ctx), String_val(key), caml_string_length(key) + 1)); | ^~~~~~~~~~ /usr/include/mbedtls/pk.h:727:54: note: expected ‘const unsigned char *’ but argument is of type ‘const char *’ 727 | const unsigned char *key, size_t keylen); | ~~~~~~~~~~~~~~~~~~~~~^~~ mbedtls_stubs.c: In function ‘ml_mbedtls_ssl_read’: mbedtls_stubs.c:449:82: warning: passing argument 2 of ‘mbedtls_ssl_read’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 449 | CAMLreturn(Val_int(mbedtls_ssl_read(SslContext_val(ssl), String_val(buf) + Int_val(pos), Int_val(len)))); /usr/lib64/ocaml/caml/memory.h:433:29: note: in definition of macro ‘CAMLreturnT’ 433 | type caml__temp_result = (result); \ | ^~~~~~ mbedtls_stubs.c:449:9: note: in expansion of macro ‘CAMLreturn’ 449 | CAMLreturn(Val_int(mbedtls_ssl_read(SslContext_val(ssl), String_val(buf) + Int_val(pos), Int_val(len)))); | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ mbedtls_stubs.c:449:20: note: in expansion of macro ‘Val_int’ 449 | CAMLreturn(Val_int(mbedtls_ssl_read(SslContext_val(ssl), String_val(buf) + Int_val(pos), Int_val(len)))); | ^~~~~~~ /usr/include/mbedtls/ssl.h:4111:63: note: expected ‘unsigned char *’ but argument is of type ‘const char *’ 4111 | int mbedtls_ssl_read(mbedtls_ssl_context *ssl, unsigned char *buf, size_t len); | ~~~~~~~~~~~~~~~^~~ mbedtls_stubs.c: In function ‘bio_write_cb’: /usr/lib64/ocaml/caml/mlvalues.h:365:24: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 365 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ mbedtls_stubs.c:457:16: note: in expansion of macro ‘String_val’ 457 | memcpy(String_val(s), buf, len); | ^~~~~~~~~~ /usr/include/bits/string_fortified.h:26:1: note: expected ‘void *’ but argument is of type ‘const char *’ 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ mbedtls_stubs.c: In function ‘ml_mbedtls_ssl_write’: mbedtls_stubs.c:495:83: warning: pointer targets in passing argument 2 of ‘mbedtls_ssl_write’ differ in signedness [-Wpointer-sign] 495 | CAMLreturn(Val_int(mbedtls_ssl_write(SslContext_val(ssl), String_val(buf) + Int_val(pos), Int_val(len)))); /usr/lib64/ocaml/caml/memory.h:433:29: note: in definition of macro ‘CAMLreturnT’ 433 | type caml__temp_result = (result); \ | ^~~~~~ mbedtls_stubs.c:495:9: note: in expansion of macro ‘CAMLreturn’ 495 | CAMLreturn(Val_int(mbedtls_ssl_write(SslContext_val(ssl), String_val(buf) + Int_val(pos), Int_val(len)))); | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ mbedtls_stubs.c:495:20: note: in expansion of macro ‘Val_int’ 495 | CAMLreturn(Val_int(mbedtls_ssl_write(SslContext_val(ssl), String_val(buf) + Int_val(pos), Int_val(len)))); | ^~~~~~~ /usr/include/mbedtls/ssl.h:4173:70: note: expected ‘const unsigned char *’ but argument is of type ‘const char *’ 4173 | int mbedtls_ssl_write(mbedtls_ssl_context *ssl, const unsigned char *buf, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~ mbedtls_stubs.c: In function ‘hx_cert_load_defaults’: mbedtls_stubs.c:504:27: warning: unused variable ‘chain’ [-Wunused-variable] 504 | mbedtls_x509_crt *chain = X509Crt_val(certificate); | ^~~~~ pcre2_stubs.c: In function ‘pcre2_callout_handler’: pcre2_stubs.c:139:29: warning: initialization discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers] 139 | caml_int_ptr ovec_dst = &Field(Field(v_substrings, 1), 0) + subgroups2_1; | ^ pcre2_stubs.c: In function ‘pcre2_match_stub0’: pcre2_stubs.c:603:53: warning: ‘workspace_len’ may be used uninitialized [-Wmaybe-uninitialized] 603 | const int *workspace_src_stop = workspace + workspace_len; | ^ pcre2_stubs.c:556:11: note: ‘workspace_len’ was declared here 556 | int workspace_len; | ^~~~~~~~~~~~~ pcre2_stubs.c:603:22: warning: ‘workspace’ may be used uninitialized [-Wmaybe-uninitialized] 603 | const int *workspace_src_stop = workspace + workspace_len; | ^~~~~~~~~~~~~~~~~~ pcre2_stubs.c:557:12: note: ‘workspace’ was declared here 557 | int *workspace; | ^~~~~~~~~ File "libs/neko/ncompile.ml", line 676, characters 11-18: 676 | let _ = jmp ctx in ^^^^^^^ Warning 5 [ignored-partial-application]: this function application is partial, maybe some arguments are missing. File "libs/neko/ncompile.ml", line 676, characters 11-18: 676 | let _ = jmp ctx in ^^^^^^^ Warning 5 [ignored-partial-application]: this function application is partial, maybe some arguments are missing. File "src/macro/eval/evalLuv.ml", lines 16-97, characters 6-2: 16 | ......(match e with 17 | | `E2BIG -> 0 18 | | `EACCES -> 1 19 | | `EADDRINUSE -> 2 20 | | `EADDRNOTAVAIL -> 3 ... 94 | | `EILSEQ -> 77 95 | | `EOVERFLOW -> 78 96 | | `ESOCKTNOSUPPORT -> 79 97 | ) Warning 8 [partial-match]: this pattern-matching is not exhaustive. Here is an example of a case that is not matched: (`ENODATA|`EUNATCH) File "src/macro/eval/evalLuv.ml", line 1951, characters 29-37: 1951 | FS_event.start event path callback ^^^^^^^^ Error: The value "callback" has type "(string * Luv.FS_event.Event.t list, Luv.Error.t) Result.t -> unit" but an expression was expected of type "(string option * Luv.FS_event.Event.t list, Luv__.Error.t) result -> unit" Type "(string * Luv.FS_event.Event.t list, Luv.Error.t) Result.t" = "(string * Luv.FS_event.Event.t list, Luv.Error.t) result" is not compatible with type "(string option * Luv.FS_event.Event.t list, Luv__.Error.t) result" Type "string" is not compatible with type "string option" make: *** [Makefile:81: haxe] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.7bssSu (%build) Bad exit status from /var/tmp/rpm-tmp.7bssSu (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M ce3b1ee83a684139ba90dc24755d9ced -D /var/lib/mock/f43-build-57214620-6550322/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.n19j3xww:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/haxe.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M ce3b1ee83a684139ba90dc24755d9ced -D /var/lib/mock/f43-build-57214620-6550322/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.n19j3xww:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/haxe.spec'