Your message dated Fri, 29 Oct 2021 00:03:44 +0000
with message-id <[email protected]>
and subject line Bug#888033: fixed in alure 1.2-8
has caused the Debian Bug report #888033,
regarding alure FTCBFS: does not pass cross flags to cmake, uses plain cc
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.)


-- 
888033: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=888033
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: alure
Version: 1.2-6
Tags: patch
User: [email protected]
Usertags: rebootstrap

alure fails to cross build from source, because it does not pass cross
flags (such as -DCMAKE_SYSTEM_PROCESSOR) to cmake. The easiest way of
doing that is letting dh_auto_configure do it. Further down the build
fails to create an object file consumable by dpkg-shlibdeps, because it
uses the build architecture compiler "cc". Switching to a host tool
fixes the build. Please consider applying the attached patch.

Helmut
diff --minimal -Nru alure-1.2/debian/changelog alure-1.2/debian/changelog
--- alure-1.2/debian/changelog  2012-05-27 12:40:45.000000000 +0200
+++ alure-1.2/debian/changelog  2018-01-22 20:47:15.000000000 +0100
@@ -1,3 +1,12 @@
+alure (1.2-6.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Let dh_auto_configure pass cross flags to cmake.
+    + Use a host $(CC) from buildtools.mk.
+
+ -- Helmut Grohne <[email protected]>  Mon, 22 Jan 2018 20:47:15 +0100
+
 alure (1.2-6) unstable; urgency=low
 
   * Fix build with GCC 4.7 by cherrypicking upstream commit 
diff --minimal -Nru alure-1.2/debian/rules alure-1.2/debian/rules
--- alure-1.2/debian/rules      2012-05-27 12:34:53.000000000 +0200
+++ alure-1.2/debian/rules      2018-01-22 20:47:12.000000000 +0100
@@ -11,15 +11,14 @@
    TYPE=Debug
 endif
 
-DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+include /usr/share/dpkg/architecture.mk
+-include /usr/share/dpkg/buildtools.mk
 
 # Use this variable to allow options passed to cmake to be overridable
-DEB_CMAKE_OPTIONS ?= -DCMAKE_VERBOSE_MAKEFILE=ON \
+DEB_CMAKE_OPTIONS ?= \
                -DCMAKE_BUILD_TYPE=$(TYPE) \
-               -DCMAKE_INSTALL_PREFIX="/usr" \
                -DCMAKE_C_FLAGS="$(CFLAGS)" \
                -DCMAKE_CXX_FLAGS="$(CXXFLAGS)" \
-               -DCMAKE_CXX_COMPILER="g++" \
                -DLIB_SUFFIX="/$(DEB_HOST_MULTIARCH)"
 
 %:
@@ -29,7 +28,7 @@
        rm -rf build/*
 
 override_dh_auto_configure:
-       cd build && cmake $(DEB_CMAKE_OPTIONS) ..
+       dh_auto_configure --builddirectory=build -- $(DEB_CMAKE_OPTIONS)
 
 override_dh_auto_build:
        $(MAKE) --directory=build
@@ -44,7 +43,7 @@
 
 debian/tmp/alure-dummy.so:
        mkdir -p debian/tmp
-       cc -xc -shared -Wl,--no-as-needed -o $@ /dev/null \
+       $(CC) -xc -shared -Wl,--no-as-needed -o $@ /dev/null \
                -lsndfile \
                -lvorbisfile \
                -lFLAC \

--- End Message ---
--- Begin Message ---
Source: alure
Source-Version: 1.2-8
Done: Bastian Germann <[email protected]>

We believe that the bug you reported is fixed in the latest version of
alure, 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.
Bastian Germann <[email protected]> (supplier of updated alure 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: Sat, 23 Oct 2021 20:44:44 +0200
Source: alure
Architecture: source
Version: 1.2-8
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <[email protected]>
Changed-By: Bastian Germann <[email protected]>
Closes: 743515 888033 980868
Changes:
 alure (1.2-8) unstable; urgency=medium
 .
   * Team upload
   * New homepage (Closes: #980868)
   * Remove Andreas (MIA) from Uploaders (Closes: #743515)
   * Update to debhelper-compat v13
   * Make use of debhelper default
   * d/copyright: Add missing licenses
   * Make package lintian clean
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: (Closes: #888033)
     + Let dh_auto_configure pass cross flags to cmake.
     + Use a host $(CC) from buildtools.mk.
Checksums-Sha1:
 0848ff0440da8fe50d2678c2cab5870918369fcc 1982 alure_1.2-8.dsc
 e9568a15a114705bcb40f46715589b4266a88a8f 7068 alure_1.2-8.debian.tar.xz
 df53c9de31850e460fdf396b11f6e4be680b5834 7911 alure_1.2-8_source.buildinfo
Checksums-Sha256:
 791e3bf2bec97ca2aaf24eadf0266247757a960db9194c725a682990e23c21f2 1982 
alure_1.2-8.dsc
 cf4e0973449a4b81e1c57e3eb5a3a042b13a901530afa2801b0da593932a6246 7068 
alure_1.2-8.debian.tar.xz
 a496eeaa42b705ffe75b2406614398dc0895ba726950b56605481fa51a06e2b1 7911 
alure_1.2-8_source.buildinfo
Files:
 07feee2d1287616854e72efcd1491b9e 1982 libs optional alure_1.2-8.dsc
 d782c9b793d23753fc191c5a38331f73 7068 libs optional alure_1.2-8.debian.tar.xz
 6a6e723cd01b68bd581ad6991b9e1164 7911 libs optional 
alure_1.2-8_source.buildinfo

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

iQGzBAEBCgAdFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmF0m4UACgkQH1x6i0VW
QxQx+gwAz0oA0HKvWz9mX/NTnj3lfn43lilfVmRuu7y35BJ7Ba6IYazEuGfWSJEx
cc78ZyUb3TzWhi9l2vKvN0gjHLLdYp4pnPWVz2bXbfxtuAyiI/miqm++Dfl53tZD
gMEf29SNiCAzRXS4HN892KELrBNOO3+2fTbGK1TaCHaSzx62Mm4t7uc38R/lJY+F
JBIdboSFPHzdrhJ+OWv/JQK/lhQzjJ31imfpCxek/yQ2cfCKHxgTDPjg5Sgmc0r+
0jvUv4Pu0EJPNFkpMLhRuPpTOY7RVUNNznpdrLum0kgCR/wehozuXHjtA9zKpTcc
C29iaYuUzIwXsS+IX4gKsXKet2LDHaE2iwhmNI9Xc5I/Vnu14UXRaW8O9yWt9DOU
KThUgj0Ab9q1co5Hgidk7mrXSRWRgX5yrOKLlrYOUlIOewzy093TxlsASp42IOHN
/X/LEbS3NemHkPswAVJAJqJx9Sg+lpexMwp0hrtU2oIPfhC8wn62f3hdUvoLYG6r
mm1LaEV/
=k1JN
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to