Your message dated Sat, 02 Dec 2023 13:39:34 +0000
with message-id <e1r9qdw-002tof...@fasolo.debian.org>
and subject line Bug#1052169: Removed package(s) from unstable
has caused the Debian Bug report #966819,
regarding lv2-c++-tools FTCBFS: builds for the build architecture
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.)


-- 
966819: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=966819
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: lv2-c++-tools
Version: 1.0.5-4
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

lv2-c++-tools fails to cross build from source, because it builds for
the build architecture. It has a ./configure script, but it doesn't
actually set up cross tools as debhelper expects. Thus when debhelper
runs make, it doesn't pass cross tools along. From a debhelper
perspective, this is more of a makefile build system than an autoconf
build system. Once we tell it, it passes cross tools.

Those are mostly picked up by the build system except for pkg-config. It
needs a little patch to honour the variables passed by dh_auto_build.

Please consider applying the attached patch.

Helmut
diff --minimal -Nru lv2-c++-tools-1.0.5/debian/changelog 
lv2-c++-tools-1.0.5/debian/changelog
--- lv2-c++-tools-1.0.5/debian/changelog        2017-09-03 23:11:37.000000000 
+0200
+++ lv2-c++-tools-1.0.5/debian/changelog        2020-08-02 10:18:55.000000000 
+0200
@@ -1,3 +1,12 @@
+lv2-c++-tools (1.0.5-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + cross.patch: Make pkg-config substitutable.
+    + Let dh_auto_build pass cross tools to make via the makefile buildsystem.
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sun, 02 Aug 2020 10:18:55 +0200
+
 lv2-c++-tools (1.0.5-4) unstable; urgency=medium
 
   * Team upload.
diff --minimal -Nru lv2-c++-tools-1.0.5/debian/patches/cross.patch 
lv2-c++-tools-1.0.5/debian/patches/cross.patch
--- lv2-c++-tools-1.0.5/debian/patches/cross.patch      1970-01-01 
01:00:00.000000000 +0100
+++ lv2-c++-tools-1.0.5/debian/patches/cross.patch      2020-08-02 
10:18:46.000000000 +0200
@@ -0,0 +1,43 @@
+--- lv2-c++-tools-1.0.5.orig/Makefile
++++ lv2-c++-tools-1.0.5/Makefile
+@@ -7,6 +7,8 @@
+ PROGRAMS = lv2peg
+ DATAPACKS = lv2soname
+ 
++PKG_CONFIG ?= pkg-config
++
+ # The static plugin library with headers
+ liblv2-plugin_a_SOURCES = lv2plugin.cpp
+ liblv2-plugin_a_HEADERS = \
+@@ -30,7 +32,7 @@
+       lv2gui.hpp \
+       ../../headers/lv2_ui.h \
+       ../../headers/lv2_ui_presets.h
+-liblv2-gui_a_CFLAGS = `pkg-config --cflags gtkmm-2.4` -Iheaders
++liblv2-gui_a_CFLAGS = `$(PKG_CONFIG) --cflags gtkmm-2.4` -Iheaders
+ liblv2-gui_a_SOURCEDIR = libraries/lv2gui
+ liblv2-gui_a_INSTALLDIR = $(libdir)
+ 
+--- lv2-c++-tools-1.0.5.orig/Makefile.template
++++ lv2-c++-tools-1.0.5/Makefile.template
+@@ -432,9 +432,9 @@
+ 
+ # PKG-CONFIG DEPENDENCY CHECK
+ PKG_NAMES = $(filter-out =%,$(subst >, ,$(PKG_DEPS))) 
+-PKG_DEPDIRS = `pkg-config --cflags $(PKG_NAMES) 2> /dev/null`
++PKG_DEPDIRS = `$(PKG_CONFIG) --cflags $(PKG_NAMES) 2> /dev/null`
+ check-pkg-deps:
+-      @$(foreach pkg, $(PKG_DEPS), if pkg-config --atleast-version $(sort 
$(subst >=, ,$(pkg))) ; then true; else echo "*** You don't have $(pkg), which 
you need in order to build this software."; false; fi && ) true
++      @$(foreach pkg, $(PKG_DEPS), if $(PKG_CONFIG) --atleast-version $(sort 
$(subst >=, ,$(pkg))) ; then true; else echo "*** You don't have $(pkg), which 
you need in order to build this software."; false; fi && ) true
+ 
+ 
+ # TEST REPORT GENERATION
+@@ -479,7 +479,7 @@
+       @echo "c_compiler = \"$(shell $(CC) --version | head -n 1)\"" >> 
$(TESTREPORT)/info
+       @echo "cxx_compiler = \"$(shell $(CXX) --version | head -n 1)\"" >> 
$(TESTREPORT)/info
+       @echo >> $(TESTREPORT)/info
+-      @$(foreach pkgname, $(PKG_NAMES), echo "dependency.$(pkgname) = 
\""`pkg-config --modversion $(pkgname)`"\"" >> $(TESTREPORT)/info;)
++      @$(foreach pkgname, $(PKG_NAMES), echo "dependency.$(pkgname) = 
\""`$(PKG_CONFIG) --modversion $(pkgname)`"\"" >> $(TESTREPORT)/info;)
+       export LD_LIBRARY_PATH=$${LD_LIBRARY_PATH}$(LIBRARY_DIRS); \
+       for test in $(TESTS); do \
+         mkdir -p $(TESTREPORT)/$$test; \
diff --minimal -Nru lv2-c++-tools-1.0.5/debian/patches/series 
lv2-c++-tools-1.0.5/debian/patches/series
--- lv2-c++-tools-1.0.5/debian/patches/series   1970-01-01 01:00:00.000000000 
+0100
+++ lv2-c++-tools-1.0.5/debian/patches/series   2020-08-02 10:16:36.000000000 
+0200
@@ -0,0 +1 @@
+cross.patch
diff --minimal -Nru lv2-c++-tools-1.0.5/debian/rules 
lv2-c++-tools-1.0.5/debian/rules
--- lv2-c++-tools-1.0.5/debian/rules    2017-09-03 23:00:59.000000000 +0200
+++ lv2-c++-tools-1.0.5/debian/rules    2020-08-02 10:18:55.000000000 +0200
@@ -5,7 +5,7 @@
 export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
 
 %:
-       dh $@ 
+       dh $@ --buildsystem=makefile
 
 override_dh_auto_configure:
        ./configure --prefix=/usr

--- End Message ---
--- Begin Message ---
Version: 1.0.5-4+rm

Dear submitter,

as the package lv2-c++-tools has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1052169

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

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

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)

--- 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