Re: "make test" fails installing DBI-1.632 (linux, perl5.8.8)

2015-01-08 Thread John Wiersba
And then there's the matter of the other two bugs (the incorrect
warning about LANG and the =encoding thing).

On Thu, Jan 8, 2015 at 12:05 PM, Furst, Carl  wrote:
> Yeah, I agree,  it would save time if there was a check during make test
> itself and a die with a version incompatible message.
>
>
> Carl Furst
> CMS Developer
> MLB Advanced Media


Re: "make test" fails installing DBI-1.632 (linux, perl5.8.8)

2015-01-08 Thread Furst, Carl
Yeah, I agree,  it would save time if there was a check during make test
itself and a die with a version incompatible message.


Carl Furst
CMS Developer
MLB Advanced Media





On 1/8/15, 11:20 AM, "John Wiersba"  wrote:

>Adding dbi-users
>
>-- Forwarded message --
>From: John Wiersba 
>Date: Thu, Jan 8, 2015 at 11:19 AM
>Subject: Re: "make test" fails installing DBI-1.632 (linux, perl5.8.8)
>To: "Furst, Carl" 
>
>Thanks, Carl.  Well, I see that now, but I did not see it before, even
>after looking for it.  And it's only a warning; it did not cause a
>failure in the Makefile.PL step (exit status = 0).  Additionally, it's
>nowhere near the point of failure, which occurred in make test.
>
>Maybe I'm dreaming, but if the wrong version of Test::Simple will
>cause test failures, then detecting the wrong version should trigger a
>failure and it should be loud.  I spent probably an hour of time
>scanning the docs for any mention of the problem, debugging the
>failing test, then guessing the cause (maybe there's a more recent
>version of Test::More needed to supply the note() function), and
>searching on google, to end up deducing that Test::Simple needed to be
>updated.
>
>Or, alternatively, some comment in INSTALL or README.md mentioning the
>correlation of the symptoms (failed test) with the version of
>Test::Simple installed.
>
>On Thu, Jan 8, 2015 at 10:53 AM, Furst, Carl  wrote:
>> But it did say:
>>
>> Warning: prerequisite Test::Simple 0.90 not found. We have 0.62.
>>
>>
>> Which is  the same thing, really.
>>
>>
>> Carl Furst
>> CMS Developer
>> MLB Advanced Media
>>
>>
>>
>>
>>
>> On 1/8/15, 10:48 AM, "John Wiersba"  wrote:
>>
>>>After installing the latest version of Test::Simple, all tests passed,
>>>and the installation (and a test script) succeeded.  Problem #3 is
>>>that the make (or make test) didn't fail with something like
>>>"dependency on Test::Simple 0.90 not satisfied".
>>>
>>>On Thu, Jan 8, 2015 at 8:46 AM, Tim Bunce  wrote:
>>>> On Wed, Jan 07, 2015 at 04:50:52PM -0500, John Wiersba wrote:
>>>>>
>>>>> I see in META.{json,yaml} that a later version of Test::Simple is
>>>>> required, but that doesn't seem to cause a noticable error message or
>>>>> abort the Makefile.PL/make/make test process.  Installing the latest
>>>>> version of Test::Simple allows "make test" to succeed.
>>>>
>>>> So there's no problem now? Or did that just fix t/06attr.t?
>>>>
>>>> Tim.
>>
>> **
>>
>> MLB.com: Where Baseball is Always On

**

MLB.com: Where Baseball is Always On


Fwd: "make test" fails installing DBI-1.632 (linux, perl5.8.8)

2015-01-08 Thread John Wiersba
Adding dbi-users

-- Forwarded message --
From: John Wiersba 
Date: Thu, Jan 8, 2015 at 11:19 AM
Subject: Re: "make test" fails installing DBI-1.632 (linux, perl5.8.8)
To: "Furst, Carl" 

Thanks, Carl.  Well, I see that now, but I did not see it before, even
after looking for it.  And it's only a warning; it did not cause a
failure in the Makefile.PL step (exit status = 0).  Additionally, it's
nowhere near the point of failure, which occurred in make test.

Maybe I'm dreaming, but if the wrong version of Test::Simple will
cause test failures, then detecting the wrong version should trigger a
failure and it should be loud.  I spent probably an hour of time
scanning the docs for any mention of the problem, debugging the
failing test, then guessing the cause (maybe there's a more recent
version of Test::More needed to supply the note() function), and
searching on google, to end up deducing that Test::Simple needed to be
updated.

