Your message dated Thu, 02 Jan 2020 09:19:27 +0000
with message-id <[email protected]>
and subject line Bug#933080: fixed in pekka-kana-2 1.2.5-1
has caused the Debian Bug report #933080,
regarding pekka-kana-2 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 [email protected]
immediately.)
--
933080: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=933080
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: pekka-kana-2
Version: 1.2.2-2
Tags: patch upstream
User: [email protected]
Usertags: ftcbfs
pekka-kana-2 fails to cross build from source. The upstream Makefile
hard codes the build architecture pkg-config and it uses the
non-standard variable CPP for storing the C++ compiler while CXX would
be more common and supplied by debhelper. The attached patch makes
pkg-config substitutable and renames CPP to CXX. Please consider
applying it.
Helmut
--- pekka-kana-2-1.2.2.orig/Makefile
+++ pekka-kana-2-1.2.2/Makefile
@@ -7,9 +7,10 @@
# "make" - Creates Pekka Kana 2 binary
# "make clean" - Removes all objects, executables and dependencies
-CPP = g++
-CFLAGS += $(shell pkg-config --cflags sdl2) -g -O2 -std=gnu++17 -Wno-write-strings
-LFLAGS += $(shell pkg-config --libs sdl2) -lSDL2_mixer
+CXX = g++
+PKG_CONFIG ?= pkg-config
+CFLAGS += $(shell $(PKG_CONFIG) --cflags sdl2) -g -O2 -std=gnu++17 -Wno-write-strings
+LFLAGS += $(shell $(PKG_CONFIG) --libs sdl2) -lSDL2_mixer
# Defines directories
SRC_DIR = src/
@@ -44,15 +45,15 @@
# Rules for generate the binaries using the object files
$(PK2_BIN): $(PK2_OBJ) $(PK2_SPRITE_OBJ) $(PK2_MAP_OBJ) $(ENGINE_OBJ)
@echo -Linking Pekka Kana 2
- @$(CPP) $^ $(LFLAGS) -o $@
+ @$(CXX) $^ $(LFLAGS) -o $@
# Rules for generate any *.o file
-include $(DEPENDENCIES)
build/%.o : src/%.cpp
@echo -Some dependence of $@ was changed, updating
- @$(CPP) $(CFLAGS) -I$(SRC_DIR) -o $@ -c $<
- @$(CPP) -MM -MT $@ -I$(SRC_DIR) $< > build/$*.d
+ @$(CXX) $(CFLAGS) -I$(SRC_DIR) -o $@ -c $<
+ @$(CXX) -MM -MT $@ -I$(SRC_DIR) $< > build/$*.d
makedirs:
@mkdir -p $(BIN_DIR) >/dev/null
--- End Message ---
--- Begin Message ---
Source: pekka-kana-2
Source-Version: 1.2.5-1
We believe that the bug you reported is fixed in the latest version of
pekka-kana-2, 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.
Carlos Donizete Froes <[email protected]> (supplier of updated pekka-kana-2
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: SHA256
Format: 1.8
Date: Mon, 16 Dec 2019 19:03:14 -0300
Source: pekka-kana-2
Architecture: source
Version: 1.2.5-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <[email protected]>
Changed-By: Carlos Donizete Froes <[email protected]>
Closes: 933080
Changes:
pekka-kana-2 (1.2.5-1) unstable; urgency=medium
.
* New upstream release. FTCBFS bug fix. (Closes: #933080)
* debian/control:
+ Bumped Standards-Version to 4.4.1.
+ Set Rules-Requires-Root to no.
* debian/copyright:
+ Added copyright information for contact.
Checksums-Sha1:
c5a0cf15e153d585423ec64dfed8962588b44dea 2349 pekka-kana-2_1.2.5-1.dsc
2a1fce8b5ba83e38df24c47a2c4e483b5468d232 6451872
pekka-kana-2_1.2.5.orig.tar.bz2
f9c4a06bcf2b8972be1a4409a47b18ad69c6b43b 833
pekka-kana-2_1.2.5.orig.tar.bz2.asc
9d744bf9683b6bc80b4d9771ba60ed6d632dbacb 12408
pekka-kana-2_1.2.5-1.debian.tar.xz
56c404ea46d84256468332aeac8779dc46bd39d4 5304
pekka-kana-2_1.2.5-1_source.buildinfo
Checksums-Sha256:
c2da20e28d280cbb86ee90d854cdc485e947fc687c6725e95fc914426b54ef8a 2349
pekka-kana-2_1.2.5-1.dsc
5365562b693e604841a61398406e2031ba63aaedf8e5c7af2d1e8d837dddf8a8 6451872
pekka-kana-2_1.2.5.orig.tar.bz2
e9580adb816cb3c561a2c5ccb114c644587c4053437657ffdb50962198380365 833
pekka-kana-2_1.2.5.orig.tar.bz2.asc
825cd911fcbc9d683e6beae784de47f6b6f7a10730a793a62a88b1ad61bc8af6 12408
pekka-kana-2_1.2.5-1.debian.tar.xz
292c670f3a09b53f385ca93319fb5996d6e39335800ef7dd92310e2b59cf2194 5304
pekka-kana-2_1.2.5-1_source.buildinfo
Files:
a5d6328d15df3a865a93c862d6c25673 2349 games optional pekka-kana-2_1.2.5-1.dsc
84231e27cca3f4ac40dec8d59fe34452 6451872 games optional
pekka-kana-2_1.2.5.orig.tar.bz2
80ff150db46fd7b5141e2d4c05a275b7 833 games optional
pekka-kana-2_1.2.5.orig.tar.bz2.asc
70cea2ae331540607c83a0ff4720ad04 12408 games optional
pekka-kana-2_1.2.5-1.debian.tar.xz
5b5ed81b908a39467766c5ecd0b70255 5304 games optional
pekka-kana-2_1.2.5-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEE/d0M/zhkJ3YwohhskWT6HRe9XTYFAl4NsmQACgkQkWT6HRe9
XTbiTg/+Ndb0taz1tY+vBIECgQOQlY2i7Zz/LYreUMLMjcK55L9N832uq5kaP0Bk
eqaqEgjQ1T9m2y8G+/0/u1hL5rYl867n7TkaUBNna4iu5K67IkvgyzEyAdiYyjUX
O6bfa1qnedOPHWFiWBPXWld8fBx+nxOTpWb7OxkZLMf5se3fjZ0bDMz1No6CmOyT
539NBS0VdO71irKtjwdcRbDRsPmpGi1VqL/d6IrM4yy4LUrz16oxCXB40Rli88TT
/8bFgwDQb54KQtsbrqkA6Cj5cuNWaSV5qzGG83tdj4vMoewmh9UxgXJ7jLv0B3Yw
E+Bni5nN+Trks9AdJkHF37zO8Bui3lbA8Y0hVKmN9rmBHIdcLAtRoQKr5IPQ3qh4
8fZqvaLeDxsC6sk1NjDN3AxHdpEik8rhm5mH8SbBCDfKg79rDDO2n+R/i3R5ith2
/UMXnGrmlR0xYsUOVlsh6QUPOQmpn75g1F8txDdM5vBSQYGeDB4G6hbOrx9zuwGc
tiV3t5ni4PPkO1fPmmCoCRuEcRAMazUVXXDJUppkNLlv3cBdZiK3mxguq1CE65ss
0WhiTbCE9n3mq0ySFRpr6XH8dTIiyJrvI4vSNFqxU+LDaSzCJszDcsWdlzSMz51I
QfKnvd0UE0fUSH8OeOi03XwI/nu11XG4D59UkXnQmEhOZAnVIRY=
=Ynf/
-----END PGP SIGNATURE-----
--- End Message ---