Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1038566 > unrolled thread

Bug#977818: openexr-viewers FTCBFS: configure problems

Started byHelmut Grohne <helmut@subdivi.de>
First post2020-12-21 14:10 +0100
Last post2020-12-21 14:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#977818: openexr-viewers FTCBFS: configure problems Helmut Grohne <helmut@subdivi.de> - 2020-12-21 14:10 +0100

#1038566 — Bug#977818: openexr-viewers FTCBFS: configure problems

FromHelmut Grohne <helmut@subdivi.de>
Date2020-12-21 14:10 +0100
SubjectBug#977818: openexr-viewers FTCBFS: configure problems
Message-ID<Bot6N-7TR-1@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Source: openexr-viewers
Version: 2.3.0-1
Tags: patch upstream
User: debian-cross@lists.debian.org
Usertags: ftcbfs

openexr-viewers fails to cross build from source for issues related to
its configure script.

The first issue is that it uses AC_PATH_PROG to look up pkg-config. This
is a common mistake as it yields the build architecture pkg-config
rather than the intended host architecture one. Using AC_PATH_TOOL or
better PKG_PROG_PKG_CONFIG fixes that.

Next, the AM_COMPILELINKRUN macro is buggy. All of its invocations share
their enable state via the common variable $enable_programtest. The last
invocation of this macro "wins" the value for all of them. As such the
configure option --disable-openexrctltest given in debian/rules is
ignored. During native builds, the test is performed and yields the
correct result. During cross builds, the test is skipped and the wrong
result is guessed. Unsharing the enabled-variable between macro
invocations fixes this.

Please consider applying the attached patch to fix both of these.

Helmut

[toc] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web