[Pkg-ime-devel] Bug#834331: ibus: FTBFS in testing (tests last forever)

Santiago Vila sanvila at unex.es
Sun Aug 14 14:15:37 UTC 2016


Package: ibus
Version: 1.5.11-1
Severity: serious

Dear maintainer:

I tried to build this package with "dpkg-buildpackage -A" and it
failed in this way:

-------------------------------------------------------
make  check-TESTS
make[6]: Entering directory '/<<PKGBUILDDIR>>/src/tests'
make[7]: Entering directory '/<<PKGBUILDDIR>>/src/tests'
make[7]: *** Deleting file 'ibus-bus.log'
make[7]: *** wait: No child processes.  Stop.
make[7]: *** Waiting for unfinished jobs....
make[7]: *** wait: No child processes.  Stop.
make[6]: *** wait: No child processes.  Stop.
make[6]: *** Waiting for unfinished jobs....
make[6]: *** wait: No child processes.  Stop.
make[5]: *** wait: No child processes.  Stop.
make[5]: *** Waiting for unfinished jobs....
make[5]: *** wait: No child processes.  Stop.
make[4]: *** wait: No child processes.  Stop.
make[4]: *** Waiting for unfinished jobs....
make[4]: *** wait: No child processes.  Stop.
make[3]: *** wait: No child processes.  Stop.
make[3]: *** Waiting for unfinished jobs....
make[3]: *** wait: No child processes.  Stop.
make[2]: *** wait: No child processes.  Stop.
make[2]: *** Waiting for unfinished jobs....
make[2]: *** wait: No child processes.  Stop.
make[1]: *** wait: No child processes.  Stop.
make[1]: *** Waiting for unfinished jobs....
make[1]: *** wait: No child processes.  Stop.
make: *** wait: No child processes.  Stop.
make: *** Waiting for unfinished jobs....
make: *** wait: No child processes.  Stop.
Build killed with signal TERM after 60 minutes of inactivity
-------------------------------------------------------

However, the fact that I did "dpkg-buildpackage -A" is not relevant in
this case, because the same failure happens on the reproducible builds
autobuilders:

https://tests.reproducible-builds.org/debian/rbuild/testing/amd64/ibus_1.5.11-1.rbuild.log

In this case the autobuilder was more patient than mine and waited for
18 hours before giving up. You can see this at the end:

pbuilder was killed by timeout after 18h.
total duration: 18h 0m 34s.


I have no idea why it fails, but by looking at debian/rules, I see
that the results of the tests are ignored completely, because of the
initial "-":

override_dh_auto_test:
	-dh_auto_test


Additionally, the tests do not run verbosely, which does not help
the autobuilder to detect activity.


So, I suggest that you do one of these things:


A. Disable the tests completely by having an empty
override_dh_auto_test target that does nothing:

override_dh_auto_test:

Then the package would not FTBFS and it would not take 18 hours to build.


B. Enable the tests in verbose mode, abort if any of them fails.
Then be ready to fix those who fail or make the build process to hang,
or carefully disable those who fail or make the build process to hang,
and only those:

override_dh_auto_test:
	dh_auto_test -- V=1

This option is probably the right thing to do, but of course it may
take time and effort.

Thanks.



More information about the Pkg-ime-devel mailing list