Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 647556 - media-libs/libraw-0.18.7 : /.../dcraw_common.cpp:6830:80: error: call of overloaded powf64(int, int) is ambiguous
Summary: media-libs/libraw-0.18.7 : /.../dcraw_common.cpp:6830:80: error: call of over...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Graphics Project
URL: https://github.com/LibRaw/LibRaw/pull...
Whiteboard:
Keywords:
Depends on:
Blocks: glibc-2.27
  Show dependency tree
 
Reported: 2018-02-13 20:07 UTC by Toralf Förster
Modified: 2018-02-18 09:49 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.69 KB, text/plain)
2018-02-13 20:07 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,97.84 KB, text/plain)
2018-02-13 20:07 UTC, Toralf Förster
Details
environment (environment,61.78 KB, text/plain)
2018-02-13 20:07 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.41 KB, application/x-bzip)
2018-02-13 20:07 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,7.47 KB, application/x-bzip)
2018-02-13 20:07 UTC, Toralf Förster
Details
media-libs:libraw-0.18.7:20180213-195544.log (media-libs:libraw-0.18.7:20180213-195544.log,24.35 KB, text/plain)
2018-02-13 20:07 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,19.78 KB, application/x-bzip)
2018-02-13 20:07 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 2018-02-13 20:07:04 UTC
                            ^~~~~~~~
/var/tmp/portage/media-libs/libraw-0.18.7/work/LibRaw-0.18.7/internal/dcraw_common.cpp: In member function ‘void LibRaw::PentaxLensInfo(unsigned int, unsigned int)’:
/var/tmp/portage/media-libs/libraw-0.18.7/work/LibRaw-0.18.7/internal/dcraw_common.cpp:6830:80: error: call of overloaded ‘powf64(int, int)’ is ambiguous
    10*(table_buf[iLensData+9]>>2) * powf64(4, (table_buf[iLensData+9] & 0x03)-2);
                                                                                ^
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/cmath:45:0,

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop_libressl_20180211-103039

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

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

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
  [3]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems)
  [2]   ruby23 (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-libs/libraw
[ebuild  N    ] media-libs/libraw-0.18.6  USE="jpeg lcms openmp -demosaic -examples -jpeg2k" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2018-02-13 20:07:07 UTC
Created attachment 519372 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-02-13 20:07:10 UTC
Created attachment 519374 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-02-13 20:07:14 UTC
Created attachment 519376 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-02-13 20:07:17 UTC
Created attachment 519378 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-02-13 20:07:20 UTC
Created attachment 519380 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-02-13 20:07:23 UTC
Created attachment 519382 [details]
media-libs:libraw-0.18.7:20180213-195544.log
Comment 7 Toralf Förster gentoo-dev 2018-02-13 20:07:26 UTC
Created attachment 519384 [details]
temp.tbz2
Comment 8 Sergei Trofimovich (RETIRED) gentoo-dev 2018-02-18 09:21:47 UTC
Proposed change upstream as: https://github.com/LibRaw/LibRaw/pull/115
Comment 9 Larry the Git Cow gentoo-dev 2018-02-18 09:49:28 UTC
The bug has been closed via the following commit(s):

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

commit 23a185e1b261116feeea69568134b873a09e4398
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2018-02-18 09:48:53 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2018-02-18 09:49:21 +0000

    media-libs/libraw: fix build failure against glibc-2.27, bug #647556
    
    Closes: https://bugs.gentoo.org/647556
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 media-libs/libraw/files/libraw-0.18.4-glibc-2.27.patch | 14 ++++++++++++++
 media-libs/libraw/libraw-0.18.4.ebuild                 |  6 +++++-
 media-libs/libraw/libraw-0.18.6.ebuild                 |  6 +++++-
 media-libs/libraw/libraw-0.18.7.ebuild                 |  4 ++++
 4 files changed, 28 insertions(+), 2 deletions(-)