[Debian-med-packaging] Bug#905611: xmedcon FTCBFS: abuses AC_CHECK_FILE

Helmut Grohne helmut at subdivi.de
Tue Aug 7 05:40:45 BST 2018


Source: xmedcon
Version: 0.15.0+dfsg-2
Tags: patch upstream
User: helmutg at debian.org
Usertags: rebootstrap

xmedcon fails to cross build from source, because it abuses
AC_CHECK_FILE. The macro is meant for checking files on the host system,
not for checking files (such as includes) on the build system. For the
latter a simple test -f is ok. The attached patch fixes that part, but
it doesn't make xmedcon cross buildable: It later fails running
libs/dicom/parse, which is built with the host architecture compiler. As
a build tool it needs to be built with the build architecture compiler.
Fixing that likely involves using AX_CC_FOR_BUILD and possibly rewriting
parse.c to avoid relying on dicom.h. Please consider fixing the
AC_CHECK_FILE anyway and close this bug when doing so. It will allow
others to see the real failure.

Helmut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cross.patch
Type: text/x-diff
Size: 712 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20180807/100b6fc3/attachment.patch>


More information about the Debian-med-packaging mailing list