Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 638392

Summary: media-gfx/inkscape-0.92.1-r1 : ui/.../flood-tool.cpp:235:49: error: call of overloaded abs(guint32) is ambiguous
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Graphics Project <graphics+disabled>
Status: RESOLVED DUPLICATE    
Severity: normal CC: harrisl, jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
media-gfx:inkscape-0.92.1-r1:20171121-194314.log.bz2
temp.tbz2

Description Toralf Förster gentoo-dev 2017-11-21 21:01:24 UTC
                                    ^~~~~
ui/tools/flood-tool.cpp: In function ‘bool Inkscape::UI::Tools::compare_pixels(guint32, guint32, guint32, guint32, int, Inkscape::UI::Tools::PaintBucketChannels)’:
ui/tools/flood-tool.cpp:235:49: error: call of overloaded ‘abs(guint32)’ is ambiguous
             return abs(static_cast<int>(ac) - ao) <= threshold;
                                                 ^
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-gnome-systemd_20171119-230025

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

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)
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-gfx/inkscape
[ebuild  N    ] media-gfx/inkscape-0.92.1-r1  USE="cdr dbus exif gnome jpeg lcms nls openmp spell -dia -imagemagick -inkjar -latex -postscript -static-libs -visio -wpg" PYTHON_TARGETS="python2_7"
Comment 1 Toralf Förster gentoo-dev 2017-11-21 21:01:27 UTC
Created attachment 505552 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-11-21 21:01:31 UTC
Created attachment 505554 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-11-21 21:01:36 UTC
Created attachment 505556 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-11-21 21:01:40 UTC
Created attachment 505558 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-11-21 21:01:44 UTC
Created attachment 505560 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-11-21 21:01:47 UTC
Created attachment 505562 [details]
media-gfx:inkscape-0.92.1-r1:20171121-194314.log.bz2
Comment 7 Toralf Förster gentoo-dev 2017-11-21 21:01:51 UTC
Created attachment 505564 [details]
temp.tbz2
Comment 8 Tiziano Müller (RETIRED) gentoo-dev 2017-11-22 07:38:08 UTC
upstream has a fix: https://gitlab.com/inkscape/inkscape/commit/3876176ec28cac3b70f0b330b760aaa561236ee7
Comment 9 Jonas Stein gentoo-dev 2018-01-07 22:43:03 UTC

*** This bug has been marked as a duplicate of bug 618350 ***