x11/kdelibs4: /usr/local/include/grantlee/typeaccessor.h:70:40: error: no matching function for call to 'distance' return

Raphael Kubo da Costa rakuco at FreeBSD.org
Mon Sep 9 01:03:38 UTC 2013


Raphael Kubo da Costa <rakuco at FreeBSD.org> writes:

> "O. Hartmann" <ohartman at zedat.fu-berlin.de> writes:
>
>> After a messy "iconv" orgy update session, I update yesterday
>> x11/kdelib4 successfully. After updating the OS to
>>
>>  FreeBSD 10.0-CURRENT #2 r255356: Sat Sep  7 13:04:03 CEST 2013 amd64
>>
>> today, I run today surprisingly into this error:
>>
>> [...]
>> In file included
>> from /usr/ports/x11/kdelibs4/work/kdelibs-4.10.5/kdeui/tests/proxymodeltestsuite/modeleventlogger.cpp:33:
>> In file included from /usr/local/include/grantlee_core.h:24: In file
>> included from /usr/local/include/grantlee_templates.h:34: In file
>> included
>> from /usr/local/include/grantlee/metatype.h:27: /usr/local/include/grantlee/typeaccessor.h:70:40:
>>
>> error: no matching function for call to 'distance' return
>> QVariant::fromValue<int>( std::distance( container.begin(),
>> container.end() ) );
>> [...]
>>
>> grantlee has also been update successfully, I recompiled it today again
>> successfulyy, but without any success.
>
> Are you using libc++ and is the error message much bigger than that?
> I've fixed that one in Qt and the patch is part of 4.8.5. I'll see how
> much work is left to bring in 4.8.5 into ports.

Fixed in r326778.



More information about the freebsd-ports mailing list