Skip Menu | You are currently an anonymous guest. | Login | Return to Main | About rt.cpan.org
 

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.

X Report information
Id: 18531
Status: resolved
Left: 0 min
Priority: 0/0
Queue: GSSAPI

Owner: Nobody
Requestors: David.Leonard [...] quest.com
Cc:
AdminCc:

Severity: (no value)
Broken in: 0.20
Fixed in: 0.21



X History Display mode: Brief headersFull headers
#   Tue Apr 04 07:43:08 2006 David.Leonard[...]quest.com - Ticket created  
Subject: t/zbugfixes.t test fails with VAS
Date: Tue, 04 Apr 2006 21:40:15 +1000
To: bug-GSSAPI[...]rt.cpan.org
From: David Leonard <David.Leonard[...]quest.com>
[text/plain 4.6k]

test t/zbugfixes.t fails with VAS because the realm is converted to
uppercase for display.

$keystring = chpasswd[...]mars.gac.edu
$display = chpasswd[...]MARS.GAC.EDU

I guess the easiest solution is to change the test from
$keystring eq $display
to
$display =~ m/^\Q$keystring\E$/i

Please also see ticket 5681.




Follows is the full output from 'make test'

$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/1constants....ok
1/72 skipped: GSS_S_CRED_UNAVAIL not defined on Heimdal
t/2status.......ok
t/checkoids.....ok
t/test..........ok
2/28 skipped: oid_to_str not supportetd on Heimdal
t/zbugfixes.....# Failed test (t/zbugfixes.t at line 17)
t/zbugfixes.....NOK 1# Looks like you failed 1 tests of 1.
t/zbugfixes.....dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/zbugfixes.t 1 256 1 1 100.00% 1
3 subtests skipped.
Failed 1/5 test scripts, 80.00% okay. 1/144 subtests failed, 99.31% okay.
make: *** [test_dynamic] Error 2





Also, here is the full output from the build using VAS

$ svn info | grep ^URL
URL:
https://svn.sourceforge.net/svnroot/perlgssapi/GSSAPI/releases/GSSAPI-0.20
$ perl Makefile.PL

Welcome to GSSAPI.pm setup!

run "perl Makefile.PL --help" to see further installation options


----------------------------------------------------------
Searching krb5-config command...

/opt/quest/bin/krb5-config

----------------------------------------------------------
using GSSAPI implementation
VAS 3.0.1 (Heimdal 0.7)


----------------------------------------------------------
Adding from your Perlinstallation ($Config{lddlflags}) to LDDLFLAGS

-shared

----------------------------------------------------------
Bypassing to LDDLFLAGS

-shared -Wl,-rpath -Wl,/opt/quest/lib:/opt/quest/lib/support

----------------------------------------------------------
Adding own DEFINEs

-DHEIMDAL

----------------------------------------------------------
Using LIBS

-L/opt/quest/lib -lvas -L/opt/quest/lib/support -lgcc_s

----------------------------------------------------------
Using INC includeconfiguration

-I/opt/quest/include


----------------------------------------------------------
Checking if your kit is complete...
Looks good
Writing Makefile for GSSAPI
davidl[...]willy-wagtail:GSSAPI-svn$ make
cp GSSAPI.pm blib/lib/GSSAPI.pm
cp GSSAPI/OID/Set.pm blib/lib/GSSAPI/OID/Set.pm
cp GSSAPI/OID.pm blib/lib/GSSAPI/OID.pm
cp GSSAPI/Status.pm blib/lib/GSSAPI/Status.pm
/usr/bin/perl /usr/lib/perl5/5.8.6/ExtUtils/xsubpp -typemap
/usr/lib/perl5/5.8.6/ExtUtils/typemap -typemap typemap GSSAPI.xs >
GSSAPI.xsc && mv GSSAPI.xsc GSSAPI.c
cc -c -I/opt/quest/include -D_REENTRANT -D_GNU_SOURCE
-DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=i586 -mcpu=i686
-fmessage-length=0 -Wall -g -Wall -pipe -DVERSION=\"0.20\"
-DXS_VERSION=\"0.20\" -fPIC
"-I/usr/lib/perl5/5.8.6/i586-linux-thread-multi/CORE" -DHEIMDAL GSSAPI.c
GSSAPI.c: In function `XS_GSSAPI__Status_new':
GSSAPI.c:254: warning: unused variable `class'
GSSAPI.c: In function `XS_GSSAPI__Name_new':
GSSAPI.c:504: warning: unused variable `class'
GSSAPI.c: In function `XS_GSSAPI__Name_import':
GSSAPI.c:554: warning: unused variable `class'
GSSAPI.c: In function `XS_GSSAPI__OID_new':
GSSAPI.c:857: warning: unused variable `class'
GSSAPI.c: In function `XS_GSSAPI__OID_DESTROY':
xs/OID.xs:14: warning: unused variable `minor'
GSSAPI.c: In function `XS_GSSAPI__OID_from_str':
GSSAPI.c:919: warning: unused variable `class'
GSSAPI.c: In function `XS_GSSAPI__OID__Set_new':
GSSAPI.c:1312: warning: unused variable `class'
GSSAPI.c: In function `XS_GSSAPI__Binding_new':
GSSAPI.c:1918: warning: unused variable `class'
GSSAPI.c: In function `XS_GSSAPI__Context_new':
GSSAPI.c:2270: warning: unused variable `class'
GSSAPI.c: In function `XS_GSSAPI__Context_import':
GSSAPI.c:3044: warning: unused variable `class'
Running Mkbootstrap for GSSAPI ()
chmod 644 GSSAPI.bs
rm -f blib/arch/auto/GSSAPI/GSSAPI.so
LD_RUN_PATH="/opt/quest/lib:/opt/quest/lib/support" cc -shared
-Wl,-rpath -Wl,/opt/quest/lib:/opt/quest/lib/support GSSAPI.o -o
blib/arch/auto/GSSAPI/GSSAPI.so -L/opt/quest/lib -lvas
-L/opt/quest/lib/support -lgcc_s
chmod 755 blib/arch/auto/GSSAPI/GSSAPI.so
cp GSSAPI.bs blib/arch/auto/GSSAPI/GSSAPI.bs
chmod 644 blib/arch/auto/GSSAPI/GSSAPI.bs
Manifying blib/man3/GSSAPI.3pm
Manifying blib/man3/GSSAPI::OID::Set.3pm
Manifying blib/man3/GSSAPI::OID.3pm
Manifying blib/man3/GSSAPI::Status.3pm



