>>> ocaml-perl-bridge: Building testing/ocaml-perl-bridge 0.01-r1 (using abuild 3.9.0-r0) started Wed, 08 Jun 2022 09:10:36 +0000 >>> ocaml-perl-bridge: Checking sanity of /home/buildozer/aports/testing/ocaml-perl-bridge/APKBUILD... >>> ocaml-perl-bridge: Analyzing dependencies... >>> ocaml-perl-bridge: Installing for build: build-base ocaml-runtime ocaml perl-dev (1/10) Installing ocaml-runtime (4.14.0-r0) (2/10) Installing ocaml (4.14.0-r0) (3/10) Installing libbz2 (1.0.8-r1) (4/10) Installing perl (5.36.0-r0) (5/10) Installing perl-utils (5.36.0-r0) (6/10) Installing perl-dev (5.36.0-r0) (7/10) Installing .makedepends-ocaml-perl-bridge (20220608.091037) (8/10) Installing perl-error (0.17029-r1) (9/10) Installing perl-git (2.36.1-r0) (10/10) Installing git-perl (2.36.1-r0) Executing busybox-1.35.0-r14.trigger OK: 432 MiB in 100 packages >>> ocaml-perl-bridge: Cleaning up srcdir >>> ocaml-perl-bridge: Cleaning up pkgdir >>> ocaml-perl-bridge: Fetching https://distfiles.alpinelinux.org/distfiles/edge//ocaml-perl-bridge-0.01.tar.gz >>> ocaml-perl-bridge: Fetching https://distfiles.alpinelinux.org/distfiles/edge//ocaml-perl-bridge-0.01.tar.gz >>> ocaml-perl-bridge: Checking sha512sums... ocaml-perl-bridge-0.01.tar.gz: OK makefile-site-lib.patch: OK ocaml-headers-path.patch: OK ocaml-preprocessor-macros.patch: OK perl-SVt_RV-missing.patch: OK >>> ocaml-perl-bridge: Unpacking /var/cache/distfiles/edge/ocaml-perl-bridge-0.01.tar.gz... >>> ocaml-perl-bridge: makefile-site-lib.patch patching file Makefile >>> ocaml-perl-bridge: ocaml-headers-path.patch patching file pocaml_c.c >>> ocaml-perl-bridge: ocaml-preprocessor-macros.patch patching file pocaml_c.c >>> ocaml-perl-bridge: perl-SVt_RV-missing.patch patching file pocaml_c.c ocamlc -w s -g -c poCaml.ml gcc -fPIC -Wall -Wno-unused -I/usr/lib/perl5/core_perl/CORE -D_REENTRANT -D_GNU_SOURCE -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL4CAML_REFCOUNTING_EXPERIMENTAL=1 -Os -fomit-frame-pointer -c -o pocaml_c.o pocaml_c.c In file included from /usr/lib/perl5/core_perl/CORE/perl.h:28, from pocaml_c.c:19: /usr/lib/perl5/core_perl/CORE/config.h:96: warning: "HAS_FCHMOD" redefined 96 | #define HAS_FCHMOD /**/ | In file included from /usr/lib/ocaml/caml/config.h:42, from /usr/lib/ocaml/caml/misc.h:24, from /usr/lib/ocaml/caml/alloc.h:23, from pocaml_c.c:11: /usr/lib/ocaml/caml/s.h:137: note: this is the location of the previous definition 137 | #define HAS_FCHMOD 1 | In file included from /usr/lib/perl5/core_perl/CORE/perl.h:28, from pocaml_c.c:19: /usr/lib/perl5/core_perl/CORE/config.h:140: warning: "HAS_GETTIMEOFDAY" redefined 140 | #define HAS_GETTIMEOFDAY /**/ | In file included from /usr/lib/ocaml/caml/config.h:42, from /usr/lib/ocaml/caml/misc.h:24, from /usr/lib/ocaml/caml/alloc.h:23, from pocaml_c.c:11: /usr/lib/ocaml/caml/s.h:200: note: this is the location of the previous definition 200 | #define HAS_GETTIMEOFDAY 1 | In file included from /usr/lib/perl5/core_perl/CORE/perl.h:28, from pocaml_c.c:19: /usr/lib/perl5/core_perl/CORE/config.h:150: warning: "HAS_GETGROUPS" redefined 150 | #define HAS_GETGROUPS /**/ | In file included from /usr/lib/ocaml/caml/config.h:42, from /usr/lib/ocaml/caml/misc.h:24, from /usr/lib/ocaml/caml/alloc.h:23, from pocaml_c.c:11: /usr/lib/ocaml/caml/s.h:171: note: this is the location of the previous definition 171 | #define HAS_GETGROUPS 1 | In file included from /usr/lib/perl5/core_perl/CORE/perl.h:28, from pocaml_c.c:19: /usr/lib/perl5/core_perl/CORE/config.h:188: warning: "HAS_INET_ATON" redefined 188 | #define HAS_INET_ATON /**/ | In file included from /usr/lib/ocaml/caml/config.h:42, from /usr/lib/ocaml/caml/misc.h:24, from /usr/lib/ocaml/caml/alloc.h:23, from pocaml_c.c:11: /usr/lib/ocaml/caml/s.h:94: note: this is the location of the previous definition 94 | #define HAS_INET_ATON 1 | In file included from /usr/lib/perl5/core_perl/CORE/perl.h:28, from pocaml_c.c:19: /usr/lib/perl5/core_perl/CORE/config.h:213: warning: "HAS_LOCKF" redefined 213 | #define HAS_LOCKF /**/ | In file included from /usr/lib/ocaml/caml/config.h:42, from /usr/lib/ocaml/caml/misc.h:24, from /usr/lib/ocaml/caml/alloc.h:23, from pocaml_c.c:11: /usr/lib/ocaml/caml/s.h:115: note: this is the location of the previous definition 115 | #define HAS_LOCKF 1 | In file included from /usr/lib/perl5/core_perl/CORE/perl.h:28, from pocaml_c.c:19: /usr/lib/perl5/core_perl/CORE/config.h:252: warning: "HAS_MKFIFO" redefined 252 | #define HAS_MKFIFO /**/ | In file included from /usr/lib/ocaml/caml/config.h:42, from /usr/lib/ocaml/caml/misc.h:24, from /usr/lib/ocaml/caml/alloc.h:23, from pocaml_c.c:11: /usr/lib/ocaml/caml/s.h:119: note: this is the location of the previous definition 119 | #define HAS_MKFIFO 1 | In file included from /usr/lib/perl5/core_perl/CORE/perl.h:28, from pocaml_c.c:19: /usr/lib/perl5/core_perl/CORE/config.h:258: warning: "HAS_MKTIME" redefined 258 | #define HAS_MKTIME /**/ | In file included from /usr/lib/ocaml/caml/config.h:42, from /usr/lib/ocaml/caml/misc.h:24, from /usr/lib/ocaml/caml/alloc.h:23, from pocaml_c.c:11: /usr/lib/ocaml/caml/s.h:204: note: this is the location of the previous definition 204 | #define HAS_MKTIME 1 | In file included from /usr/lib/perl5/core_perl/CORE/perl.h:28, from pocaml_c.c:19: /usr/lib/perl5/core_perl/CORE/config.h:282: warning: "HAS_NICE" redefined 282 | #define HAS_NICE /**/ | In file included from /usr/lib/ocaml/caml/config.h:42, from /usr/lib/ocaml/caml/misc.h:24, from /usr/lib/ocaml/caml/alloc.h:23, from pocaml_c.c:11: /usr/lib/ocaml/caml/s.h:259: note: this is the location of the previous definition 259 | #define HAS_NICE 1 | In file included from /usr/lib/perl5/core_perl/CORE/perl.h:28, from pocaml_c.c:19: /usr/lib/perl5/core_perl/CORE/config.h:339: warning: "HAS_REWINDDIR" redefined 339 | #define HAS_REWINDDIR /**/ | In file included from /usr/lib/ocaml/caml/config.h:42, from /usr/lib/ocaml/caml/misc.h:24, from /usr/lib/ocaml/caml/alloc.h:23, from pocaml_c.c:11: /usr/lib/ocaml/caml/s.h:111: note: this is the location of the previous definition 111 | #define HAS_REWINDDIR 1 | In file included from /usr/lib/perl5/core_perl/CORE/perl.h:28, from pocaml_c.c:19: /usr/lib/perl5/core_perl/CORE/config.h:373: warning: "HAS_SELECT" redefined 373 | #define HAS_SELECT /**/ | In file included from /usr/lib/ocaml/caml/config.h:42, from /usr/lib/ocaml/caml/misc.h:24, from /usr/lib/ocaml/caml/alloc.h:23, from pocaml_c.c:11: /usr/lib/ocaml/caml/s.h:146: note: this is the location of the previous definition 146 | #define HAS_SELECT 1 | In file included from /usr/lib/perl5/core_perl/CORE/perl.h:28, from pocaml_c.c:19: /usr/lib/perl5/core_perl/CORE/config.h:398: warning: "HAS_SETGROUPS" redefined 398 | #define HAS_SETGROUPS /**/ | In file included from /usr/lib/ocaml/caml/config.h:42, from /usr/lib/ocaml/caml/misc.h:24, from /usr/lib/ocaml/caml/alloc.h:23, from pocaml_c.c:11: /usr/lib/ocaml/caml/s.h:175: note: this is the location of the previous definition 175 | #define HAS_SETGROUPS 1 | In file included from /usr/lib/perl5/core_perl/CORE/perl.h:28, from pocaml_c.c:19: /usr/lib/perl5/core_perl/CORE/config.h:467: warning: "HAS_SETSID" redefined 467 | #define HAS_SETSID /**/ | In file included from /usr/lib/ocaml/caml/config.h:42, from /usr/lib/ocaml/caml/misc.h:24, from /usr/lib/ocaml/caml/alloc.h:23, from pocaml_c.c:11: /usr/lib/ocaml/caml/s.h:208: note: this is the location of the previous definition 208 | #define HAS_SETSID 1 | In file included from /usr/lib/perl5/core_perl/CORE/perl.h:28, from pocaml_c.c:19: /usr/lib/perl5/core_perl/CORE/config.h:503: warning: "HAS_SYMLINK" redefined 503 | #define HAS_SYMLINK /**/ | In file included from /usr/lib/ocaml/caml/config.h:42, from /usr/lib/ocaml/caml/misc.h:24, from /usr/lib/ocaml/caml/alloc.h:23, from pocaml_c.c:11: /usr/lib/ocaml/caml/s.h:158: note: this is the location of the previous definition 158 | #define HAS_SYMLINK 1 | In file included from /usr/lib/perl5/core_perl/CORE/perl.h:28, from pocaml_c.c:19: /usr/lib/perl5/core_perl/CORE/config.h:521: warning: "HAS_SYSTEM" redefined 521 | #define HAS_SYSTEM /**/ | In file included from /usr/lib/ocaml/caml/config.h:42, from /usr/lib/ocaml/caml/misc.h:24, from /usr/lib/ocaml/caml/alloc.h:23, from pocaml_c.c:11: /usr/lib/ocaml/caml/s.h:127: note: this is the location of the previous definition 127 | #define HAS_SYSTEM 1 | In file included from /usr/lib/perl5/core_perl/CORE/perl.h:28, from pocaml_c.c:19: /usr/lib/perl5/core_perl/CORE/config.h:539: warning: "HAS_TRUNCATE" redefined 539 | #define HAS_TRUNCATE /**/ | In file included from /usr/lib/ocaml/caml/config.h:42, from /usr/lib/ocaml/caml/misc.h:24, from /usr/lib/ocaml/caml/alloc.h:23, from pocaml_c.c:11: /usr/lib/ocaml/caml/s.h:141: note: this is the location of the previous definition 141 | #define HAS_TRUNCATE 1 | In file included from /usr/lib/perl5/core_perl/CORE/perl.h:28, from pocaml_c.c:19: /usr/lib/perl5/core_perl/CORE/config.h:562: warning: "HAS_WAIT4" redefined 562 | #define HAS_WAIT4 /**/ | In file included from /usr/lib/ocaml/caml/config.h:42, from /usr/lib/ocaml/caml/misc.h:24, from /usr/lib/ocaml/caml/alloc.h:23, from pocaml_c.c:11: /usr/lib/ocaml/caml/s.h:165: note: this is the location of the previous definition 165 | #define HAS_WAIT4 1 | In file included from /usr/lib/perl5/core_perl/CORE/perl.h:28, from pocaml_c.c:19: /usr/lib/perl5/core_perl/CORE/config.h:568: warning: "HAS_WAITPID" redefined 568 | #define HAS_WAITPID /**/ | In file included from /usr/lib/ocaml/caml/config.h:42, from /usr/lib/ocaml/caml/misc.h:24, from /usr/lib/ocaml/caml/alloc.h:23, from pocaml_c.c:11: /usr/lib/ocaml/caml/s.h:166: note: this is the location of the previous definition 166 | #define HAS_WAITPID 1 | In file included from /usr/lib/perl5/core_perl/CORE/perl.h:28, from pocaml_c.c:19: /usr/lib/perl5/core_perl/CORE/config.h:1607: warning: "HAS_GETHOSTNAME" redefined 1607 | #define HAS_GETHOSTNAME /**/ | In file included from /usr/lib/ocaml/caml/config.h:42, from /usr/lib/ocaml/caml/misc.h:24, from /usr/lib/ocaml/caml/alloc.h:23, from pocaml_c.c:11: /usr/lib/ocaml/caml/s.h:192: note: this is the location of the previous definition 192 | #define HAS_GETHOSTNAME 1 | In file included from /usr/lib/perl5/core_perl/CORE/perl.h:28, from pocaml_c.c:19: /usr/lib/perl5/core_perl/CORE/config.h:1608: warning: "HAS_UNAME" redefined 1608 | #define HAS_UNAME /**/ | In file included from /usr/lib/ocaml/caml/config.h:42, from /usr/lib/ocaml/caml/misc.h:24, from /usr/lib/ocaml/caml/alloc.h:23, from pocaml_c.c:11: /usr/lib/ocaml/caml/s.h:196: note: this is the location of the previous definition 196 | #define HAS_UNAME 1 | In file included from /usr/lib/perl5/core_perl/CORE/perl.h:28, from pocaml_c.c:19: /usr/lib/perl5/core_perl/CORE/config.h:1808: warning: "HAS_MKSTEMP" redefined 1808 | #define HAS_MKSTEMP /**/ | In file included from /usr/lib/ocaml/caml/config.h:42, from /usr/lib/ocaml/caml/misc.h:24, from /usr/lib/ocaml/caml/alloc.h:23, from pocaml_c.c:11: /usr/lib/ocaml/caml/s.h:257: note: this is the location of the previous definition 257 | #define HAS_MKSTEMP 1 | In file included from /usr/lib/perl5/core_perl/CORE/perl.h:28, from pocaml_c.c:19: /usr/lib/perl5/core_perl/CORE/config.h:1819: warning: "HAS_MMAP" redefined 1819 | #define HAS_MMAP /**/ | In file included from /usr/lib/ocaml/caml/config.h:42, from /usr/lib/ocaml/caml/misc.h:24, from /usr/lib/ocaml/caml/alloc.h:23, from pocaml_c.c:11: /usr/lib/ocaml/caml/s.h:234: note: this is the location of the previous definition 234 | #define HAS_MMAP 1 | In file included from /usr/lib/perl5/core_perl/CORE/perl.h:28, from pocaml_c.c:19: /usr/lib/perl5/core_perl/CORE/config.h:2281: warning: "HAS_ACCEPT4" redefined 2281 | #define HAS_ACCEPT4 /**/ | In file included from /usr/lib/ocaml/caml/config.h:42, from /usr/lib/ocaml/caml/misc.h:24, from /usr/lib/ocaml/caml/alloc.h:23, from pocaml_c.c:11: /usr/lib/ocaml/caml/s.h:267: note: this is the location of the previous definition 267 | #define HAS_ACCEPT4 1 | In file included from /usr/lib/perl5/core_perl/CORE/perl.h:28, from pocaml_c.c:19: /usr/lib/perl5/core_perl/CORE/config.h:2425: warning: "HAS_DUP3" redefined 2425 | #define HAS_DUP3 /**/ | In file included from /usr/lib/ocaml/caml/config.h:42, from /usr/lib/ocaml/caml/misc.h:24, from /usr/lib/ocaml/caml/alloc.h:23, from pocaml_c.c:11: /usr/lib/ocaml/caml/s.h:263: note: this is the location of the previous definition 263 | #define HAS_DUP3 1 | In file included from /usr/lib/perl5/core_perl/CORE/perl.h:28, from pocaml_c.c:19: /usr/lib/perl5/core_perl/CORE/config.h:2500: warning: "HAS_FFS" redefined 2500 | #define HAS_FFS /**/ | In file included from /usr/lib/ocaml/caml/config.h:42, from /usr/lib/ocaml/caml/misc.h:24, from /usr/lib/ocaml/caml/alloc.h:23, from pocaml_c.c:11: /usr/lib/ocaml/caml/s.h:279: note: this is the location of the previous definition 279 | #define HAS_FFS 1 | In file included from /usr/lib/perl5/core_perl/CORE/perl.h:28, from pocaml_c.c:19: /usr/lib/perl5/core_perl/CORE/config.h:2722: warning: "HAS_GETCWD" redefined 2722 | #define HAS_GETCWD /**/ | In file included from /usr/lib/ocaml/caml/config.h:42, from /usr/lib/ocaml/caml/misc.h:24, from /usr/lib/ocaml/caml/alloc.h:23, from pocaml_c.c:11: /usr/lib/ocaml/caml/s.h:123: note: this is the location of the previous definition 123 | #define HAS_GETCWD 1 | In file included from /usr/lib/perl5/core_perl/CORE/perl.h:28, from pocaml_c.c:19: /usr/lib/perl5/core_perl/CORE/config.h:3079: warning: "HAS_NANOSLEEP" redefined 3079 | #define HAS_NANOSLEEP /**/ | In file included from /usr/lib/ocaml/caml/config.h:42, from /usr/lib/ocaml/caml/misc.h:24, from /usr/lib/ocaml/caml/alloc.h:23, from pocaml_c.c:11: /usr/lib/ocaml/caml/s.h:155: note: this is the location of the previous definition 155 | #define HAS_NANOSLEEP 1 | In file included from /usr/lib/perl5/core_perl/CORE/perl.h:28, from pocaml_c.c:19: /usr/lib/perl5/core_perl/CORE/config.h:3155: warning: "HAS_PIPE2" redefined 3155 | #define HAS_PIPE2 /**/ | In file included from /usr/lib/ocaml/caml/config.h:42, from /usr/lib/ocaml/caml/misc.h:24, from /usr/lib/ocaml/caml/alloc.h:23, from pocaml_c.c:11: /usr/lib/ocaml/caml/s.h:265: note: this is the location of the previous definition 265 | #define HAS_PIPE2 1 | In file included from /usr/lib/perl5/core_perl/CORE/perl.h:28, from pocaml_c.c:19: /usr/lib/perl5/core_perl/CORE/config.h:3266: warning: "HAS_SETITIMER" redefined 3266 | #define HAS_SETITIMER /**/ | In file included from /usr/lib/ocaml/caml/config.h:42, from /usr/lib/ocaml/caml/misc.h:24, from /usr/lib/ocaml/caml/alloc.h:23, from pocaml_c.c:11: /usr/lib/ocaml/caml/s.h:188: note: this is the location of the previous definition 188 | #define HAS_SETITIMER 1 | In file included from /usr/lib/perl5/core_perl/CORE/perl.h:28, from pocaml_c.c:19: /usr/lib/perl5/core_perl/CORE/config.h:4646: warning: "HAS_GETHOSTBYADDR_R" redefined 4646 | #define HAS_GETHOSTBYADDR_R /**/ | In file included from /usr/lib/ocaml/caml/config.h:42, from /usr/lib/ocaml/caml/misc.h:24, from /usr/lib/ocaml/caml/alloc.h:23, from pocaml_c.c:11: /usr/lib/ocaml/caml/s.h:250: note: this is the location of the previous definition 250 | #define HAS_GETHOSTBYADDR_R 8 | In file included from /usr/lib/perl5/core_perl/CORE/perl.h:28, from pocaml_c.c:19: /usr/lib/perl5/core_perl/CORE/config.h:4659: warning: "HAS_GETHOSTBYNAME_R" redefined 4659 | #define HAS_GETHOSTBYNAME_R /**/ | In file included from /usr/lib/ocaml/caml/config.h:42, from /usr/lib/ocaml/caml/misc.h:24, from /usr/lib/ocaml/caml/alloc.h:23, from pocaml_c.c:11: /usr/lib/ocaml/caml/s.h:243: note: this is the location of the previous definition 243 | #define HAS_GETHOSTBYNAME_R 6 | In file included from /usr/lib/perl5/core_perl/CORE/perl.h:28, from pocaml_c.c:19: /usr/lib/perl5/core_perl/CORE/config.h:5136: warning: "HAS_STRTOD_L" redefined 5136 | #define HAS_STRTOD_L /**/ | In file included from /usr/lib/ocaml/caml/config.h:42, from /usr/lib/ocaml/caml/misc.h:24, from /usr/lib/ocaml/caml/alloc.h:23, from pocaml_c.c:11: /usr/lib/ocaml/caml/s.h:230: note: this is the location of the previous definition 230 | #define HAS_STRTOD_L 1 | In file included from /usr/lib/perl5/core_perl/CORE/perl.h:28, from pocaml_c.c:19: /usr/lib/perl5/core_perl/CORE/config.h:5240: warning: "HAS_TIMES" redefined 5240 | #define HAS_TIMES /**/ | In file included from /usr/lib/ocaml/caml/config.h:42, from /usr/lib/ocaml/caml/misc.h:24, from /usr/lib/ocaml/caml/alloc.h:23, from pocaml_c.c:11: /usr/lib/ocaml/caml/s.h:66: note: this is the location of the previous definition 66 | #define HAS_TIMES 1 | In file included from /usr/lib/perl5/core_perl/CORE/perl.h:3125, from pocaml_c.c:19: /usr/lib/perl5/core_perl/CORE/unixish.h:30: warning: "HAS_UTIME" redefined 30 | #define HAS_UTIME /**/ | In file included from /usr/lib/ocaml/caml/config.h:42, from /usr/lib/ocaml/caml/misc.h:24, from /usr/lib/ocaml/caml/alloc.h:23, from pocaml_c.c:11: /usr/lib/ocaml/caml/s.h:131: note: this is the location of the previous definition 131 | #define HAS_UTIME 1 | In file included from pocaml_c.c:19: pocaml_c.c: In function 'pocaml_init': pocaml_c.c:78:25: warning: passing argument 2 of 'Perl_sys_init' from incompatible pointer type [-Wincompatible-pointer-types] 78 | PERL_SYS_INIT (&argc, &argv); | ^~~~~ | | | char * (*)[5] /usr/lib/perl5/core_perl/CORE/perl.h:3280:61: note: in definition of macro 'PERL_SYS_INIT' 3280 | #define PERL_SYS_INIT(argc, argv) Perl_sys_init(argc, argv) | ^~~~ In file included from /usr/lib/perl5/core_perl/CORE/perl.h:5798, from pocaml_c.c:19: /usr/lib/perl5/core_perl/CORE/proto.h:3993:58: note: expected 'char ***' but argument is of type 'char * (*)[5]' 3993 | PERL_CALLCONV void Perl_sys_init(int* argc, char*** argv); | ~~~~~~~~^~~~ In file included from /usr/lib/ocaml/caml/alloc.h:24, from pocaml_c.c:11: pocaml_c.c: In function 'pocaml_string_of_sv': /usr/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ pocaml_c.c:130:11: note: in expansion of macro 'String_val' 130 | memcpy (String_val (strv), str, len); | ^~~~~~~~~~ In file included from /usr/lib/perl5/core_perl/CORE/perl.h:1414, from pocaml_c.c:19: /usr/include/string.h:27:15: note: expected 'void * restrict' but argument is of type 'const char *' 27 | void *memcpy (void *__restrict, const void *__restrict, size_t); | ^ In file included from /usr/lib/ocaml/caml/alloc.h:24, from pocaml_c.c:11: pocaml_c.c: In function 'pocaml_hv_iterkey': /usr/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ pocaml_c.c:581:11: note: in expansion of macro 'String_val' 581 | memcpy (String_val (strv), str, len); | ^~~~~~~~~~ In file included from /usr/lib/perl5/core_perl/CORE/perl.h:1414, from pocaml_c.c:19: /usr/include/string.h:27:15: note: expected 'void * restrict' but argument is of type 'const char *' 27 | void *memcpy (void *__restrict, const void *__restrict, size_t); | ^ In file included from /usr/lib/ocaml/caml/alloc.h:24, from pocaml_c.c:11: pocaml_c.c: In function 'pocaml_hv_iternextsv': /usr/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ pocaml_c.c:610:11: note: in expansion of macro 'String_val' 610 | memcpy (String_val (strv), str, len); | ^~~~~~~~~~ In file included from /usr/lib/perl5/core_perl/CORE/perl.h:1414, from pocaml_c.c:19: /usr/include/string.h:27:15: note: expected 'void * restrict' but argument is of type 'const char *' 27 | void *memcpy (void *__restrict, const void *__restrict, size_t); | ^ ocamlmklib -o poCaml -rdynamic -Wl,-rpath,/usr/lib/perl5/core_perl/CORE -fstack-protector-strong -L/usr/local/lib -L/usr/lib/perl5/core_perl/CORE -lperl -lpthread -ldl -lm -lcrypt -lutil -lc poCaml.cmo pocaml_c.o Unknown option -rdynamic Unknown option -fstack-protector-strong ocamlopt -w s -c poCaml.ml ocamlmklib -o poCaml -rdynamic -Wl,-rpath,/usr/lib/perl5/core_perl/CORE -fstack-protector-strong -L/usr/local/lib -L/usr/lib/perl5/core_perl/CORE -lperl -lpthread -ldl -lm -lcrypt -lutil -lc poCaml.cmx pocaml_c.o Unknown option -rdynamic Unknown option -fstack-protector-strong >>> ocaml-perl-bridge: Entering fakeroot... rm -rf /home/buildozer/aports/testing/ocaml-perl-bridge/pkg/ocaml-perl-bridge/usr/lib/ocaml/poCaml install -c -m 0755 -d /home/buildozer/aports/testing/ocaml-perl-bridge/pkg/ocaml-perl-bridge/usr/lib/ocaml/poCaml install -c -m 0755 -d /home/buildozer/aports/testing/ocaml-perl-bridge/pkg/ocaml-perl-bridge/usr/lib/ocaml/stublibs install -c -m 0644 poCaml.cmi poCaml.cma poCaml.cmxa \ poCaml.a libpoCaml.a META \ /home/buildozer/aports/testing/ocaml-perl-bridge/pkg/ocaml-perl-bridge/usr/lib/ocaml/poCaml install -c -m 0755 dllpoCaml.so /home/buildozer/aports/testing/ocaml-perl-bridge/pkg/ocaml-perl-bridge/usr/lib/ocaml/stublibs >>> ocaml-perl-bridge-dev*: Running split function dev... '/home/buildozer/aports/testing/ocaml-perl-bridge/pkg/ocaml-perl-bridge/usr/lib/ocaml/poCaml/poCaml.cmxa' -> '/home/buildozer/aports/testing/ocaml-perl-bridge/pkg/ocaml-perl-bridge-dev/usr/lib/ocaml/poCaml/poCaml.cmxa' >>> ocaml-perl-bridge-dev*: Preparing subpackage ocaml-perl-bridge-dev... >>> ocaml-perl-bridge-dev*: Stripping binaries >>> ocaml-perl-bridge-dev*: Running postcheck for ocaml-perl-bridge-dev >>> ocaml-perl-bridge*: Running postcheck for ocaml-perl-bridge >>> ocaml-perl-bridge*: Preparing package ocaml-perl-bridge... >>> ocaml-perl-bridge*: Stripping binaries >>> ocaml-perl-bridge-dev*: Scanning shared objects >>> ocaml-perl-bridge*: Scanning shared objects >>> ocaml-perl-bridge-dev*: Tracing dependencies... >>> ocaml-perl-bridge-dev*: Package size: 124.0 KB >>> ocaml-perl-bridge-dev*: Compressing data... >>> ocaml-perl-bridge-dev*: Create checksum... >>> ocaml-perl-bridge-dev*: Create ocaml-perl-bridge-dev-0.01-r1.apk >>> ocaml-perl-bridge*: Tracing dependencies... ocaml-runtime so:libc.musl-ppc64le.so.1 so:libperl.so >>> ocaml-perl-bridge*: Package size: 156.0 KB >>> ocaml-perl-bridge*: Compressing data... >>> ocaml-perl-bridge*: Create checksum... >>> ocaml-perl-bridge*: Create ocaml-perl-bridge-0.01-r1.apk >>> ocaml-perl-bridge: Build complete at Wed, 08 Jun 2022 09:10:42 +0000 elapsed time 0h 0m 6s >>> ocaml-perl-bridge: Cleaning up srcdir >>> ocaml-perl-bridge: Cleaning up pkgdir >>> ocaml-perl-bridge: Uninstalling dependencies... (1/10) Purging .makedepends-ocaml-perl-bridge (20220608.091037) (2/10) Purging ocaml (4.14.0-r0) (3/10) Purging ocaml-runtime (4.14.0-r0) (4/10) Purging perl-dev (5.36.0-r0) (5/10) Purging perl-utils (5.36.0-r0) (6/10) Purging git-perl (2.36.1-r0) (7/10) Purging perl-git (2.36.1-r0) (8/10) Purging perl-error (0.17029-r1) (9/10) Purging perl (5.36.0-r0) (10/10) Purging libbz2 (1.0.8-r1) Executing busybox-1.35.0-r14.trigger OK: 230 MiB in 90 packages >>> ocaml-perl-bridge: Updating the testing/ppc64le repository index... >>> ocaml-perl-bridge: Signing the index...