[Debichem-devel] Bug#1110270: osra FTCBFS: Misses cross specific options with configure

Helmut Grohne helmut at subdivi.de
Sat Aug 2 19:05:28 BST 2025


Hi Nilesh,

On Sat, Aug 02, 2025 at 08:32:46PM +0530, Nilesh Patra wrote:
> osra Fails to cross-build because it uses a home-grown configure command
> instead of debhelper tooling. It seems this is because upstream
> discourages the use of this as documented in https://sourceforge.net/p/osra/bugs/20/

Thanks for working on this.

> -       LIBS=-lpng ./configure --prefix=/usr --datarootdir=\$${prefix}/share/osra --enable-lib --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) --enable-openmp
> +       LIBS=-lpng INSTALL_PROGRAM="install --strip-program=true" ./configure --prefix=/usr --datarootdir=\$${prefix}/share/osra --enable-lib --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) --host=$(DEB_HOST_MULTIARCH) --enable-openmp

The value passed to --host should be $(DEB_HOST_GNU_TYPE).

This is subtle. The value of *_MULTIARCH and *_GNU_TYPE only differs on
i386 (and I cannot tell why we opted for doing so). The gist is that
*_MULTIARCH should be used for filesystem paths (e.g. libraries) whereas
*_GNU_TYPE should be used for prefixing tools (and --host as a
consequence).

Helmut



More information about the Debichem-devel mailing list