#928795 virtuoso-opensource FTCBFS: AC_TRY_RUN

Package:
src:virtuoso-opensource
Source:
virtuoso-opensource
Submitter:
Helmut Grohne
Date:
2021-10-01 22:27:03 UTC
Severity:
normal
Tags:
#928795#5
Date:
2019-05-11 10:00:51 UTC
From:
To:
virtuoso-opensource fails to cross build from source, because it uses
AC_TRY_RUN and this does not work at all during cross compilation. It
has good reasons to do so, so getting rid of AC_TRY_RUN is not straight
forward.

 * OpenSSL: It checks both the version number and whether openssl works.
   Checking the version number can be done during cross compilation
   using AC_COMPUTE_INT. Whether it works can only be assumed.
 * OpenLDAP and WBXML: It tries running examples to see whether these
   libraries work. We cannot do that during cross compilation. We can
   link the examples and if they link, we can try run the checks for
   native builds, but for cross builds, we can only assume that the
   libraries do work.

The attached patch makes cross configuration succeed (given sufficient
cache variables). It still fails the build. The end of the failure
sounds related to running tests. It seems like the package does not
support DEB_BUILD_OPTIONS=nocheck. I've not looked further.

Please consider applying the attached patch or otherwise fixing cross
configuration. Please close this bug when something has been done about
./configure even if virtuoso-opensource does not cross build. If you
have more time, please also look into implementing support for
DEB_BUILD_OPTIONS=nocheck support. Thank you.

Helmut

#928795#10
Date:
2021-10-01 22:25:14 UTC
From:
To:
Control: tag -1 moreinfo

Hi Helmut,

please refresh the patch for virtuoso-opensource 7 in sid


Thanks

Andreas