Hi Manoj,

On Wed, Feb 17, 2016 at 11:55:27AM -0800, Manoj Srivastava wrote:
> > I'm not sure what you changed here, but the issue persists after your
> > upload, my patch is still applicable and it still fixes the issue.
> 
>         Could you provide some details? When I ran
>  DEB_BUILD_OPTIONS=nocheck ./debian/rules binary
>   no tests were run; remove the variable setting and they are.

I'm sorry, I don't have a copy of a log atm, but I can tell you roughly
what happens. Maybe this is already enough.

Even with DEB_BUILD_OPTIONS containing nocheck, I can see that make
enters the directory tests. Something like:

    make[3]: Entering directory '/«PKGBUILDDIR»/tests'

And from that directory I see it invoking flex:

    ../src/flex -o ...

Unless I am mistaking something, you should also be seeing these
invocations even with nocheck. They fail hard here, because ../src/flex
is not something we can execute during cross compilation.

As far as I can see, this is supposed to create C sources, which are
compiled into test programs and then run. So it looks like you disabled
the running of the programs, but running flex is actually part of the
test that is being performed and must be disabled as well.

This also makes it clear why my patch makes it work for me: It skips the
tests directory entirely (thus skipping the flex invocations) and splits
it off to a separate target "check", which is well understood by
dh_auto_test.

Do you think you can do without a failing build log?

Helmut

Reply via email to