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

Niko Tyni ntyni at debian.org
Sun Dec 4 15:52:10 UTC 2016


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);
> > 
> > We are noticing this on ubuntu/amd64 too - not sure right now why
> > debian/amd64 doesn't have it.
> 
> Now also in Debian: #846731
> (And I can reproduce it locally).
> 
> Interestingly, it still built some weeks ago on the
> reproducible-build hosts:
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libbio-scf-perl.html
> (also i386 and armhf)

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.

I believe the above architectures, and Ubuntu amd64 as well, were
defaulting to PIE earlier so that's why they run into this when
Debian/amd64 was still fine.
-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list