Your message dated Fri, 07 Nov 2025 01:48:48 +0000
with message-id <[email protected]>
and subject line Bug#1119124: fixed in boulder-game 1.02+ds-2
has caused the Debian Bug report #1119124,
regarding boulder-game 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 [email protected]
immediately.)


-- 
1119124: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1119124
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: boulder-game
Version: 1.02+ds-1
Tags: patch upstream
User: [email protected]
Usertags: ftcbfs

boulder-game fails to cross build from source for two distinct reasons.

The immediate failure arises from hard coding the build architecture 
pkg-config in the upstream Makefile. The result is that a package cannot 
be found and the missing flags result in an #include not being found. 
Once making pkg-config substitutable, dh_auto_build is able to supply a 
host architecture one.

The other failure arises from storing g++ in CC. The CC variable is 
typically used for the C compiler, so dh_auto_build overrides it with a 
C cross compiler. That doesn't go well when the actual source is C++. 
Renaming the variable to CXX - the common variable for a C++ compiler - 
fixes this aspect.

I'm attaching a patch for your convenience. Please also consider 
forwarding it upstream.

Helmut
--- boulder-game-1.02+ds.orig/build/linux/Makefile
+++ boulder-game-1.02+ds/build/linux/Makefile
@@ -15,18 +15,19 @@
 #########
 #setup
 
-CC = g++
+CXX = g++
+PKG_CONFIG ?= pkg-config
 COMPILERFLAGS = -Wall
 
 ifeq ($(TARGET_OS),Linux)
  LDFLAGS_PLAIN = -lpthread $(LDFLAGS)
  EXE_PATH = ../../exe/linux_x64/
- LDFLAGS_GFX += `pkg-config --libs sdl2` '-Wl,-R,$$ORIGIN/.'
+ LDFLAGS_GFX += `$(PKG_CONFIG) --libs sdl2` '-Wl,-R,$$ORIGIN/.'
 
  LDFLAGS_GFX_GL = -lGL -L/usr/X11R6/lib -lX11
- LOCAL_CFLAGS = $(CFLAGS) $(COMPILERFLAGS) -I../../src/common -I../../src/boulder -I../../src/graph -I../../ext_include/pa `pkg-config --cflags sdl2` `pkg-config --cflags stb`
+ LOCAL_CFLAGS = $(CFLAGS) $(COMPILERFLAGS) -I../../src/common -I../../src/boulder -I../../src/graph -I../../ext_include/pa `$(PKG_CONFIG) --cflags sdl2` `$(PKG_CONFIG) --cflags stb`
  LOCAL_CPPFLAGS = $(CPPFLAGS)
- LOCAL_CXXFLAGS = $(CXXFLAGS) $(COMPILERFLAGS) -I../../src/common -I../../src/boulder -I../../src/graph -I../../ext_include/pa `pkg-config --cflags sdl2` `pkg-config --cflags stb`
+ LOCAL_CXXFLAGS = $(CXXFLAGS) $(COMPILERFLAGS) -I../../src/common -I../../src/boulder -I../../src/graph -I../../ext_include/pa `$(PKG_CONFIG) --cflags sdl2` `$(PKG_CONFIG) --cflags stb`
 endif
 
 #########
@@ -59,16 +60,16 @@
 # fix so that a new or renamed .h file will cause a rebuild
 # and finally fix paths in the .d file
 %.o: %.cpp
-	$(CC) -c $(LOCAL_CPPFLAGS) $(LOCAL_CXXFLAGS) $*.cpp -o $*.o
-	$(CC) -MM $(LOCAL_CPPFLAGS) $(LOCAL_CXXFLAGS) $*.cpp > $*.d
+	$(CXX) -c $(LOCAL_CPPFLAGS) $(LOCAL_CXXFLAGS) $*.cpp -o $*.o
+	$(CXX) -MM $(LOCAL_CPPFLAGS) $(LOCAL_CXXFLAGS) $*.cpp > $*.d
 	@mv -f $*.d $*.d.tmp
 	@sed -e 's|.*:|$*.o:|' < $*.d.tmp > $*.d
 	@sed -e 's/.*://' -e 's/\\$$//' < $*.d.tmp | fmt -1 | sed -e 's/^ *//' -e 's/$$/:/' >> $*.d
 	@rm -f $*.d.tmp
 
 %.o: %.c
-	$(CC) -c $(LOCAL_CPPFLAGS) $(LOCAL_CFLAGS) $*.c -o $*.o
-	$(CC) -MM $(LOCAL_CPPFLAGS) $(LOCAL_CFLAGS) $*.c > $*.d
+	$(CXX) -c $(LOCAL_CPPFLAGS) $(LOCAL_CFLAGS) $*.c -o $*.o
+	$(CXX) -MM $(LOCAL_CPPFLAGS) $(LOCAL_CFLAGS) $*.c > $*.d
 	@mv -f $*.d $*.d.tmp
 	@sed -e 's|.*:|$*.o:|' < $*.d.tmp > $*.d
 	@sed -e 's/.*://' -e 's/\\$$//' < $*.d.tmp | fmt -1 | sed -e 's/^ *//' -e 's/$$/:/' >> $*.d
@@ -104,21 +105,21 @@
 #private
 
 boulder: $(BOULDER_OBJECTS)
-	$(CC) -o ./boulder $(BOULDER_OBJECTS) $(LDFLAGS_PLAIN) $(LDFLAGS_GFX)
+	$(CXX) -o ./boulder $(BOULDER_OBJECTS) $(LDFLAGS_PLAIN) $(LDFLAGS_GFX)
 -include $(BOULDER_OBJECTS:.o=.d)
 
 mapeditor: $(EDITOR_OBJECTS)
-	$(CC) -o ./mapeditor $(EDITOR_OBJECTS) $(LDFLAGS_PLAIN) $(LDFLAGS_GFX)
+	$(CXX) -o ./mapeditor $(EDITOR_OBJECTS) $(LDFLAGS_PLAIN) $(LDFLAGS_GFX)
 -include $(EDITOR_OBJECTS:.o=.d)
 
 ../../utils/res_comp/res_comp: $(RES_COMP_OBJECTS)
-	$(CC) -o ../../utils/res_comp/res_comp $(RES_COMP_OBJECTS) $(LDFLAGS_PLAIN)
+	$(CXX) -o ../../utils/res_comp/res_comp $(RES_COMP_OBJECTS) $(LDFLAGS_PLAIN)
 -include $(RES_COMP_OBJECTS:.o=.d)
 
 ../../utils/img_cut/img_cut: $(IMG_CUT_OBJECTS)
-	$(CC) -o ../../utils/img_cut/img_cut $(IMG_CUT_OBJECTS) $(LDFLAGS_PLAIN) $(LDFLAGS_GFX)
+	$(CXX) -o ../../utils/img_cut/img_cut $(IMG_CUT_OBJECTS) $(LDFLAGS_PLAIN) $(LDFLAGS_GFX)
 -include $(IMG_CUT_OBJECTS:.o=.d)
 
 ../../utils/fnt_comp/fnt_comp: $(FNT_COMP_OBJECTS)
-	$(CC) -o ../../utils/fnt_comp/fnt_comp $(FNT_COMP_OBJECTS) $(LDFLAGS_PLAIN) $(LDFLAGS_GFX_GL)
+	$(CXX) -o ../../utils/fnt_comp/fnt_comp $(FNT_COMP_OBJECTS) $(LDFLAGS_PLAIN) $(LDFLAGS_GFX_GL)
 -include $(FNT_COMP_OBJECTS:.o=.d)

--- End Message ---
--- Begin Message ---
Source: boulder-game
Source-Version: 1.02+ds-2
Done: Andreas Rönnquist <[email protected]>

We believe that the bug you reported is fixed in the latest version of
boulder-game, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Rönnquist <[email protected]> (supplier of updated boulder-game 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 [email protected])


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

