Report for PAM-0.31

Back
From: metabase:user:322078bc-2aae-11df-837a-5e0a49663a4f
Subject: FAIL PAM-0.31 v5.12.0 Debian GNU/kFreeBSD
Date: 2012-04-07T11:18:15Z

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.9123. 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 'make test':

cp lib/PAM/Handle.pm blib/lib/PAM/Handle.pm
cp lib/PAM/Constants.pm blib/lib/PAM/Constants.pm
cp lib/PAM.pm blib/lib/PAM.pm
/home/cpan/pit/thr/perl-5.12.0/bin/perl -MExtUtils::Constant=WriteConstants -Mblib -MPAM::Constants \
		-e 'WriteConstants(NAME => "PAM", NAMES => [ map { { name => $_, macro => 1 } } @PAM::Constants::EXPORT_OK ])'
/home/cpan/pit/thr/perl-5.12.0/bin/perl /home/cpan/pit/thr/perl-5.12.0/lib/site_perl/5.12.0/ExtUtils/xsubpp  -typemap /home/cpan/pit/thr/perl-5.12.0/lib/5.12.0/ExtUtils/typemap -typemap /home/cpan/pit/thr/conf/perl-5.12.0/.cpanplus/5.12.0/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/home/cpan/pit/thr/conf/perl-5.12.0/.cpanplus/5.12.0/build/XS-Object-Magic-0.04/blib/arch/XS/Object/Magic/Install -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   -DVERSION=\"0.31\" -DXS_VERSION=\"0.31\" -fpic "-I/home/cpan/pit/thr/perl-5.12.0/lib/5.12.0/x86_64-gnukfreebsd-thread-multi/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:8:30: error: security/pam_ext.h: No such file or directory
In file included from PAM.xs:19:
perl_helper.h: At top level:
perl_helper.h:6: error: expected declaration specifiers or ‘...’ before ‘pam_handle_t’
perl_helper.h:7: error: expected ‘)’ before ‘*’ token
perl_helper.h:8: error: expected ‘)’ before ‘*’ token
PAM.xs:21: error: expected ‘)’ before ‘*’ token
PAM.xs:23: error: expected ‘)’ before ‘*’ token
PAM.c: In function ‘XS_PAM__Handle_get_user’:
PAM.c:298: error: ‘pam_handle_t’ undeclared (first use in this function)
PAM.c:298: error: ‘pam_handle’ undeclared (first use in this function)
PAM.c:298: error: expected expression 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.c: In function ‘XS_PAM__Handle_set_item’:
PAM.c:400: error: ‘pam_handle_t’ undeclared (first use in this function)
PAM.c:400: error: ‘pam_handle’ undeclared (first use in this function)
PAM.c:400: error: expected expression 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:450: error: ‘pam_handle_t’ undeclared (first use in this function)
PAM.c:450: error: ‘pam_handle’ undeclared (first use in this function)
PAM.c:450: error: expected expression 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:480: error: ‘pam_handle_t’ undeclared (first use in this function)
PAM.c:480: error: ‘pam_handle’ undeclared (first use in this function)
PAM.c:480: error: expected expression before ‘)’ token
PAM.xs:177: error: ‘cleanup_data’ undeclared (first use in this function)
PAM.c: In function ‘XS_PAM__Handle_getenvlist’:
PAM.c:519: error: ‘pam_handle_t’ undeclared (first use in this function)
PAM.c:519: error: ‘pam_handle’ undeclared (first use in this function)
PAM.c:519: error: expected expression before ‘)’ token
PAM.c: In function ‘XS_PAM__Handle_getenv’:
PAM.c:547: error: ‘pam_handle_t’ undeclared (first use in this function)
PAM.c:547: error: ‘pam_handle’ undeclared (first use in this function)
PAM.c:547: error: expected expression before ‘)’ token
PAM.c: In function ‘XS_PAM__Handle_putenv’:
PAM.c:573: error: ‘pam_handle_t’ undeclared (first use in this function)
PAM.c:573: error: ‘pam_handle’ undeclared (first use in this function)
PAM.c:573: error: expected expression before ‘)’ token
PAM.c: In function ‘XS_PAM__Handle_strerror’:
PAM.c:595: error: ‘pam_handle_t’ undeclared (first use in this function)
PAM.c:595: error: ‘pam_handle’ undeclared (first use in this function)
PAM.c:595: error: expected expression before ‘)’ token
PAM.xs: In function ‘XS_PAM__Conversation_run’:
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.22        0
	  ExtUtils::Embed                    1.28        0
	  XS::Object::Magic                  0.04        0

