Report for PAM-0.31

Back
From: metabase:user:322078bc-2aae-11df-837a-5e0a49663a4f
Subject: UNKNOWN PAM-0.31 v5.8.7 Mac OS X
Date: 2012-04-07T14:08:59Z

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 HACHI,

This is a computer-generated error report created automatically by
CPANPLUS, version 0.9122. Testers personal comments may appear
at the end of this report.


Thank you for uploading your work to CPAN.  However, it appears that
there were some problems testing your distribution.

TEST RESULTS:

Below is the error stack from stage 'fetch':

cp lib/PAM/Constants.pm blib/lib/PAM/Constants.pm
cp lib/PAM/Handle.pm blib/lib/PAM/Handle.pm
cp lib/PAM.pm blib/lib/PAM.pm
/Volumes/Media/smoke/thr/perl-5.8.7/bin/perl -MExtUtils::Constant=WriteConstants -Mblib -MPAM::Constants \
	-e 'WriteConstants(NAME => "PAM", NAMES => [ map { { name => $_, macro => 1 } } @PAM::Constants::EXPORT_OK ])'
/Volumes/Media/smoke/thr/perl-5.8.7/bin/perl /Volumes/Media/smoke/thr/perl-5.8.7/lib/5.8.7/ExtUtils/xsubpp  -typemap /Volumes/Media/smoke/thr/perl-5.8.7/lib/5.8.7/ExtUtils/typemap -typemap /Volumes/Media/smoke/thr/conf/perl-5.8.7/.cpanplus/5.8.7/build/XS-Object-Magic-0.04/blib/arch/XS/Object/Magic/Install/typemap -typemap typemap  PAM.xs > PAM.xsc && mv PAM.xsc PAM.c
cc -c  -I/Volumes/Media/smoke/thr/conf/perl-5.8.7/.cpanplus/5.8.7/build/XS-Object-Magic-0.04/blib/arch/XS/Object/Magic/Install -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -O3   -DVERSION=\"0.31\" -DXS_VERSION=\"0.31\"  "-I/Volumes/Media/smoke/thr/perl-5.8.7/lib/5.8.7/darwin-2level/CORE"   PAM.c
PAM.xs:12:34: error: security/pam_modules.h: No such file or directory
PAM.xs:13:31: error: security/pam_appl.h: No such file or directory
In file included from PAM.xs:14:
const-c.inc: In function 'constant_9':
const-c.inc:33: error: 'PAM_RUSER' undeclared (first use in this function)
const-c.inc:33: error: (Each undeclared identifier is reported only once
const-c.inc:33: error: for each function it appears in.)
const-c.inc:40: error: 'PAM_ABORT' undeclared (first use in this function)
const-c.inc:47: error: 'PAM_RHOST' undeclared (first use in this function)
const-c.inc: In function 'constant_11':
const-c.inc:65: error: 'PAM_SERVICE' undeclared (first use in this function)
const-c.inc:72: error: 'PAM_AUTHTOK' undeclared (first use in this function)
const-c.inc:79: error: 'PAM_BUF_ERR' undeclared (first use in this function)
const-c.inc:86: error: 'PAM_SUCCESS' undeclared (first use in this function)
const-c.inc: In function 'constant_12':
const-c.inc:104: error: 'PAM_CRED_ERR' undeclared (first use in this function)
const-c.inc:111: error: 'PAM_AUTH_ERR' undeclared (first use in this function)
const-c.inc:118: error: 'PAM_OPEN_ERR' undeclared (first use in this function)
const-c.inc:125: error: 'PAM_MAXTRIES' undeclared (first use in this function)
const-c.inc:132: error: 'PAM_CONV_ERR' undeclared (first use in this function)
const-c.inc: In function 'constant_13':
const-c.inc:150: error: 'PAM_ERROR_MSG' undeclared (first use in this function)
const-c.inc:157: error: 'PAM_TEXT_INFO' undeclared (first use in this function)
const-c.inc:164: error: 'PAM_TRY_AGAIN' undeclared (first use in this function)
const-c.inc: In function 'constant_14':
const-c.inc:182: error: 'PAM_SYMBOL_ERR' undeclared (first use in this function)
const-c.inc:189: error: 'PAM_SYSTEM_ERR' undeclared (first use in this function)
const-c.inc:196: error: 'PAM_OLDAUTHTOK' undeclared (first use in this function)
const-c.inc: In function 'constant_15':
const-c.inc:215: error: 'PAM_AUTHTOK_ERR' undeclared (first use in this function)
const-c.inc:222: error: 'PAM_PERM_DENIED' undeclared (first use in this function)
const-c.inc:229: error: 'PAM_USER_PROMPT' undeclared (first use in this function)
const-c.inc:236: error: 'PAM_SESSION_ERR' undeclared (first use in this function)
const-c.inc:243: error: 'PAM_SERVICE_ERR' undeclared (first use in this function)
const-c.inc: In function 'constant_16':
const-c.inc:261: error: 'PAM_ACCT_EXPIRED' undeclared (first use in this function)
const-c.inc:266: error: 'PAM_CRED_EXPIRED' undeclared (first use in this function)
const-c.inc:273: error: 'PAM_CRED_UNAVAIL' undeclared (first use in this function)
const-c.inc:280: error: 'PAM_USER_UNKNOWN' undeclared (first use in this function)
const-c.inc: In function 'constant_18':
const-c.inc:298: error: 'PAM_MODULE_UNKNOWN' undeclared (first use in this function)
const-c.inc:305: error: 'PAM_NO_MODULE_DATA' undeclared (first use in this function)
const-c.inc:312: error: 'PAM_PROMPT_ECHO_ON' undeclared (first use in this function)
const-c.inc: In function 'constant':
const-c.inc:393: error: 'PAM_TTY' undeclared (first use in this function)
const-c.inc:405: error: 'PAM_USER' undeclared (first use in this function)
const-c.inc:412: error: 'PAM_CONV' undeclared (first use in this function)
const-c.inc:423: error: 'PAM_IGNORE' undeclared (first use in this function)
const-c.inc:456: error: 'PAM_PROMPT_ECHO_OFF' undeclared (first use in this function)
const-c.inc:463: error: 'PAM_AUTHTOK_EXPIRED' undeclared (first use in this function)
const-c.inc:477: error: 'PAM_AUTHINFO_UNAVAIL' undeclared (first use in this function)
const-c.inc:484: error: 'PAM_NEW_AUTHTOK_REQD' undeclared (first use in this function)
const-c.inc:498: error: 'PAM_AUTHTOK_LOCK_BUSY' undeclared (first use in this function)
const-c.inc:505: error: 'PAM_CRED_INSUFFICIENT' undeclared (first use in this function)
const-c.inc:513: error: 'PAM_AUTHTOK_RECOVERY_ERR' undeclared (first use in this function)
const-c.inc:519: error: 'PAM_AUTHTOK_DISABLE_AGING' undeclared (first use in this function)
In file included from PAM.xs:18:
compat.h: At top level:
compat.h:6: error: parse error before '*' token
In file included from PAM.xs:19:
perl_helper.h:6: error: parse error before 'pam_handle_t'
perl_helper.h:7: error: parse error before '*' token
perl_helper.h:8: error: parse error before '*' token
PAM.xs:21: error: parse error before '*' token
PAM.xs:23: error: parse error before '*' token
PAM.xs: In function 'cleanup_data':
PAM.xs:24: error: 'data' undeclared (first use in this function)
PAM.c: In function 'XS_PAM__Handle_get_user':
PAM.c:296: error: 'pam_handle_t' undeclared (first use in this function)
PAM.c:296: error: 'pam_handle' undeclared (first use in this function)
PAM.c:296: error: parse error before ')' token
PAM.xs: In function 'XS_PAM__Handle_get_item':
PAM.xs:56: error: 'pam_handle_t' undeclared (first use in this function)
PAM.xs:56: error: 'pam_handle' undeclared (first use in this function)
PAM.xs:64: error: 'PAM_SERVICE' undeclared (first use in this function)
PAM.xs:65: error: 'PAM_USER' undeclared (first use in this function)
PAM.xs:66: error: 'PAM_USER_PROMPT' undeclared (first use in this function)
PAM.xs:67: error: 'PAM_TTY' undeclared (first use in this function)
PAM.xs:68: error: 'PAM_RUSER' undeclared (first use in this function)
PAM.xs:69: error: 'PAM_RHOST' undeclared (first use in this function)
PAM.xs:70: error: 'PAM_AUTHTOK' undeclared (first use in this function)
PAM.xs:71: error: 'PAM_OLDAUTHTOK' undeclared (first use in this function)
PAM.xs:76: error: 'PAM_SUCCESS' undeclared (first use in this function)
PAM.xs:82: error: 'PAM_CONV' undeclared (first use in this function)
PAM.xs:88: warning: comparison between pointer and integer
PAM.c: In function 'XS_PAM__Handle_set_item':
PAM.c:398: error: 'pam_handle_t' undeclared (first use in this function)
PAM.c:398: error: 'pam_handle' undeclared (first use in this function)
PAM.c:398: error: parse error before ')' token
PAM.xs:119: error: 'PAM_SERVICE' undeclared (first use in this function)
PAM.xs:120: error: 'PAM_USER' undeclared (first use in this function)
PAM.xs:121: error: 'PAM_USER_PROMPT' undeclared (first use in this function)
PAM.xs:122: error: 'PAM_TTY' undeclared (first use in this function)
PAM.xs:123: error: 'PAM_RUSER' undeclared (first use in this function)
PAM.xs:124: error: 'PAM_RHOST' undeclared (first use in this function)
PAM.xs:125: error: 'PAM_AUTHTOK' undeclared (first use in this function)
PAM.xs:126: error: 'PAM_OLDAUTHTOK' undeclared (first use in this function)
PAM.xs:134: error: 'PAM_CONV' undeclared (first use in this function)
PAM.c: In function 'XS_PAM__Handle_get_data':
PAM.c:448: error: 'pam_handle_t' undeclared (first use in this function)
PAM.c:448: error: 'pam_handle' undeclared (first use in this function)
PAM.c:448: error: parse error before ')' token
PAM.xs:153: error: 'PAM_SUCCESS' undeclared (first use in this function)
PAM.c: In function 'XS_PAM__Handle_set_data':
PAM.c:478: error: 'pam_handle_t' undeclared (first use in this function)
PAM.c:478: error: 'pam_handle' undeclared (first use in this function)
PAM.c:478: error: parse error before ')' token
PAM.c: In function 'XS_PAM__Handle_getenvlist':
PAM.c:517: error: 'pam_handle_t' undeclared (first use in this function)
PAM.c:517: error: 'pam_handle' undeclared (first use in this function)
PAM.c:517: error: parse error before ')' token
PAM.xs:190: warning: assignment makes pointer from integer without a cast
PAM.c: In function 'XS_PAM__Handle_getenv':
PAM.c:545: error: 'pam_handle_t' undeclared (first use in this function)
PAM.c:545: error: 'pam_handle' undeclared (first use in this function)
PAM.c:545: error: parse error before ')' token
PAM.xs:205: warning: assignment makes pointer from integer without a cast
PAM.c: In function 'XS_PAM__Handle_putenv':
PAM.c:571: error: 'pam_handle_t' undeclared (first use in this function)
PAM.c:571: error: 'pam_handle' undeclared (first use in this function)
PAM.c:571: error: parse error before ')' token
PAM.c: In function 'XS_PAM__Handle_strerror':
PAM.c:593: error: 'pam_handle_t' undeclared (first use in this function)
PAM.c:593: error: 'pam_handle' undeclared (first use in this function)
PAM.c:593: error: parse error before ')' token
PAM.xs:227: warning: assignment makes pointer from integer without a cast
PAM.xs: In function 'XS_PAM__Conversation_run':
PAM.xs:245: warning: assignment makes pointer from integer without a cast
PAM.xs:250: error: 'pam_handle_t' undeclared (first use in this function)
PAM.xs:250: error: 'pamh' undeclared (first use in this function)
PAM.xs:253: error: invalid application of 'sizeof' to incomplete type 'struct pam_message' 
PAM.xs:258: error: invalid application of 'sizeof' to incomplete type 'struct pam_message' 
PAM.xs:258: error: invalid use of undefined type 'struct pam_message'
PAM.xs:282: error: dereferencing pointer to incomplete type
PAM.xs:290: error: dereferencing pointer to incomplete type
PAM.xs:293: error: dereferencing pointer to incomplete type
PAM.xs:293: error: dereferencing pointer to incomplete type
PAM.xs:299: error: dereferencing pointer to incomplete type
PAM.xs:299: error: dereferencing pointer to incomplete type
make: *** [PAM.o] Error 1


