Subject: | BerkeleyDB-0.52 fails to build on 5.18.1RC3 |
Hi,
I have experienced the following failure when building BerkeleyDB-0.52 on 5.18.1RC3 (MS Windows 32bit)
Checking if your kit is complete...
Looks good
Writing Makefile for BerkeleyDB
Writing MYMETA.yml and MYMETA.json
cp mkconsts.pl blib\lib\mkconsts.pl
cp BerkeleyDB/Hash.pm blib\lib\BerkeleyDB\Hash.pm
cp BerkeleyDB.pm blib\lib\BerkeleyDB.pm
AutoSplitting blib\lib\BerkeleyDB.pm (blib\lib\auto\BerkeleyDB)
cp BerkeleyDB/Btree.pm blib\lib\BerkeleyDB\Btree.pm
cp scan.pl blib\lib\scan.pl
cp BerkeleyDB.pod blib\lib\BerkeleyDB.pod
C:\strawberry\perl\bin\perl.exe C:\strawberry\perl\lib\ExtUtils\xsubpp -noprototypes -typemap C:\strawberry\perl\lib\ExtUtils\typemap -typemap typemap Berkeley
DB.xs > BerkeleyDB.xsc && C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e mv -- BerkeleyDB.xsc BerkeleyDB.c
Warning: Found a 'CODE' section which seems to be using 'RETVAL' but no 'OUTPUT' section. in BerkeleyDB.xs, line 5856
Warning: Found a 'CODE' section which seems to be using 'RETVAL' but no 'OUTPUT' section. in BerkeleyDB.xs, line 5884
gcc -c -I/usr/local/BerkeleyDB/include -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fno-strict-alia
sing -mms-bitfields -s -O2 -DVERSION=\"0.52\" -DXS_VERSION=\"0.52\" "-IC:\strawberry\perl\lib\CORE" BerkeleyDB.c
BerkeleyDB.xs: In function 'close_everything':
BerkeleyDB.xs:898:48: error: macro "PerlLIO_close" passed 2 arguments, but takes just 1
BerkeleyDB.c: In function 'XS_BerkeleyDB__Env_DB_ENV':
BerkeleyDB.c:3511:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
BerkeleyDB.xs: In function 'XS_BerkeleyDB__Unknown__db_open_unknown':
BerkeleyDB.xs:3897:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
BerkeleyDB.xs: In function 'XS_BerkeleyDB__DbStream_close':
BerkeleyDB.xs:5428:65: error: macro "PerlLIO_close" passed 2 arguments, but takes just 1
BerkeleyDB.xs:5428:16: warning: assignment makes integer from pointer without a cast [enabled by default]
BerkeleyDB.xs: In function 'XS_BerkeleyDB__DbStream_read':
BerkeleyDB.xs:5453:73: error: macro "PerlLIO_read" passed 5 arguments, but takes just 3
BerkeleyDB.xs:5453:16: warning: assignment makes integer from pointer without a cast [enabled by default]
BerkeleyDB.xs: In function 'XS_BerkeleyDB__DbStream_write':
BerkeleyDB.xs:5474:68: error: macro "PerlLIO_write" passed 4 arguments, but takes just 3
BerkeleyDB.xs:5474:16: warning: assignment makes integer from pointer without a cast [enabled by default]
dmake.EXE: Error code 129, while making 'BerkeleyDB.o'
PMQS/BerkeleyDB-0.52.tar.gz
C:\strawberry\c\bin\dmake.EXE -- NOT OK
Installing BerkeleyDB-0.51 on the same environment went fine.
--
kmx
I have experienced the following failure when building BerkeleyDB-0.52 on 5.18.1RC3 (MS Windows 32bit)
Checking if your kit is complete...
Looks good
Writing Makefile for BerkeleyDB
Writing MYMETA.yml and MYMETA.json
cp mkconsts.pl blib\lib\mkconsts.pl
cp BerkeleyDB/Hash.pm blib\lib\BerkeleyDB\Hash.pm
cp BerkeleyDB.pm blib\lib\BerkeleyDB.pm
AutoSplitting blib\lib\BerkeleyDB.pm (blib\lib\auto\BerkeleyDB)
cp BerkeleyDB/Btree.pm blib\lib\BerkeleyDB\Btree.pm
cp scan.pl blib\lib\scan.pl
cp BerkeleyDB.pod blib\lib\BerkeleyDB.pod
C:\strawberry\perl\bin\perl.exe C:\strawberry\perl\lib\ExtUtils\xsubpp -noprototypes -typemap C:\strawberry\perl\lib\ExtUtils\typemap -typemap typemap Berkeley
DB.xs > BerkeleyDB.xsc && C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e mv -- BerkeleyDB.xsc BerkeleyDB.c
Warning: Found a 'CODE' section which seems to be using 'RETVAL' but no 'OUTPUT' section. in BerkeleyDB.xs, line 5856
Warning: Found a 'CODE' section which seems to be using 'RETVAL' but no 'OUTPUT' section. in BerkeleyDB.xs, line 5884
gcc -c -I/usr/local/BerkeleyDB/include -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fno-strict-alia
sing -mms-bitfields -s -O2 -DVERSION=\"0.52\" -DXS_VERSION=\"0.52\" "-IC:\strawberry\perl\lib\CORE" BerkeleyDB.c
BerkeleyDB.xs: In function 'close_everything':
BerkeleyDB.xs:898:48: error: macro "PerlLIO_close" passed 2 arguments, but takes just 1
BerkeleyDB.c: In function 'XS_BerkeleyDB__Env_DB_ENV':
BerkeleyDB.c:3511:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
BerkeleyDB.xs: In function 'XS_BerkeleyDB__Unknown__db_open_unknown':
BerkeleyDB.xs:3897:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
BerkeleyDB.xs: In function 'XS_BerkeleyDB__DbStream_close':
BerkeleyDB.xs:5428:65: error: macro "PerlLIO_close" passed 2 arguments, but takes just 1
BerkeleyDB.xs:5428:16: warning: assignment makes integer from pointer without a cast [enabled by default]
BerkeleyDB.xs: In function 'XS_BerkeleyDB__DbStream_read':
BerkeleyDB.xs:5453:73: error: macro "PerlLIO_read" passed 5 arguments, but takes just 3
BerkeleyDB.xs:5453:16: warning: assignment makes integer from pointer without a cast [enabled by default]
BerkeleyDB.xs: In function 'XS_BerkeleyDB__DbStream_write':
BerkeleyDB.xs:5474:68: error: macro "PerlLIO_write" passed 4 arguments, but takes just 3
BerkeleyDB.xs:5474:16: warning: assignment makes integer from pointer without a cast [enabled by default]
dmake.EXE: Error code 129, while making 'BerkeleyDB.o'
PMQS/BerkeleyDB-0.52.tar.gz
C:\strawberry\c\bin\dmake.EXE -- NOT OK
Installing BerkeleyDB-0.51 on the same environment went fine.
--
kmx