Perl module toolchain versions installed:
	Module Name                        Have
	CPANPLUS                         0.9123
	CPANPLUS::Dist::Build              0.62
	Cwd                                3.33
	ExtUtils::CBuilder             0.280205
	ExtUtils::Command                  1.16
	ExtUtils::Install                  1.55
	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.74.
Powered by minismokebox version 0.54

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

Environment variables:

    AUTOMATED_TESTING = 1
    LANG = en_GB.UTF-8
    LANGUAGE = en_GB:en
    PATH = /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
    PERL5LIB = :/home/cpan/pit/thr/conf/perl-5.12.0/.cpanplus/5.12.0/build/ExtUtils-Depends-0.304/blib/lib:/home/cpan/pit/thr/conf/perl-5.12.0/.cpanplus/5.12.0/build/ExtUtils-Depends-0.304/blib/arch:/home/cpan/pit/thr/conf/perl-5.12.0/.cpanplus/5.12.0/build/Try-Tiny-0.11/blib/lib:/home/cpan/pit/thr/conf/perl-5.12.0/.cpanplus/5.12.0/build/Try-Tiny-0.11/blib/arch:/home/cpan/pit/thr/conf/perl-5.12.0/.cpanplus/5.12.0/build/Test-Fatal-0.010/blib/lib:/home/cpan/pit/thr/conf/perl-5.12.0/.cpanplus/5.12.0/build/Test-Fatal-0.010/blib/arch:/home/cpan/pit/thr/conf/perl-5.12.0/.cpanplus/5.12.0/build/Test-use-ok-0.02/blib/lib:/home/cpan/pit/thr/conf/perl-5.12.0/.cpanplus/5.12.0/build/Test-use-ok-0.02/blib/arch:/home/cpan/pit/thr/conf/perl-5.12.0/.cpanplus/5.12.0/build/XS-Object-Magic-0.04/blib/lib:/home/cpan/pit/thr/conf/perl-5.12.0/.cpanplus/5.12.0/build/XS-Object-Magic-0.04/blib/arch
    PERL5_CPANPLUS_IS_RUNNING = 56368
    PERL5_CPANPLUS_IS_VERSION = 0.9123
    PERL5_MINISMOKEBOX = 0.54
    PERL5_YACSMOKE_BASE = /home/cpan/pit/thr/conf/perl-5.12.0
    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 = /home/cpan/pit/thr/perl-5.12.0/bin/perl
    UID:  $<  = 1001
    EUID: $>  = 1001
    GID:  $(  = 1001 1001
    EGID: $)  = 1001 1001


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


--

Summary of my perl5 (revision 5 version 12 subversion 0) configuration:
   
  Platform:
    osname=gnukfreebsd, osvers=8.1-1-amd64, archname=x86_64-gnukfreebsd-thread-multi
    uname='gnukfreebsd kazoo 8.1-1-amd64 #0 mon feb 21 22:03:13 utc 2011 x86_64 amd64 amd athlon(tm) neo x2 dual core processor 6850e gnukfreebsd '
    config_args='-des -Dprefix=/home/cpan/pit/thr/perl-5.12.0 -Dusethreads'
    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 ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.4.5', 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', ldflags =' -fstack-protector -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc -lgdbm_compat
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.11.2'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib -fstack-protector'