#   Wed Apr 05 17:10:44 2006 AGROLMS - Status changed from 'new' to 'open'  
#   Wed Apr 05 17:10:45 2006 AGROLMS - Broken in 0.20 added  
#   Wed Apr 05 17:13:22 2006 AGROLMS - Correspondence added  
[text/plain 293b]
Ive added an fix using lc to the ybugfixes.t.

The changes ar in the SVN repositorz now at

https://svn.sourceforge.net/svnroot/perlgssapi/GSSAPI/trunk


David, please test and let me know if that works for zou.
If that fixes the baug I will release 0.21 tp CPAN.

Thank zou,
Achim
#   Thu Apr 06 02:34:12 2006 David.Leonard[...]quest.com - Correspondence added  
Subject: Re: [rt.cpan.org #18531] t/zbugfixes.t test fails with VAS
Date: Thu, 06 Apr 2006 16:33:42 +1000
To: bug-GSSAPI[...]rt.cpan.org
From: David Leonard <David.Leonard[...]quest.com>
[text/plain 1.5k]

davidl[...]willy-wagtail:GSSAPI$ svnversion .
36

davidl[...]willy-wagtail:GSSAPI$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/1constants......ok

1/72 skipped: GSS_S_CRED_UNAVAIL not defined on Heimdal
t/2status.........ok

t/checkoids.......ok

t/pod-coverage....skipped
all skipped: Test::Pod 1.00 required for testing POD
t/pod.............skipped
all skipped: Test::Pod 1.00 required for testing POD
t/test............ok

2/28 skipped: oid_to_str not supportetd on Heimdal
t/zbugfixes.......ok

All tests successful, 2 tests and 3 subtests skipped.
Files=7, Tests=146, 1 wallclock secs ( 0.68 cusr + 0.09 csys = 0.77 CPU)




Achim Grolms via RT wrote:
><URL: http://rt.cpan.org/Ticket/Display.html?id=18531 >
>
>Ive added an fix using lc to the ybugfixes.t.
>
>The changes ar in the SVN repositorz now at
>
>https://svn.sourceforge.net/svnroot/perlgssapi/GSSAPI/trunk
>
>
>David, please test and let me know if that works for zou.
>If that fixes the baug I will release 0.21 tp CPAN.
>
>Thank zou,
>Achim
>
>
>


--
David Leonard
Vintela Resource Central software engineer
Quest Software; 303 Adelaide St, Brisbane, Australia; www.quest.com
Phone: (US) +1 801 655 2755
(AU) +61 7 3023 5133


#   Thu Apr 06 15:54:50 2006 AGROLMS - Correspondence added  
[text/plain 161b]
On Thu Apr 06 02:34:12 2006, David.Leonard[...]quest.com wrote:

> t/zbugfixes.......ok

I think this works now.
I have uploades this as 0.21 to CPAN.

Achim
#   Thu Apr 06 15:54:52 2006 AGROLMS - Status changed from 'open' to 'resolved'  
#   Sun Apr 09 16:27:14 2006 AGROLMS - Fixed in 0.21 added