PREREQUISITES:

Here is a list of prerequisites you specified and versions we
managed to load:

	  Module Name                        Have     Want
	  ExtUtils::Constant                 0.16        0
	  ExtUtils::Embed                1.250601        0
	  XS::Object::Magic                  0.04        0

Perl module toolchain versions installed:
	Module Name                        Have
	CPANPLUS                         0.9122
	CPANPLUS::Dist::Build              0.62
	Cwd                                3.33
	ExtUtils::CBuilder             0.280205
	ExtUtils::Command                  1.16
	ExtUtils::Install                  1.54
	ExtUtils::MakeMaker                6.62
	ExtUtils::Manifest                 1.60
	ExtUtils::ParseXS                  3.15
	File::Spec                         3.33
	Module::Build                      0.40
	Test::Harness                      3.23
	Test::More                         0.98
	version                            0.97

******************************** NOTE ********************************
The comments above are created mechanically, possibly without manual
checking by the sender.  As there are many people performing automatic
tests on each upload to CPAN, it is likely that you will receive
identical messages about the same problem.

If you believe that the message is mistaken, please reply to the first
one with correction and/or additional informations, and do not take
it personally.  We appreciate your patience. :)
**********************************************************************

Additional comments:


This report was machine-generated by CPANPLUS::Dist::YACSmoke 0.70.
Powered by minismokebox version 0.54

