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

Bug#1003392: marked as done (zita-dc1 FTCBFS: uses build architecture tools)



Your message dated Sun, 16 Oct 2022 21:22:15 +0000
with message-id <E1okB5L-00DVoB-RX@fasolo.debian.org>
and subject line Bug#1003392: fixed in zita-dc1 0.3.3-2
has caused the Debian Bug report #1003392,
regarding zita-dc1 FTCBFS: uses build architecture tools
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.)


-- 
1003392: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1003392
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: zita-dc1
Version: 0.3.3-1
Tags: patch upstream
User: debian-cross@lists.debian.org
Usertags: ftcbfs

zita-dc1 fails to cross build from source, because it uses build
architecture build tools in two occasions. For one thing, it uses the
build architecture pkg-config, because it uses the non-standard
substitution variable PKG_CONF rather than PKG_CONFIG, the latter of
which is substituted by dh_auto_build. The other aspect is hard coding
g++ instead of using $(CXX). Please consider applying the attached patch
to make zita-dc1 cross buildable.

Helmut
--- zita-dc1-0.3.3.orig/source/Makefile
+++ zita-dc1-0.3.3/source/Makefile
@@ -21,7 +21,8 @@
 PREFIX ?= /usr/local
 BINDIR ?= $(PREFIX)/bin
 SHARED ?= $(PREFIX)/share/zita-dc1
-PKG_CONF ?= pkg-config
+CXX ?= g++
+PKG_CONFIG ?= pkg-config
 
 VERSION = 0.3.3
 CPPFLAGS += -MMD -MP -DVERSION=\"$(VERSION)\" -DSHARED=\"$(SHARED)\"
@@ -33,11 +34,11 @@
 
 ZITA-DC1_O = zita-dc1.o styles.o jclient.o mainwin.o png2img.o guiclass.o \
 	button.o rotary.o gmeter.o dyncom1.o
-zita-dc1:	CPPFLAGS += $(shell $(PKG_CONF) --cflags freetype2)
+zita-dc1:	CPPFLAGS += $(shell $(PKG_CONFIG) --cflags freetype2)
 zita-dc1:	LDLIBS += -lclxclient -lclthreads -ljack -lpng -lpthread \
 	-lcairo -lXft -lX11 -lrt
 zita-dc1:	$(ZITA-DC1_O) 
-	g++ $(LDFLAGS) -o $@ $(ZITA-DC1_O) $(LDLIBS)
+	$(CXX) $(LDFLAGS) -o $@ $(ZITA-DC1_O) $(LDLIBS)
 $(ZITA-DC1_O):
 -include $(ZITA-DC1_O:%.o=%.d)
 

--- End Message ---
--- Begin Message ---
Source: zita-dc1
Source-Version: 0.3.3-2
Done: Dennis Braun <d_braun@kabelmail.de>

We believe that the bug you reported is fixed in the latest version of
zita-dc1, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1003392@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dennis Braun <d_braun@kabelmail.de> (supplier of updated zita-dc1 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 16 Oct 2022 22:53:05 +0200
Source: zita-dc1
Architecture: source
Version: 0.3.3-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: Dennis Braun <d_braun@kabelmail.de>
Closes: 1003392
Changes:
 zita-dc1 (0.3.3-2) unstable; urgency=medium
 .
   * Update Makefile patch to fix cross building.
     Thanks to Helmut Grohne! (Closes: #1003392)
   * Add a comment to the desktop file
   * Bump dh-compat to 13
   * Bump Standards Version to 4.6.1
   * d/rules: Remove unneeded linker flags
Checksums-Sha1:
 8ba4e6442299099ee622452d87d9228697cbe420 2092 zita-dc1_0.3.3-2.dsc
 9a4219c77ed8fb4f11e26c92b616e27cf5a3d61a 11744 zita-dc1_0.3.3-2.debian.tar.xz
 df04d7912af8033ec0e7e4330cc57990560741a3 6134 zita-dc1_0.3.3-2_source.buildinfo
Checksums-Sha256:
 a273bd553fd7fd009cc13335297b9f3838696a65857bf9c7efa3de515971e3b5 2092 zita-dc1_0.3.3-2.dsc
 a10de8e064ed24ab81c6fe9ef4d7493c12bb11d8ccc51a3acf31e96a79123e44 11744 zita-dc1_0.3.3-2.debian.tar.xz
 b834e8ca5fc62336fe5fb31b07fc3b8fb4cced59c2d42b0f3edc5a13feae1857 6134 zita-dc1_0.3.3-2_source.buildinfo
Files:
 2a3b8743f2eb41fde04f1d0f18210a29 2092 sound optional zita-dc1_0.3.3-2.dsc
 8f974853386520b3a70db25100ed785e 11744 sound optional zita-dc1_0.3.3-2.debian.tar.xz
 14cfa3bdf5ed9da9a4ba4e99724b9d5b 6134 sound optional zita-dc1_0.3.3-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJJBAEBCgAzFiEEPLfDAq+1fmGoxhfdY06lXZArmDYFAmNMcE4VHGRfYnJhdW5A
a2FiZWxtYWlsLmRlAAoJEGNOpV2QK5g2OugP/0kGUVEh80Fu3jDJC/QrmG3ISvzX
wXo7UIw5DQLRQIHXBspQb8EWKHXsGbAmuVcMgoO4/KYLbeDRSbQvm85cNPVfiRUB
qO/wkpIoAxGO+FmX9kFK6fr7AZx7RejC1w0PmKaiiO+M2RhCsiDtBglRQeoESELr
jlCfPWO1cITIldLrblg/lqhHF+JHmGmk4R3J8fLSkWwN6dAhahzWOLXT7ocR81GL
XI3r8txLb3QRvZ6fgFUXkRDR202okeliqgeImEHy7mF+FNSR22MfXy4j1YO+DAxR
WWWuukCqWxYDnkNMYkvGqJD4MzRZVKqiux8ytpiNPtTJK4eLaB0e2xWm9QqDNxTy
rV8DryoE9gWdNxV5VhJ06Hz9tiv2Do6qc9LfKM2FLSyV80gN78WGK51LaN/wRafZ
uoJ563l0qG5YDy7K3n527NgetPrnr7DVCO/x0jpY8Oj0pG9vk0lUnaFjF81UH2Kj
nqGR1MBisCrMxvCLHnoOlL6xHp1coOWznARdazqv4aT2EYstxGhyXCoH2VxTD+A/
5QoWjsZaVFW5RpsSAYUJTHiup1viMFoL8Ahso3C9VENZxlSueWj0Go48tCLnKCFt
ankvrC9tKuhlGT+Cx9KPAVIX5EEAfr51caWQfQznh2Twj8QF0Z1AB1/xfwP4Tn+R
y5uatGvcV7G2M6+J
=mAUU
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: