Re: ANNOUNCE: DBI 1.54 RC4 - including cool new DBD::Gofer stateless proxy

Re: ANNOUNCE: DBI 1.54 RC4 - including cool new DBD::Gofer stateless proxy

am 19.02.2007 00:06:09 von Tim.Bunce

On Sun, Feb 18, 2007 at 03:38:40PM +0000, Tim Bunce wrote:
>
> I've released an RC5 which uses $^X and moves the PERL5LIB setting to
> t/85gofer.t, along with some other more minor changes:
>
> http://homepage.mac.com/tim.bunce/.Public/perl/DBI-1.54-RC4. tar.gz

I'd greatly appreciate some feedback from Windows users. (That's all that's
holding up announcing a release candidate to dbi-users for wider testing.)

Tim.

Re: ANNOUNCE: DBI 1.54 RC4 - including cool new DBD::Gofer stateless proxy

am 19.02.2007 16:11:58 von Tim.Bunce

On Mon, Feb 19, 2007 at 03:31:51AM -0000, Ron Savage wrote:
> Hi Tim
>
> > I'd greatly appreciate some feedback from Windows users. (That's all
> > that's
> > holding up announcing a release candidate to dbi-users for wider testing.)

> I'm using Strawberry Perl on this PC, which seems to have convincingly
> confused the installation process, since it activates calls to getpwuid.

It's t/85gofer that's calling getpwuid. I figured (incorrectly) it would
do something vaguely useful on windows. Fixed in RC6.

> Perl.c: In function `boot_DBD__Perl':
> Perl.c:1182: warning: unknown conversion type character `_' in format
> Perl.c:1182: warning: too many arguments for format

That looks like a problem with Strawberry Perl since the warning is
inside the XS_VERSION_BOOTCHECK macro which perl defines.

> DBI.xs:1729: warning: int format, IV arg (arg 3)
> DBI.xs:2340: warning: int format, long unsigned int arg (arg 3)
> DBI.xs:2518: warning: int format, long unsigned int arg (arg 3)

Fixed. Thanks.

> Failed Test Stat Wstat Total Fail Failed List of Failed
> ------------------------------------------------------------ -------------------
> t/85gofer.t 255 65280 ?? ?? % ??
> t/zvg_85gofer.t 255 65280 ?? ?? % ??
> t/zvp_10examp.t 2 512 206 2 0.97% 5-6
> t/zvp_85gofer.t 255 65280 ?? ?? % ??
> t/zvxgp_10examp.t 2 512 206 2 0.97% 5-6
> t/zvxgp_85gofer.t 255 65280 ?? ?? % ??

The 85gofer.t failures were due to getpwuid - fixed in RC6.
Of course there are likely to be other problems on windows,
deeper in the gofer transport code. (If it even works at all :)

The 10examp.t failures are probably Strawberry Perl specific:

> # Failed test 'Remove trace file: dbitrace.log'
> # in ./t/10examp.t at line 49.
> # got: '0'
> # expected: '1'
> # Failed test 'Trace file actually gone'
> # in ./t/10examp.t at line 50.

the code is essentially:

DBI->trace(3, $trace_file); # enable trace before first driver load
...
$dbh->dump_handle("dump_handle test, write to log file", 2);
...
DBI->trace(0, undef); # turn off and restore to STDERR
SKIP: {
skip "cygwin has buffer flushing bug", 1 if ($^O =~ /cygwin/i);
ok( -s $trace_file, "trace file size = " . -s $trace_file);
}
==> is( unlink( $trace_file ), 1, "Remove trace file: $trace_file" );
ok( !-e $trace_file, "Trace file actually gone" );

The unlink fails for some reason. Could you try RC6 for me?
(I'll release it in a few minutes...)

Thanks Ron!

Tim.

Re: ANNOUNCE: DBI 1.54 RC4 - including cool new DBD::Gofer stateless proxy

am 19.02.2007 17:17:23 von Tim.Bunce

On Sun, Feb 18, 2007 at 11:06:09PM +0000, Tim Bunce wrote:
> On Sun, Feb 18, 2007 at 03:38:40PM +0000, Tim Bunce wrote:
> >
> > I've released an RC5 which uses $^X and moves the PERL5LIB setting to
> > t/85gofer.t, along with some other more minor changes:
> >
> > http://homepage.mac.com/tim.bunce/.Public/perl/DBI-1.54-RC4. tar.gz
>
> I'd greatly appreciate some feedback from Windows users. (That's all that's
> holding up announcing a release candidate to dbi-users for wider testing.)

Of course, sending that message to dbi-users wasn't quite what I had in mind! :-)

On Sun, Feb 18, 2007 at 03:22:00PM -0800, Darren Duncan wrote:
>
> I think you meant to spell that:
>
> http://homepage.mac.com/tim.bunce/.Public/perl/DBI-1.54-RC5. tar.gz
>
> ... as the other spelling just gets you RC4 again.

Yeap, thanks Darren.

Anyway, RC4 and RC5 have been superceeded by RC6. Announcement to follow.

Tim.