Your message dated Sat, 17 Feb 2018 23:49:46 +0000
with message-id <[email protected]>
and subject line Bug#890632: fixed in btanks 0.9.8083-7
has caused the Debian Bug report #890632,
regarding btanks: FTBFS with glibc 2.27: error: 'pow10f' was not declared in 
this scope
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.)


-- 
890632: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=890632
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: btanks
Version: 0.9.8083-6
Severity: important
Tags: patch
User: [email protected]
Usertags: 2.27

btanks 0.9.8083-6 fails to build with glibc 2.27 (2.27-0experimental0
from experimental):

| g++ -o build/release/clunk/source.os -c -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -fvisibility-inlines-hidden -fvisibility=hidden 
-DGCC_HASCLASSVISIBILITY -fvisibility-inlines-hidden -fvisibility=hidden -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -D_FORTIFY_SOURCE=2 -fvisibility=hidden 
-DGCC_HASCLASSVISIBILITY -fvisibility=hidden -Wall -Wno-deprecated -pedantic 
-Wno-long-long -pipe -pthread -fPIC -Wall -Wno-deprecated -pedantic 
-Wno-long-long -pipe -pthread -DUSE_GLSDL -DV3_DISABLE_Z -DRELEASE 
-DPREFIX="\"/usr\"" -DRESOURCES_DIR="\"/usr/share/games/btanks\"" 
-DPLUGINS_DIR="\"/usr/lib/btanks\"" -DCLUNKAPI=DLLEXPORT -DUSE_SIMD 
-D_GNU_SOURCE=1 -D_REENTRANT -I. -Ibuild/release -Ibuild/release/clunk -Iclunk 
-I/usr/include/SDL clunk/source.cpp
| In file included from clunk/fft_context.h:149:0,
|                  from clunk/mdct_context.h:4,
|                  from clunk/source.h:29,
|                  from clunk/source.cpp:22:
| clunk/sse_fft_context.h:42:31: warning: ignoring attributes on template 
argument 'clunk::sse_danielson_lanczos<N, T>::sse_type {aka __vector(4) float}' 
[-Wignored-attributes]
|   aligned_array<sse_type, N / 2> angle_re;
|                                ^
| clunk/sse_fft_context.h:43:31: warning: ignoring attributes on template 
argument 'clunk::sse_danielson_lanczos<N, T>::sse_type {aka __vector(4) float}' 
[-Wignored-attributes]
|   aligned_array<sse_type, N / 2> angle_im;
|                                ^
| clunk/sse_fft_context.h:125:31: warning: ignoring attributes on template 
argument 'clunk::fft_context<BITS, float>::sse_type {aka __vector(4) float}' 
[-Wignored-attributes]
|   aligned_array<sse_type, SSE_N> data_re;
|                                ^
| clunk/sse_fft_context.h:126:31: warning: ignoring attributes on template 
argument 'clunk::fft_context<BITS, float>::sse_type {aka __vector(4) float}' 
[-Wignored-attributes]
|   aligned_array<sse_type, SSE_N> data_im;
|                                ^
| clunk/source.cpp: In member function 'void clunk::Source::hrtf(int, unsigned 
int, clunk::Buffer&, const Sint16*, int, int, int, const float (* 
const&)[2][512], int)':
| clunk/source.cpp:157:13: error: 'pow10f' was not declared in this scope
|    float m = pow10f(kemar_data[kemar_idx][0][kemar_angle_idx] * v / 20);
|              ^~~~~~
| clunk/source.cpp:157:13: note: suggested alternative: 'powf'
|    float m = pow10f(kemar_data[kemar_idx][0][kemar_angle_idx] * v / 20);
|              ^~~~~~
|              powf
| scons: *** [build/release/clunk/source.os] Error 1
| scons: building terminated because of errors.
| debian/rules:9: recipe for target 'override_dh_auto_build' failed
| make[1]: *** [override_dh_auto_build] Error 2
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| debian/rules:6: recipe for target 'build-arch' failed
| make: *** [build-arch] Error 2
| dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit 
status 2

A full build logs is available there:
http://aws-logs.debian.net/2018/02/07/glibc-exp/btanks_0.9.8083-6_unstable_glibc-exp.log

Starting with glibc 2.27, the libm function pow10f is no longer
supported. The standard exp10f (from TS 18661-4:2015) should be used
instead. The attached patch fixes that.
diff -Nru btanks-0.9.8083/debian/patches/pow10f.patch 
btanks-0.9.8083/debian/patches/pow10f.patch
--- btanks-0.9.8083/debian/patches/pow10f.patch
+++ btanks-0.9.8083/debian/patches/pow10f.patch
@@ -0,0 +1,11 @@
+--- btanks-0.9.8083.orig/clunk/source.cpp
++++ btanks-0.9.8083/clunk/source.cpp
+@@ -30,6 +30,8 @@
+ #if defined _MSC_VER || __APPLE__ || __FreeBSD__
+ #     define pow10f(x) powf(10.0f, (x))
+ #     define log2f(x) (logf(x) / M_LN2)
++#else
++#     define pow10f(x) exp10f(x)
+ #endif
+ 
+ using namespace clunk;
diff -Nru btanks-0.9.8083/debian/patches/series 
btanks-0.9.8083/debian/patches/series
--- btanks-0.9.8083/debian/patches/series
+++ btanks-0.9.8083/debian/patches/series
@@ -2,3 +2,4 @@
 rename-currency-symbol.patch
 gcc-4.6.patch
 gcc-4.7.patch
