Skip Menu |

This queue is for tickets about the DBIx-Class-Schema-Loader CPAN distribution.

Report information
The Basics
Id: 123859
Status: resolved
Priority: 0/
Queue: DBIx-Class-Schema-Loader

People
Owner: Nobody in particular
Requestors: jason [...] dickson.st
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.07047
Fixed in: 0.07048



Subject: tests fail in Perl 5.26.1
When I try and install DBIx::Class::Schema::Loader in Perl 5.26.1, I get this error: t/10_07mssql_common.t ................... skipped: You need to set the DBICTEST_MSSQL_DSN, _USER and _PASS and/or the DBICTEST_MSSQL_ODBC_DSN, _USER and _PASS env ironment variables t/10_08sqlanywhere_common.t ............. skipped: You need to set the DBICTEST_SQLANYWHERE_DSN, _USER and _PASS and/or the DBICTEST_SQLANYWHERE_ODBC_DSN, _USER a nd _PASS environment variables t/10_09firebird_common.t ................ skipped: You need to set the DBICTEST_FIREBIRD_DSN, _USER and _PASS and/or the DBICTEST_FIREBIRD_ODBC_DSN, _USER and _PA SS and/or the DBICTEST_FIREBIRD_INTERBASE_DSN, _USER and _PASS environment variables t/10_10informix_common.t ................ skipped: requirements not satisfied: DBD::Informix as well as the following group(s) of environment variables: DBICTEST_ INFORMIX_DSN/..._USER/..._PASS t/10_11msaccess_common.t ................ skipped: You need to set the DBICTEST_MSACCESS_ODBC_DSN, _USER and _PASS and/or the DBICTEST_MSACCESS_ADO_DSN, _USER and _PASS environment variables DBIx::Class::ResultSource::schema(): Unable to perform storage-dependent operations with a detached result source (source 'Bar' is not associated with a schema). at t/20invocations.t line 18 # Looks like your test exited with 255 just after 7. t/20invocations.t ....................... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 55/62 subtests t/21misc_fatal.t ........................ ok I tested installing in 5.26.0 and it seems to install fine: jason@quartz:~$ cpanm DBIx::Class::Schema::Loader --> Working on DBIx::Class::Schema::Loader Fetching http://www.cpan.org/authors/id/I/IL/ILMARI/DBIx-Class-Schema-Loader-0.07047.tar.gz ... OK Configuring DBIx-Class-Schema-Loader-0.07047 ... OK Building and testing DBIx-Class-Schema-Loader-0.07047 ... OK Successfully installed DBIx-Class-Schema-Loader-0.07047 1 distribution installed Tested in Debian Stretch under perlbrew.
From: jason [...] dickson.st
I was able to install in perl 5.26.1 by downgrading Hash::Merge to 0.200, which is what I had installed in the 5.26.0 version of perl. cpanm Hash::Merge@0.200 ~$ cpanm DBIx::Class::Schema::Loader --> Working on DBIx::Class::Schema::Loader Fetching http://www.cpan.org/authors/id/I/IL/ILMARI/DBIx-Class-Schema-Loader-0.07047.tar.gz ... OK Configuring DBIx-Class-Schema-Loader-0.07047 ... OK Building and testing DBIx-Class-Schema-Loader-0.07047 ... OK Successfully installed DBIx-Class-Schema-Loader-0.07047 1 distribution installed On Mon Dec 11 00:00:05 2017, jasonblewis wrote: Show quoted text
> When I try and install DBIx::Class::Schema::Loader in Perl 5.26.1, I > get this error: > > t/10_07mssql_common.t ................... skipped: You need to set the > DBICTEST_MSSQL_DSN, _USER and _PASS and/or the > DBICTEST_MSSQL_ODBC_DSN, _USER and _PASS env > ironment variables > t/10_08sqlanywhere_common.t ............. skipped: You need to set the > DBICTEST_SQLANYWHERE_DSN, _USER and _PASS and/or the > DBICTEST_SQLANYWHERE_ODBC_DSN, _USER a > nd _PASS environment variables > t/10_09firebird_common.t ................ skipped: You need to set the > DBICTEST_FIREBIRD_DSN, _USER and _PASS and/or the > DBICTEST_FIREBIRD_ODBC_DSN, _USER and _PA > SS and/or the DBICTEST_FIREBIRD_INTERBASE_DSN, _USER and _PASS > environment variables > t/10_10informix_common.t ................ skipped: requirements not > satisfied: DBD::Informix as well as the following group(s) of > environment variables: DBICTEST_ > INFORMIX_DSN/..._USER/..._PASS > t/10_11msaccess_common.t ................ skipped: You need to set the > DBICTEST_MSACCESS_ODBC_DSN, _USER and _PASS and/or the > DBICTEST_MSACCESS_ADO_DSN, _USER and > _PASS environment variables > DBIx::Class::ResultSource::schema(): Unable to perform storage- > dependent operations with a detached result source (source 'Bar' is > not associated with a schema). > at t/20invocations.t line 18 > # Looks like your test exited with 255 just after 7. > t/20invocations.t ....................... > Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 55/62 subtests > t/21misc_fatal.t ........................ ok > > > > > I tested installing in 5.26.0 and it seems to install fine: > > jason@quartz:~$ cpanm DBIx::Class::Schema::Loader > --> Working on DBIx::Class::Schema::Loader > Fetching http://www.cpan.org/authors/id/I/IL/ILMARI/DBIx-Class-Schema- > Loader-0.07047.tar.gz ... OK > Configuring DBIx-Class-Schema-Loader-0.07047 ... OK > Building and testing DBIx-Class-Schema-Loader-0.07047 ... > > OK > Successfully installed DBIx-Class-Schema-Loader-0.07047 > 1 distribution installed > > > Tested in Debian Stretch under perlbrew.
The problem is discussed in https://rt.cpan.org/Ticket/Display.html?id=123681 On 2017-12-11 00:12:28, jasonblewis wrote: Show quoted text
> I was able to install in perl 5.26.1 by downgrading Hash::Merge to > 0.200, which is what I had installed in the 5.26.0 version of perl. > > cpanm Hash::Merge@0.200 > > > ~$ cpanm DBIx::Class::Schema::Loader > --> Working on DBIx::Class::Schema::Loader > Fetching http://www.cpan.org/authors/id/I/IL/ILMARI/DBIx-Class-Schema- > Loader-0.07047.tar.gz ... OK > Configuring DBIx-Class-Schema-Loader-0.07047 ... OK > Building and testing DBIx-Class-Schema-Loader-0.07047 ... OK > Successfully installed DBIx-Class-Schema-Loader-0.07047 > 1 distribution installed > > > > > On Mon Dec 11 00:00:05 2017, jasonblewis wrote:
> > When I try and install DBIx::Class::Schema::Loader in Perl 5.26.1, I > > get this error: > > > > t/10_07mssql_common.t ................... skipped: You need to set > > the > > DBICTEST_MSSQL_DSN, _USER and _PASS and/or the > > DBICTEST_MSSQL_ODBC_DSN, _USER and _PASS env > > ironment variables > > t/10_08sqlanywhere_common.t ............. skipped: You need to set > > the > > DBICTEST_SQLANYWHERE_DSN, _USER and _PASS and/or the > > DBICTEST_SQLANYWHERE_ODBC_DSN, _USER a > > nd _PASS environment variables > > t/10_09firebird_common.t ................ skipped: You need to set > > the > > DBICTEST_FIREBIRD_DSN, _USER and _PASS and/or the > > DBICTEST_FIREBIRD_ODBC_DSN, _USER and _PA > > SS and/or the DBICTEST_FIREBIRD_INTERBASE_DSN, _USER and _PASS > > environment variables > > t/10_10informix_common.t ................ skipped: requirements not > > satisfied: DBD::Informix as well as the following group(s) of > > environment variables: DBICTEST_ > > INFORMIX_DSN/..._USER/..._PASS > > t/10_11msaccess_common.t ................ skipped: You need to set > > the > > DBICTEST_MSACCESS_ODBC_DSN, _USER and _PASS and/or the > > DBICTEST_MSACCESS_ADO_DSN, _USER and > > _PASS environment variables > > DBIx::Class::ResultSource::schema(): Unable to perform storage- > > dependent operations with a detached result source (source 'Bar' is > > not associated with a schema). > > at t/20invocations.t line 18 > > # Looks like your test exited with 255 just after 7. > > t/20invocations.t ....................... > > Dubious, test returned 255 (wstat 65280, 0xff00) > > Failed 55/62 subtests > > t/21misc_fatal.t ........................ ok > > > > > > > > > > I tested installing in 5.26.0 and it seems to install fine: > > > > jason@quartz:~$ cpanm DBIx::Class::Schema::Loader > > --> Working on DBIx::Class::Schema::Loader > > Fetching http://www.cpan.org/authors/id/I/IL/ILMARI/DBIx-Class- > > Schema- > > Loader-0.07047.tar.gz ... OK > > Configuring DBIx-Class-Schema-Loader-0.07047 ... OK > > Building and testing DBIx-Class-Schema-Loader-0.07047 ... > > > > OK > > Successfully installed DBIx-Class-Schema-Loader-0.07047 > > 1 distribution installed > > > > > > Tested in Debian Stretch under perlbrew.
The change in behaviour in Hash::Merge has been mitigated by https://github.com/dbsrgits/dbix-class-schema-loader/pull/16 and released to CPAN in version 0.07048. - ilmari