Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 705372 - media-plugins/vdr-mp3ng-0.0.1_pre5-r2 : player-mp3.c:1438:23: error: call of overloaded abs(unsigned int) is ambiguous
Summary: media-plugins/vdr-mp3ng-0.0.1_pre5-r2 : player-mp3.c:1438:23: error: call of ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo VDR Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-13 18:26 UTC by Toralf Förster
Modified: 2020-01-14 22:22 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,14.78 KB, text/plain)
2020-01-13 18:26 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,34.28 KB, text/plain)
2020-01-13 18:26 UTC, Toralf Förster
Details
environment (environment,89.69 KB, text/plain)
2020-01-13 18:26 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.18 KB, application/x-bzip)
2020-01-13 18:26 UTC, Toralf Förster
Details
media-plugins:vdr-mp3ng-0.0.1_pre5-r2:20200113-115321.log (media-plugins:vdr-mp3ng-0.0.1_pre5-r2:20200113-115321.log,38.67 KB, text/plain)
2020-01-13 18:26 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,26.69 KB, application/x-bzip)
2020-01-13 18:26 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 2020-01-13 18:26:21 UTC
      |                                                               ^~~~~~~~
player-mp3.c: In member function ‘bool cOutputOss::Reset(unsigned int)’:
player-mp3.c:1438:23: error: call of overloaded ‘abs(unsigned int)’ is ambiguous
 1438 |         if(abs(real-sr)<sr/50) {
      |                       ^
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/cstdlib:75,

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib_hardened-20200112-181843

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

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


llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *




repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Mon, 13 Jan 2020 10:47:45 +0000

emerge -qpvO media-plugins/vdr-mp3ng
[ebuild  N    ] media-plugins/vdr-mp3ng-0.0.1_pre5-r2  USE="oss -vorbis"
Comment 1 Toralf Förster gentoo-dev 2020-01-13 18:26:23 UTC
Created attachment 603204 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-13 18:26:26 UTC
Created attachment 603206 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-13 18:26:28 UTC
Created attachment 603208 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-13 18:26:31 UTC
Created attachment 603210 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-13 18:26:34 UTC
Created attachment 603212 [details]
media-plugins:vdr-mp3ng-0.0.1_pre5-r2:20200113-115321.log
Comment 6 Toralf Förster gentoo-dev 2020-01-13 18:26:36 UTC
Created attachment 603214 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-01-14 22:22:42 UTC
The bug has been closed via the following commit(s):

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

commit cebd12ce4bd68a1dda645bed0c750f2235772409
Author:     Joerg Bornkessel <hd_brummy@gentoo.org>
AuthorDate: 2020-01-14 22:22:06 +0000
Commit:     Joerg Bornkessel <hd_brummy@gentoo.org>
CommitDate: 2020-01-14 22:22:06 +0000

    media-plugins/vdr-mp3ng: gcc-9.x compile fix for use-flag oss
    
    Closes: https://bugs.gentoo.org/705372
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org>

 .../files/vdr-mp3ng-0.0.1_pre5_gcc-9.patch         | 19 ++++++
 .../vdr-mp3ng/vdr-mp3ng-0.0.1_pre5-r3.ebuild       | 73 ++++++++++++++++++++++
 2 files changed, 92 insertions(+)