Bug#931165: startpar FTCBFS: build for the wrong architecture

Helmut Grohne helmut at subdivi.de
Fri Jun 28 05:15:40 BST 2019


On Thu, Jun 27, 2019 at 03:35:31PM +0700, Nguyen Hoang Tung wrote:
> startpar fails to cross build because it does not pass cross build tools to
> make. Using "dh_auto_build" instead of "$(MAKE)" can solve this problem.

Good catch. 0.59-4 still crossed, so this is a regression. I have two
minor issues to be found when looking deeper.

The file that fais building (compiletest.cc) seems entirely useless.  I
see no use of this testfunc in startpar.  Dropping CXXSRCS from OBJS in
Makefile should fix this problem as well.

Then replacing $(MAKE) with dh_auto_build is a nice cleanup irrespective
of fixing cross building. When doing so you can also clean the CC=$(CC)
assignment there and the construction of CC earlier. This dates back to
a time when dh_auto_build didn't pass cross tools.

Helmut




More information about the Debian-init-diversity mailing list