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

Sérgio Basto sergio at serjux.com
Sat Apr 25 15:29:46 UTC 2015


Hi, 
On Sex, 2015-04-24 at 23:19 +0200, Niels Thykier wrote:
> 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 think is not "being cross-build", the problem *only* happens when is
building on a Fedora arm and not happens on a x86 builder .

I'm not cross building nothing, so to get logs of this problem I have to
have an arm with Fedora and running building there, which I don't have
it now ...


>   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
> 
> 
Thanks,
-- 
Sérgio M. B.




More information about the debhelper-devel mailing list