Algorithm-ConsistentHash-Ketama v0.00012 Perl 5 v5.40.0 MSWin32-x64-multi-thread
- Status
- Fail
- From
- gregor herrmann
- Dist
-
Algorithm-ConsistentHash-Ketama v0.00012
- Platform
- Perl 5 v5.40.0 MSWin32-x64-multi-thread
- Date
- 2025-01-20 11:59:15
- ID
- 3d0fb020-6f5c-1014-9eb7-a8af630922f9
This distribution has been tested as part of the CPAN Testers
project, supporting the Perl programming language. See
http://wiki.cpantesters.org/ for more information or email
questions to cpan-testers-discuss@perl.org
--
Dear DMAKI,
This is a computer-generated report for Algorithm-ConsistentHash-Ketama-0.00012
on perl 5.40.0, created by App::cpanminus::reporter 0.18 (1.7048).
Thank you for uploading your work to CPAN. However, there was a problem
testing your distribution.
If you think this report is invalid, please consult the CPAN Testers Wiki
for suggestions on how to avoid getting FAIL reports for missing library
or binary dependencies, unsupported operating systems, and so on:
http://wiki.cpantesters.org/wiki/CPANAuthorNotes
Sections of this report:
* Tester comments
* Program output
* Prerequisites
* Environment and other context
------------------------------
TESTER COMMENTS
------------------------------
Additional comments from tester:
none provided
------------------------------
PROGRAM OUTPUT
------------------------------
Output from '':
Building and testing Algorithm-ConsistentHash-Ketama-0.00012
cp lib/Algorithm/ConsistentHash/Ketama.pm blib\lib\Algorithm\ConsistentHash\Ketama.pm
cp lib/Algorithm/ConsistentHash/Ketama/Bucket.pm blib\lib\Algorithm\ConsistentHash\Ketama\Bucket.pm
Running Mkbootstrap for Ketama ()
"C:\Strawberry\perl\bin\perl.exe" "-Iinc" -MExtUtils::Command -e chmod -- 644 "Ketama.bs"
"C:\Strawberry\perl\bin\perl.exe" "-Iinc" -MExtUtils::Command::MM -e cp_nonempty -- Ketama.bs blib\arch\auto\Algorithm\ConsistentHash\Ketama\Ketama.bs 644
"C:\Strawberry\perl\bin\perl.exe" "-Iinc" "C:\Strawberry\perl\lib\ExtUtils/xsubpp" -typemap C:\STRAWB~1\perl\lib\ExtUtils\typemap xs/Ketama.xs > xs/Ketama.xsc
"C:\Strawberry\perl\bin\perl.exe" "-Iinc" -MExtUtils::Command -e mv -- xs/Ketama.xsc xs/Ketama.c
gcc -c "-I." "-I." -std=c99 -DWIN32 -DWIN64 -DPERL_TEXTMODE_SCRIPTS -DMULTIPLICITY -DPERL_IMPLICIT_SYS -DUSE_PERLIO -D__USE_MINGW_ANSI_STDIO -fwrapv -fno-strict-aliasing -mms-bitfields -Wall -W -Wno-comment -Os -falign-functions -falign-jumps -falign-labels -falign-loops -freorder-blocks -freorder-blocks-algorithm=stc -freorder-blocks-and-partition -DVERSION=\"0.00012\" -DXS_VERSION=\"0.00012\" -o xs/Ketama.o "-IC:\STRAWB~1\perl\lib\CORE" -DUSE_PPPORT xs/Ketama.c
In file included from xs/Ketama.xs:37:
xs/KetamaMD5.h:81:1: warning: return type defaults to 'int' [-Wimplicit-int]
81 | _declspec(dllexport)
| ^~~~~~~~~
xs/KetamaMD5.h: In function '_declspec':
xs/KetamaMD5.h:87:1: error: expected declaration specifiers before '_declspec'
87 | _declspec(dllexport)
| ^~~~~~~~~
xs/KetamaMD5.h:93:1: error: expected declaration specifiers before '_declspec'
93 | _declspec(dllexport)
| ^~~~~~~~~
xs/Ketama.xs:48:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
48 | {
| ^
xs/Ketama.xs:58:1: error: storage class specified for parameter 'PerlKetama_hash_internal1'
58 | PerlKetama_hash_internal1( PerlKetama *, char *, STRLEN, unsigned int *);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
xs/Ketama.xs:60:1: error: storage class specified for parameter 'PerlKetama_hash_internal2'
60 | PerlKetama_hash_internal2( PerlKetama *, char *, STRLEN, unsigned int *);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
xs/Ketama.xs:64:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
64 | {
| ^
xs/Ketama.xs:90:65: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
90 | PerlKetama_mg_find(pTHX_ SV* const sv, const MGVTBL* const vtbl){
| ^
xs/Ketama.xs:110:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
110 | {
| ^
xs/Ketama.xs:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
119 | {
| ^
xs/Ketama.xs:139:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
139 | {
| ^
xs/Ketama.xs:161:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
161 | {
| ^
xs/Ketama.xs:182:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
182 | {
| ^
xs/Ketama.xs:220:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
220 | {
| ^
xs/Ketama.xs:229:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
229 | {
| ^
xs/Ketama.xs:281:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
281 | {
| ^
xs/Ketama.xs:296:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
296 | {
| ^
xs/Ketama.xs:344:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
344 | {
| ^
xs/Ketama.xs:406:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
406 | {
| ^
xs/Ketama.xs:421:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
421 | {
| ^
xs/Ketama.xs:470:68: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
470 | PerlKetama_mg_dup(pTHX_ MAGIC* const mg, CLONE_PARAMS* const param){
| ^
xs/Ketama.xs:481:15: error: storage class specified for parameter 'PerlKetama_vtbl'
481 | static MGVTBL PerlKetama_vtbl = { /* for identity */
| ^~~~~~~~~~~~~~~
xs/Ketama.xs:481:1: error: parameter 'PerlKetama_vtbl' is initialized
481 | static MGVTBL PerlKetama_vtbl = { /* for identity */
| ^~~~~~
xs/Ketama.xs:486:5: error: 'PerlKetama_mg_free' undeclared (first use in this function); did you mean 'PerlKetama_xs_create'?
486 | PerlKetama_mg_free, /* free */
| ^~~~~~~~~~~~~~~~~~
| PerlKetama_xs_create
xs/Ketama.xs:486:5: note: each undeclared identifier is reported only once for each function it appears in
xs/Ketama.xs:488:5: error: 'PerlKetama_mg_dup' undeclared (first use in this function); did you mean 'PerlKetama_vtbl'?
488 | PerlKetama_mg_dup, /* dup */
| ^~~~~~~~~~~~~~~~~
| PerlKetama_vtbl
In file included from xs/Ketama.h:5,
from xs/Ketama.xs:36:
xs/Ketama.c:647:10: error: storage class specified for parameter 'XS_Algorithm__ConsistentHash__Ketama_xs_create'
647 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_xs_create); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\STRAWB~1\perl\lib\CORE/XSUB.h:150:41: note: in definition of macro 'XS_INTERNAL'
150 | # define XS_INTERNAL(name) STATIC void name(pTHX_ CV* cv __attribute__unused__)
| ^~~~
xs/Ketama.c:647:1: note: in expansion of macro 'XS_EUPXS'
647 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_xs_create); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~
xs/Ketama.c:649:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
649 | {
| ^
xs/Ketama.c:693:10: error: storage class specified for parameter 'XS_Algorithm__ConsistentHash__Ketama_add_bucket'
693 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_add_bucket); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\STRAWB~1\perl\lib\CORE/XSUB.h:150:41: note: in definition of macro 'XS_INTERNAL'
150 | # define XS_INTERNAL(name) STATIC void name(pTHX_ CV* cv __attribute__unused__)
| ^~~~
xs/Ketama.c:693:1: note: in expansion of macro 'XS_EUPXS'
693 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_add_bucket); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~
xs/Ketama.c:695:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
695 | {
| ^
xs/Ketama.c:723:10: error: storage class specified for parameter 'XS_Algorithm__ConsistentHash__Ketama_remove_bucket'
723 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_remove_bucket); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\STRAWB~1\perl\lib\CORE/XSUB.h:150:41: note: in definition of macro 'XS_INTERNAL'
150 | # define XS_INTERNAL(name) STATIC void name(pTHX_ CV* cv __attribute__unused__)
| ^~~~
xs/Ketama.c:723:1: note: in expansion of macro 'XS_EUPXS'
723 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_remove_bucket); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~
xs/Ketama.c:725:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
725 | {
| ^
xs/Ketama.c:751:10: error: storage class specified for parameter 'XS_Algorithm__ConsistentHash__Ketama_buckets'
751 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_buckets); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\STRAWB~1\perl\lib\CORE/XSUB.h:150:41: note: in definition of macro 'XS_INTERNAL'
150 | # define XS_INTERNAL(name) STATIC void name(pTHX_ CV* cv __attribute__unused__)
| ^~~~
xs/Ketama.c:751:1: note: in expansion of macro 'XS_EUPXS'
751 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_buckets); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~
xs/Ketama.c:753:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
753 | {
| ^
xs/Ketama.c:783:10: error: storage class specified for parameter 'XS_Algorithm__ConsistentHash__Ketama_hash'
783 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_hash); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\STRAWB~1\perl\lib\CORE/XSUB.h:150:41: note: in definition of macro 'XS_INTERNAL'
150 | # define XS_INTERNAL(name) STATIC void name(pTHX_ CV* cv __attribute__unused__)
| ^~~~
xs/Ketama.c:783:1: note: in expansion of macro 'XS_EUPXS'
783 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_hash); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~
xs/Ketama.c:785:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
785 | {
| ^
xs/Ketama.c:816:10: error: storage class specified for parameter 'XS_Algorithm__ConsistentHash__Ketama_hash_with_hashnum'
816 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_hash_with_hashnum); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\STRAWB~1\perl\lib\CORE/XSUB.h:150:41: note: in definition of macro 'XS_INTERNAL'
150 | # define XS_INTERNAL(name) STATIC void name(pTHX_ CV* cv __attribute__unused__)
| ^~~~
xs/Ketama.c:816:1: note: in expansion of macro 'XS_EUPXS'
816 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_hash_with_hashnum); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~
xs/Ketama.c:818:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
818 | {
| ^
xs/Ketama.c:858:10: error: storage class specified for parameter 'XS_Algorithm__ConsistentHash__Ketama_label_from_hashnum'
858 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_label_from_hashnum); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\STRAWB~1\perl\lib\CORE/XSUB.h:150:41: note: in definition of macro 'XS_INTERNAL'
150 | # define XS_INTERNAL(name) STATIC void name(pTHX_ CV* cv __attribute__unused__)
| ^~~~
xs/Ketama.c:858:1: note: in expansion of macro 'XS_EUPXS'
858 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_label_from_hashnum); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~
xs/Ketama.c:860:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
860 | {
| ^
xs/Ketama.c:895:10: error: storage class specified for parameter 'XS_Algorithm__ConsistentHash__Ketama_clone'
895 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_clone); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\STRAWB~1\perl\lib\CORE/XSUB.h:150:41: note: in definition of macro 'XS_INTERNAL'
150 | # define XS_INTERNAL(name) STATIC void name(pTHX_ CV* cv __attribute__unused__)
| ^~~~
xs/Ketama.c:895:1: note: in expansion of macro 'XS_EUPXS'
895 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_clone); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~
xs/Ketama.c:897:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
897 | {
| ^
xs/Ketama.c:956:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
956 | {
| ^
xs/KetamaMD5.h:81:1: warning: type of 'dllexport' defaults to 'int' [-Wimplicit-int]
81 | _declspec(dllexport)
| ^~~~~~~~~
xs/Ketama.c:954:13: error: declaration for parameter 'boot_Algorithm__ConsistentHash__Ketama' but no such parameter
954 | XS_EXTERNAL(boot_Algorithm__ConsistentHash__Ketama); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\STRAWB~1\perl\lib\CORE/XSUB.h:149:34: note: in definition of macro 'XS_EXTERNAL'
149 | # define XS_EXTERNAL(name) void name(pTHX_ CV* cv __attribute__unused__)
| ^~~~
xs/Ketama.c:895:10: error: declaration for parameter 'XS_Algorithm__ConsistentHash__Ketama_clone' but no such parameter
895 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_clone); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\STRAWB~1\perl\lib\CORE/XSUB.h:150:41: note: in definition of macro 'XS_INTERNAL'
150 | # define XS_INTERNAL(name) STATIC void name(pTHX_ CV* cv __attribute__unused__)
| ^~~~
xs/Ketama.c:895:1: note: in expansion of macro 'XS_EUPXS'
895 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_clone); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~
xs/Ketama.c:858:10: error: declaration for parameter 'XS_Algorithm__ConsistentHash__Ketama_label_from_hashnum' but no such parameter
858 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_label_from_hashnum); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\STRAWB~1\perl\lib\CORE/XSUB.h:150:41: note: in definition of macro 'XS_INTERNAL'
150 | # define XS_INTERNAL(name) STATIC void name(pTHX_ CV* cv __attribute__unused__)
| ^~~~
xs/Ketama.c:858:1: note: in expansion of macro 'XS_EUPXS'
858 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_label_from_hashnum); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~
xs/Ketama.c:816:10: error: declaration for parameter 'XS_Algorithm__ConsistentHash__Ketama_hash_with_hashnum' but no such parameter
816 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_hash_with_hashnum); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\STRAWB~1\perl\lib\CORE/XSUB.h:150:41: note: in definition of macro 'XS_INTERNAL'
150 | # define XS_INTERNAL(name) STATIC void name(pTHX_ CV* cv __attribute__unused__)
| ^~~~
xs/Ketama.c:816:1: note: in expansion of macro 'XS_EUPXS'
816 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_hash_with_hashnum); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~
xs/Ketama.c:783:10: error: declaration for parameter 'XS_Algorithm__ConsistentHash__Ketama_hash' but no such parameter
783 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_hash); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\STRAWB~1\perl\lib\CORE/XSUB.h:150:41: note: in definition of macro 'XS_INTERNAL'
150 | # define XS_INTERNAL(name) STATIC void name(pTHX_ CV* cv __attribute__unused__)
| ^~~~
xs/Ketama.c:783:1: note: in expansion of macro 'XS_EUPXS'
783 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_hash); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~
xs/Ketama.c:751:10: error: declaration for parameter 'XS_Algorithm__ConsistentHash__Ketama_buckets' but no such parameter
751 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_buckets); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\STRAWB~1\perl\lib\CORE/XSUB.h:150:41: note: in definition of macro 'XS_INTERNAL'
150 | # define XS_INTERNAL(name) STATIC void name(pTHX_ CV* cv __attribute__unused__)
| ^~~~
xs/Ketama.c:751:1: note: in expansion of macro 'XS_EUPXS'
751 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_buckets); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~
xs/Ketama.c:723:10: error: declaration for parameter 'XS_Algorithm__ConsistentHash__Ketama_remove_bucket' but no such parameter
723 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_remove_bucket); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\STRAWB~1\perl\lib\CORE/XSUB.h:150:41: note: in definition of macro 'XS_INTERNAL'
150 | # define XS_INTERNAL(name) STATIC void name(pTHX_ CV* cv __attribute__unused__)
| ^~~~
xs/Ketama.c:723:1: note: in expansion of macro 'XS_EUPXS'
723 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_remove_bucket); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~
xs/Ketama.c:693:10: error: declaration for parameter 'XS_Algorithm__ConsistentHash__Ketama_add_bucket' but no such parameter
693 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_add_bucket); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\STRAWB~1\perl\lib\CORE/XSUB.h:150:41: note: in definition of macro 'XS_INTERNAL'
150 | # define XS_INTERNAL(name) STATIC void name(pTHX_ CV* cv __attribute__unused__)
| ^~~~
xs/Ketama.c:693:1: note: in expansion of macro 'XS_EUPXS'
693 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_add_bucket); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~
xs/Ketama.c:647:10: error: declaration for parameter 'XS_Algorithm__ConsistentHash__Ketama_xs_create' but no such parameter
647 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_xs_create); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\STRAWB~1\perl\lib\CORE/XSUB.h:150:41: note: in definition of macro 'XS_INTERNAL'
150 | # define XS_INTERNAL(name) STATIC void name(pTHX_ CV* cv __attribute__unused__)
| ^~~~
xs/Ketama.c:647:1: note: in expansion of macro 'XS_EUPXS'
647 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_xs_create); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~
xs/Ketama.xs:481:15: error: declaration for parameter 'PerlKetama_vtbl' but no such parameter
481 | static MGVTBL PerlKetama_vtbl = { /* for identity */
| ^~~~~~~~~~~~~~~
xs/Ketama.xs:60:1: error: declaration for parameter 'PerlKetama_hash_internal2' but no such parameter
60 | PerlKetama_hash_internal2( PerlKetama *, char *, STRLEN, unsigned int *);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
xs/Ketama.xs:58:1: error: declaration for parameter 'PerlKetama_hash_internal1' but no such parameter
58 | PerlKetama_hash_internal1( PerlKetama *, char *, STRLEN, unsigned int *);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
xs/KetamaMD5.h:83:6: error: declaration for parameter 'md5_init' but no such parameter
83 | void md5_init(md5_state_t *pms);
| ^~~~~~~~
xs/Ketama.c:1002: error: expected '{' at end of input
xs/KetamaMD5.h:81:1: warning: unused parameter 'dllexport' [-Wunused-parameter]
81 | _declspec(dllexport)
| ^~~~~~~~~
xs/Ketama.c:954:13: warning: unused parameter 'boot_Algorithm__ConsistentHash__Ketama' [-Wunused-parameter]
954 | XS_EXTERNAL(boot_Algorithm__ConsistentHash__Ketama); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\STRAWB~1\perl\lib\CORE/XSUB.h:149:34: note: in definition of macro 'XS_EXTERNAL'
149 | # define XS_EXTERNAL(name) void name(pTHX_ CV* cv __attribute__unused__)
| ^~~~
xs/Ketama.c:895:10: warning: unused parameter 'XS_Algorithm__ConsistentHash__Ketama_clone' [-Wunused-parameter]
895 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_clone); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\STRAWB~1\perl\lib\CORE/XSUB.h:150:41: note: in definition of macro 'XS_INTERNAL'
150 | # define XS_INTERNAL(name) STATIC void name(pTHX_ CV* cv __attribute__unused__)
| ^~~~
xs/Ketama.c:895:1: note: in expansion of macro 'XS_EUPXS'
895 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_clone); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~
xs/Ketama.c:858:10: warning: unused parameter 'XS_Algorithm__ConsistentHash__Ketama_label_from_hashnum' [-Wunused-parameter]
858 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_label_from_hashnum); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\STRAWB~1\perl\lib\CORE/XSUB.h:150:41: note: in definition of macro 'XS_INTERNAL'
150 | # define XS_INTERNAL(name) STATIC void name(pTHX_ CV* cv __attribute__unused__)
| ^~~~
xs/Ketama.c:858:1: note: in expansion of macro 'XS_EUPXS'
858 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_label_from_hashnum); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~
xs/Ketama.c:816:10: warning: unused parameter 'XS_Algorithm__ConsistentHash__Ketama_hash_with_hashnum' [-Wunused-parameter]
816 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_hash_with_hashnum); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\STRAWB~1\perl\lib\CORE/XSUB.h:150:41: note: in definition of macro 'XS_INTERNAL'
150 | # define XS_INTERNAL(name) STATIC void name(pTHX_ CV* cv __attribute__unused__)
| ^~~~
xs/Ketama.c:816:1: note: in expansion of macro 'XS_EUPXS'
816 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_hash_with_hashnum); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~
xs/Ketama.c:783:10: warning: unused parameter 'XS_Algorithm__ConsistentHash__Ketama_hash' [-Wunused-parameter]
783 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_hash); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\STRAWB~1\perl\lib\CORE/XSUB.h:150:41: note: in definition of macro 'XS_INTERNAL'
150 | # define XS_INTERNAL(name) STATIC void name(pTHX_ CV* cv __attribute__unused__)
| ^~~~
xs/Ketama.c:783:1: note: in expansion of macro 'XS_EUPXS'
783 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_hash); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~
xs/Ketama.c:751:10: warning: unused parameter 'XS_Algorithm__ConsistentHash__Ketama_buckets' [-Wunused-parameter]
751 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_buckets); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\STRAWB~1\perl\lib\CORE/XSUB.h:150:41: note: in definition of macro 'XS_INTERNAL'
150 | # define XS_INTERNAL(name) STATIC void name(pTHX_ CV* cv __attribute__unused__)
| ^~~~
xs/Ketama.c:751:1: note: in expansion of macro 'XS_EUPXS'
751 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_buckets); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~
xs/Ketama.c:723:10: warning: unused parameter 'XS_Algorithm__ConsistentHash__Ketama_remove_bucket' [-Wunused-parameter]
723 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_remove_bucket); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\STRAWB~1\perl\lib\CORE/XSUB.h:150:41: note: in definition of macro 'XS_INTERNAL'
150 | # define XS_INTERNAL(name) STATIC void name(pTHX_ CV* cv __attribute__unused__)
| ^~~~
xs/Ketama.c:723:1: note: in expansion of macro 'XS_EUPXS'
723 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_remove_bucket); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~
xs/Ketama.c:693:10: warning: unused parameter 'XS_Algorithm__ConsistentHash__Ketama_add_bucket' [-Wunused-parameter]
693 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_add_bucket); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\STRAWB~1\perl\lib\CORE/XSUB.h:150:41: note: in definition of macro 'XS_INTERNAL'
150 | # define XS_INTERNAL(name) STATIC void name(pTHX_ CV* cv __attribute__unused__)
| ^~~~
xs/Ketama.c:693:1: note: in expansion of macro 'XS_EUPXS'
693 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_add_bucket); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~
xs/Ketama.c:647:10: warning: unused parameter 'XS_Algorithm__ConsistentHash__Ketama_xs_create' [-Wunused-parameter]
647 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_xs_create); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\STRAWB~1\perl\lib\CORE/XSUB.h:150:41: note: in definition of macro 'XS_INTERNAL'
150 | # define XS_INTERNAL(name) STATIC void name(pTHX_ CV* cv __attribute__unused__)
| ^~~~
xs/Ketama.c:647:1: note: in expansion of macro 'XS_EUPXS'
647 | XS_EUPXS(XS_Algorithm__ConsistentHash__Ketama_xs_create); /* prototype to pass -Wmissing-prototypes */
| ^~~~~~~~
xs/Ketama.xs:481:15: warning: unused parameter 'PerlKetama_vtbl' [-Wunused-parameter]
481 | static MGVTBL PerlKetama_vtbl = { /* for identity */
| ^~~~~~~~~~~~~~~
xs/Ketama.xs:60:1: warning: unused parameter 'PerlKetama_hash_internal2' [-Wunused-parameter]
60 | PerlKetama_hash_internal2( PerlKetama *, char *, STRLEN, unsigned int *);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
xs/Ketama.xs:58:1: warning: unused parameter 'PerlKetama_hash_internal1' [-Wunused-parameter]
58 | PerlKetama_hash_internal1( PerlKetama *, char *, STRLEN, unsigned int *);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
xs/KetamaMD5.h:83:6: warning: unused parameter 'md5_init' [-Wunused-parameter]
83 | void md5_init(md5_state_t *pms);
| ^~~~~~~~
xs/Ketama.c:1002: warning: control reaches end of non-void function [-Wreturn-type]
gmake: *** [makefile:350: xs/Ketama.o] Error 1
-> FAIL Installing Algorithm::ConsistentHash::Ketama failed. See C:\Users\smoker\.cpanm\work\1737374335.6452\build.log for details. Retry with --force to force install it.
------------------------------
PREREQUISITES
------------------------------
Prerequisite modules loaded:
No requirements found
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
COMSPEC = C:\Windows\system32\cmd.exe
NUMBER_OF_PROCESSORS = 2
PATH = C:\WINDOWS\system32;C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin
PERL5_CPANPLUS_IS_RUNNING = 6968
PERL5_CPAN_IS_RUNNING = 6968
PERL_MM_USE_DEFAULT = 1
PROCESSOR_IDENTIFIER = Intel64 Family 6 Model 15 Stepping 11, GenuineIntel
TEMP = C:\Users\smoker\AppData\Local\Temp
Perl special variables (and OS-specific diagnostics, for MSWin32):
EGID = 0
EUID = 0
EXECUTABLE_NAME = C:\Strawberry\perl\bin\perl.exe
GID = 0
UID = 0
Win32::FsType = NTFS
Win32::GetOSName = Win10
Win32::GetOSVersion = , 10, 0, 19045, 2, 0, 0, 256, 1
Win32::IsAdminUser = 0
Perl module toolchain versions installed:
Module Have
------------------- --------
CPAN 2.38
CPAN::Meta 2.150010
Cwd 3.90
ExtUtils::CBuilder 0.280240
ExtUtils::Command 7.70
ExtUtils::Install 2.22
ExtUtils::MakeMaker 7.70
ExtUtils::Manifest 1.75
ExtUtils::ParseXS 3.51
File::Spec 3.90
JSON 4.10
JSON::PP 4.16
Module::Build 0.4234
Module::Signature n/a
Parse::CPAN::Meta 2.150010
Test::Harness 3.50
Test::More 1.302207
YAML 1.31
YAML::Syck 1.34
version 0.9933
--
Summary of my perl5 (revision 5 version 40 subversion 0) configuration:
Platform:
osname=MSWin32
osvers=10.0.22621.3880
archname=MSWin32-x64-multi-thread
uname='Win32 strawberry-perl 5.40.0.1 # 02:45:15 Sat August 10 2024 x64'
config_args='undef'
hint=recommended
useposix=true
d_sigaction=undef
useithreads=define
usemultiplicity=define
use64bitint=define
use64bitall=undef
uselongdouble=undef
usemymalloc=n
default_inc_excludes_dot=define
Compiler:
cc='gcc'
ccflags ='-std=c99 -DWIN32 -DWIN64 -DPERL_TEXTMODE_SCRIPTS -DMULTIPLICITY -DPERL_IMPLICIT_SYS -DUSE_PERLIO -D__USE_MINGW_ANSI_STDIO -fwrapv -fno-strict-aliasing -mms-bitfields'
optimize='-Os -falign-functions -falign-jumps -falign-labels -falign-loops -freorder-blocks -freorder-blocks-algorithm=stc -freorder-blocks-and-partition'
cppflags='-DWIN32'
ccversion=''
gccversion='13.2.0'
gccosandvers=''
intsize=4
longsize=4
ptrsize=8
doublesize=8
byteorder=12345678
doublekind=3
d_longlong=define
longlongsize=8
d_longdbl=define
longdblsize=16
longdblkind=3
ivtype='long long'
ivsize=8
nvtype='double'
nvsize=8
Off_t='long long'
lseeksize=8
alignbytes=8
prototype=define
Linker and Libraries:
ld='g++'
ldflags ='-s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~1\c\lib" -L"C:\STRAWB~1\c\x86_64-w64-mingw32\lib" -L"C:\STRAWB~1\c\lib\gcc\x86_64-w64-mingw32\13.2.0"'
libpth=C:\STRAWB~1\c\lib C:\STRAWB~1\c\x86_64-w64-mingw32\lib C:\STRAWB~1\c\lib\gcc\x86_64-w64-mingw32\13.2.0 C:\STRAWB~1\c\x86_64-w64-mingw32\lib C:\STRAWB~1\c\lib\gcc\x86_64-w64-mingw32\13.2.0
libs= -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32
perllibs= -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32
libc=-lucrt
so=dll
useshrplib=true
libperl=libperl540.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_win32.xs
dlext=xs.dll
d_dlsymun=undef
ccdlflags=' '
cccdlflags=' '
lddlflags='-shared -s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~1\c\lib" -L"C:\STRAWB~1\c\x86_64-w64-mingw32\lib" -L"C:\STRAWB~1\c\lib\gcc\x86_64-w64-mingw32\13.2.0"'
Characteristics of this binary (from libperl):
Compile-time options:
HAS_LONG_DOUBLE
HAS_TIMES
HAVE_INTERP_INTERN
MULTIPLICITY
PERLIO_LAYERS
PERL_COPY_ON_WRITE
PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_SIPHASH13
PERL_HASH_USE_SBOX32
PERL_IMPLICIT_SYS
PERL_MALLOC_WRAP
PERL_OP_PARENT
PERL_PRESERVE_IVUV
PERL_USE_SAFE_PUTENV
USE_64_BIT_INT
USE_ITHREADS
USE_LARGE_FILES
USE_LOCALE
USE_LOCALE_COLLATE
USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC
USE_LOCALE_TIME
USE_PERLIO
USE_PERL_ATOF
USE_THREAD_SAFE_LOCALE
Built under MSWin32
Compiled at Aug 10 2024 12:45:35
%ENV:
PERL5_CPANPLUS_IS_RUNNING="6968"
PERL5_CPAN_IS_RUNNING="6968"
PERL_MM_USE_DEFAULT="1"
@INC:
C:/Strawberry/perl/site/lib/MSWin32-x64-multi-thread
C:/Strawberry/perl/site/lib
C:/Strawberry/perl/vendor/lib
C:/Strawberry/perl/lib