[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#931157: gsoap FTCBFS: build for the wrong architecture



Control: tags -1 + moreinfo

On Thu, Jun 27, 2019 at 03:22:57PM +0700, Nguyen Hoang Tung wrote:
> gsoap 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.

I cannot reproduce the problem, see http://crossqa.debian.net/src/gsoap.
The gsoap package uses autoconf. For this reason, it should not pass
cross tools to make: ./configure will have set up the right tools
already. This also doesn't work the way you think: When dh detects the
presence of a ./configure script, it prefers the autoconf build system
over the makefile build system. Only for the makefile buildsystem,
dh_auto_build actually passes cross tools.

There are a few failures on the crossqa page. These are caused by
misdetecting whether malloc(0) returns NULL. The problem has since been
fixed in cross-config and future cross builds of gsoap should just work.

What exact problem were you seeing with gsoap?

Helmut


Reply to: