[kde-freebsd] Unable to build deskutils/kdepimlibs4

Adriaan de Groot groot at kde.org
Sat Jan 5 01:17:50 UTC 2013


On Friday, January 04, 2013 07:24:28 PM Jerry wrote:
> Following the directions in UPDATING, I used the following command:
> 
> 	portupgrade -fr devel/libical
> 
> That port updated correctly; however, the next port:

> The entire build log is available here:
> 
> 	https://www.seibercom.net/logs/kdep.txt
> 
> I do not see an obvious reason for the build failure. I tried it three
> times including doing a distclean and updating the ports tree.


There is an obvious reason, but you have to scroll back a ways in the log:

 /usr/ports/deskutils/kdepimlibs4/work/kdepimlibs-4.8.4/kioslave/smtp/command.cpp
In file included from 
/usr/ports/deskutils/kdepimlibs4/work/kdepimlibs-4.8.4/kioslave/smtp/command.h:37,
                 from 
/usr/ports/deskutils/kdepimlibs4/work/kdepimlibs-4.8.4/kioslave/smtp/command.cpp:32:
/usr/local/include/sasl/sasl.h:228: error: typedef 'sasl_malloc_t' is 
initialized (use __typeof__ instead)
/usr/local/include/sasl/sasl.h:228: error: 'size_t' was not declared in this 
scope


This is because of the new sasl port, which does not include all the headers 
it needs in its own headers (e.g. defining size_t). You can patch 
/usr/local/include/sasl/sasl.h to fix that, or patch command.cpp to #include 
the right headers before sasl.h.

[ade]


More information about the kde-freebsd mailing list