Re: [kde-freebsd] Unable to build deskutils/kdepimlibs4

2013-01-05 Thread Koop Mast

On 5-1-2013 2:17, Adriaan de Groot wrote:

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]


Currect, however it was fixed in rev 309488 8 days ago in the sasl port 
itself. So other hacks are not needed anymore. I suspect Jerry needs to 
update his cyrus-sasl port and maybe even his ports tree if the fix 
isn't there.


http://svnweb.freebsd.org/ports/head/security/cyrus-sasl2/Makefile?view=log
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] Unable to build deskutils/kdepimlibs4

2013-01-05 Thread Hajimu UMEMOTO
Hi,

 On Sat, 05 Jan 2013 02:17:50 +0100
 Adriaan de Groot gr...@kde.org said:

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


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

This issue should be fixed in the latest cyrus-sasl2 port
(cyrus-sasl-2.1.26_2).  I suspect you have slightly old version of
cyrus-sasl2 port installed.

Sincerely,

--
Hajimu UMEMOTO
u...@mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.mahoroba.org/~ume/
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] Unable to build deskutils/kdepimlibs4

2013-01-04 Thread Adriaan de Groot
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]
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information