Created attachment 444450 [details] build log for kodi-16.0 using gcc-6.2.0 After upgrading gcc to version 6.2.0 I cannot build media-tv/kodi-16.0 anymore. Error snippet: > In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/deque:60:0, > from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/queue:60, > from ximadsp.cpp:3480: > /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_algobase.h:243:56: error: macro "min" passed 3 arguments, but takes just 2 > min(const _Tp& __a, const _Tp& __b, _Compare __comp) > ^ > /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_algobase.h:265:56: error: macro "max" passed 3 arguments, but takes just 2 > max(const _Tp& __a, const _Tp& __b, _Compare __comp) > ^ I can build kodi without any problems with gcc-5.4.0. -------------------- # emerge -pv kodi These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] media-tv/kodi-16.0::gentoo USE="X alsa css dbus opengl pulseaudio samba texturepacker udisks upower usb -airplay -avahi -bluetooth -bluray -caps -cec -debug -gles -java -joystick -midi -mysql -nfs -profile -rtmp -sftp {-test} -upnp -vaapi -vdpau -webserver" PYTHON_TARGETS="python2_7" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB
Created attachment 444452 [details] emerge --info
cximage was removed from master branch upstream. Nonetheless, there is a pull request: https://github.com/xbmc/xbmc/pull/9703
*** Bug 598456 has been marked as a duplicate of this bug. ***
I can reproduce the same error with media-tv/kodi-16.1
Created attachment 454826 [details, diff] Dirty fix to kodi sources. Find the attached patch (tested with kodi 16.1). ciao luigi
Created attachment 454888 [details, diff] Rename max/maximum min/minimum to avoid conflicts with gcc New patch.
same here amd64-13.0-systemd-unstable_20161203-103941//tmp/issues/20161211-104149_media-tv_kodi-16.1
included in https://github.com/gentoo/gentoo/pull/3513 Thank you for this bug report and the patch fixing the issue!