Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
% perlbrew install -v perl-5.8.9 ... DB_File.xs:998:34: error: incompatible function pointer types assignin +g to 'u_int32_t (*)(const void *, size_t)' (aka 'unsigned int (*)(con +st void *, unsigned long)') from 'int (const void *, size_t)' (aka 'i +nt (const void *, unsigned long)') [-Wincompatible-function-pointer-t +ypes] info->db_HA_hash = hash_cb ; ^ ~~~~~~~ DB_File.xs:1041:36: error: incompatible function pointer types assigni +ng to 'size_t (*)(const DBT *, const DBT *)' (aka 'unsigned long (*)( +const DBT *, const DBT *)') from 'int (const DBT *, const DBT *)' [-W +incompatible-function-pointer-types] info->db_BT_prefix = btree_prefix ; ^ ~~~~~~~~~~~~ ... 308 warnings and 2 errors generated. make[1]: *** [DB_File.o] Error 1 make: *** [lib/auto/DB_File/DB_File.bundle] Error 2 perl-5.8.9 is successfully installed. % perlbrew list * perl-5.42.0 perl-5.38.2 % perlbrew install -v perl-5.24.4 ... # Failed test 25 - SHA for cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblis +t/Kid.pm matches stashed SHA at porting/customized.t line 105 # got "47d2fdf890d7913ccd0e32b5f98a98f75745d227" # expected "bfd2aa00ca4ed251f342e1d1ad704abbaf5a615e" porting/customized.t .............................................. Failed 1/181 subtests ... Test Summary Report ------------------- porting/customized.t (Wstat +: 0 Tests: 181 Failed: 1) Failed test: 25 porting/libperl.t (Wstat +: 7424 Tests: 0 Failed: 0) Non-zero exit status: 29 Parse errors: No plan found in TAP output Files=2410, Tests=850611, 515 wallclock secs (11.99 usr 2.72 sys + 13 +4.39 cusr 16.64 csys = 165.74 CPU) Result: FAIL make: *** [test_harness] Error 1 perl-5.24.4 is successfully installed. % perlbrew list * perl-5.42.0 perl-5.38.2
Summary of my perl5 (revision 5 version 42 subversion 0) configuration:
Platform:
osname=darwin
osvers=23.3.0
archname=darwin-2level
gccversion='Apple LLVM 15.0.0 (clang-1500.3.9.4)'
PERLBREW_PERL="perl-5.42.0"
PERLBREW_SHELLRC_VERSION="1.02"
PERLBREW_VERSION="1.02"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perlbrew fails to install perl but reports success
by choroba (Cardinal) on Apr 14, 2026 at 19:06 UTC | |
|
Re: Perlbrew fails to install perl but reports success
by ikegami (Patriarch) on Apr 14, 2026 at 19:11 UTC |