------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------

Environment variables:

    AUTOMATED_TESTING = 1
    PATH = /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
    PERL5LIB = :/Volumes/Media/smoke/thr/conf/perl-5.8.7/.cpanplus/5.8.7/build/ExtUtils-Depends-0.304/blib/lib:/Volumes/Media/smoke/thr/conf/perl-5.8.7/.cpanplus/5.8.7/build/ExtUtils-Depends-0.304/blib/arch:/Volumes/Media/smoke/thr/conf/perl-5.8.7/.cpanplus/5.8.7/build/Try-Tiny-0.11/blib/lib:/Volumes/Media/smoke/thr/conf/perl-5.8.7/.cpanplus/5.8.7/build/Try-Tiny-0.11/blib/arch:/Volumes/Media/smoke/thr/conf/perl-5.8.7/.cpanplus/5.8.7/build/Test-Fatal-0.010/blib/lib:/Volumes/Media/smoke/thr/conf/perl-5.8.7/.cpanplus/5.8.7/build/Test-Fatal-0.010/blib/arch:/Volumes/Media/smoke/thr/conf/perl-5.8.7/.cpanplus/5.8.7/build/Test-use-ok-0.02/blib/lib:/Volumes/Media/smoke/thr/conf/perl-5.8.7/.cpanplus/5.8.7/build/Test-use-ok-0.02/blib/arch:/Volumes/Media/smoke/thr/conf/perl-5.8.7/.cpanplus/5.8.7/build/parent-0.225/blib/lib:/Volumes/Media/smoke/thr/conf/perl-5.8.7/.cpanplus/5.8.7/build/parent-0.225/blib/arch:/Volumes/Media/smoke/thr/conf/perl-5.8.7/.cpanplus/5.8.7/build/XS-Object-Magic-0.04/blib/lib:/Volumes/Media/smoke/thr/conf/perl-5.8.7/.cpanplus/5.8.7/build/XS-Object-Magic-0.04/blib/arch
    PERL5_CPANPLUS_IS_RUNNING = 23008
    PERL5_CPANPLUS_IS_VERSION = 0.9122
    PERL5_MINISMOKEBOX = 0.54
    PERL5_YACSMOKE_BASE = /Volumes/Media/smoke/thr/conf/perl-5.8.7
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_MM_USE_DEFAULT = 1
    SHELL = /bin/bash
    TERM = screen