+pow10f.patch

--- End Message ---
--- Begin Message ---
Source: btanks
Source-Version: 0.9.8083-7

We believe that the bug you reported is fixed in the latest version of
btanks, 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.
Markus Koschany <[email protected]> (supplier of updated btanks 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: Sun, 18 Feb 2018 00:05:56 +0100
Source: btanks
Binary: btanks btanks-data
Architecture: source
Version: 0.9.8083-7
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <[email protected]>
Changed-By: Markus Koschany <[email protected]>
Description:
 btanks     - fast 2D tank arcade game with multiplayer and split-screen modes
 btanks-data - fast 2D tank arcade game -- data
Closes: 890632
Changes:
 btanks (0.9.8083-7) unstable; urgency=medium
 .
   * Team upload.
   * Use compat level 11.
   * Declare compliance with Debian Policy 4.1.3.
   * Drop obsolete menu file and xpm icon.
   * Use https for Format field.
   * Add pow10f.patch and fix FTBFS with glibc 2.27.
     Thanks to Aurelien Jarno for the report and patch. (Closes: #890632)
   * Switch from priority extra to optional.
Checksums-Sha1:
 8ad9e27081dfe662cf5afaed00641bda23bb936d 2454 btanks_0.9.8083-7.dsc
 f1051492131d1f22ea6750a28ee45955cdbd3c07 37296 btanks_0.9.8083-7.debian.tar.xz
 dea8704a834c1321649d07b3fca7353924752867 11062 
btanks_0.9.8083-7_amd64.buildinfo
Checksums-Sha256:
 ae96a6a589f2bf780701ec6e54fdf3caac5e26322ca6353a24f3c6944111d106 2454 
btanks_0.9.8083-7.dsc
 2fe74851c86005fc9af3855d6b230bddf9790d21a51d907788ef4903eab3549e 37296 
btanks_0.9.8083-7.debian.tar.xz
 00a18df7270ad465559b6c5042e092079c57406abd9a69a57ca7102bffe04eff 11062 
btanks_0.9.8083-7_amd64.buildinfo
Files:
 66d89579c98ec68afe35f2a14aaed440 2454 games optional btanks_0.9.8083-7.dsc
 08612eccabb0763cf4c54e94f03e47f3 37296 games optional 
btanks_0.9.8083-7.debian.tar.xz
 cef22b8e981ecca9ff223da31ad2a27a 11062 games optional 
btanks_0.9.8083-7_amd64.buildinfo

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

iQKjBAEBCgCNFiEErPPQiO8y7e9qGoNf2a0UuVE7UeQFAlqIuihfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEFD
RjNEMDg4RUYzMkVERUY2QTFBODM1RkQ5QUQxNEI5NTEzQjUxRTQPHGFwb0BkZWJp
YW4ub3JnAAoJENmtFLlRO1HkN2UP/3wMb323aU1OfqeBuud/88jyLBzu/7R2jn59
uK5NrhZ9PoMa4WRwElbZXA/FWxn5VAD95/QnfC2+S78qeAcLyd9XKy+KteuPrsws
RRzWyWe1+hjIraNrSspxkTij8nrleijqVjgLQYEuYxYGBmDJ/ZTtORCeg8QJmcIA
C5i/6M6OMiiA5wXHkpYjMeoUNd8AtXVyyMK//DgM+0GgwJasFdCtw7Lp9+DRF+9b
EOxDlcjUMiCujiPZtdid4OsAX7XJuphRS1g/PyAEDPklLhKmWmnh1OwuA7+5SHST
aYQJ0xbvm6JENuGGrUM8y70Wn4mRytiszAjvU5bFGbRIHKok9ZJHjTRIwFQH5+eq
SwA3GPCUQCRh4IOhYWmyM7jyOJXOh+vRb5A9LuXAWPPvZN8gAUfgkV8T0dydjBFJ
crokoB90oF/F9x1gQ4DSV88eczjkA+XlFD7kzRNxRn3FgCyO9PU1oKxYBBM/hlzz
8Bxi48oQUEgiCNu7vlN99NyAHqgEHmSQQfMJWGJVmHIywjcXbh89GGzI6EmtDaAg
4q2GJN6AVLAUKr+NHTAV+ebyJG/bq4cCFR4XeIhjgBAxYW35Wn0fxVvq0xe+cj7M
DnXsB4yl4OfWqlbP30xVWrITkhgJfLIAq868nHS9AwAGultAkIj4J2qWYE0ghFSB
ngcBhRUw
=6L0G
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to