Bug#846731: Bug#775434: libbio-scf-perl: FTBFS on mips64el, ppc64el, s390x - tests

Niko Tyni ntyni at debian.org
Tue Dec 6 22:11:25 UTC 2016


tag 846731 patch
thanks

On Sun, Dec 04, 2016 at 05:52:10PM +0200, Niko Tyni wrote:
> On Sat, Dec 03, 2016 at 04:40:53PM +0100, gregor herrmann wrote:
> > On Wed, 26 Oct 2016 13:26:42 +0100, Iain Lane wrote:
> > 
> > > On Thu, Jan 15, 2015 at 05:17:10PM +0000, James Cowgill wrote:
> > 
> > > > libbio-scp-perl FTBFS on mips64el, ppc64el, and s390x with similar
> > > > testsuite failures:
> > 
> > > > Although I haven't investigated this, the build produces many pointer
> > > > casting warnings which seem likely to have caused these errors:
> > > > 
> > > > SCF.xs: In function 'XS_Bio__SCF_get_scf_pointer':
> > > > SCF.xs:57:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
> > > >   ret_val = newSViv((int)scf_data);

> GCC started to default to PIE between the latest perl upload and the
> one before that. I think that made it use different memory locations,
> so the cast to int now overflows.

The attached patch fixes this for me on sid/amd64.

Eyeballs and/or testing would be welcome. Tagging just #846731 for now,
but I expect the bugs are about the same issue and should probably
be merged.
-- 
Niko Tyni   ntyni at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-overflowing-casts-from-pointer-to-integer.patch
Type: text/x-diff
Size: 2662 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20161207/6241f48b/attachment-0002.patch>


More information about the pkg-perl-maintainers mailing list