Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 585554 - media-plugins/caps-plugins-0.9.15 fails to build with GCC 6: call of overloaded 'div(uint&, uint&)' is ambiguous
Summary: media-plugins/caps-plugins-0.9.15 fails to build with GCC 6: call of overload...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Professional Audio Applications Maintainers
Depends on:
Blocks: gcc-6
  Show dependency tree
Reported: 2016-06-10 21:26 UTC by Aric Belsito
Modified: 2017-09-26 19:59 UTC (History)
0 users

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

Proposed patch. (caps-0.9.15-gcc6-div.patch,462 bytes, patch)
2016-06-10 21:26 UTC, Aric Belsito
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aric Belsito 2016-06-10 21:26:24 UTC
Created attachment 437090 [details, diff]
Proposed patch.

Build-time failure because caps-plugins passes unsigned integers into a call to div, while the C standard has div implemented for int's, long's and long long's.
Comment 1 Aric Belsito 2016-06-10 21:26:40 UTC
Debian bug:
Comment 2 David Seifert gentoo-dev 2016-09-16 08:16:39 UTC
commit 18c01435cb944c9686562aa62908e361039ae807
Author: David Seifert <>
Date:   Fri Sep 16 10:15:46 2016 +0200

    media-plugins/caps-plugins: Allow for compiling with GCC 6
    Gentoo-bug: 585554
    * EAPI=6
    * Patch borrowed from Debian