Or, alternatively, some comment in INSTALL or README.md mentioning the
correlation of the symptoms (failed test) with the version of
Test::Simple installed.

On Thu, Jan 8, 2015 at 10:53 AM, Furst, Carl  wrote:
> But it did say:
>
> Warning: prerequisite Test::Simple 0.90 not found. We have 0.62.
>
>
> Which is  the same thing, really.
>
>
> Carl Furst
> CMS Developer
> MLB Advanced Media
>
>
>
>
>
> On 1/8/15, 10:48 AM, "John Wiersba"  wrote:
>
>>After installing the latest version of Test::Simple, all tests passed,
>>and the installation (and a test script) succeeded.  Problem #3 is
>>that the make (or make test) didn't fail with something like
>>"dependency on Test::Simple 0.90 not satisfied".
>>
>>On Thu, Jan 8, 2015 at 8:46 AM, Tim Bunce  wrote:
>>> On Wed, Jan 07, 2015 at 04:50:52PM -0500, John Wiersba wrote:
>>>>
>>>> I see in META.{json,yaml} that a later version of Test::Simple is
>>>> required, but that doesn't seem to cause a noticable error message or
>>>> abort the Makefile.PL/make/make test process.  Installing the latest
>>>> version of Test::Simple allows "make test" to succeed.
>>>
>>> So there's no problem now? Or did that just fix t/06attr.t?
>>>
>>> Tim.
>
> **
>
> MLB.com: Where Baseball is Always On


Re: "make test" fails installing DBI-1.632 (linux, perl5.8.8)

2015-01-08 Thread Furst, Carl
But it did say:

Warning: prerequisite Test::Simple 0.90 not found. We have 0.62.


Which is  the same thing, really.


Carl Furst
CMS Developer
MLB Advanced Media





On 1/8/15, 10:48 AM, "John Wiersba"  wrote:

>After installing the latest version of Test::Simple, all tests passed,
>and the installation (and a test script) succeeded.  Problem #3 is
>that the make (or make test) didn't fail with something like
>"dependency on Test::Simple 0.90 not satisfied".
>
>On Thu, Jan 8, 2015 at 8:46 AM, Tim Bunce  wrote:
>> On Wed, Jan 07, 2015 at 04:50:52PM -0500, John Wiersba wrote:
>>>
>>> I see in META.{json,yaml} that a later version of Test::Simple is
>>> required, but that doesn't seem to cause a noticable error message or
>>> abort the Makefile.PL/make/make test process.  Installing the latest
>>> version of Test::Simple allows "make test" to succeed.
>>
>> So there's no problem now? Or did that just fix t/06attr.t?
>>
>> Tim.

**

MLB.com: Where Baseball is Always On


Re: "make test" fails installing DBI-1.632 (linux, perl5.8.8)

2015-01-08 Thread John Wiersba
After installing the latest version of Test::Simple, all tests passed,
and the installation (and a test script) succeeded.  Problem #3 is
that the make (or make test) didn't fail with something like
"dependency on Test::Simple 0.90 not satisfied".

On Thu, Jan 8, 2015 at 8:46 AM, Tim Bunce  wrote:
> On Wed, Jan 07, 2015 at 04:50:52PM -0500, John Wiersba wrote:
>>
>> I see in META.{json,yaml} that a later version of Test::Simple is
>> required, but that doesn't seem to cause a noticable error message or
>> abort the Makefile.PL/make/make test process.  Installing the latest
>> version of Test::Simple allows "make test" to succeed.
>
> So there's no problem now? Or did that just fix t/06attr.t?
>
> Tim.


Re: "make test" fails installing DBI-1.632 (linux, perl5.8.8)

2015-01-08 Thread Tim Bunce
On Wed, Jan 07, 2015 at 04:50:52PM -0500, John Wiersba wrote:
> 
> I see in META.{json,yaml} that a later version of Test::Simple is
> required, but that doesn't seem to cause a noticable error message or
> abort the Makefile.PL/make/make test process.  Installing the latest
> version of Test::Simple allows "make test" to succeed.

So there's no problem now? Or did that just fix t/06attr.t?

Tim.


"make test" fails installing DBI-1.632 (linux, perl5.8.8)

