[Dbix-class] deploymenthandler and version storage (0.001002)

fREW Schmidt frioux at gmail.com
Thu Jul 15 13:53:46 GMT 2010


On Thu, Jul 15, 2010 at 3:18 AM, Leandro Hermida <softdev at leandrohermida.com
> wrote:

> Hi there,
>
> This module looks really interesting, I've just tried to install it in
> cpan and get the following error:
>
> Running make test
> PERL_DL_NONLAZY=3D1 /home/hermida/soft/perl/5.12.1/bin/perl
> "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib',
> 'blib/arch')" t/*.t t/deploy_methods/*.t t/version_handlers/*.t
> t/version_storages/*.t
> t/02-instantiation-no-ddl.t .............................. ok
> t/02-instantiation-wo-component.t ........................ ok
> t/02-instantiation.t ..................................... ok
> t/03-deprecated.t ........................................ ok
> t/04-preconnect.t ........................................ ok
> t/deploy_methods/sql_translator.t ........................ 13/? perl:
> B.c:3919: XS_B__PV_PVX: Assertion `!((((_svpvx)->sv_flags &
> (0x00004000|0x00008000)) =3D=3D 0x00008000) &&
> (((svtype)((_svpvx)->sv_flags & 0xff)) =3D=3D SVt_PVGV ||
> ((svtype)((_svpvx)->sv_flags & 0xff)) =3D=3D SVt_PVLV))' failed.
> t/deploy_methods/sql_translator.t ........................ All 15
> subtests passed
> t/deploy_methods/sql_translator_deprecated.t ............. ok
> t/deploy_methods/sql_translator_protoschema_transform.t .. Name
> "main::version" used only once: possible typo at
> t/deploy_methods/sql_translator_protoschema_transform.t line 43.
> t/deploy_methods/sql_translator_protoschema_transform.t .. ok
> t/release-pod-coverage.t ................................. skipped:
> these tests are for release candidate testing
> t/release-pod-syntax.t ................................... skipped:
> these tests are for release candidate testing
> t/version_handlers/db_schema_versions.t .................. ok
> t/version_handlers/explict_versions.t .................... ok
> t/version_handlers/monotonic.t ........................... ok
> t/version_storages/standard.t ............................ ok
>
> why would this happen?
>
> best,
> Leandro
>
>
That's an excellent question!  It turns out that only perl's with assertions
turned on die from that; in my perl it gives a warning and happily passes
all tests.

Honestly I have *no* clue what causes it and when I tried to make a simpler
case for it, but it seems somehow inextricably bound to doing more than one
thing, so simplifying it is very hard.

I would *love* it if someone could help me make a minimal testcase.  I am
fairly positive that the issue is in something that SQL::Translator depends
on (some yaml thing I bet) but without a test case I'd be hard pressed to
prove that.

Oh also, it seems like a 5.12 and greater issue...

-- =

fREW Schmidt
http://blog.afoolishmanifesto.com <javascript:void(0);>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20100715/a38=
b4857/attachment.htm


More information about the DBIx-Class mailing list