Perl special variables (and OS-specific diagnostics, for MSWin32):

    Perl: $^X = /Volumes/Media/smoke/thr/perl-5.8.7/bin/perl
    UID:  $<  = 502
    EUID: $>  = 502
    GID:  $(  = 502 502
    EGID: $)  = 502 502


-------------------------------


--

Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
  Platform:
    osname=darwin, osvers=8.11.0, archname=darwin-2level
    uname='darwin afalglas.bingosnet.co.uk 8.11.0 darwin kernel version 8.11.0: wed oct 10 18:26:00 pdt 2007; root:xnu-792.24.17~1release_ppc power macintosh powerpc '
    config_args='-de -Dprefix=/Volumes/Media/smoke/thr/perl-5.8.7 -Dsuethreads'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include',
    optimize='-O3',
    cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include'
    ccversion='', gccversion='4.0.1 (Apple Computer, Inc. build 5367)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib
    libs=-ldbm -ldl -lm -lc
    perllibs=-ldl -lm -lc
    libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Compile-time options: USE_LARGE_FILES
  Built under darwin
  Compiled at Jun 27 2009 08:41:37
  %ENV:
    PERL5LIB=":/Volumes/Media/smoke/thr/conf/perl-5.8.7/.cpanplus/5.8.7/build/ExtUtils-Depends-0.304/blib/lib:/Volumes/Media/smoke/thr/conf/perl-5.8.7/.cpanplus/5.8.7/build/ExtUtils-Depends-0.304/blib/arch:/Volumes/Media/smoke/thr/conf/perl-5.8.7/.cpanplus/5.8.7/build/Try-Tiny-0.11/blib/lib:/Volumes/Media/smoke/thr/conf/perl-5.8.7/.cpanplus/5.8.7/build/Try-Tiny-0.11/blib/arch:/Volumes/Media/smoke/thr/conf/perl-5.8.7/.cpanplus/5.8.7/build/Test-Fatal-0.010/blib/lib:/Volumes/Media/smoke/thr/conf/perl-5.8.7/.cpanplus/5.8.7/build/Test-Fatal-0.010/blib/arch:/Volumes/Media/smoke/thr/conf/perl-5.8.7/.cpanplus/5.8.7/build/Test-use-ok-0.02/blib/lib:/Volumes/Media/smoke/thr/conf/perl-5.8.7/.cpanplus/5.8.7/build/Test-use-ok-0.02/blib/arch:/Volumes/Media/smoke/thr/conf/perl-5.8.7/.cpanplus/5.8.7/build/parent-0.225/blib/lib:/Volumes/Media/smoke/thr/conf/perl-5.8.7/.cpanplus/5.8.7/build/parent-0.225/blib/arch:/Volumes/Media/smoke/thr/conf/perl-5.8.7/.cpanplus/5.8.7/build/XS-Object-Magic-0.04/blib/lib:/Volumes/Media/smoke/thr/conf/perl-5.8.7/.cpanplus/5.8.7/build/XS-Object-Magic-0.04/blib/arch"
    PERL5_CPANPLUS_IS_RUNNING="23008"
    PERL5_CPANPLUS_IS_VERSION="0.9122"
    PERL5_MINISMOKEBOX="0.54"
    PERL5_YACSMOKE_BASE="/Volumes/Media/smoke/thr/conf/perl-5.8.7"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_MM_USE_DEFAULT="1"
  @INC:
    /Volumes/Media/smoke/thr/conf/perl-5.8.7/.cpanplus/5.8.7/build/ExtUtils-Depends-0.304/blib/lib
    /Volumes/Media/smoke/thr/conf/perl-5.8.7/.cpanplus/5.8.7/build/ExtUtils-Depends-0.304/blib/arch
    /Volumes/Media/smoke/thr/conf/perl-5.8.7/.cpanplus/5.8.7/build/Try-Tiny-0.11/blib/lib
    /Volumes/Media/smoke/thr/conf/perl-5.8.7/.cpanplus/5.8.7/build/Try-Tiny-0.11/blib/arch
    /Volumes/Media/smoke/thr/conf/perl-5.8.7/.cpanplus/5.8.7/build/Test-Fatal-0.010/blib/lib
    /Volumes/Media/smoke/thr/conf/perl-5.8.7/.cpanplus/5.8.7/build/Test-Fatal-0.010/blib/arch
    /Volumes/Media/smoke/thr/conf/perl-5.8.7/.cpanplus/5.8.7/build/Test-use-ok-0.02/blib/lib
    /Volumes/Media/smoke/thr/conf/perl-5.8.7/.cpanplus/5.8.7/build/Test-use-ok-0.02/blib/arch
    /Volumes/Media/smoke/thr/conf/perl-5.8.7/.cpanplus/5.8.7/build/parent-0.225/blib/lib
    /Volumes/Media/smoke/thr/conf/perl-5.8.7/.cpanplus/5.8.7/build/parent-0.225/blib/arch
    /Volumes/Media/smoke/thr/conf/perl-5.8.7/.cpanplus/5.8.7/build/XS-Object-Magic-0.04/blib/lib
    /Volumes/Media/smoke/thr/conf/perl-5.8.7/.cpanplus/5.8.7/build/XS-Object-Magic-0.04/blib/arch
    /Volumes/Media/smoke/thr/perl-5.8.7/lib/5.8.7/darwin-2level
    /Volumes/Media/smoke/thr/perl-5.8.7/lib/5.8.7
    /Volumes/Media/smoke/thr/perl-5.8.7/lib/site_perl/5.8.7/darwin-2level
    /Volumes/Media/smoke/thr/perl-5.8.7/lib/site_perl/5.8.7
    /Volumes/Media/smoke/thr/perl-5.8.7/lib/site_perl
    .