2015-01-07 Thread John Wiersba
jrw $ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.7 (Tikanga)

jrw $ perl -v
This is perl, v5.8.8 built for x86_64-linux-thread-multi
...

jrw $ export | grep -e LC_ALL -e LANG
LANG=en_US.UTF-8
LC_ALL=C

jrw $ perl Makefile.PL

*** Your LANG environment variable is set to 'en_US.UTF-8'
*** This may cause problems for some perl installations.
*** If you get test failures, please try again with LANG unset.
*** If that then works, please email dbi-...@perl.org with details
*** including the output of 'perl -V'

Your perl was compiled with gcc (version 4.1.2 20080704 (Red Hat
4.1.2-50)), okay.
Creating test wrappers for DBD::Gofer:
...
Checking if your kit is complete...
Looks good
Warning: prerequisite ExtUtils::MakeMaker 6.48 not found. We have 6.30.
Warning: prerequisite Test::Simple 0.90 not found. We have 0.62.

I see you're using perl 5.008008 on x86_64-linux-thread-multi, okay.
Remember to actually *read* the README file!
Use  'make' to build the software (dmake or nmake on Windows).
Then 'make test' to execute self tests.
Then 'make install' to install the DBI and then delete this working
directory before unpacking and building any DBD::* drivers.

Writing Makefile for DBI


## bug #1: the warning about LANG is "wrong".  In fact
LANG is set, but since LC_ALL=C, LANG is ignored.


jrw $ make
/usr/bin/perl "-MExtUtils::Command" -e mkpath blib/lib/DBI
rm -f blib/lib/DBI/Changes.pm
cp Changes blib/lib/DBI/Changes.pm
...
cp lib/DBI/ProfileData.pm blib/lib/DBI/ProfileData.pm
/usr/bin/perl -p -e "s/~DRIVER~/Perl/g" ./Driver.xst > Perl.xsi
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp  -typemap
/usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap  Perl.xs >
Perl.xsc && mv Perl.xsc Perl.c
gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"1.632\"
-DXS_VERSION=\"1.632\" -fPIC
"-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE"  -W -Wall
-Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare
-Wno-cast-qual -Wmissing-noreturn -Wno-unused-parameter Perl.c
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp  -typemap
/usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap  DBI.xs >
DBI.xsc && mv DBI.xsc DBI.c
gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"1.632\"
-DXS_VERSION=\"1.632\" -fPIC
"-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE"  -W -Wall
-Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare
-Wno-cast-qual -Wmissing-noreturn -Wno-unused-parameter DBI.c
Running Mkbootstrap for DBI ()
chmod 644 DBI.bs
rm -f blib/arch/auto/DBI/DBI.so
gcc  -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic DBI.o
-o blib/arch/auto/DBI/DBI.so\
\

chmod 755 blib/arch/auto/DBI/DBI.so
cp DBI.bs blib/arch/auto/DBI/DBI.bs
chmod 644 blib/arch/auto/DBI/DBI.bs
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" dbiprof.PL dbiprof
Extracted dbiprof from dbiprof.PL with variable substitutions.
cp dbiprof blib/script/dbiprof
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/dbiprof
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" dbiproxy.PL dbiproxy
Extracted dbiproxy from dbiproxy.PL with variable substitutions.
cp dbiproxy blib/script/dbiproxy
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/dbiproxy
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" dbilogstrip.PL dbilogstrip
Extracted dbilogstrip from dbilogstrip.PL with variable substitutions.
cp dbilogstrip blib/script/dbilogstrip
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/dbilogstrip
Manifying blib/man1/dbiprof.1
...
Manifying blib/man3/DBD::Gofer.3pm
lib/DBD/Gofer.pm:841: Unknown command paragraph "=encoding ISO8859-1"
Manifying blib/man3/DBI::DBD::SqlEngine::HowTo.3pm
...
Manifying blib/man3/DBI::ProfileData.3pm


## bug #2: warning about "=encoding ISO8859-1".  I've
seen this error in the archives, but I don't think it affects the test
failure below.


jrw $ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01basics..ok
4/130 skipped: developer tests
t/02dbidrv..ok
t/03handle..ok
t/04modsok
t/05concathash..ok
t/06attrs...String found where operator expected
at t/06attrs.t line 290, near "note "Checking inheritance\n""