[Pkg-samba-maint] Bug#808769: ldb: FTBFS on s390x

Andrew Bartlett abartlet at samba.org
Wed Jan 6 09:00:52 UTC 2016


On Wed, 2016-01-06 at 08:01 +0100, Mathieu Parent wrote:
> On Tue, 22 Dec 2015 17:39:05 +0100 Ivo De Decker <ivodd at debian.org>
> wrote:
> > Package: ldb
> > Version: 2:1.1.23-1
> > Severity: serious
> > 
> > Hi Jelmer,
> > 
> > The ldb testsuite fails on s390x, causing the build to fail.
> > Obviously, this
> > also blocks the build of the latest version of samba (which build
> > -depends on
> > it).
> 
> It's also failing on ppc64 with the same error. Both s390x and ppc64
> are Big-endian, but it builds on mips which is also big-endian, so
> problem on 64bit big-endian?

Exactly.  Almost certainly an int / ssize_t mixup in the set_component
wrapper.  See https://github.com/samba-team/samba/pull/50

> =====================================================================
> =
> ERROR: test_set_component (__main__.DnTests)
> ---------------------------------------------------------------------
> -
> Traceback (most recent call last):
>   File "tests/python/api.py", line 661, in test_set_component
>     dn.set_component(0, 'cn', 'bar')
> TypeError: Failed to set component
> 
> =====================================================================
> =
> ERROR: test_set_component_bytes (__main__.DnTests)
> ---------------------------------------------------------------------
> -
> Traceback (most recent call last):
>   File "tests/python/api.py", line 672, in test_set_component_bytes
>     dn.set_component(0, 'cn', b'bar')
> TypeError: Failed to set component
> 
> ---------------------------------------------------------------------
> -
> 
> Ref:
> https://buildd.debian.org/status/logs.php?pkg=ldb&ver=2%3A1.1.24-1
> https://buildd.debian.org/status/fetch.php?pkg=ldb&arch=ppc64&ver=2%3
> A1.1.24-1&stamp=1450397581
> https://buildd.debian.org/status/fetch.php?pkg=ldb&arch=ppc64&ver=2%3
> A1.1.24-1&stamp=1450616129
> 
> Regards
> 
> Mathieu Parent
> 
-- 
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba



More information about the Pkg-samba-maint mailing list