Your message dated Sun, 01 Apr 2018 20:55:41 +0000
with message-id <e1f2k0r-00018a...@fasolo.debian.org>
and subject line Bug#890671: fixed in vpb-driver 4.2.60-1
has caused the Debian Bug report #890671,
regarding vpb-driver: 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.)


-- 
890671: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=890671
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: vpb-driver
Version: 4.2.59-2 
Severity: important
Tags: patch
User: debian-gl...@lists.debian.org
Usertags: 2.27

vpb-driver 4.2.59-2 fails to build with glibc 2.27 (2.27-0experimental0 from
experimental):

| x86_64-linux-gnu-g++ -O2 -g -Wall -W -Wpointer-arith -Wcast-qual -Wcast-align 
-Wformat=2 -Wno-format-nonliteral -Wfloat-equal -Wwrite-strings 
-Woverloaded-virtual  -D_FILE_OFFSET_BITS=64 -D_REENTRANT -pthread -MMD 
-I../../../src/libvpb  -c -o vpbecho.o ../../../src/utils/vpbecho.cpp
| In file included from ../../../src/libvpb/vpbapi.h:42:0,
|                  from ../../../src/utils/scanerl.h:25,
|                  from ../../../src/utils/measerl.cpp:37:
| ../../../src/libvpb/vt_deprecated.h:55:28: warning: this use of "defined" may 
not be portable [-Wexpansion-to-defined]
|      #if VT_COMPILER_GCC(3,1)
|                             ^
| ../../../src/libvpb/vt_deprecated.h:55:28: warning: this use of "defined" may 
not be portable [-Wexpansion-to-defined]
| In file included from ../../../src/libvpb/vpbapi.h:42:0,
|                  from ../../../src/utils/ringstat.cpp:29:
| ../../../src/libvpb/vt_deprecated.h:55:28: warning: this use of "defined" may 
not be portable [-Wexpansion-to-defined]
|      #if VT_COMPILER_GCC(3,1)
|                             ^
| ../../../src/libvpb/vt_deprecated.h:55:28: warning: this use of "defined" may 
not be portable [-Wexpansion-to-defined]
| In file included from ../../../src/libvpb/vpbapi.h:42:0,
|                  from ../../../src/utils/recwav.cpp:33:
| ../../../src/libvpb/vt_deprecated.h:55:28: warning: this use of "defined" may 
not be portable [-Wexpansion-to-defined]
|      #if VT_COMPILER_GCC(3,1)
|                             ^
| ../../../src/libvpb/vt_deprecated.h:55:28: warning: this use of "defined" may 
not be portable [-Wexpansion-to-defined]
| In file included from ../../../src/libvpb/vpbapi.h:42:0,
|                  from ../../../src/utils/scanerl.h:25,
|                  from ../../../src/utils/vdaaerl.cpp:25:
| ../../../src/libvpb/vt_deprecated.h:55:28: warning: this use of "defined" may 
not be portable [-Wexpansion-to-defined]
|      #if VT_COMPILER_GCC(3,1)
|                             ^
| ../../../src/libvpb/vt_deprecated.h:55:28: warning: this use of "defined" may 
not be portable [-Wexpansion-to-defined]
| In file included from ../../../src/libvpb/vpbapi.h:42:0,
|                  from ../../../src/utils/tonedebug.cpp:39:
| ../../../src/libvpb/vt_deprecated.h:55:28: warning: this use of "defined" may 
not be portable [-Wexpansion-to-defined]
|      #if VT_COMPILER_GCC(3,1)
|                             ^
| ../../../src/libvpb/vt_deprecated.h:55:28: warning: this use of "defined" may 
not be portable [-Wexpansion-to-defined]
| In file included from ../../../src/libvpb/vpbapi.h:42:0,
|                  from ../../../src/utils/dtmfcheck.cpp:26:
| ../../../src/libvpb/vt_deprecated.h:55:28: warning: this use of "defined" may 
not be portable [-Wexpansion-to-defined]
|      #if VT_COMPILER_GCC(3,1)
|                             ^
| In file included from ../../../src/libvpb/vpbapi.h:42:0,
|                  from ../../../src/utils/bridgeports.cpp:25:
| ../../../src/libvpb/vt_deprecated.h:55:28: warning: this use of "defined" may 
not be portable [-Wexpansion-to-defined]
|      #if VT_COMPILER_GCC(3,1)
|                             ^
| ../../../src/libvpb/vt_deprecated.h:55:28: warning: this use of "defined" may 
not be portable [-Wexpansion-to-defined]
| ../../../src/libvpb/vt_deprecated.h:55:28: warning: this use of "defined" may 
not be portable [-Wexpansion-to-defined]
| In file included from ../../../src/libvpb/vpbapi.h:42:0,
|                  from ../../../src/utils/vpbecho.cpp:34:
| ../../../src/libvpb/vt_deprecated.h:55:28: warning: this use of "defined" may 
not be portable [-Wexpansion-to-defined]
|      #if VT_COMPILER_GCC(3,1)
|                             ^
| ../../../src/libvpb/vt_deprecated.h:55:28: warning: this use of "defined" may 
not be portable [-Wexpansion-to-defined]
| In file included from ../../../src/libvpb/vpbapi.h:42:0,
|                  from ../../../src/utils/raw2wav.cpp:26:
| ../../../src/libvpb/vt_deprecated.h:55:28: warning: this use of "defined" may 
not be portable [-Wexpansion-to-defined]
|      #if VT_COMPILER_GCC(3,1)
|                             ^
| ../../../src/libvpb/vt_deprecated.h:55:28: warning: this use of "defined" may 
not be portable [-Wexpansion-to-defined]
| In file included from ../../../src/libvpb/vpbapi.h:42:0,
|                  from ../../../src/utils/tonetrain.cpp:31:
| ../../../src/libvpb/vt_deprecated.h:55:28: warning: this use of "defined" may 
not be portable [-Wexpansion-to-defined]
|      #if VT_COMPILER_GCC(3,1)
|                             ^
| ../../../src/libvpb/vt_deprecated.h:55:28: warning: this use of "defined" may 
not be portable [-Wexpansion-to-defined]
| In file included from ../../../src/libvpb/vpbapi.h:42:0,
|                  from ../../../src/utils/scanerl.h:25,
|                  from ../../../src/utils/proslicerl.cpp:25:
| ../../../src/libvpb/vt_deprecated.h:55:28: warning: this use of "defined" may 
not be portable [-Wexpansion-to-defined]
|      #if VT_COMPILER_GCC(3,1)
|                             ^
| ../../../src/libvpb/vt_deprecated.h:55:28: warning: this use of "defined" may 
not be portable [-Wexpansion-to-defined]
| In file included from ../../../src/libvpb/vpbapi.h:42:0,
|                  from ../../../src/utils/sendcid.cpp:26:
| ../../../src/libvpb/vt_deprecated.h:55:28: warning: this use of "defined" may 
not be portable [-Wexpansion-to-defined]
|      #if VT_COMPILER_GCC(3,1)
|                             ^
| ../../../src/libvpb/vt_deprecated.h:55:28: warning: this use of "defined" may 
not be portable [-Wexpansion-to-defined]
| In file included from ../../../src/libvpb/vpbapi.h:42:0,
|                  from ../../../src/utils/tonegen.cpp:27:
| ../../../src/libvpb/vt_deprecated.h:55:28: warning: this use of "defined" may 
not be portable [-Wexpansion-to-defined]
|      #if VT_COMPILER_GCC(3,1)
|                             ^
| ../../../src/libvpb/vt_deprecated.h:55:28: warning: this use of "defined" may 
not be portable [-Wexpansion-to-defined]
| In file included from ../../../src/libvpb/vpbapi.h:42:0,
|                  from ../../../src/utils/playwav.cpp:27:
| ../../../src/libvpb/vt_deprecated.h:55:28: warning: this use of "defined" may 
not be portable [-Wexpansion-to-defined]
|      #if VT_COMPILER_GCC(3,1)
|                             ^
| ../../../src/libvpb/vt_deprecated.h:55:28: warning: this use of "defined" may 
not be portable [-Wexpansion-to-defined]
| ../../../src/utils/dtmfcheck.cpp: In function 'double dBFactor(double)':
| ../../../src/utils/dtmfcheck.cpp:52:46: error: 'pow10' was not declared in 
this scope
|  static double dBFactor( double db ) { return pow10( db / 20.0 ); }
|                                               ^~~~~
| ../../../src/utils/dtmfcheck.cpp:52:46: note: suggested alternative: 'powl'
|  static double dBFactor( double db ) { return pow10( db / 20.0 ); }
|                                               ^~~~~
|                                               powl
| x86_64-linux-gnu-g++ -pthread -L../../src/libvpb 
-Wl,-rpath-link,../../src/libtoneg raw2wav.o -lvpb -o raw2wav
| x86_64-linux-gnu-g++ -pthread -L../../src/libvpb 
-Wl,-rpath-link,../../src/libtoneg ringstat.o -lvpb -o ringstat
| <builtin>: recipe for target 'dtmfcheck.o' failed
| make[1]: *** [dtmfcheck.o] Error 1
| make[1]: *** Waiting for unfinished jobs....
| make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj_shared/src/utils'
| debian/rules:128: recipe for target 'build-arch-stamp' failed
| make: *** [build-arch-stamp] 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/vpb-driver_4.2.59-2_unstable_glibc-exp.log

