Back
From: metabase:user:6970b1ae-1421-11e4-ab07-c64c76713efd
Subject: FAIL BerkeleyDB-0.55 v5.18.2 Mac OS X
Date: 2017-02-25T01:05:22Z
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 PMQS,
This is a computer-generated report for BerkeleyDB-0.55
on perl 5.18.2, created by App::cpanminus::reporter 0.17 (1.7014).
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 BerkeleyDB-0.55
cp BerkeleyDB/Hash.pm blib/lib/BerkeleyDB/Hash.pm
cp BerkeleyDB/Btree.pm blib/lib/BerkeleyDB/Btree.pm
cp mkconsts.pl blib/lib/mkconsts.pl
cp BerkeleyDB.pm blib/lib/BerkeleyDB.pm
cp scan.pl blib/lib/scan.pl
cp BerkeleyDB.pod blib/lib/BerkeleyDB.pod
Running Mkbootstrap for BerkeleyDB ()
chmod 644 "BerkeleyDB.bs"
"/usr/bin/perl" "/Library/Perl/5.18/ExtUtils/xsubpp" -noprototypes -typemap "/System/Library/Perl/5.18/ExtUtils/typemap" -typemap "typemap" BerkeleyDB.xs > BerkeleyDB.xsc && 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
cc -c -I/usr/local/BerkeleyDB/include -arch x86_64 -arch i386 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -Os -DVERSION=\"0.55\" -DXS_VERSION=\"0.55\" "-I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE" BerkeleyDB.c
BerkeleyDB.xs:82:2: error: db.h is from Berkeley DB 1.x - need at least Berkeley DB 2.6.4
#error db.h is from Berkeley DB 1.x - need at least Berkeley DB 2.6.4
^
BerkeleyDB.xs:266:2: error: unknown type name 'DB_ENV'
DB_ENV * Env ;
^
BerkeleyDB.xs:301:9: error: unknown type name 'DB_INFO'
DB_INFO * info ;
^
BerkeleyDB.xs:302:9: error: unknown type name 'DBC'
DBC * cursor ;
^
BerkeleyDB.xs:303:2: error: type name requires a specifier or qualifier
DB_TXN * txn ;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/db.h:93:17: note: expanded from macro 'DB_TXN'
#define DB_TXN 0x80000000 /* Do transactions. */
^
BerkeleyDB.xs:303:2: error: expected member name or ';' after declaration specifiers
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/db.h:93:17: note: expanded from macro 'DB_TXN'
#define DB_TXN 0x80000000 /* Do transactions. */
^
BerkeleyDB.xs:302:26: error: expected ';' at end of declaration list
DBC * cursor ;
^
;
BerkeleyDB.xs:344:9: error: unknown type name 'DB_INFO'
DB_INFO * info ;
^
BerkeleyDB.xs:345:9: error: unknown type name 'DBC'
DBC * cursor ;
^
BerkeleyDB.xs:346:2: error: type name requires a specifier or qualifier
DB_TXN * txn ;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/db.h:93:17: note: expanded from macro 'DB_TXN'
#define DB_TXN 0x80000000 /* Do transactions. */
^
BerkeleyDB.xs:346:2: error: expected member name or ';' after declaration specifiers
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/db.h:93:17: note: expanded from macro 'DB_TXN'
#define DB_TXN 0x80000000 /* Do transactions. */
^
BerkeleyDB.xs:345:26: error: expected ';' at end of declaration list
DBC * cursor ;
^
;
BerkeleyDB.xs:390:2: error: type name requires a specifier or qualifier
DB_TXN * txn ;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/db.h:93:17: note: expanded from macro 'DB_TXN'
#define DB_TXN 0x80000000 /* Do transactions. */
^
BerkeleyDB.xs:390:2: error: expected member name or ';' after declaration specifiers
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/db.h:93:17: note: expanded from macro 'DB_TXN'
#define DB_TXN 0x80000000 /* Do transactions. */
^
BerkeleyDB.xs:389:15: error: expected ';' at end of declaration list
int Status ;
^
;
BerkeleyDB.xs:732:5: error: unknown type name 'db_recno_t'; did you mean 'recno_t'?
db_recno_t x_Value;
^~~~~~~~~~
recno_t
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/db.h:54:19: note: 'recno_t' declared here
typedef u_int32_t recno_t;
^
BerkeleyDB.xs:733:5: error: unknown type name 'db_recno_t'; did you mean 'recno_t'?
db_recno_t x_zero;
^~~~~~~~~~
recno_t
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/db.h:54:19: note: 'recno_t' declared here
typedef u_int32_t recno_t;
^
BerkeleyDB.xs:873:10: warning: implicit declaration of function 'txn_abort' is invalid in C99 [-Wimplicit-function-declaration]
txn_abort(tid->txn);
^
BerkeleyDB.xs:873:25: error: no member named 'txn' in 'struct (anonymous at BerkeleyDB.xs:388:9)'
txn_abort(tid->txn);
~~~ ^
BerkeleyDB.xs:945:36: error: too many arguments to function call, expected 1, have 2
(db->dbp->close)(db->dbp, 0) ;
~~~~~~~~~~~~~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
make: *** [BerkeleyDB.o] Error 1
-> FAIL Installing BerkeleyDB failed. See /Users/dhorner/.cpanm/work/1487980178.91620/build.log for details. Retry with --force to force install it.
------------------------------
PREREQUISITES
------------------------------
Prerequisite modules loaded:
No requirements found
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
LANG = en_US.UTF-8
PATH = /opt/local/bin:/opt/local/sbin:/Users/dhorner/Downloads/android-ndk-r10d:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Users/dhorner/Downloads/adt-bundle-mac-x86_64-20140321/sdk/tools:/Users/dhorner/Downloads/adt-bundle-mac-x86_64-20140321/sdk/platform-tools
SHELL = /bin/sh
TERM = xterm-256color
VERSIONER_PERL_PREFER_32_BIT = no
VERSIONER_PERL_VERSION = 5.18
Perl special variables (and OS-specific diagnostics, for MSWin32):
EGID = 0 0 1 2 3 4 5 8 9 12 20 29 61 80 401 33 98 100 204 395 398 101
EUID = 0
EXECUTABLE_NAME = /usr/bin/perl
GID = 0 0 1 2 3 4 5 8 9 12 20 29 61 80 401 33 98 100 204 395 398 101
UID = 0
Perl module toolchain versions installed:
Module Have
------------------- --------
CPAN 2.16
CPAN::Meta 2.150010
Cwd 3.62
ExtUtils::CBuilder 0.280224
ExtUtils::Command 7.24
ExtUtils::Install 2.04
ExtUtils::MakeMaker 7.24
ExtUtils::Manifest 1.70
ExtUtils::ParseXS 3.30
File::Spec 3.62
JSON 2.90
JSON::PP 2.27400
Module::Build 0.4220
Module::Signature n/a
Parse::CPAN::Meta 2.150010
Test::Harness 3.36
Test::More 1.302075
YAML 1.23
YAML::Syck 1.29
version 0.9917
--
Summary of my perl5 (revision 5 version 18 subversion 2) configuration:
Platform:
osname=darwin, osvers=16.0, archname=darwin-thread-multi-2level
uname='darwin osx300.apple.com 16.0 darwin kernel version 15.0.0: wed apr 6 00:55:38 pdt 2016; root:xnu-3247.1.106.2.8~1development_x86_64 x86_64 '
config_args='-ds -e -Dprefix=/usr -Dccflags=-g -pipe -Dldflags= -Dman3ext=3pm -Duseithreads -Duseshrplib -Dinc_version_list=none -Dcc=cc'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-arch x86_64 -arch i386 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector',
optimize='-Os',
cppflags='-g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector'
ccversion='', gccversion='4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc -mmacosx-version-min=10.12.2', ldflags ='-arch x86_64 -arch i386 -fstack-protector'
libpth=/usr/lib /usr/local/lib
libs=
perllibs=
libc=, so=dylib, useshrplib=true, libperl=libperl.dylib
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-arch x86_64 -arch i386 -bundle -undefined dynamic_lookup -fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
PERL_PRESERVE_IVUV PERL_SAWAMPERSAND USE_64_BIT_ALL
USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
USE_REENTRANT_API
Locally applied patches:
/Library/Perl/Updates/<version> comes before system perl directories
installprivlib and installarchlib points to the Updates directory
Built under darwin
Compiled at Jul 30 2016 16:59:44
@INC:
/Library/Perl/5.18/darwin-thread-multi-2level
/Library/Perl/5.18
/Network/Library/Perl/5.18/darwin-thread-multi-2level
/Network/Library/Perl/5.18
/Library/Perl/Updates/5.18.2/darwin-thread-multi-2level
/Library/Perl/Updates/5.18.2
/System/Library/Perl/5.18/darwin-thread-multi-2level
/System/Library/Perl/5.18
/System/Library/Perl/Extras/5.18/darwin-thread-multi-2level
/System/Library/Perl/Extras/5.18
.