Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Jan 2013 02:17:50 +0100
From:      Adriaan de Groot <groot@kde.org>
To:        kde-freebsd@kde.org, freebsd-ports@freebsd.org
Cc:        kde@freebsd.org
Subject:   Re: [kde-freebsd] Unable to build deskutils/kdepimlibs4
Message-ID:  <7089535.AmZk0OKFcR@sausage>
In-Reply-To: <20130104192428.38e306b3@scorpio>
References:  <20130104192428.38e306b3@scorpio>

next in thread | previous in thread | raw e-mail | index | archive | help
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]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7089535.AmZk0OKFcR>