Your message dated Sun, 13 Oct 2019 19:04:03 +0000
with message-id <e1ijj9v-000bh2...@fasolo.debian.org>
and subject line Bug#912196: fixed in abgate 1.1.9-2
has caused the Debian Bug report #912196,
regarding abgate FTCBFS: multiple reasons
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.)


-- 
912196: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912196
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: abgate
Version: 1.1.9-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

abgate fails to cross build from source for multiple reasons:

 * The upstream Makefile hard codes build architecture tools such as g++
   or pkg-config.
 * The upstream Makefile directly runs qmake, which lacks cross flags as
   well.

The attached patch fixes that. In part, the Makefile is fixed. For qt,
it is simply sidestepped. After doing so, abgate cross builds
successfully. Please consider applying it.

Helmut
diff --minimal -Nru abgate-1.1.9/debian/changelog abgate-1.1.9/debian/changelog
--- abgate-1.1.9/debian/changelog       2017-11-01 12:38:10.000000000 +0100
+++ abgate-1.1.9/debian/changelog       2018-10-29 06:15:39.000000000 +0100
@@ -1,3 +1,12 @@
+abgate (1.1.9-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Build abGateQt directly via dh_auto_* before the Makefile can do it.
+    + cross.patch: Honour cross tools.
+
+ -- Helmut Grohne <hel...@subdivi.de>  Mon, 29 Oct 2018 06:15:39 +0100
+
 abgate (1.1.9-1) unstable; urgency=medium
 
   * New upstream version 1.1.9
diff --minimal -Nru abgate-1.1.9/debian/patches/cross.patch 
abgate-1.1.9/debian/patches/cross.patch
--- abgate-1.1.9/debian/patches/cross.patch     1970-01-01 01:00:00.000000000 
+0100
+++ abgate-1.1.9/debian/patches/cross.patch     2018-10-29 06:15:35.000000000 
+0100
@@ -0,0 +1,23 @@
+--- abgate-1.1.9.orig/Makefile
++++ abgate-1.1.9/Makefile
+@@ -3,6 +3,7 @@
+ BUNDLE = abGate.lv2
+ PREFIX = /usr
+ INSTALL_DIR = $(DESTDIR)$(PREFIX)/lib/lv2
++PKG_CONFIG ?= pkg-config
+ 
+ $(BUNDLE): manifest.ttl gate.ttl gate.so gate_gui.so bypass_on.png 
bypass_off.png knob.png background.png abGateQt/libabGateQt.so
+       rm -rf $(BUNDLE)
+@@ -13,10 +14,10 @@
+       cd abGateQt; qmake; make
+ 
+ gate.so: gate.cpp
+-      g++ $(LDFLAGS) $(CPPFLAGS) $(CFLAGS) -g -O3 -shared -fPIC -DPIC 
-Wl,--as-needed gate.cpp `pkg-config --cflags --libs lv2` -o gate.so
++      $(CXX) $(LDFLAGS) $(CPPFLAGS) $(CFLAGS) -g -O3 -shared -fPIC -DPIC 
-Wl,--as-needed gate.cpp `$(PKG_CONFIG) --cflags --libs lv2` -o gate.so
+ 
+ gate_gui.so: gate_gui.cpp main_window.cpp main_window.h knob.cpp knob.h 
toggle.cpp toggle.h preset_widget.cpp preset_widget.h presets.cpp presets.h 
preset.cpp preset.h gate_const.h plugin_configuration.h
+-      g++ $(LDFLAGS) $(CPPFLAGS) $(CFLAGS) -g -O3 -shared -fPIC -DPIC 
-Wl,--as-needed gate_gui.cpp main_window.cpp knob.cpp toggle.cpp 
preset_widget.cpp presets.cpp preset.cpp `pkg-config --cflags gtkmm-2.4 --libs 
lv2 gthread-2.0` -o gate_gui.so
++      $(CXX) $(LDFLAGS) $(CPPFLAGS) $(CFLAGS) -g -O3 -shared -fPIC -DPIC 
-Wl,--as-needed gate_gui.cpp main_window.cpp knob.cpp toggle.cpp 
preset_widget.cpp presets.cpp preset.cpp `$(PKG_CONFIG) --cflags gtkmm-2.4 
--libs lv2 gthread-2.0` -o gate_gui.so
+ 
+ all: $(BUNDLE)
+ 
diff --minimal -Nru abgate-1.1.9/debian/patches/series 
abgate-1.1.9/debian/patches/series
--- abgate-1.1.9/debian/patches/series  2017-10-11 16:19:02.000000000 +0200
+++ abgate-1.1.9/debian/patches/series  2018-10-29 06:14:55.000000000 +0100
@@ -1 +1,2 @@
 0002-flags.patch
+cross.patch
diff --minimal -Nru abgate-1.1.9/debian/rules abgate-1.1.9/debian/rules
--- abgate-1.1.9/debian/rules   2017-11-01 12:25:19.000000000 +0100
+++ abgate-1.1.9/debian/rules   2018-10-29 06:15:39.000000000 +0100
@@ -8,3 +8,10 @@
 
 %:
        dh $@
+
+override_dh_auto_configure:
+       dh_auto_configure --sourcedirectory=abGateQt
+
+override_dh_auto_build:
+       dh_auto_build --sourcedirectory=abGateQt
+       dh_auto_build

--- End Message ---
--- Begin Message ---
Source: abgate
Source-Version: 1.1.9-2

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

Debian distribution maintenance software
pp.
Sebastian Ramacher <sramac...@debian.org> (supplier of updated abgate 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: Sun, 13 Oct 2019 20:48:01 +0200
Source: abgate
Architecture: source
Version: 1.1.9-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multime...@lists.debian.org>
Changed-By: Sebastian Ramacher <sramac...@debian.org>
Closes: 912196
Changes:
 abgate (1.1.9-2) unstable; urgency=medium
 .
   [ Ondřej Nový ]
   * Team upload.
   * d/copyright: Use https protocol in Format field
   * d/control: Set Vcs-* to salsa.debian.org
 .
   [ Felipe Sateler ]
   * Change maintainer address to debian-multime...@lists.debian.org
 .
   [ Ondřej Nový ]
   * Use debhelper-compat instead of debian/compat
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: (Closes: #912196)
     + Build abGateQt directly via dh_auto_* before the Makefile can do it.
     + cross.patch: Honour cross tools.
 .
   [ Sebastian Ramacher ]
   * debian/control:
     - Bump Standards-Version
     - Bump debhelper compat to 12
Checksums-Sha1:
 f786ef4830835042415b0f7dff7b18537dafe28c 1969 abgate_1.1.9-2.dsc
 c8258ed7a6813adbacda1b084f863dd4249d155b 4300 abgate_1.1.9-2.debian.tar.xz
Checksums-Sha256:
 329d9710303298241d4ec142361eae37112d43bc351632dcbc04586792fee5f7 1969 
abgate_1.1.9-2.dsc
 70f1ab8eb4b7f2f6017aec16b675821b5f1d6550199b2e4e223ff7b829c68686 4300 
abgate_1.1.9-2.debian.tar.xz
Files:
 366ec6c09bf1a09c0fbe82b8eebe7f8c 1969 sound optional abgate_1.1.9-2.dsc
 30f1125f0e306969f7de3ca108776858 4300 sound optional 
abgate_1.1.9-2.debian.tar.xz

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

iQIzBAEBCgAdFiEE94y6B4F7sUmhHTOQafL8UW6nGZMFAl2jchYACgkQafL8UW6n
GZNa7Q//YIzY4NGtdlsDNTdTIqwLUmV7hkCMEK/2le9X9xgJANMExOmj6o/EHuER
IGYqKE/QenYCsoJTuVLrSviuM+prRL1XljpkVLawisaTRjhjazubj2DMVtVGh12V
3GJVfSQ7sYcMKFjMCZ4ZmU4xgDkn4ieO5fDkJhJw2jr6keEDTDqlqzWMpT30Ikno
zgGuZLEe0kctuoi4B3mqEvaTSBvJU6ihbTzbdZGI0RRn5aRy6FxHvbwNfeoTSxOt
JU9tfmoR+Rv25J7R5HveXR6ZYDDu3bhtn5xTAHCXKzsaUeGdBt03nPbPPdhDleR6
xVSv0PX9ygcoVXccwOjJ2X2AQ9RFiTaVppV1TC/yEsZKP+UplUN6Bg3gDUigo7Z6
HhaNXUQV3YwWS+vlc4RAyhxqxiR9Rva23EHRHNMO2/7v1S8LKQJsjUO3bLRhi+jB
n4SE+kAHD1hGYjHcx171eux/XPfaS2cP7D7KuX2zX3np7fEocWYNB/R+7ffYB2g4
PCMJ3iytQGj8aSYJrQ5KkyvqUlEbqIVrmewDV4jezgCNU/PL6uhF4waehYlZhYBL
6D+bTmjGIdwkzES0AmfXFLw4iwhhMMnE+v+FeWkiY5criUzYlU4Tl4m2SesR2K+R
RWw5M1MM0fDL/btx4Oun8t2a49x+5WsAbkJrwbWD9xpszkdbwLU=
=KH7r
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to