Format: 1.8
Date: Fri, 07 Nov 2025 02:28:00 +0100
Source: boulder-game
Architecture: source
Version: 1.02+ds-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <[email protected]>
Changed-By: Andreas Rönnquist <[email protected]>
Closes: 1119124
Changes:
 boulder-game (1.02+ds-2) unstable; urgency=medium
 .
   * Add patch to use PKG_CONFIG variable in build and
     add patch to use CXX and not CC for g++ (Closes: #1119124)
   * Convert watch file to version 5
   * Upgrade Standards Version to 4.7.2 (No changes required)
Checksums-Sha1:
 623ee8688a320337c875f9a27abb41dafedef566 1994 boulder-game_1.02+ds-2.dsc
 a864aea4178f4d8f80ad647f363a2ec2a30e4ead 12256 
boulder-game_1.02+ds-2.debian.tar.xz
 4d847d08aac4e35aa65b7e47cbe654f56d47d4d4 12373 
boulder-game_1.02+ds-2_source.buildinfo
Checksums-Sha256:
 73d39dd9df73c5dfff2d27c29a8c8fbba2d9a5d650a00ab634da3ab4e2e4e812 1994 
boulder-game_1.02+ds-2.dsc
 61d07727b3e971421aa6bca202295cc4c92efc821aa1650d49efcc3684d01be8 12256 
boulder-game_1.02+ds-2.debian.tar.xz
 ace52b6e693f5c2ac8cdc1f0896f8cba4df463323766509fd291b8058a12a7b3 12373 
boulder-game_1.02+ds-2_source.buildinfo
Files:
 c9c4cea52feee08659beeded25156fcb 1994 games optional boulder-game_1.02+ds-2.dsc
 0679130145af85c13f929d05112d00e9 12256 games optional 
boulder-game_1.02+ds-2.debian.tar.xz
 c90b64c0ef2e597318389c5a6a9e339e 12373 games optional 
boulder-game_1.02+ds-2_source.buildinfo

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

iQIzBAEBCgAdFiEETq74h7WfgJdjc9ALCHsqoZ75O8IFAmkNTZgACgkQCHsqoZ75
O8JEJRAAiW6Lg3vcQTkO9tZQGGBLw8+hlDrArnHNr6L93cKwWZHjvkZy9n+QPc86
A95OdoI8/1cjT0j9R0VHX3CMGYSZLFy4byJlwtADWTHKNy+JfQVFX1hDBTItCeJQ
epV6mTlqu1sLkEUZm2pjdmu3C7LtM0MNpW/jy76o5bJBFALywmv+yqj+LShHtnBp
r5YxEA+3WYOEkYtaCLHC4XoH5V6a2sWKVJw7Vy/xgWOg5wOMqVH2I1ICXU5QseFy
bLxthaUXLjeWOt8v2S/AEmG6j5WAwTKFl69LQ+e4mbZi5cMlyWKlXFmWMgs7nUmI
eAh+1AmzYiF+QMVq+T7jyTkpDGELfkhNHc1+YoHvHIhdHZ0+pQhfXo8bVb0fM+P8
rlqyG1TByHoJGX9JjtHISl8sYP07UYgqQVV4qA9RKAyxT0EZDwp1/zuvFROsJmKS
SrQEuYq/V2mvKTQdBLQspsMvSATYefROkIIvde3P86nfx35nYIVw2ldv3p3b7rK8
YPKdkEN+KkGl34fkF+QMQ8hXyNz4EsOZAENZJlKBPaA11rUtQXqRmKzLMdgN3NA1
V1GjzaWmiFQr0VV3HYf5kjlUbsFze/vC6AeDDbNkQOe4cMXMdraRfYotr5sHR+3v
PHahngmd2uaUz9mmHW7T//fH6GS28z7E5DV0PTVz+xdgCi/MYRo=
=ewvu
-----END PGP SIGNATURE-----

Attachment: pgpgqwmA9RWM_.pgp
Description: PGP signature


--- End Message ---

Reply via email to