[debhelper-devel] debhelp test fail when buil on Fedora arm

Niels Thykier niels at thykier.net
Fri Apr 24 21:19:47 UTC 2015


On 2015-04-24 21:39, Sérgio Basto wrote:
> Hi, 
> [...]
> 
> Anyway this package is an noarch, not arch dependent, and the Perl test
> only fails on an arm builder.
> Perl test proves or not, that can run incorrectly on Fedora arm and not
> in a Debian arm ? 
> This doesn't make sense, because package is an noarch,  so or the
> test is wrong and can't test arches or debhelper is "archable" and we
> got a problem only in arm , am I thinking correctly ?  

Sorry, I see my initial answer was not really answering the question you
wanted.

My understanding is that debhelper /is/ a noarch package and the test is
as well.  That said, the test suite is sensitive and does not support
being run as if debhelper was being cross-build.
  I assume this is mostly an artefact of debhelper being noarch and
therefore should not ever need to be cross-build.  The test could be
presumably be patched to support being built under "cross-build"-like
conditions.

This can certainly be patched. *However*, I am *not* convinced it is in
your best interest!  The current condition of the build server will
cause debhelper based builds to skip their tests, as dh_auto_test
assumes tests can only be run during regular (i.e. non-cross builds).
  My suggestion would be to find a solution that solves the mismatch
between the build and host arch.  It will re-enable build time tests
with debhelper as well as fix the test in the debhelper build.

Thanks,
~Niels





More information about the debhelper-devel mailing list