[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#930710: marked as done (apngasm FTCBFS: uses the build architecture compiler)



Your message dated Thu, 16 Apr 2020 20:58:30 +0100
with message-id <20200416195830.wbgkvbp6h6mzthio@debian>
and subject line Re: apngasm FTCBFS: uses the build architecture compiler
has caused the Debian Bug report #930710,
regarding apngasm FTCBFS: uses the build architecture compiler
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
930710: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=930710
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: apngasm
Version: 2.7-2
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

apngasm fails to cross build from source, because it uses the build
architecture compiler as a make default. The easiest way of fixing that
- using dpkg's buildtools.mk - makes apngasm cross buildable. Please
consider applying the attached patch.

Helmut
diff --minimal -Nru apngasm-2.7/debian/changelog apngasm-2.7/debian/changelog
--- apngasm-2.7/debian/changelog	2016-05-26 12:36:23.000000000 +0200
+++ apngasm-2.7/debian/changelog	2019-06-19 06:20:52.000000000 +0200
@@ -1,3 +1,9 @@
+apngasm (2.7-3) UNRELEASED; urgency=medium
+
+  * Fix FTCBFS: Let dpkg's buildtools.mk supply $(CC). (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Wed, 19 Jun 2019 06:20:52 +0200
+
 apngasm (2.7-2) unstable; urgency=medium
 
   * QA upload.
diff --minimal -Nru apngasm-2.7/debian/rules apngasm-2.7/debian/rules
--- apngasm-2.7/debian/rules	2013-06-04 18:13:59.000000000 +0200
+++ apngasm-2.7/debian/rules	2019-06-19 06:20:51.000000000 +0200
@@ -2,7 +2,7 @@
 
 PACKAGE = apngasm
 BIN	= $(PACKAGE)
-CC     ?= gcc
+-include /usr/share/dpkg/buildtools.mk
 LIBS	= -lz -lpng
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all

--- End Message ---
--- Begin Message ---
Version: 2.91-1

debian/rules has been redone with this update and is now cross-building
properly. I have tested with a cross-build on arm64.


--
Regards
Sudip

--- End Message ---

Reply to: