Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 638348 - media-video/vdr-2.2.0-r1 : dvbdevice.c:848:31: error: call of overloaded abs(unsigned int&) is ambiguous
Summary: media-video/vdr-2.2.0-r1 : dvbdevice.c:848:31: error: call of overloaded abs(...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Stabilization (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo VDR Project
URL:
Whiteboard:
Keywords: STABLEREQ
: 673228 690722 (view as bug list)
Depends on:
Blocks: 689030
  Show dependency tree
 
Reported: 2017-11-21 18:20 UTC by Toralf Förster
Modified: 2019-07-26 09:17 UTC (History)
3 users (show)

See Also:
Package list:
media-video/vdr-2.2.0-r3
Runtime testing required: ---
stable-bot: sanity-check+


Attachments
emerge-info.txt (emerge-info.txt,15.52 KB, text/plain)
2017-11-21 18:20 UTC, Toralf Förster
no flags Details
emerge-history.txt (emerge-history.txt,70.01 KB, text/plain)
2017-11-21 18:20 UTC, Toralf Förster
no flags Details
environment (environment,95.71 KB, text/plain)
2017-11-21 18:20 UTC, Toralf Förster
no flags Details
etc.portage.tbz2 (etc.portage.tbz2,12.21 KB, application/x-bzip)
2017-11-21 18:20 UTC, Toralf Förster
no flags Details
media-video:vdr-2.2.0-r1:20171120-182446.log (media-video:vdr-2.2.0-r1:20171120-182446.log,9.28 KB, text/plain)
2017-11-21 18:20 UTC, Toralf Förster
no flags Details
temp.tbz2 (temp.tbz2,25.15 KB, application/x-bzip)
2017-11-21 18:20 UTC, Toralf Förster
no flags Details
vdr-2.2.0-gcc72.patch (vdr-2.2.0-gcc72.patch,4.42 KB, patch)
2017-11-22 08:04 UTC, Marco Genasci
no flags Details | Diff
emerge-info.txt (emerge-info.txt,14.89 KB, text/plain)
2019-07-25 18:41 UTC, Toralf Förster
no flags Details
emerge-history.txt (emerge-history.txt,102 bytes, text/plain)
2019-07-25 18:41 UTC, Toralf Förster
no flags Details
environment (environment,93.64 KB, text/plain)
2019-07-25 18:41 UTC, Toralf Förster
no flags Details
etc.portage.tbz2 (etc.portage.tbz2,11.25 KB, application/x-bzip)
2019-07-25 18:41 UTC, Toralf Förster
no flags Details
media-video:vdr-2.2.0-r1:20190724-223540.log (media-video:vdr-2.2.0-r1:20190724-223540.log,9.41 KB, text/plain)
2019-07-25 18:41 UTC, Toralf Förster
no flags Details
temp.tbz2 (temp.tbz2,24.10 KB, application/x-bzip)
2019-07-25 18:41 UTC, Toralf Förster
no flags 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-11-21 18:20:39 UTC
x86_64-pc-linux-gnu-g++ -Werror=terminate -O2 -pipe -march=native -fPIC -c -DCONFDIR=\"/etc/vdr\" -DUSE_PLUGINMISSING -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DREMOTE_KBD -DSDNOTIFY -DLIRC_DEVICE=\"/var/run/lirc/lircd\" -DVIDEODIR=\"/var/vdr/video\" -DCONFDIR=\"/etc/vdr\" -DARGSDIR=\"/etc/vdr/conf.d\" -DCACHEDIR=\"/var/cache/vdr\" -DRESDIR=\"/usr/share/vdr\" -DPLUGINDIR=\"/usr/lib64/vdr/plugins\" -DLOCDIR=\"/usr/share/locale\" -I/usr/include/freetype2 -I/usr/include -I/usr/include  -o dvbdevice.o dvbdevice.c
dvbdevice.c: In member function ‘bool cDvbTuner::SetFrontend()’:
dvbdevice.c:848:31: error: call of overloaded ‘abs(unsigned int&)’ is ambiguous
      frequency = abs(frequency); // Allow for C-band, where the frequency is less than the LOF
                               ^
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: 13.0-desktop-plasma-systemd_test_20171118-222131

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

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

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)

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-video/vdr
[ebuild  N    ] media-video/vdr-2.2.0-r1  USE="kbd systemd -alternatechannel -bidi -debug -graphtft -html -mainmenuhooks -menuorg -menuselection -naludump -permashift_v1 -pinplugin -resumereset -ttxtsubs -vanilla"
Comment 1 Toralf Förster gentoo-dev 2017-11-21 18:20:42 UTC
Created attachment 505294 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-11-21 18:20:45 UTC
Created attachment 505296 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-11-21 18:20:48 UTC
Created attachment 505298 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-11-21 18:20:51 UTC
Created attachment 505300 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-11-21 18:20:54 UTC
Created attachment 505302 [details]
media-video:vdr-2.2.0-r1:20171120-182446.log
Comment 6 Toralf Förster gentoo-dev 2017-11-21 18:20:57 UTC
Created attachment 505304 [details]
temp.tbz2
Comment 7 Marco Genasci 2017-11-22 08:04:30 UTC
Created attachment 505604 [details, diff]
vdr-2.2.0-gcc72.patch

Attached patch file for compile vdr 2.2.0 with gcc-7.2.
Upstream fix on version 2.2.3

Reference:
https://www.linuxtv.org/pipermail/vdr/2017-March/029229.html
Comment 8 Joerg Bornkessel (RETIRED) gentoo-dev 2018-07-15 15:12:06 UTC
fixed in vdr-2.2.0-r3

but i am afraid there are some issues in extpatch-ng too.
the provided patch affects only the core vdr.
In the moment i don't have a gcc-7.x on my system to test it fullfilled

Thanks Makro for the link to the patch
Comment 9 Joerg Bornkessel (RETIRED) gentoo-dev 2018-08-29 10:43:43 UTC
(In reply to Joerg Bornkessel from comment #8)
> fixed in vdr-2.2.0-r3
> 
> but i am afraid there are some issues in extpatch-ng too.
> the provided patch affects only the core vdr.
> In the moment i don't have a gcc-7.x on my system to test it fullfilled
> 
> Thanks Makro for the link to the patch

s:Makro:Marko:

extpatchng needs also an aditional patch in USE=menuselection part,
this is also fixed now
compiles fine with gcc-8.2.0
Comment 10 Toralf Förster gentoo-dev 2019-07-25 18:41:36 UTC
it is still an issue at stable amd64 tinderbox image 17.1-stable_abi32+64-20190723-223418
Comment 11 Toralf Förster gentoo-dev 2019-07-25 18:41:39 UTC
Created attachment 584500 [details]
emerge-info.txt
Comment 12 Toralf Förster gentoo-dev 2019-07-25 18:41:41 UTC
Created attachment 584502 [details]
emerge-history.txt
Comment 13 Toralf Förster gentoo-dev 2019-07-25 18:41:44 UTC
Created attachment 584504 [details]
environment
Comment 14 Toralf Förster gentoo-dev 2019-07-25 18:41:47 UTC
Created attachment 584506 [details]
etc.portage.tbz2
Comment 15 Toralf Förster gentoo-dev 2019-07-25 18:41:50 UTC
Created attachment 584508 [details]
media-video:vdr-2.2.0-r1:20190724-223540.log
Comment 16 Toralf Förster gentoo-dev 2019-07-25 18:41:53 UTC
Created attachment 584510 [details]
temp.tbz2
Comment 17 Andreas Sturmlechner gentoo-dev 2019-07-25 19:15:32 UTC
*** Bug 673228 has been marked as a duplicate of this bug. ***
Comment 18 Andreas Sturmlechner gentoo-dev 2019-07-25 19:16:01 UTC
*** Bug 690722 has been marked as a duplicate of this bug. ***
Comment 19 Andreas Sturmlechner gentoo-dev 2019-07-25 19:18:02 UTC
So why not stabilise the known fixed version then...............
Comment 20 Agostino Sarubbo gentoo-dev 2019-07-26 08:38:19 UTC
amd64 stable
Comment 21 Agostino Sarubbo gentoo-dev 2019-07-26 09:17:44 UTC
x86 stable. Closing.