Bug#928795: virtuoso-opensource FTCBFS: AC_TRY_RUN

Helmut Grohne helmut at subdivi.de
Sat May 11 11:00:51 BST 2019


Source: virtuoso-opensource
Version: 6.1.6+dfsg2-4
Tags: patch upstream
User: helmutg at debian.org
Usertags: rebootstrap

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cross.patch
Type: text/x-diff
Size: 2883 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20190511/d1f12e84/attachment.patch>


More information about the debian-science-maintainers mailing list