Your message dated Tue, 03 Apr 2018 18:49:31 +0000
with message-id <e1f3qzr-000d1o...@fasolo.debian.org>
and subject line Bug#890634: fixed in eq10q 2.2~repack0-2.1
has caused the Debian Bug report #890634,
regarding eq10q: 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 ow...@bugs.debian.org
immediately.)


-- 
890634: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=890634
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: eq10q
Version: 2.2~repack0-2
Severity: important
Tags: patch
User: debian-gl...@lists.debian.org
Usertags: 2.27

eq10q 2.2~repack0-2 fails to build with glibc 2.27 (2.27-0experimental0 from
experimental):

| /<<PKGBUILDDIR>>/gui/widgets/bodeplot.cpp: In member function 'virtual void 
PlotEQCurve::resetCenterSpan()':
| /<<PKGBUILDDIR>>/gui/widgets/bodeplot.cpp:197:31: error: 'pow10' was not 
declared in this scope
|    double cn = MIN_FREQ * sqrt(pow10(sp));
|                                ^~~~~
| /<<PKGBUILDDIR>>/gui/widgets/bodeplot.cpp:197:31: note: suggested 
alternative: 'powl'
|    double cn = MIN_FREQ * sqrt(pow10(sp));
|                                ^~~~~
|                                powl
| /<<PKGBUILDDIR>>/gui/widgets/bodeplot.cpp: In member function 'virtual void 
PlotEQCurve::setCenterSpan(double, double)':
| /<<PKGBUILDDIR>>/gui/widgets/bodeplot.cpp:203:29: error: 'pow10' was not 
declared in this scope
|    m_minFreq = center / sqrt(pow10(span));
|                              ^~~~~
| /<<PKGBUILDDIR>>/gui/widgets/bodeplot.cpp:203:29: note: suggested 
alternative: 'powl'
|    m_minFreq = center / sqrt(pow10(span));
|                              ^~~~~
|                              powl
| /<<PKGBUILDDIR>>/gui/widgets/bodeplot.cpp: In member function 'virtual void 
PlotEQCurve::setCenter(double)':
| /<<PKGBUILDDIR>>/gui/widgets/bodeplot.cpp:249:33: error: 'pow10' was not 
declared in this scope
|    double cmin = MIN_FREQ * sqrt(pow10(sp));
|                                  ^~~~~
| /<<PKGBUILDDIR>>/gui/widgets/bodeplot.cpp:249:33: note: suggested 
alternative: 'powl'
|    double cmin = MIN_FREQ * sqrt(pow10(sp));
|                                  ^~~~~
|                                  powl
| /<<PKGBUILDDIR>>/gui/widgets/bodeplot.cpp: In member function 'virtual void 
PlotEQCurve::setSpan(double)':
| /<<PKGBUILDDIR>>/gui/widgets/bodeplot.cpp:262:32: error: 'pow10' was not 
declared in this scope
|    double cn = m_minFreq * sqrt(pow10(sp_act));
|                                 ^~~~~
| /<<PKGBUILDDIR>>/gui/widgets/bodeplot.cpp:262:32: note: suggested 
alternative: 'powl'
|    double cn = m_minFreq * sqrt(pow10(sp_act));
|                                 ^~~~~
|                                 powl
| /<<PKGBUILDDIR>>/gui/widgets/bodeplot.cpp: In member function 'void 
PlotEQCurve::recomputeCenterFreq(double)':
| /<<PKGBUILDDIR>>/gui/widgets/bodeplot.cpp:309:27: error: 'pow10' was not 
declared in this scope
|    double cn = fmin * sqrt(pow10(sp_act));
|                            ^~~~~
| /<<PKGBUILDDIR>>/gui/widgets/bodeplot.cpp:309:27: note: suggested 
alternative: 'powl'
|    double cn = fmin * sqrt(pow10(sp_act));
|                            ^~~~~
|                            powl
| make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
| [ 87%] Built target bassup_gui
| gui/widgets/CMakeFiles/eqwin.dir/build.make:257: recipe for target 
'gui/widgets/CMakeFiles/eqwin.dir/bodeplot.cpp.o' failed
| make[3]: *** [gui/widgets/CMakeFiles/eqwin.dir/bodeplot.cpp.o] Error 1

