Your message dated Tue, 19 Sep 2023 11:05:54 +0000
with message-id <e1qiyye-00b19f...@fasolo.debian.org>
and subject line Bug#895177: fixed in invada-studio-plugins-lv2 1.2.0+repack0-9
has caused the Debian Bug report #895177,
regarding invada-studio-plugins-lv2 FTCBFS: uses build architecture build 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 ow...@bugs.debian.org
immediately.)


-- 
895177: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895177
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: invada-studio-plugins-lv2
Version: 1.2.0+repack0-8
Tags: patch upstream
User: helm...@debian.org
Usertags: rebootstrap

invada-studio-plugins-lv2 fails to cross build from source, because it
uses some build architecture build tools. Notably, it hard codes the
build architecture pkg-config in the upstream build system. Then it
uses the build architecture compiler as the value for LD. The former is
easily fixed by making it overridable (and dh_auto_build passes that).
For LD, it is already indirected through a variable, but dh_auto_build
cannot know the right value as for some packages it needs to be a C++
linker. So it is best to default LD from CC or CXX respectively. The
attached patch implements all of that and makes
invada-studio-plugins-lv2 cross build successfully. Please consider
applying it.

Helmut
Index: invada-studio-plugins-lv2-1.2.0+repack0/plugin/Makefile
===================================================================
--- invada-studio-plugins-lv2-1.2.0+repack0.orig/plugin/Makefile
+++ invada-studio-plugins-lv2-1.2.0+repack0/plugin/Makefile
@@ -20,7 +20,7 @@
 # GENERAL
 
 CC		=	gcc
-LD		=	gcc
+LD		=	$(CC)
 CFLAGS		+=	-I. -O3 -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC
 LDFLAGS		+=	-shared -Llibrary -lc -lm  -linv_common -fPIC -DPIC
 
Index: invada-studio-plugins-lv2-1.2.0+repack0/plugingui/Makefile
===================================================================
--- invada-studio-plugins-lv2-1.2.0+repack0.orig/plugingui/Makefile
+++ invada-studio-plugins-lv2-1.2.0+repack0/plugingui/Makefile
@@ -20,9 +20,10 @@
 # GENERAL
 
 CC		=	gcc
-LD		=	gcc
-CFLAGS		+=	-I. `pkg-config --cflags cairo gtk+-2.0` -O3 -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC
-LDFLAGS		+=	-shared -Lwidgets -L../plugin/library -lc -lm -linv_widgets -linv_common `pkg-config --libs cairo gtk+-2.0` -fPIC -DPIC
+LD		=	$(CC)
+PKG_CONFIG	?=	pkg-config
+CFLAGS		+=	-I. `$(PKG_CONFIG) --cflags cairo gtk+-2.0` -O3 -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC
+LDFLAGS		+=	-shared -Lwidgets -L../plugin/library -lc -lm -linv_widgets -linv_common `$(PKG_CONFIG) --libs cairo gtk+-2.0` -fPIC -DPIC
 
 
 GUIS		=	inv_compressor_gui.so \
Index: invada-studio-plugins-lv2-1.2.0+repack0/plugingui/widgets/Makefile
===================================================================
--- invada-studio-plugins-lv2-1.2.0+repack0.orig/plugingui/widgets/Makefile
+++ invada-studio-plugins-lv2-1.2.0+repack0/plugingui/widgets/Makefile
@@ -19,8 +19,9 @@
 # GENERAL
 
 CC		=	gcc
+PKG_CONFIG	?=	pkg-config
 LD		=	ld
-CFLAGS		=	-I. `pkg-config --cflags gtk+-2.0`  -O3 -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC
+CFLAGS		=	-I. `$(PKG_CONFIG) --cflags gtk+-2.0`  -O3 -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC
 
 
 

--- End Message ---
--- Begin Message ---
Source: invada-studio-plugins-lv2
Source-Version: 1.2.0+repack0-9
Done: Bastian Germann <b...@debian.org>

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

Debian distribution maintenance software
pp.
Bastian Germann <b...@debian.org> (supplier of updated 
invada-studio-plugins-lv2 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, 19 Sep 2023 12:38:13 +0200
Source: invada-studio-plugins-lv2
Architecture: source
Version: 1.2.0+repack0-9
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packa...@qa.debian.org>
Changed-By: Bastian Germann <b...@debian.org>
Closes: 895177
Changes:
 invada-studio-plugins-lv2 (1.2.0+repack0-9) unstable; urgency=medium
 .
   * QA upload.
   * Update to debhelper-compat 12.
 .
   [ Helmut Grohne ]
   * Fix FTCBFS. (Closes: #895177)
Checksums-Sha1:
 98f4c14b525441390d755ec5a5f2135e9afc9b30 1825 
invada-studio-plugins-lv2_1.2.0+repack0-9.dsc
 969b4a5e3f23f550e314369a187c82b8efeb3113 4504 
invada-studio-plugins-lv2_1.2.0+repack0-9.debian.tar.xz
 efeb87dea1b2bdc0cdf9465bebad983b9e883c44 11188 
invada-studio-plugins-lv2_1.2.0+repack0-9_source.buildinfo
Checksums-Sha256:
 f065da193ac02e4d967549ce57458406e4cede7eb0219f4fca7aa5d48291b999 1825 
invada-studio-plugins-lv2_1.2.0+repack0-9.dsc
 6e830cfcc317be82814b27be77d9e8ca613410bfeef7c6c3f2a543e49bb5bdf6 4504 
invada-studio-plugins-lv2_1.2.0+repack0-9.debian.tar.xz
 02eaa753f88b8ff1d382319e6c826ef6fb1758657502ef4f27a0b331edcdd551 11188 
invada-studio-plugins-lv2_1.2.0+repack0-9_source.buildinfo
Files:
 d1b9444a8600384d30e43f98b9ab7cc1 1825 sound optional 
invada-studio-plugins-lv2_1.2.0+repack0-9.dsc
 bc9ec94b59411fe5f04062121ac457e1 4504 sound optional 
invada-studio-plugins-lv2_1.2.0+repack0-9.debian.tar.xz
 23d8d9932103a3542ba263de6c251e0f 11188 sound optional 
invada-studio-plugins-lv2_1.2.0+repack0-9_source.buildinfo

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

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmUJfI4QHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFPdqC/42rEJnZqev802xRtP2MuRGDcuZTz/XERmo
mI/sbm5yZTRaO5MBrQHt7gPLOw3Tf0IpCVBXX7JK/BLr+B/G39wW+WT59EL6TgXh
z0hRGPXNfMJaPlbI4QWdxR6zidWsARG4JfH0uutSYfXKWOoSXKK2Dljb6FNew22l
3dmcaTpmowLMdUbnnutlFtdEd6DzRsRQ4x4zCaexDWvnr5mML+PKPGd3vae3YFo7
uJ3314Zk4rZtP0OTfsfyHiGzbCtsvrM6Qwiy0kKLT1U5SQ6y49jiVJQnuf5v65gE
P7mPj0b9VX8Zji9qvwV1NemTjMR+BnfaUGkfhA5EuYRJUDSNATpylMRikoqH4lZ/
OjL6gc2BTESXPddOxQoiP2t6GVt7s3ifuSVbPEgY1VGCVkNAcje3wcS2UMFNiE33
eLGQunY/gnyzggeynhw3hRpB3mAg6sB7sg01fZoPxb7mtaYTDZINiBooxeNM55jw
5A6z7QtV4Q4GplF29QTueVBUoloaCpc=
=eDHG
-----END PGP SIGNATURE-----

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

Reply via email to