* Package: dev-util/bdelta-0.3.1 * Repository: gentoo * Maintainer: slyfox@gentoo.org tools-portage@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Source unpacked in /var/tmp/portage/dev-util/bdelta-0.3.1/work >>> Preparing source in /var/tmp/portage/dev-util/bdelta-0.3.1/work/bdelta-0.3.1 ... * Applying bdelta-0.3.1-soname.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-util/bdelta-0.3.1/work/bdelta-0.3.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-util/bdelta-0.3.1/work/bdelta-0.3.1 ... make -j1 -C src CXX=x86_64-pc-linux-gnu-g++ 'CXXFLAGS=-march=native -O2 -pipe' make: Entering directory '/var/tmp/portage/dev-util/bdelta-0.3.1/work/bdelta-0.3.1/src' x86_64-pc-linux-gnu-g++ bpatch.cpp -o bpatch -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed x86_64-pc-linux-gnu-g++ -shared -fPIC -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-soname,libbdelta.so libbdelta.cpp -o libbdelta.so libbdelta.cpp: In function ‘void bdelta_pass(BDelta_Instance*, unsigned int, unsigned int, unsigned int, unsigned int)’: libbdelta.cpp:424:57: error: call of overloaded ‘next(std::__cxx11::list::iterator&)’ is ambiguous if (! (flags & BDELTA_SIDES_ORDERED) || (next(u1.ml) == u1.mr && next(u2.ml) == u2.mr)) ^ libbdelta.cpp:121:10: note: candidate: T next(T) [with T = std::_List_iterator] inline T next(T i) {return ++i;} ^~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_algobase.h:66:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/list:60, from libbdelta.cpp:18: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_iterator_base_funcs.h:205:5: note: candidate: _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type) [with _ForwardIterator = std::_List_iterator; typename std::iterator_traits<_Iter>::difference_type = long int] next(_ForwardIterator __x, typename ^~~~ libbdelta.cpp:424:81: error: call of overloaded ‘next(std::__cxx11::list::iterator&)’ is ambiguous flags & BDELTA_SIDES_ORDERED) || (next(u1.ml) == u1.mr && next(u2.ml) == u2.mr)) ^ libbdelta.cpp:121:10: note: candidate: T next(T) [with T = std::_List_iterator] inline T next(T i) {return ++i;} ^~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_algobase.h:66:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/list:60, from libbdelta.cpp:18: /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_iterator_base_funcs.h:205:5: note: candidate: _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type) [with _ForwardIterator = std::_List_iterator; typename std::iterator_traits<_Iter>::difference_type = long int] next(_ForwardIterator __x, typename ^~~~ make: *** [Makefile:23: libbdelta.so] Error 1 make: Leaving directory '/var/tmp/portage/dev-util/bdelta-0.3.1/work/bdelta-0.3.1/src' * ERROR: dev-util/bdelta-0.3.1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-util/bdelta-0.3.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-util/bdelta-0.3.1::gentoo'`. * The complete build log is located at '/var/log/portage/dev-util:bdelta-0.3.1:20160918-161328.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-util/bdelta-0.3.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/bdelta-0.3.1/temp/environment'. * Working directory: '/var/tmp/portage/dev-util/bdelta-0.3.1/work/bdelta-0.3.1' * S: '/var/tmp/portage/dev-util/bdelta-0.3.1/work/bdelta-0.3.1'