A full build logs is available there:
http://aws-logs.debian.net/2018/02/07/glibc-exp/eq10q_2.2~repack0-2_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 eq10q-2.2~repack0/debian/patches/05-pow10.patch 
eq10q-2.2~repack0/debian/patches/05-pow10.patch
--- eq10q-2.2~repack0/debian/patches/05-pow10.patch
+++ eq10q-2.2~repack0/debian/patches/05-pow10.patch
@@ -0,0 +1,73 @@
+Description: Replace deprecated pow10 by exp10.
+Author: Aurelien Jarno <aure...@debian.org>
+Forwarded: no
+
+--- eq10q-2.2~repack0.orig/gui/widgets/bandctl.cpp
++++ eq10q-2.2~repack0/gui/widgets/bandctl.cpp
+@@ -949,7 +949,7 @@ bool BandCtl::parseBtnString(BandCtl::Bu
+   if(str_k.length() > 0)
+   {
+     val_k = atof(str_k.c_str()) * 1e3;
+-    val *= pow10(3.0 - str.length());
++    val *= exp10(3.0 - str.length());
+     if(str.length() > 3)
+     {
+       //throw an error, imposible to match str > 3 with k
+@@ -960,7 +960,7 @@ bool BandCtl::parseBtnString(BandCtl::Bu
+   }
+   if(str_d.length() > 0)
+   {
+-    val_d = atof(str_d.c_str())/ pow10((double)str_d.length());
++    val_d = atof(str_d.c_str())/ exp10((double)str_d.length());
+   }
+    
+   btn->value = val + val_k + val_d;
+--- eq10q-2.2~repack0.orig/gui/widgets/bodeplot.cpp
++++ eq10q-2.2~repack0/gui/widgets/bodeplot.cpp
+@@ -194,14 +194,14 @@ void PlotEQCurve::resetCenterSpan()
+ {
+   //Compute center and span for the full range spectrum
+   double sp = log10(MAX_FREQ/MIN_FREQ);
+-  double cn = MIN_FREQ * sqrt(pow10(sp));
++  double cn = MIN_FREQ * sqrt(exp10(sp));
+   setCenterSpan(cn, sp);
+ }
+ 
+ void PlotEQCurve::setCenterSpan(double center, double span)
+ { 
+-  m_minFreq = center / sqrt(pow10(span));
+-  m_maxFreq = center * sqrt(pow10(span));
++  m_minFreq = center / sqrt(exp10(span));
++  m_maxFreq = center * sqrt(exp10(span));
+     
+   //Initalize the grid
+   const double f_grid[GRID_VERTICAL_LINES] = {20.0, 30.0, 40.0, 50.0, 60.0, 
70.0, 80.0, 90.0,
+@@ -246,8 +246,8 @@ void PlotEQCurve::setCenter(double cente
+ {
+   //Limit center to the possible range according the current span
+   double sp = log10(m_maxFreq/m_minFreq);
+-  double cmin = MIN_FREQ * sqrt(pow10(sp));
+-  double cmax = MAX_FREQ / sqrt(pow10(sp));
++  double cmin = MIN_FREQ * sqrt(exp10(sp));
++  double cmax = MAX_FREQ / sqrt(exp10(sp));
+   
+   double cn = center;
+   cn = cn > cmax ? cmax : cn;
+@@ -259,7 +259,7 @@ void PlotEQCurve::setSpan(double span)
+ {
+   //Limit center to the possible range according the current span
+   double sp_act = log10(m_maxFreq/m_minFreq);
+-  double cn = m_minFreq * sqrt(pow10(sp_act));
++  double cn = m_minFreq * sqrt(exp10(sp_act));
+   double smax1 = 2.0*log10(cn/MIN_FREQ);
+   double smax2= 2.0*log10(MAX_FREQ/cn);
+   double smax = smax1 < smax2 ? smax1 : smax2;
+@@ -306,7 +306,7 @@ void PlotEQCurve::recomputeCenterFreq(do
+   double fmax = MIN_FREQ*pow((MAX_FREQ/MIN_FREQ),((local_x2 + 
3.5)/((double)m_zoom_surface_ptr->get_width())));
+   
+   double sp_act = log10(fmax/fmin);
+-  double cn = fmin * sqrt(pow10(sp_act));
++  double cn = fmin * sqrt(exp10(sp_act));
+   setCenter(cn);
+ }
+ 
diff -Nru eq10q-2.2~repack0/debian/patches/series 
eq10q-2.2~repack0/debian/patches/series
--- eq10q-2.2~repack0/debian/patches/series
+++ eq10q-2.2~repack0/debian/patches/series
@@ -2,3 +2,4 @@
 02-remove_sse_flags.patch
 03-fix_flags.patch
 04-spelling.patch
+05-pow10.patch

--- End Message ---
--- Begin Message ---
Source: eq10q
Source-Version: 2.2~repack0-2.1

We believe that the bug you reported is fixed in the latest version of
eq10q, 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 890...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adrian Bunk <b...@debian.org> (supplier of updated eq10q 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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Tue, 20 Mar 2018 19:40:58 +0200
Source: eq10q
Binary: eq10q
Architecture: source
Version: 2.2~repack0-2.1
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers 
<pkg-multimedia-maintainers@lists.alioth.debian.org>
Changed-By: Adrian Bunk <b...@debian.org>
Description:
 eq10q      - LV2 plugins bundle
Closes: 890634
Changes:
 eq10q (2.2~repack0-2.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Add patch from Aurelien Jarno to fix FTBFS with glibc 2.27.
     (Closes: #890634)
Checksums-Sha1:
 e34ab566a41412901d242434310febaf046ab279 2057 eq10q_2.2~repack0-2.1.dsc
 e0062835966dae43f0b457b5a5418d1011f440d4 4828 
eq10q_2.2~repack0-2.1.debian.tar.xz
Checksums-Sha256:
 9565a1b4003d4e7b2dbcac1b8325d958c8154a7da70fb56ab923bb2709b0245d 2057 
eq10q_2.2~repack0-2.1.dsc
 9aec6514f9d004d6c11e764ea644d0836ddfc46412d4780fc295b9be42e54f1f 4828 
eq10q_2.2~repack0-2.1.debian.tar.xz
Files:
 356a37d30787359b94e5d49b992198dd 2057 sound optional eq10q_2.2~repack0-2.1.dsc
 283e90737a283d41349c498047bdf522 4828 sound optional 
eq10q_2.2~repack0-2.1.debian.tar.xz

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

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAlqxSKkACgkQiNJCh6LY
mLHduxAAvJAYpSnI0iujy3f9mQDTpYLEE9/aCB3le4pWA2uEBdkpP4sHKGCaRM7J
LIr+GuziZzRqCIqW1a3G7FJSTk/H+1O4Xh/iHqdGaFTV/Hu/N/ERtg+Wm7pXtw76
pwlvfTGC99G69nYDGpwoYFhyO3SYwf2jGhn7WYJKXxvGgUsaYExMIIJs4vuBEztk
LqLI1OBuKu9R4m6Ukg1FqxFMc/tRD3uVzSFxDnhdnqLQm9ujxxow9hYLaAw9bsIZ
IK+inpCkWFqzHqYoto/X/H0D1YMc7zoFZjPJNyp0ql1gTSn5+x3JORSH+D10I1eZ
P/FwuCJ61tMD1ku1OFYcF6Hbu3n9DYPSbM+xoPG9GrbtPYDnMJ+n3f9KpbuPIJap
HselKKUGcx1L4kJScP0pey+LsKZfrhNYhdrHRY37Fkgg7MxCDVtEHRL2799B7QkF
iyjsIvD/kRZ1Mg2KwYLZuGT5TvobAlXV9YAtD5EFfMymNZiB6Zz3oIvSJ4VRZ5rz
0LgazuaJn9fehTSEdJq92UezFdJFiRqdxjYRzF/zajguJyRxEjSzrhw359GRQTcu
MvJN9QY/lNlTa2tp+IddntLIf7RYSGifPLtPt1cJqY5Nj3fTuRTZRp/J0T43BLSf
dGRl2TgxZHjmwdaMu5CgRo+Tf4X3wtzSsYVdEx1qdzx7cAW7pRM=
=DKJv
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to