Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 639592 - media-radio/svxlink-15.11 : /.../AsyncAudioDeviceAlsa.cpp:551:36: error: call of overloaded abs(unsigned int) is ambiguous
Summary: media-radio/svxlink-15.11 : /.../AsyncAudioDeviceAlsa.cpp:551:36: error: call...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Thomas Beierlein
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-03 10:21 UTC by Toralf Förster
Modified: 2017-12-27 17:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.67 KB, text/plain)
2017-12-03 10:21 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,173.71 KB, text/plain)
2017-12-03 10:21 UTC, Toralf Förster
Details
environment (environment,136.43 KB, text/plain)
2017-12-03 10:21 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.58 KB, application/x-bzip)
2017-12-03 10:21 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.71 KB, application/x-bzip)
2017-12-03 10:21 UTC, Toralf Förster
Details
media-radio:svxlink-15.11:20171203-100047.log (media-radio:svxlink-15.11:20171203-100047.log,58.59 KB, text/plain)
2017-12-03 10:21 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,35.53 KB, application/x-bzip)
2017-12-03 10:21 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-12-03 10:21:26 UTC
/var/tmp/portage/media-radio/svxlink-15.11/work/svxlink-15.11/src/async/audio/AsyncAudioDeviceAlsa.cpp: In member function ‘bool Async::AudioDeviceAlsa::initParams(snd_pcm_t*)’:
/var/tmp/portage/media-radio/svxlink-15.11/work/svxlink-15.11/src/async/audio/AsyncAudioDeviceAlsa.cpp:551:36: error: call of overloaded ‘abs(unsigned int)’ is ambiguous
   if (::abs(real_rate - sample_rate) > 100)
                                    ^
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include/g++-v7/cstdlib:75:0,

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma-systemd_20171128-221357

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python3.5 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv media-radio/svxlink
[ebuild  N    ] media-radio/svxlink-15.11
Comment 1 Toralf Förster gentoo-dev 2017-12-03 10:21:29 UTC
Created attachment 507858 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-12-03 10:21:33 UTC
Created attachment 507860 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-12-03 10:21:36 UTC
Created attachment 507862 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-12-03 10:21:40 UTC
Created attachment 507864 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-12-03 10:21:43 UTC
Created attachment 507866 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-12-03 10:21:46 UTC
Created attachment 507868 [details]
media-radio:svxlink-15.11:20171203-100047.log
Comment 7 Toralf Förster gentoo-dev 2017-12-03 10:21:49 UTC
Created attachment 507870 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2017-12-27 17:46:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ca6aa99f6e02dc23c1b27269c681a67cada472e

commit 0ca6aa99f6e02dc23c1b27269c681a67cada472e
Author:     Thomas Beierlein <tomjbe@gentoo.org>
AuthorDate: 2017-12-27 17:40:46 +0000
Commit:     Thomas Beierlein <tomjbe@gentoo.org>
CommitDate: 2017-12-27 17:46:15 +0000

    media-radio/svxlink: Backport fix for newer gcc from github.
    
    Thanks toralf.
    
    Closes: https://bugs.gentoo.org/639592
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 media-radio/svxlink/files/svxlink-15.11-gcc72.patch | 12 ++++++++++++
 media-radio/svxlink/svxlink-15.11.ebuild            |  5 ++++-
 2 files changed, 16 insertions(+), 1 deletion(-)