Your message dated Wed, 29 May 2019 23:03:38 +0000
with message-id <[email protected]>
and subject line Bug#890669: fixed in fmit 1.0.0-1.1
has caused the Debian Bug report #890669,
regarding fmit: FTBFS with glibc 2.27: error: 'pow10' 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.)
--
890669: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=890669
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: fmit
Version: 1.0.0-1
Severity: important
Tags: patch
User: [email protected]
Usertags: 2.27
fmit 1.0.0-1 fails to build with glibc 2.27 (2.27-0experimental0 from
experimental):
| cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libs/Music && /usr/bin/c++
-DCAPTURE_ALSA -DCAPTURE_JACK -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG
-DQT_OPENGL_LIB -isystem /usr/include/qt4 -isystem /usr/include/qt4/QtOpenGL
-isystem /usr/include/qt4/QtGui -isystem /usr/include/qt4/QtCore
-I/<<PKGBUILDDIR>>/libs/Music/../../libs
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libs/Music -Wall -DPREFIX=\"/usr\"
-DPACKAGE_NAME=\"fmit\" -DPACKAGE_VERSION=\"1.0.0\" -o
CMakeFiles/Music.dir/Algorithm.o -c /<<PKGBUILDDIR>>/libs/Music/Algorithm.cpp
| In file included from /<<PKGBUILDDIR>>/libs/Music/Algorithm.h:28:0,
| from /<<PKGBUILDDIR>>/libs/Music/Algorithm.cpp:20:
| /<<PKGBUILDDIR>>/libs/Music/Music.h: In function 'double
Music::invlp(double)':
| /<<PKGBUILDDIR>>/libs/Music/Music.h:288:16: error: 'pow10' was not declared
in this scope
| return pow10(value/20.0);
| ^~~~~
| /<<PKGBUILDDIR>>/libs/Music/Music.h:288:16: note: suggested alternative:
'powl'
| return pow10(value/20.0);
| ^~~~~
| powl
| libs/Music/CMakeFiles/Music.dir/build.make:65: recipe for target
'libs/Music/CMakeFiles/Music.dir/Algorithm.o' failed
| make[3]: *** [libs/Music/CMakeFiles/Music.dir/Algorithm.o] Error 1
| make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
| CMakeFiles/Makefile2:88: recipe for target
'libs/Music/CMakeFiles/Music.dir/all' failed
| make[2]: *** [libs/Music/CMakeFiles/Music.dir/all] Error 2
| make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
| Makefile:154: recipe for target 'all' failed
| make[1]: *** [all] Error 2
| make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
| dh_auto_build: cd obj-x86_64-linux-gnu && make -j1 returned exit code 2
| debian/rules:11: recipe for target 'build-arch' failed
| make: *** [build-arch] Error 2
| dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit
status 2cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libs/Music && /usr/bin/c++
-DCAPTURE_ALSA -DCAPTURE_JACK -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG
-DQT_OPENGL_LIB -isystem /usr/include/qt4 -isystem /usr/include/qt4/QtOpenGL
-isystem /usr/include/qt4/QtGui -isystem /usr/include/qt4/QtCore
-I/<<PKGBUILDDIR>>/libs/Music/../../libs
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libs/Music -Wall -DPREFIX=\"/usr\"
-DPACKAGE_NAME=\"fmit\" -DPACKAGE_VERSION=\"1.0.0\" -o
CMakeFiles/Music.dir/Algorithm.o -c /<<PKGBUILDDIR>>/libs/Music/Algorithm.cpp
| In file included from /<<PKGBUILDDIR>>/libs/Music/Algorithm.h:28:0,
| from /<<PKGBUILDDIR>>/libs/Music/Algorithm.cpp:20:
| /<<PKGBUILDDIR>>/libs/Music/Music.h: In function 'double
Music::invlp(double)':
| /<<PKGBUILDDIR>>/libs/Music/Music.h:288:16: error: 'pow10' was not declared
in this scope
| return pow10(value/20.0);
| ^~~~~
| /<<PKGBUILDDIR>>/libs/Music/Music.h:288:16: note: suggested alternative:
'powl'
| return pow10(value/20.0);
| ^~~~~
| powl
| libs/Music/CMakeFiles/Music.dir/build.make:65: recipe for target
'libs/Music/CMakeFiles/Music.dir/Algorithm.o' failed
| make[3]: *** [libs/Music/CMakeFiles/Music.dir/Algorithm.o] Error 1
| make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
| CMakeFiles/Makefile2:88: recipe for target
'libs/Music/CMakeFiles/Music.dir/all' failed
| make[2]: *** [libs/Music/CMakeFiles/Music.dir/all] Error 2
| make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
| Makefile:154: recipe for target 'all' failed
| make[1]: *** [all] Error 2
| make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
| dh_auto_build: cd obj-x86_64-linux-gnu && make -j1 returned exit code 2
| debian/rules:11: 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/fmit_1.0.0-1_unstable_glibc-exp.log
Starting with glibc 2.27, the libm function pow10 is no longer
supported for. The standard exp10 (from TS 18661-4:2015) should be used
instead. The attached patch fixes that.
diff -Nru fmit-1.0.0/debian/patches/pow10.patch
fmit-1.0.0/debian/patches/pow10.patch
--- fmit-1.0.0/debian/patches/pow10.patch
+++ fmit-1.0.0/debian/patches/pow10.patch
@@ -0,0 +1,15 @@
+Description: Replace deprecated pow10 by exp10.
+Author: Aurelien Jarno <[email protected]>
+Forwarded: no
+
+--- fmit-1.0.0.orig/libs/Music/Music.h
++++ fmit-1.0.0/libs/Music/Music.h
+@@ -285,7 +285,7 @@ namespace Music
+ // TODO cannot create a template so easily because the pow10 is not
defined for all types
+ inline double invlp(double value)
+ {
+- return pow10(value/20.0);
++ return exp10(value/20.0);
+ // return pow(TYPE(10), value/TYPE(20));
+ }
+
diff -Nru fmit-1.0.0/debian/patches/series fmit-1.0.0/debian/patches/series
--- fmit-1.0.0/debian/patches/series
+++ fmit-1.0.0/debian/patches/series
@@ -0,0 +1 @@
+pow10.patch
--- End Message ---
--- Begin Message ---
Source: fmit
Source-Version: 1.0.0-1.1
We believe that the bug you reported is fixed in the latest version of
fmit, 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.
Boyuan Yang <[email protected]> (supplier of updated fmit 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: Wed, 29 May 2019 17:56:13 -0400
Source: fmit
Architecture: source
Version: 1.0.0-1.1
Distribution: unstable
Urgency: medium
Maintainer: John Wright <[email protected]>
Changed-By: Boyuan Yang <[email protected]>
Closes: 890669
Changes:
fmit (1.0.0-1.1) unstable; urgency=medium
.
* Non-maintainer upload.
* debian/control:
+ Update Vcs-* fields and use git repo under Salsa Debian team.
* debian/patches: Add a patch to fix FTBFS against glibc 2.27.
(Closes: #890669).
Checksums-Sha1:
04e5a858a17440379db972ce97377bc4021dffbc 1884 fmit_1.0.0-1.1.dsc
0f6b112f09fbea572ae201c8198655eb081a1fbe 5584 fmit_1.0.0-1.1.debian.tar.xz
d603dc7136fab75e8d0f2fce20d8c407fb4ec4fd 10759 fmit_1.0.0-1.1_amd64.buildinfo
Checksums-Sha256:
71d0c00fd5078728d5ac46be242364f723eaeb63967e40e0c6ac8b71f3307a17 1884
fmit_1.0.0-1.1.dsc
6ef40bf3b0c4e083a4a9d0304bcd29f76576deaeaad68bc5f6d32d7bc5059cf9 5584
fmit_1.0.0-1.1.debian.tar.xz
ac2fbb014b5448d9c85f796bc9d219b3d7b17fca8be1e4675ca99de908c0ab7c 10759
fmit_1.0.0-1.1_amd64.buildinfo
Files:
53453e551d8f6777b9e2f0870c9bc477 1884 sound optional fmit_1.0.0-1.1.dsc
dbe84938c86a4677b12d60e8a8ea0a74 5584 sound optional
fmit_1.0.0-1.1.debian.tar.xz
17d0313f4d7011d3e4def24b701660dc 10759 sound optional
fmit_1.0.0-1.1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAlzvArEACgkQwpPntGGC
Ws7Ezg/7B4eCzKvENP3PeCU9Hn4QC6rkRMHs0inSmWY7yK6Ho7NqdqD+lngcKqLj
+lW179RX5DRa50ttVp7tmtC6eCAgXWz1R8taAjh7jWRGevmE/qXITGhvt7WElEcK
QiMaOR2pgH3j+AIfDabZnZDqNg7FGFJY051ISeGa8NzRApHicVhJGtzYjdTNxpmc
/6yVApOJ3gf3Hdb1r19XL90dAb165YQl7/L9Fn3ZhtgZT4EtE+puurPo0wBylD5Z
uENvxUf85uHlNqA2mcd26gJIE/Y1xK9g2VoTKfGfn2+yfxp/SxjuRM341coB5SG1
lWcKiGTS5/1M1AC91y5CCSth3d3G3Hg6GmLxQGagBeyXGxqnJvhYkaix75ODf8vd
3tPlgRJzn2K336xbCYLbY8DHwQaGSC0g/Cy3wiUedjzOwsVw4Q3UtTSNWfxP9UDt
SGnUt01cGPO+5N6Acgblznk7hNQ/kms3+c/B+h8axPjDXvJbgQlKooyRv8RdHUF6
exBjg9fy4r+wxTcYmEPscETo9dJIm3gwJ2WTFyX/adGBviG+VZzwpknwdwey4Fq2
k0k65vpBOAH/4WOzFdv7efQsQ77q31qGotvX6VPvJjqzY+42VCKNvjrukvEA7SDM
+h2XYS0AtifnhrVk22hXs8/40Q77gpvq7QEJ8Doc4sECH8pON1o=
=xz7m
-----END PGP SIGNATURE-----
--- End Message ---