Bug#882618: libdbix-class-schema-loader-perl: Test failures

Niko Tyni ntyni at debian.org
Fri Dec 22 17:52:12 UTC 2017


Control: tag -1 patch

On Fri, Nov 24, 2017 at 10:56:44PM +0100, gregor herrmann wrote:
> Package: libdbix-class-schema-loader-perl
> Version: 0.07047-1
> Severity: serious
> Tags: upstream
> Justification: fails to build from source (but built successfully in the past)
> Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=123681

> As first seen on ci.debian.net [0], libdbix-class-schema-loader-perl's
> test suite fails since recent changes in prerequsites. The same
> happens during build which leads to a FTBFS bug:
> 
> DBIx::Class::ResultSource::schema(): Unable to perform storage-dependent operations with a detached result source (source 'Bar' is not associated with a schema). You need to use $schema->thaw() or manually set $DBIx::Class::ResultSourceHandle::thaw_schema while thawing. at t/20invocations.t line 18

As discussed in the upstream bug, this is an intentional change in
Hash::Merge behaviour wrt. cloning. The attached patch seems to make it
work again by disabling the cloning, but Ilmari (the upstream author)
said a month ago he's unsure if it's the right thing to do.

Copying Ilmari: any news here? There's some pressure to fix this on the
Debian side, do you think the fix/workaround (->set_clone_behaviour(0))
is at least an acceptable temporary solution?

Thanks for your work,
-- 
Niko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Disable-cloning-when-merging-hashes.patch
Type: text/x-diff
Size: 1619 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20171222/6f5cedc1/attachment.patch>


More information about the pkg-perl-maintainers mailing list