Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 638392 - media-gfx/inkscape-0.92.1-r1 : ui/.../flood-tool.cpp:235:49: error: call of overloaded abs(guint32) is ambiguous
Summary: media-gfx/inkscape-0.92.1-r1 : ui/.../flood-tool.cpp:235:49: error: call of o...
Status: RESOLVED DUPLICATE of bug 618350
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-21 21:01 UTC by Toralf Förster
Modified: 2018-01-07 22:43 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.65 KB, text/plain)
2017-11-21 21:01 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,80.34 KB, text/plain)
2017-11-21 21:01 UTC, Toralf Förster
Details
environment (environment,156.22 KB, text/plain)
2017-11-21 21:01 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.80 KB, application/x-bzip)
2017-11-21 21:01 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,18.05 KB, application/x-bzip)
2017-11-21 21:01 UTC, Toralf Förster
Details
media-gfx:inkscape-0.92.1-r1:20171121-194314.log.bz2 (media-gfx:inkscape-0.92.1-r1:20171121-194314.log.bz2,44.29 KB, application/x-bzip)
2017-11-21 21:01 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,82.83 KB, application/x-bzip)
2017-11-21 21:01 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-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 ***