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


Groups > linux.debian.bugs.dist > #1231916

Bug#1095250: frotz FTCBFS: upstream Makefile changes broke cross compilation

From Helmut Grohne <helmut@subdivi.de>
Newsgroups linux.debian.bugs.dist
Subject Bug#1095250: frotz FTCBFS: upstream Makefile changes broke cross compilation
Date 2025-02-05 21:40 +0100
Message-ID <KcUlI-eFEY-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Source: frotz
Version: 2.55+dfsg-1
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

frotz fails to cross build from source for two reasons. For one thing,
upstream renamed the variable PKG_CONFIG to PKGCONF_BIN and
dh_auto_build does not supply the latter. As a result, frotz uses the
build architecture pkgconf and fails finding many of the required
libraries. For another ux_defines.h is listed in .PHONY and thus rebuilt
on every invocation. This incurs a rebuild during make install, but
dh_auto_install does not pass cross tools to make install and hence the
wrong toolchain is being used there. I suspect upstream wants
ux_defines.h to always get rebuilt, but that runs counter to the general
idea of building during dh_auto_build. I'm not sure dropping it from
.PHONY is something acceptable upstream, but it is necessary on the
Debian side. I'm attaching a patch for your convenience.

Helmut

Back to linux.debian.bugs.dist | Previous | NextNext in thread | Find similar


Thread

Bug#1095250: frotz FTCBFS: upstream Makefile changes broke cross compilation Helmut Grohne <helmut@subdivi.de> - 2025-02-05 21:40 +0100
  Bug#1095250: frotz FTCBFS: upstream Makefile changes broke cross compilation Patrice Duroux <patrice.duroux@gmail.com> - 2025-02-06 20:40 +0100

csiph-web