=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for ocaml-curl-0.5.3nb44 gmake[1]: Entering directory '/tmp/pkgbuild/www/ocaml-curl/work.sparc64/ocurl' gmake[1]: Leaving directory '/tmp/pkgbuild/www/ocaml-curl/work.sparc64/ocurl' gmake[1]: Entering directory '/tmp/pkgbuild/www/ocaml-curl/work.sparc64/ocurl' ocamlc -c curl.mli -o curl.cmi ocamlc -c curl.ml -o curl.cmo gcc -c -Wall -I/usr/pkg/include -DHAVE_CONFIG_H -I/usr/pkg/lib/ocaml curl-helper.c -o curl-helper.o curl-helper.c:25:13: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead void leave_blocking_section(void); ^~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:26:13: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead void enter_blocking_section(void); ^~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1072:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead Store_field(exceptionData, 2, copy_string(errorString)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1077:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead copy_string(conn->errorBuffer)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1085:13: warning: "raise_with_arg" is deprecated: use "caml_raise_with_arg" instead raise_with_arg(*exception, exceptionData); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1097:13: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead enter_blocking_section(); ^~~~~~~~~~~~~~~~~ curl-helper.c:1099:13: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead leave_blocking_section(); ^~~~~~~~~~~~~~~~~ curl-helper.c:1116:13: warning: "alloc" is deprecated: use "caml_alloc" instead connection->ocamlValues = alloc(OcamlValuesSize, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1120:13: warning: "register_global_root" is deprecated: use "caml_register_global_root" instead register_global_root(&connection->ocamlValues); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1176:13: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead enter_blocking_section(); ^~~~~~~~~~~~~~~~~ curl-helper.c:1178:13: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead leave_blocking_section(); ^~~~~~~~~~~~~~~~~ curl-helper.c:1195:13: warning: "alloc" is deprecated: use "caml_alloc" instead connection->ocamlValues = alloc(OcamlValuesSize, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1199:13: warning: "register_global_root" is deprecated: use "caml_register_global_root" instead register_global_root(&connection->ocamlValues); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1401:13: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead enter_blocking_section(); ^~~~~~~~~~~~~~~~~ curl-helper.c:1403:13: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead leave_blocking_section(); ^~~~~~~~~~~~~~~~~ curl-helper.c:1415:13: warning: "remove_global_root" is deprecated: use "caml_remove_global_root" instead remove_global_root(&connection->ocamlValues); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1517:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Invalid Connection"); ^~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1539:13: warning: "alloc_string" is deprecated: use "caml_alloc_string" instead str = alloc_string(size*nmemb); ^~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1544:13: warning: "callback" is deprecated: use "caml_callback" instead result = callback(Field(conn->ocamlValues, OcamlWriteCallback), str); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1549:13: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead WRAP_DATA_CALLBACK(writeFunction) ^~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1549:13: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead curl-helper.c:1560:13: warning: "callback" is deprecated: use "caml_callback" instead result = callback(Field(conn->ocamlValues, OcamlReadCallback), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1563:13: warning: "string_length" is deprecated: use "caml_string_length" instead length = string_length(result); ^~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1573:13: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead WRAP_DATA_CALLBACK(readFunction) ^~~~~~~~~~~~~~~~~~~~ curl-helper.c:1573:13: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead curl-helper.c:1584:13: warning: "alloc_string" is deprecated: use "caml_alloc_string" instead str = alloc_string(size*nmemb); ^~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1589:13: warning: "callback" is deprecated: use "caml_callback" instead result = callback(Field(conn->ocamlValues, OcamlHeaderCallback), str); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1594:13: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead WRAP_DATA_CALLBACK(headerFunction) ^~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1594:13: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead curl-helper.c:1609:13: warning: "copy_double" is deprecated: use "caml_copy_double" instead callbackData[0] = copy_double(dlTotal); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1610:13: warning: "copy_double" is deprecated: use "caml_copy_double" instead callbackData[1] = copy_double(dlNow); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1611:13: warning: "copy_double" is deprecated: use "caml_copy_double" instead callbackData[2] = copy_double(ulTotal); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1612:13: warning: "copy_double" is deprecated: use "caml_copy_double" instead callbackData[3] = copy_double(ulNow); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1614:13: warning: "callbackN" is deprecated: use "caml_callbackN" instead result = callbackN(Field(conn->ocamlValues, OcamlProgressCallback), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1627:13: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead leave_blocking_section(); ^~~~~~~~~~~~~~~ curl-helper.c:1629:13: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead enter_blocking_section(); ^~~~~~~~~~~~~~~ curl-helper.c:1648:13: warning: "alloc_string" is deprecated: use "caml_alloc_string" instead camlMessage = alloc_string(bufferLength); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1653:13: warning: "callback3" is deprecated: use "caml_callback3" instead callback3(Field(conn->ocamlValues, OcamlDebugCallback), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1668:13: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead leave_blocking_section(); ^~~~~~~~~~~~~~~ curl-helper.c:1670:13: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead enter_blocking_section(); ^~~~~~~~~~~~~~~ curl-helper.c:1690:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Invalid IOCTL Cmd!"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1692:13: warning: "alloc" is deprecated: use "caml_alloc" instead camlConnection = alloc(1, Abstract_tag); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1695:13: warning: "callback2" is deprecated: use "caml_callback2" instead camlResult = callback2(Field(conn->ocamlValues, OcamlIOCTLCallback), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1726:13: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead leave_blocking_section(); ^~~~~~~~~~~~~~~ curl-helper.c:1728:13: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead enter_blocking_section(); ^~~~~~~~~~~~~~~ curl-helper.c:1742:13: warning: "copy_int64" is deprecated: use "caml_copy_int64" instead camlOffset = copy_int64(offset); ^~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1753:13: warning: "callback2" is deprecated: use "caml_callback2" instead camlResult = callback2(Field(conn->ocamlValues, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1768:13: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead leave_blocking_section(); ^~~~~~~~~~~~~~~ curl-helper.c:1770:13: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead enter_blocking_section(); ^~~~~~~~~~~~~~~ curl-helper.c:1803:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Invalid Initialization Option"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1835:13: warning: "alloc" is deprecated: use "caml_alloc" instead result = alloc(1, Abstract_tag); ^~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1853:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Not a proper closure"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:1880:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Not a proper closure"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2164:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Invalid NETRC Option"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2199:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Invalid Encoding Option"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2371:13: warning: "string_length" is deprecated: use "caml_string_length" instead conn->postFields = malloc(string_length(option)+1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2372:13: warning: "string_length" is deprecated: use "caml_string_length" instead memcpy(conn->postFields, String_val(option), string_length(option)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2551:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Not a string"); ^~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2599:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Incorrect CURLFORM_CONTENT parameters"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2605:13: warning: "string_length" is deprecated: use "caml_string_length" instead str1 = (char *)malloc(string_length(Field(formItem, 0))+1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2608:13: warning: "string_length" is deprecated: use "caml_string_length" instead string_length(Field(formItem, 0))); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2609:13: warning: "string_length" is deprecated: use "caml_string_length" instead str1[string_length(Field(formItem, 0))] = 0; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2613:13: warning: "string_length" is deprecated: use "caml_string_length" instead str2 = (char *)malloc(string_length(Field(formItem, 1))+1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2616:13: warning: "string_length" is deprecated: use "caml_string_length" instead string_length(Field(formItem, 1))); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2617:13: warning: "string_length" is deprecated: use "caml_string_length" instead str2[string_length(Field(formItem, 1))] = 0; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2626:13: warning: "string_length" is deprecated: use "caml_string_length" instead string_length(Field(formItem, 0)), ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2630:13: warning: "string_length" is deprecated: use "caml_string_length" instead string_length(Field(formItem, 1)), ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2635:13: warning: "string_length" is deprecated: use "caml_string_length" instead str1 = (char *)malloc(string_length(Field(formItem, 0))+1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2638:13: warning: "string_length" is deprecated: use "caml_string_length" instead string_length(Field(formItem, 0))); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2639:13: warning: "string_length" is deprecated: use "caml_string_length" instead str1[string_length(Field(formItem, 0))] = 0; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2643:13: warning: "string_length" is deprecated: use "caml_string_length" instead str2 = (char *)malloc(string_length(Field(formItem, 1))+1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2646:13: warning: "string_length" is deprecated: use "caml_string_length" instead string_length(Field(formItem, 1))); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2647:13: warning: "string_length" is deprecated: use "caml_string_length" instead str2[string_length(Field(formItem, 1))] = 0; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2653:13: warning: "string_length" is deprecated: use "caml_string_length" instead str3 = (char *)malloc(string_length(Field(contentType, 0))+1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2656:13: warning: "string_length" is deprecated: use "caml_string_length" instead string_length(Field(contentType, 0))); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2657:13: warning: "string_length" is deprecated: use "caml_string_length" instead str3[string_length(Field(contentType, 0))] = 0; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2666:13: warning: "string_length" is deprecated: use "caml_string_length" instead string_length(Field(formItem, 0)), ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2670:13: warning: "string_length" is deprecated: use "caml_string_length" instead string_length(Field(formItem, 1)), ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2677:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Incorrect CURLFORM_CONTENT parameters"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2684:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Incorrect CURLFORM_FILECONTENT parameters"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2690:13: warning: "string_length" is deprecated: use "caml_string_length" instead str1 = (char *)malloc(string_length(Field(formItem, 0))+1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2693:13: warning: "string_length" is deprecated: use "caml_string_length" instead string_length(Field(formItem, 0))); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2694:13: warning: "string_length" is deprecated: use "caml_string_length" instead str1[string_length(Field(formItem, 0))] = 0; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2698:13: warning: "string_length" is deprecated: use "caml_string_length" instead str2 = (char *)malloc(string_length(Field(formItem, 1))+1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2701:13: warning: "string_length" is deprecated: use "caml_string_length" instead string_length(Field(formItem, 1))); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2702:13: warning: "string_length" is deprecated: use "caml_string_length" instead str2[string_length(Field(formItem, 1))] = 0; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2711:13: warning: "string_length" is deprecated: use "caml_string_length" instead string_length(Field(formItem, 0)), ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2718:13: warning: "string_length" is deprecated: use "caml_string_length" instead str1 = (char *)malloc(string_length(Field(formItem, 0))+1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2721:13: warning: "string_length" is deprecated: use "caml_string_length" instead string_length(Field(formItem, 0))); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2722:13: warning: "string_length" is deprecated: use "caml_string_length" instead str1[string_length(Field(formItem, 0))] = 0; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2726:13: warning: "string_length" is deprecated: use "caml_string_length" instead str2 = (char *)malloc(string_length(Field(formItem, 1))+1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2729:13: warning: "string_length" is deprecated: use "caml_string_length" instead string_length(Field(formItem, 1))); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2730:13: warning: "string_length" is deprecated: use "caml_string_length" instead str2[string_length(Field(formItem, 1))] = 0; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2736:13: warning: "string_length" is deprecated: use "caml_string_length" instead str3 = (char *)malloc(string_length(Field(contentType, 0))+1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2739:13: warning: "string_length" is deprecated: use "caml_string_length" instead string_length(Field(contentType, 0))); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2740:13: warning: "string_length" is deprecated: use "caml_string_length" instead str3[string_length(Field(contentType, 0))] = 0; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2749:13: warning: "string_length" is deprecated: use "caml_string_length" instead string_length(Field(formItem, 0)), ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2758:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Incorrect CURLFORM_FILECONTENT parameters"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2765:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Incorrect CURLFORM_FILE parameters"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2771:13: warning: "string_length" is deprecated: use "caml_string_length" instead str1 = (char *)malloc(string_length(Field(formItem, 0))+1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2774:13: warning: "string_length" is deprecated: use "caml_string_length" instead string_length(Field(formItem, 0))); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2775:13: warning: "string_length" is deprecated: use "caml_string_length" instead str1[string_length(Field(formItem, 0))] = 0; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2779:13: warning: "string_length" is deprecated: use "caml_string_length" instead str2 = (char *)malloc(string_length(Field(formItem, 1))+1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2782:13: warning: "string_length" is deprecated: use "caml_string_length" instead string_length(Field(formItem, 1))); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2783:13: warning: "string_length" is deprecated: use "caml_string_length" instead str2[string_length(Field(formItem, 1))] = 0; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2792:13: warning: "string_length" is deprecated: use "caml_string_length" instead string_length(Field(formItem, 0)), ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2799:13: warning: "string_length" is deprecated: use "caml_string_length" instead str1 = (char *)malloc(string_length(Field(formItem, 0))+1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2802:13: warning: "string_length" is deprecated: use "caml_string_length" instead string_length(Field(formItem, 0))); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2803:13: warning: "string_length" is deprecated: use "caml_string_length" instead str1[string_length(Field(formItem, 0))] = 0; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2807:13: warning: "string_length" is deprecated: use "caml_string_length" instead str2 = (char *)malloc(string_length(Field(formItem, 1))+1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2810:13: warning: "string_length" is deprecated: use "caml_string_length" instead string_length(Field(formItem, 1))); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2811:13: warning: "string_length" is deprecated: use "caml_string_length" instead str2[string_length(Field(formItem, 1))] = 0; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2817:13: warning: "string_length" is deprecated: use "caml_string_length" instead str3 = (char *)malloc(string_length(Field(contentType, 0))+1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2820:13: warning: "string_length" is deprecated: use "caml_string_length" instead string_length(Field(contentType, 0))); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2821:13: warning: "string_length" is deprecated: use "caml_string_length" instead str3[string_length(Field(contentType, 0))] = 0; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2830:13: warning: "string_length" is deprecated: use "caml_string_length" instead string_length(Field(formItem, 0)), ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2839:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Incorrect CURLFORM_FILE parameters"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2846:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Incorrect CURLFORM_BUFFER parameters"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2852:13: warning: "string_length" is deprecated: use "caml_string_length" instead str1 = (char *)malloc(string_length(Field(formItem, 0))+1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2855:13: warning: "string_length" is deprecated: use "caml_string_length" instead string_length(Field(formItem, 0))); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2856:13: warning: "string_length" is deprecated: use "caml_string_length" instead str1[string_length(Field(formItem, 0))] = 0; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2860:13: warning: "string_length" is deprecated: use "caml_string_length" instead str2 = (char *)malloc(string_length(Field(formItem, 1))+1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2863:13: warning: "string_length" is deprecated: use "caml_string_length" instead string_length(Field(formItem, 1))); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2864:13: warning: "string_length" is deprecated: use "caml_string_length" instead str2[string_length(Field(formItem, 1))] = 0; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2868:13: warning: "string_length" is deprecated: use "caml_string_length" instead str3 = (char *)malloc(string_length(Field(formItem, 2))+1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2871:13: warning: "string_length" is deprecated: use "caml_string_length" instead string_length(Field(formItem, 2))); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2872:13: warning: "string_length" is deprecated: use "caml_string_length" instead str3[string_length(Field(formItem, 2))] = 0; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2881:13: warning: "string_length" is deprecated: use "caml_string_length" instead string_length(Field(formItem, 0)), ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2887:13: warning: "string_length" is deprecated: use "caml_string_length" instead string_length(Field(formItem, 2)), ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2892:13: warning: "string_length" is deprecated: use "caml_string_length" instead str1 = (char *)malloc(string_length(Field(formItem, 0))+1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2895:13: warning: "string_length" is deprecated: use "caml_string_length" instead string_length(Field(formItem, 0))); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2896:13: warning: "string_length" is deprecated: use "caml_string_length" instead str1[string_length(Field(formItem, 0))] = 0; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2900:13: warning: "string_length" is deprecated: use "caml_string_length" instead str2 = (char *)malloc(string_length(Field(formItem, 1))+1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2903:13: warning: "string_length" is deprecated: use "caml_string_length" instead string_length(Field(formItem, 1))); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2904:13: warning: "string_length" is deprecated: use "caml_string_length" instead str2[string_length(Field(formItem, 1))] = 0; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2908:13: warning: "string_length" is deprecated: use "caml_string_length" instead str3 = (char *)malloc(string_length(Field(formItem, 2))+1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2911:13: warning: "string_length" is deprecated: use "caml_string_length" instead string_length(Field(formItem, 2))); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2912:13: warning: "string_length" is deprecated: use "caml_string_length" instead str3[string_length(Field(formItem, 2))] = 0; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2918:13: warning: "string_length" is deprecated: use "caml_string_length" instead str4 = (char *)malloc(string_length(Field(contentType, 0))+1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2921:13: warning: "string_length" is deprecated: use "caml_string_length" instead string_length(Field(contentType, 0))); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2922:13: warning: "string_length" is deprecated: use "caml_string_length" instead str4[string_length(Field(contentType, 0))] = 0; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2931:13: warning: "string_length" is deprecated: use "caml_string_length" instead string_length(Field(formItem, 0)), ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2937:13: warning: "string_length" is deprecated: use "caml_string_length" instead string_length(Field(formItem, 2)), ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:2944:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Incorrect CURLFORM_BUFFER parameters"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:3165:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Not a string"); ^~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:3203:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Not a string"); ^~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:3230:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Not a proper closure"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:3306:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Invalid TIMECOND Option"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:3413:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Invalid KRB4 Option"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:3431:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Not a proper closure"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:3573:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Invalid CLOSEPOLICY Option"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:3707:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Invalid SSLVERIFYHOST Option"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:3787:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Invalid HTTP_VERSION Option"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:3850:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Not a proper closure"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:3915:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Not a string"); ^~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:4017:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Invalid HTTPAUTH Value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:4097:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Invalid HTTPAUTH Value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:4165:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Invalid IPRESOLVE Value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:4319:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Invalid FTP_SSL Value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:4400:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Invalid FTPSSLAUTH value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:4423:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Not a proper closure"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:4571:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Invalid FTP_FILEMETHOD value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:4767:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Invalid CURLSSH_AUTH_TYPES Value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:4869:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Invalid FTPSSL_CCC value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:5106:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Not a proper closure"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:5149:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith(error); ^~~~~~~~~~~~ curl-helper.c:5153:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Not a block"); ^~~~~~~~~~~~~~~~~~~~ curl-helper.c:5156:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Insufficient data in block"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:5164:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Invalid CURLOPT Option"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:5181:13: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead enter_blocking_section(); ^~~~~~~~~~~~~~~~~ curl-helper.c:5183:13: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead leave_blocking_section(); ^~~~~~~~~~~~~~~~~ curl-helper.c:5219:13: warning: "alloc" is deprecated: use "caml_alloc" instead result = alloc(1, Abstract_tag); ^~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:5245:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead next = alloc_tuple(2); ^~~~~~~~~~~~~~~~~~ curl-helper.c:5246:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead Store_field(next, 0, copy_string(p->data)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:5584:13: warning: "failwith" is deprecated: use "caml_failwith" instead failwith("Invalid CURLINFO Option"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:5594:13: warning: "alloc" is deprecated: use "caml_alloc" instead result = alloc(1, StringValue); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:5595:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead Store_field(result, 0, copy_string(strValue?strValue:"")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:5599:13: warning: "alloc" is deprecated: use "caml_alloc" instead result = alloc(1, LongValue); ^~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:5604:13: warning: "alloc" is deprecated: use "caml_alloc" instead result = alloc(1, DoubleValue); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:5605:13: warning: "copy_double" is deprecated: use "caml_copy_double" instead Store_field(result, 0, copy_double(doubleValue)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:5609:13: warning: "alloc" is deprecated: use "caml_alloc" instead result = alloc(1, StringListValue); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:5627:13: warning: "string_length" is deprecated: use "caml_string_length" instead curlResult = curl_escape(String_val(str), string_length(str)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:5628:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead result = copy_string(curlResult); ^~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:5644:13: warning: "string_length" is deprecated: use "caml_string_length" instead curlResult = curl_unescape(String_val(str), string_length(str)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:5645:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead result = copy_string(curlResult); ^~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:5664:13: warning: "copy_double" is deprecated: use "caml_copy_double" instead result = copy_double((double)curlResult); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl-helper.c:5680:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead result = copy_string(str); ^~~~~~~~~~~~~~~~~~ curl-helper.c: In function 'raiseError': curl-helper.c:1080:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ar crus libcurl-helper.a curl-helper.o ranlib libcurl-helper.a ocamlc -custom -a -ccopt -L/usr/lib -o curl.cma curl.cmo -cclib -lcurl-helper -cclib "-Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -L/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/lib -lcurl" (cd examples; /usr/pkg/bin/gmake) gmake[2]: Entering directory '/tmp/pkgbuild/www/ocaml-curl/work.sparc64/ocurl/examples' gmake[3]: Entering directory '/tmp/pkgbuild/www/ocaml-curl/work.sparc64/ocurl/examples' gmake[3]: Leaving directory '/tmp/pkgbuild/www/ocaml-curl/work.sparc64/ocurl/examples' gmake[3]: Entering directory '/tmp/pkgbuild/www/ocaml-curl/work.sparc64/ocurl/examples' ocamlc -c -I .. ocurl.ml -o ocurl.cmo ocamlc -I .. -ccopt -L.. curl.cma ocurl.cmo -o ocurl ocamlc -c -I .. oput.ml -o oput.cmo ocamlc -I .. -ccopt -L.. curl.cma oput.cmo -o oput ocamlc -c -I .. ominimal.ml -o ominimal.cmo ocamlc -I .. -ccopt -L.. curl.cma ominimal.cmo -o ominimal ocamlc -c -I .. ossl.ml -o ossl.cmo ocamlc -I .. -ccopt -L.. curl.cma ossl.cmo -o ossl gmake[3]: Leaving directory '/tmp/pkgbuild/www/ocaml-curl/work.sparc64/ocurl/examples' gmake[2]: Leaving directory '/tmp/pkgbuild/www/ocaml-curl/work.sparc64/ocurl/examples' gmake[1]: Leaving directory '/tmp/pkgbuild/www/ocaml-curl/work.sparc64/ocurl'