Your message dated Sat, 07 Oct 2023 21:29:04 +0000
with message-id <[email protected]>
and subject line Bug#1052167: Removed package(s) from unstable
has caused the Debian Bug report #951787,
regarding foo-yc20 FTCBFS: uses the build architecture pkg-config
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 [email protected]
immediately.)
--
951787: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=951787
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: foo-yc20
Version: 1.3.0-6
Tags: patch upstream
User: [email protected]
Usertags: ftcbfs
foo-yc20 fails to cross build from source, because the upstream Makefile
hard codes the build architecture pkg-config. After making it
substitutable, foo-yc20 cross builds successfully. Please consider
applying the attached patch.
Helmut
--- foo-yc20-1.3.0.orig/Makefile
+++ foo-yc20-1.3.0/Makefile
@@ -21,14 +21,15 @@
endif
endif
+PKG_CONFIG ?= pkg-config
CFLAGS_X = $(CFLAGS) -fPIC -DVERSION=$(VERSION) -I/usr/lib/faust -Isrc/ -Iinclude/ -DPREFIX=$(PREFIX) -Wall
$(OBJS_NODEPS): CFLAGS_use = $(CFLAGS_X)
-$(OBJS_JACK): CFLAGS_use = $(CFLAGS_X) `pkg-config --cflags jack`
-$(OBJS_GTKJACK): CFLAGS_use = $(CFLAGS_X) `pkg-config --cflags gtk+-2.0` `pkg-config --cflags jack`
-$(OBJS_GTK): CFLAGS_use = $(CFLAGS_X) `pkg-config --cflags gtk+-2.0`
+$(OBJS_JACK): CFLAGS_use = $(CFLAGS_X) `$(PKG_CONFIG) --cflags jack`
+$(OBJS_GTKJACK): CFLAGS_use = $(CFLAGS_X) `$(PKG_CONFIG) --cflags gtk+-2.0` `$(PKG_CONFIG) --cflags jack`
+$(OBJS_GTK): CFLAGS_use = $(CFLAGS_X) `$(PKG_CONFIG) --cflags gtk+-2.0`
$(OBJS_LV2): CFLAGS_use = $(CFLAGS_X)
-$(OBJS_CAIRO): CFLAGS_use = $(CFLAGS_X) `pkg-config --cflags cairo`
+$(OBJS_CAIRO): CFLAGS_use = $(CFLAGS_X) `$(PKG_CONFIG) --cflags cairo`
$(OBJS_DSP_STANDALONE) $(OBJS_DSP_PLUGIN): CFLAGS_use = $(CFLAGS_X)
@@ -43,13 +44,13 @@
OBJS_FOO_YC20=src/foo-yc20.o src/configuration.o src/yc20-jack.o src/main-gui.o src/foo-yc20-ui.o src/yc20-base-ui.o $(WIN32_RC)
foo-yc20: $(OBJS_FOO_YC20) $(OBJS_DSP_STANDALONE)
- $(CXX) $(LDFLAGS) $(OBJS_FOO_YC20) $(OBJS_DSP_STANDALONE) `pkg-config --libs gtk+-2.0` `pkg-config --libs jack` $(LDFLAGS_YC20) -o foo-yc20
+ $(CXX) $(LDFLAGS) $(OBJS_FOO_YC20) $(OBJS_DSP_STANDALONE) `$(PKG_CONFIG) --libs gtk+-2.0` `$(PKG_CONFIG) --libs jack` $(LDFLAGS_YC20) -o foo-yc20
## CLI version
OBJS_FOO_YC20_CLI=src/foo-yc20.o src/configuration.o src/main-cli.o src/yc20-jack.o
foo-yc20-cli: $(OBJS_FOO_YC20_CLI) $(OBJS_DSP_STANDALONE)
- $(CXX) $(LDFLAGS) $(OBJS_FOO_YC20_CLI) $(OBJS_DSP_STANDALONE) $(LDFLAGS_YC20_CLI) `pkg-config --libs jack` -o foo-yc20-cli
+ $(CXX) $(LDFLAGS) $(OBJS_FOO_YC20_CLI) $(OBJS_DSP_STANDALONE) $(LDFLAGS_YC20_CLI) `$(PKG_CONFIG) --libs jack` -o foo-yc20-cli
## LV2 version
OBJS_LV2=src/lv2.o src/foo-yc20.o
@@ -61,7 +62,7 @@
OBJS_LV2_UI=src/lv2-ui.o src/foo-yc20-ui2.o src/yc20-base-ui.o
$(LV2_UI): $(OBJS_LV2_UI)
- $(CXX) $(LDFLAGS) $(OBJS_LV2_UI) -fPIC -shared `pkg-config --libs gtk+-2.0` -o $(LV2_UI) $(LDFLAGS_YC20_LV2)
+ $(CXX) $(LDFLAGS) $(OBJS_LV2_UI) -fPIC -shared `$(PKG_CONFIG) --libs gtk+-2.0` -o $(LV2_UI) $(LDFLAGS_YC20_LV2)
## VSTi - only compiles for windows with MinGW32.
## Note: Jack is used in compile flags to provide access to the ringbuffer.h. there
@@ -70,13 +71,13 @@
$(WIN32_RC): src/win32.rc
$(WINDRES) src/win32.rc -o src/win32.o
-src/vsti.o src/vstplugmain.o: CFLAGS_use = $(CFLAGS_X) -I$(VSTSDK) -I$(VSTSDK)/public.sdk/source/vst2.x `pkg-config --cflags cairo jack`
+src/vsti.o src/vstplugmain.o: CFLAGS_use = $(CFLAGS_X) -I$(VSTSDK) -I$(VSTSDK)/public.sdk/source/vst2.x `$(PKG_CONFIG) --cflags cairo jack`
src/vstplugmain.o: $(VSTSDK)/public.sdk/source/vst2.x/vstplugmain.cpp
$(CXX) $(CFLAGS_use) $(VSTSDK)/public.sdk/source/vst2.x/vstplugmain.cpp -c -o src/vstplugmain.o
vsti: $(OBJS_VSTI) $(OBJS_DSP_PLUGIN) src/vsti.def
- $(CXX) -Wall -s -shared -mwindows -static src/vsti.def $(VSTFLAGS) $(OBJS_VSTI) $(OBJS_DSP_PLUGIN) -o FooYC20.dll `pkg-config --libs cairo`
+ $(CXX) -Wall -s -shared -mwindows -static src/vsti.def $(VSTFLAGS) $(OBJS_VSTI) $(OBJS_DSP_PLUGIN) -o FooYC20.dll `$(PKG_CONFIG) --libs cairo`
$(BIN): $(OBJ)
@@ -93,9 +94,9 @@
vstosx: $(OBJS_VSTI) $(OBJS_DSP_PLUGIN) src/osxringbuffer.o src/osxresources.o
$(CXX) $(CFLAGS) \
-I$(VSTSDK)/public.sdk -I$(VSTSDK)/vstgui.sf -I$(VSTSDK)/ \
- `pkg-config --cflags cairo` \
+ `$(PKG_CONFIG) --cflags cairo` \
-bundle -framework Carbon -framework CoreFoundation -framework AppKit \
- `pkg-config --libs cairo` \
+ `$(PKG_CONFIG) --libs cairo` \
src/osxringbuffer.o src/osxresources.o \
$(OBJS_VSTI) $(OBJS_DSP_PLUGIN) \
-o vstosx
@@ -144,7 +145,7 @@
basic-test:
faust -a jack-console.cpp faust/yc20.dsp > gen/basic.cpp
- $(CXX) $(CFLAGS) -Isrc/ gen/basic.cpp -o basic `pkg-config --cflags --libs jack`
+ $(CXX) $(CFLAGS) -Isrc/ gen/basic.cpp -o basic `$(PKG_CONFIG) --cflags --libs jack`
## test compilation
# For semi-automated testing, this line is handy:
@@ -153,7 +154,7 @@
testit: faust/test.dsp faust/oscillator.dsp src/polyblep.cpp Makefile
rm -rf faust/test-svg/
faust -svg -a sndfile.cpp faust/test.dsp > gen/test.cpp
- $(CXX) $(CFLAGS) -Isrc/ gen/test.cpp `pkg-config --cflags --libs sndfile` -o testit
+ $(CXX) $(CFLAGS) -Isrc/ gen/test.cpp `$(PKG_CONFIG) --cflags --libs sndfile` -o testit
$(OBJS_NODEPS) $(OBJS_JACK) $(OBJS_GTKJACK) $(OBJS_LV2) $(OBJS_CAIRO): include/*.h
--- End Message ---
--- Begin Message ---
Version: 1.3.0-6+rm
Dear submitter,
as the package foo-yc20 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/1052167
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
[email protected].
Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)
--- End Message ---
_______________________________________________
pkg-multimedia-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers