Your message dated Fri, 18 Aug 2017 15:10:57 +0000
with message-id <e1diivj-0002su...@fasolo.debian.org>
and subject line Bug#872249: fixed in qm-dsp 1.7.1-3
has caused the Debian Bug report #872249,
regarding qm-dsp FTCBFS: sometimes uses the build architecture toolchain
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 ow...@bugs.debian.org
immediately.)


-- 
872249: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=872249
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: qm-dsp
Version: 1.7.1-2
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

qm-dsp fails to cross build from source, because it uses the build
architecture tools for some parts:
 * The first make invocation uses build architecture compilers as make
   defaults.
 * debian/rules hard codes the build architecture pkg-config.
 * debian/rules hard codes the build architecture C++ compiler.

After fixing all of that, qm-dsp cross builds successfully. Please
consider applying the attached patch.

Helmut
diff --minimal -Nru qm-dsp-1.7.1/debian/changelog qm-dsp-1.7.1/debian/changelog
--- qm-dsp-1.7.1/debian/changelog       2016-12-15 23:04:50.000000000 +0100
+++ qm-dsp-1.7.1/debian/changelog       2017-08-15 11:46:35.000000000 +0200
@@ -1,3 +1,12 @@
+qm-dsp (1.7.1-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Let dh_auto_build pass cross compilers to make.
+    + Prefix host tools with host triplet.
+
+ -- Helmut Grohne <hel...@subdivi.de>  Tue, 15 Aug 2017 11:46:35 +0200
+
 qm-dsp (1.7.1-2) unstable; urgency=medium
 
   * B-D on pkg-config &  libatlas-base-dev
diff --minimal -Nru qm-dsp-1.7.1/debian/rules qm-dsp-1.7.1/debian/rules
--- qm-dsp-1.7.1/debian/rules   2016-12-15 23:04:50.000000000 +0100
+++ qm-dsp-1.7.1/debian/rules   2017-08-15 11:46:33.000000000 +0200
@@ -2,7 +2,7 @@
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
-DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+include /usr/share/dpkg/architecture.mk
 PREFIX = /usr
 LIBDIR=lib/$(DEB_HOST_MULTIARCH)
 DESTDIR=$(CURDIR)/debian/tmp
@@ -12,6 +12,10 @@
 MAJVERS = 0
 MINVERS = 0.0
 
+ifeq ($(origin CXX),default)
+CXX = $(DEB_HOST_GNU_TYPE)-g++
+endif
+PKG_CONFIG ?= $(DEB_HOST_GNU_TYPE)-pkg-config
 CFLAGS += -DNDEBUG -O3 -fPIC -ffast-math -ftree-vectorize -DUSE_PTHREADS
 CXXFLAGS += -fPIC -Wall
 CXXFLAGS += $(CFLAGS)
@@ -22,8 +26,8 @@
 QM-DSP_DEP = libqm-dsp.a
 QM-DSP_H = qm-dsp
 
-QM-DSP_CFLAGS=$(shell pkg-config --cflags blas-atlas lapack-atlas)
-QM-DSP_LFLAGS=-llapack_atlas $(shell pkg-config --libs blas-atlas 
lapack-atlas) -lpthread
+QM-DSP_CFLAGS=$(shell $(PKG_CONFIG) --cflags blas-atlas lapack-atlas)
+QM-DSP_LFLAGS=-llapack_atlas $(shell $(PKG_CONFIG) --libs blas-atlas 
lapack-atlas) -lpthread
 
 CFLAGS+=$(QM-DSP_CFLAGS)
 
@@ -31,9 +35,9 @@
        dh $@
 
 override_dh_auto_build:
-       $(MAKE) -f build/general/Makefile.inc
+       dh_auto_build --buildsystem=makefile -- -f build/general/Makefile.inc
        dh_auto_build
-       g++ -shared $(LDFLAGS) -o $(QM-DSP_MAJ) -Wl,-soname,$(QM-DSP_MAJ) 
-Wl,--whole-archive $(QM-DSP_DEP) -Wl,--no-whole-archive $(QM-DSP_LFLAGS)
+       $(CXX) -shared $(LDFLAGS) -o $(QM-DSP_MAJ) -Wl,-soname,$(QM-DSP_MAJ) 
-Wl,--whole-archive $(QM-DSP_DEP) -Wl,--no-whole-archive $(QM-DSP_LFLAGS)
 
 override_dh_auto_install:
        install -d $(DESTDIR)$(PREFIX)/include/$(QM-DSP_H)/base

--- End Message ---
--- Begin Message ---
Source: qm-dsp
Source-Version: 1.7.1-3

We believe that the bug you reported is fixed in the latest version of
qm-dsp, 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 872...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jaromír Mikeš <mira.mi...@seznam.cz> (supplier of updated qm-dsp 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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Tue, 15 Aug 2017 15:45:08 +0200
Source: qm-dsp
Binary: libqm-dsp0 libqm-dsp-dev
Architecture: source
Version: 1.7.1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers 
<pkg-multimedia-maintainers@lists.alioth.debian.org>
Changed-By: Jaromír Mikeš <mira.mi...@seznam.cz>
Description:
 libqm-dsp-dev - Development files (headers) for libqm-dsp library
 libqm-dsp0 - C++ library for audio signals analysis
Closes: 872249
Changes:
 qm-dsp (1.7.1-3) unstable; urgency=medium
 .
   * Introduce postclone.sh script to ignore .pc/ dir.
   * Bump Standards.
   * Update copyright.
   * Fix dh version.
   * Avoid useless linking.
   * Fix FTCBFS. (Closes: #872249)
Checksums-Sha1:
 1a201b6124c59f62d27d300d37a75d8b2f76ec10 2117 qm-dsp_1.7.1-3.dsc
 1f7a64a3e37c7e69aed6d6b24c9d01a98c5fffaa 5556 qm-dsp_1.7.1-3.debian.tar.xz
 110a2832d53e125db6c67d44f70db98e8d37ab9e 6170 qm-dsp_1.7.1-3_amd64.buildinfo
Checksums-Sha256:
 b4d94166ddfd73753240a06d703c30020e27d879fda076454d81b357584c2aa1 2117 
qm-dsp_1.7.1-3.dsc
 5439b14ef15cdef40b9a858f14cab964b279ba9712651a1e15cd418e00b19b44 5556 
qm-dsp_1.7.1-3.debian.tar.xz
 af9d0d3eb82f27045787e28bafaff4aa8025a03297466467a26c3545c5024f86 6170 
qm-dsp_1.7.1-3_amd64.buildinfo
Files:
 a5012bd46ef5e9c301d16e0b1f7dc3aa 2117 sound optional qm-dsp_1.7.1-3.dsc
 a2155047a068b85de5dfb67ea6548ba6 5556 sound optional 
qm-dsp_1.7.1-3.debian.tar.xz
 825f5b79a0cc88d5118a81e318b356fd 6170 sound optional 
qm-dsp_1.7.1-3_amd64.buildinfo

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

iQIzBAEBCgAdFiEEi3hoeGwz5cZMTQpICBa54Yx2K60FAlmW8vkACgkQCBa54Yx2
K61T5hAAq6GefYokAzFN1gkfHyvH8g4lkf7S982ub/TG5wgiyWOsM717OfYx/uqV
V057kN3ccaREbePgwqRzeD2bCaT+kxjIcL9KdFDffVoUekUD5RCBk8AB3YbR/vMI
vWDH4nAbih/QB0h9YNa21MmozAkZGNbi7t17dvSydunUDrZPnQKoEXJ5uf5pXdgm
L5jKt6+4V0sHRybpxCFh/pZVY5Se6M/Z9yn9kggr9ykckEUtihPGQDKB0fvDGuPz
aO0Q2ngN5/Q7iU3KYjh7W5d+hN7dF5eLr5wmU2OwtXxBdCMVbIFcKqR4TDK1dKLR
n7wuqK6YQNcoHt7ELwT49U8bifPaPgghm2fJz5tTR7oF7sI6OCpaEmZzHhTgPSLw
4WUm9mA+PPE/231Kq10h5kBjofRlo2KiX8RNeHD6FQyNwuc1gYzXgRxiy4q5/790
+Jio4b3IPKG4oy4rgE2Yxbu1GRRczalc2ldpQtilNBkOoi3Lf+pPm7ShZSDDDUYO
lYXcBulrl7qaDaUp2a8rhgMdEpxZsbEfvn+O++ASwXCDwhoX72C8eSHMPTwl0xb5
bidBWF+2sUSadoK38NN/AktaRwY43FMvXGd+vJSqPJp8Jaz7f7j1r9WpCrMLnUZX
36r9K/htiPbb9MDTvMgZ6h3IYD2ReqjAkyKroiQ9dV16S55k1bo=
=MRhz
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to