Starting with glibc 2.27, the libm function pow10 is no longer
supported. The standard exp10 (from TS 18661-4:2015) should be used
instead. The attached patch fixes that.
--- vpb-driver-4.2.59.orig/src/utils/dtmfcheck.cpp
+++ vpb-driver-4.2.59/src/utils/dtmfcheck.cpp
@@ -49,7 +49,7 @@
        printf("  --block size  Granularity of analysis.  Default is 16000 
samples (2sec)\n");
 } //}}}
 
-static double dBFactor( double db ) { return pow10( db / 20.0 ); }
+static double dBFactor( double db ) { return exp10( db / 20.0 ); }
 
 static inline void LinearGain( double gain, int16_t *buf, size_t len )
 { //{{{

--- End Message ---
--- Begin Message ---
Source: vpb-driver
Source-Version: 4.2.60-1

We believe that the bug you reported is fixed in the latest version of
vpb-driver, 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.
Ron Lee <r...@debian.org> (supplier of updated vpb-driver 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: SHA256

Format: 1.8
Date: Mon, 02 Apr 2018 04:46:39 +0930
Source: vpb-driver
Binary: vpb-driver-source vpb-utils libvpb1 libvpb-dev libvpb-doc libvpb-dbg
Architecture: source amd64 all
Version: 4.2.60-1
Distribution: unstable
Urgency: medium
Maintainer: Ron Lee <r...@debian.org>
Changed-By: Ron Lee <r...@debian.org>
Description:
 libvpb-dbg - debugging symbols for libvpb and vpb-utils
 libvpb-dev - Voicetronix telephony hardware userspace library development file
 libvpb-doc - Voicetronix telephony interface library documentation
 libvpb1    - Voicetronix telephony hardware userspace interface library
 vpb-driver-source - Voicetronix telephony hardware driver source
 vpb-utils  - Voicetronix telephony hardware userspace tools
Closes: 866720 890671
Changes:
 vpb-driver (4.2.60-1) unstable; urgency=medium
 .
   * Minor tweaks for the linux 4.15 kernel.
   * Replace pow10() with exp10(), they are equivalent, except for the bit where
     exp10 got standardised in TS 18661-4:2015 and glibc 2.27 removed pow10.
     Closes: #890671
   * Pass -pthread using the correct modern idiom when building libtoneg.
     Using -lpthread there is wrong with modern toolchains, and breaks cross
     builds when make expands it to a full path for the build arch. #866720
     Closes: #866720
   * Sanitise the umask and mtime of the kernel source tarball, this should let
     this package be build reproducibly now.
Checksums-Sha1:
 1897e6e90888f50e4f2c3edc4fb8626ef296446d 2007 vpb-driver_4.2.60-1.dsc
 8405235781895ae2e8cd439c0176ce2c87ae8f97 687389 vpb-driver_4.2.60.orig.tar.gz
 fd88e686fb98381c4d83936d6e905d2a9bacf8fe 17400 vpb-driver_4.2.60-1.diff.gz
 667ee193a1a171f9e7991e03dab91739714a4d9b 1537756 libvpb-dbg_4.2.60-1_amd64.deb
 4500397a101717bcf7e9d476700921ecac4ac366 178356 libvpb-dev_4.2.60-1_amd64.deb
 c4ec0879866b056db0fb49e13b6b822e7f0e1b1d 5339484 libvpb-doc_4.2.60-1_all.deb
 09ed5c183f75cc99f409861097f98a89e56904f2 143032 libvpb1_4.2.60-1_amd64.deb
 cc50c910861504ecced58f84aab81567fb5d81df 86052 
vpb-driver-source_4.2.60-1_all.deb
 6aa429d7a02404de42bf1c350f32401b8e2f580b 8397 
vpb-driver_4.2.60-1_amd64.buildinfo
 7fb84dadd871704117e1b4a9606b4044a3624061 53716 vpb-utils_4.2.60-1_amd64.deb
Checksums-Sha256:
 ae5b8dd5184ed56c3a2f9260344a6074166a91066d344416be1cde8561391972 2007 
vpb-driver_4.2.60-1.dsc
 1520554105b4997eb3e4fd7c4b8ff89f0369b604ccc646031ed924ebc8a162f8 687389 
vpb-driver_4.2.60.orig.tar.gz
 a53c909d4a128acff659b6b5d9ae61f68e958deef195839852b6a92297c2febe 17400 
vpb-driver_4.2.60-1.diff.gz
 ad0d85576b1f8d48e67f8c756778f8ee3cf7ce6ecc5a843a7a10b7fabc20ca68 1537756 
libvpb-dbg_4.2.60-1_amd64.deb
 42d89a8472c7c689edf271ec759af12d66818caaeb41a35f04df48fb68f00689 178356 
libvpb-dev_4.2.60-1_amd64.deb
 8e181296b4dda2caa357aa892e32e0064864bb39ed3ed1e7fa7196e29bbdfd47 5339484 
libvpb-doc_4.2.60-1_all.deb
 c2ca5d08d74b5ee5f049f4722915f1d18529f76ad7e0a0a3cc688cd167fb5d63 143032 
libvpb1_4.2.60-1_amd64.deb
 38e8d1f13edc3db0c51c4fb7451421615e7fd7ef4af1057644662915ffb04403 86052 
vpb-driver-source_4.2.60-1_all.deb
 4714d7f599eb862bb447cb279e1a474e45eb132cd5929c00c92e8f0dd7eff5c9 8397 
vpb-driver_4.2.60-1_amd64.buildinfo
 023768a3555ea6d461eea5fad544b2960e910b3de60d8f96e9d59b14ccb3a7ad 53716 
vpb-utils_4.2.60-1_amd64.deb
Files:
 8ae30bf2a57909068b9a8f6870c463e1 2007 comm optional vpb-driver_4.2.60-1.dsc
 a704f998d25231d122385d8bd0a98d43 687389 comm optional 
vpb-driver_4.2.60.orig.tar.gz
 249e9013cf3c4faf459095ab7be1af05 17400 comm optional 
vpb-driver_4.2.60-1.diff.gz
 e07ebbc235f493fc6c6bd221bacbb36a 1537756 debug extra 
libvpb-dbg_4.2.60-1_amd64.deb
 19d849c62cdb00e61429fb66c8003a63 178356 libdevel optional 
libvpb-dev_4.2.60-1_amd64.deb
 ccc7b4148d207f9ee19e44e881fbab59 5339484 doc optional 
libvpb-doc_4.2.60-1_all.deb
 ca8305e6c33d70c0f40f6be4e62b2349 143032 libs optional 
libvpb1_4.2.60-1_amd64.deb
 ab82d57d8b3a62a571ff45213a5d994e 86052 kernel optional 
vpb-driver-source_4.2.60-1_all.deb
 649e2a76af21028bb3cd1a2fbd57a0e0 8397 comm optional 
vpb-driver_4.2.60-1_amd64.buildinfo
 fee997a2f0e40f931790403d3be0482b 53716 comm optional 
vpb-utils_4.2.60-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJawUDzAAoJECSWn9pgwHEsI+MP/jXfnS3qR482lnusOkBYNZR3
ft8RYXppXlK1NoJnbPJkCMFSGCwxvTBh8Y5Asai7XrrGshZaatQIerbDPcnQEE1J
ACZAnWv/pY5G1K8Y/JCeJdVI0P+j4Ux0MmKnfFJCvw8Az9a09WXQOIQLbCSV/hZO
XhlUhgB0NI5DNFnFBeEFaIwJCE+uh42r9prb0FACry1JCtd9hT2qt7BbkNwjBf5h
EvnydM4cPtRpDFE4Kt3kNk39fj1f2BdG0F66ODpzzn7BPhraiVRY/mNgqniQ63uo
HKxxkq+sPKUuvUxwRZ1ls6iLSAn1Et+2EJ1ktWFjMJzgl79vmizYzUy/jumyPDkX
jdbF6k9IrQgYezGqzcgR4uYS1rzAGPOS0lD7NRXaugxAxNNPBoCrPyxC3iSn2cwR
G+SFswnTMxDsZv4l/IaZslJiZpnWpjx00cJU4ISwpPzEaMWWnYWGFCpm9jr4wy77
Req5CnRZmNnVteqk+71Zx9KrNbrAHvvi2OEApM0tmyWUHSR7aBl3wUFcSEpcynZ9
4mY2BJITXQvnSB/0xtfPuPEU2+DbdfZUTXTnmxZV1CndJgW75lLQ0tk8GhQzxjVW
EkEFxky7llm/ZF1T0nWiJ+3ssPxzmhoJdExNMiUhEuR7AqaYoGK+ccNB5IRoRjne
41W+t27EknqFxhRH+hkz
=T3JT
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to