Characteristics of this binary (from libperl): 
  Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
                        PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
                        THREADS_HAVE_PIDS USE_64_BIT_ALL USE_64_BIT_INT
                        USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF
                        USE_REENTRANT_API
  Built under gnukfreebsd
  Compiled at Aug  3 2011 06:36:13
  %ENV:
    PERL5LIB=":/home/cpan/pit/thr/conf/perl-5.12.0/.cpanplus/5.12.0/build/ExtUtils-Depends-0.304/blib/lib:/home/cpan/pit/thr/conf/perl-5.12.0/.cpanplus/5.12.0/build/ExtUtils-Depends-0.304/blib/arch:/home/cpan/pit/thr/conf/perl-5.12.0/.cpanplus/5.12.0/build/Try-Tiny-0.11/blib/lib:/home/cpan/pit/thr/conf/perl-5.12.0/.cpanplus/5.12.0/build/Try-Tiny-0.11/blib/arch:/home/cpan/pit/thr/conf/perl-5.12.0/.cpanplus/5.12.0/build/Test-Fatal-0.010/blib/lib:/home/cpan/pit/thr/conf/perl-5.12.0/.cpanplus/5.12.0/build/Test-Fatal-0.010/blib/arch:/home/cpan/pit/thr/conf/perl-5.12.0/.cpanplus/5.12.0/build/Test-use-ok-0.02/blib/lib:/home/cpan/pit/thr/conf/perl-5.12.0/.cpanplus/5.12.0/build/Test-use-ok-0.02/blib/arch:/home/cpan/pit/thr/conf/perl-5.12.0/.cpanplus/5.12.0/build/XS-Object-Magic-0.04/blib/lib:/home/cpan/pit/thr/conf/perl-5.12.0/.cpanplus/5.12.0/build/XS-Object-Magic-0.04/blib/arch"
    PERL5_CPANPLUS_IS_RUNNING="56368"
    PERL5_CPANPLUS_IS_VERSION="0.9123"
    PERL5_MINISMOKEBOX="0.54"
    PERL5_YACSMOKE_BASE="/home/cpan/pit/thr/conf/perl-5.12.0"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_MM_USE_DEFAULT="1"
  @INC:
    /home/cpan/pit/thr/conf/perl-5.12.0/.cpanplus/5.12.0/build/ExtUtils-Depends-0.304/blib/lib
    /home/cpan/pit/thr/conf/perl-5.12.0/.cpanplus/5.12.0/build/ExtUtils-Depends-0.304/blib/arch
    /home/cpan/pit/thr/conf/perl-5.12.0/.cpanplus/5.12.0/build/Try-Tiny-0.11/blib/lib
    /home/cpan/pit/thr/conf/perl-5.12.0/.cpanplus/5.12.0/build/Try-Tiny-0.11/blib/arch
    /home/cpan/pit/thr/conf/perl-5.12.0/.cpanplus/5.12.0/build/Test-Fatal-0.010/blib/lib
    /home/cpan/pit/thr/conf/perl-5.12.0/.cpanplus/5.12.0/build/Test-Fatal-0.010/blib/arch
    /home/cpan/pit/thr/conf/perl-5.12.0/.cpanplus/5.12.0/build/Test-use-ok-0.02/blib/lib
    /home/cpan/pit/thr/conf/perl-5.12.0/.cpanplus/5.12.0/build/Test-use-ok-0.02/blib/arch
    /home/cpan/pit/thr/conf/perl-5.12.0/.cpanplus/5.12.0/build/XS-Object-Magic-0.04/blib/lib
    /home/cpan/pit/thr/conf/perl-5.12.0/.cpanplus/5.12.0/build/XS-Object-Magic-0.04/blib/arch
    /home/cpan/pit/thr/perl-5.12.0/lib/site_perl/5.12.0/x86_64-gnukfreebsd-thread-multi
    /home/cpan/pit/thr/perl-5.12.0/lib/site_perl/5.12.0
    /home/cpan/pit/thr/perl-5.12.0/lib/5.12.0/x86_64-gnukfreebsd-thread-multi
    /home/cpan/pit/thr/perl-5.12.0/lib/5.12.0
    .