Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1038566
| From | Helmut Grohne <helmut@subdivi.de> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#977818: openexr-viewers FTCBFS: configure problems |
| Date | 2020-12-21 14:10 +0100 |
| Message-ID | <Bot6N-7TR-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
[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
Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread
Bug#977818: openexr-viewers FTCBFS: configure problems Helmut Grohne <helmut@subdivi.de> - 2020-12-21 14:10 +0100
csiph-web