Bug#339666: marked as done (kdepim fails to build)
Your message dated Tue, 17 Jan 2006 09:52:47 -0500
with message-id <43CD04BF.8020301@vif.com>
and subject line Should be fixed
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 17 Nov 2005 21:22:39 +0000
>From synaptics@iwilcox.me.uk Thu Nov 17 13:22:39 2005
Return-path: <synaptics@iwilcox.me.uk>
Received: from smarthost1.mail.uk.easynet.net ([212.135.6.11])
by spohr.debian.org with esmtp (Exim 4.50)
id 1EcrDK-0007qs-Sg
for submit@bugs.debian.org; Thu, 17 Nov 2005 13:22:39 -0800
Received: from [217.207.128.220] (helo=pennyblack.transitives.com)
by smarthost1.mail.uk.easynet.net with esmtp (Exim 4.10)
id 1EcrDJ-0007WH-00; Thu, 17 Nov 2005 21:22:37 +0000
Received: from 82-68-159-6.dsl.in-addr.zen.co.uk ([82.68.159.6] helo=ymir)
by pennyblack.transitives.com with esmtp (Exim 4.50)
id 1EcrBM-0007AL-1H; Thu, 17 Nov 2005 21:20:36 +0000
Received: from zak by ymir with local (Exim 4.54)
id 1EcrDH-000811-4Z; Thu, 17 Nov 2005 21:22:35 +0000
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="UTF-8"
From: Isaac Wilcox <synaptics@iwilcox.me.uk>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: kdepim fails to build
X-Mailer: reportbug 3.17
Date: Thu, 17 Nov 2005 21:22:35 +0000
Message-Id: <E1EcrDH-000811-4Z@ymir>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2005_01_02
Package: kmail
Version: 4:3.4.2-2
Severity: important
Justification: fails to build from source
Hi,
The kdepim suite fails to build from source for me.
I'm using g++-4.0, version 4.0.2-4, and building with:
fakeroot apt-get -b source kmail
There are two failures. First is when compiling
kdepim-3.4.2/build-tree/kdepim-3.4.2/kitchensync/libksync/syncentry.cpp:
g++
[blah]
-c /home/zak/kmail/kdepim-3.4.2/build-tree/kdepim-3.4.2/kitchensync/libksync/syncentry.cpp -fPIC -DPIC -o .libs/syncentry.o
/home/zak/kmail/kdepim-3.4.2/build-tree/kdepim-3.4.2/kitchensync/libksync/merger.h:
In member function 'M* KSync::Merger::otherMerger(KSync::SyncEntry*)':
/home/zak/kmail/kdepim-3.4.2/build-tree/kdepim-3.4.2/kitchensync/libksync/merger.h:106:
error: invalid use of undefined type 'struct KSync::Syncee'
/home/zak/kmail/kdepim-3.4.2/build-tree/kdepim-3.4.2/kitchensync/libksync/syncentry.h:35:
error: forward declaration of 'struct KSync::Syncee'
/home/zak/kmail/kdepim-3.4.2/build-tree/kdepim-3.4.2/kitchensync/libksync/merger.h:108:
error: invalid use of undefined type 'struct KSync::Syncee'
/home/zak/kmail/kdepim-3.4.2/build-tree/kdepim-3.4.2/kitchensync/libksync/syncentry.h:35:
error: forward declaration of 'struct KSync::Syncee'
make[5]: *** [syncentry.lo] Error 1
make[5]: Leaving directory
[blah]
Build command â??cd kdepim-3.4.2 && dpkg-buildpackage -b -ucâ?? failed.
E: Child process failed
Once you fix that (see below), you get a second compile error:
g++
[blah]
-c /home/zak/kdepim-3.4.2/build-tree/kdepim-3.4.2/kresources/egroupware/kabc_resourcexmlrpc.cpp -fPIC -DPIC -o .libs/kabc_resourcexmlrpc.o
/usr/include/kde/kresources/manager.h:59: warning: 'class
KRES::ManagerNotifier' has virtual functions but non-virtual destructor
/home/zak/kdepim-3.4.2/build-tree/kdepim-3.4.2/kresources/egroupware/xmlrpciface.h:
In member function 'void KXMLRPC::Server::call(const QString&, const QValueList<T>&, QObject*, const char*, QObject*, const char*, const QVariant&)':
/home/zak/kdepim-3.4.2/build-tree/kdepim-3.4.2/kresources/egroupware/xmlrpciface.h:162:
error: no matching function for call to 'KXMLRPC::Server::call(const QString&, QValueList<QVariant>&, const QVariant&)'
/home/zak/kdepim-3.4.2/build-tree/kdepim-3.4.2/kresources/egroupware/xmlrpciface.h:101:
note: candidates are: void KXMLRPC::Server::call(const QString&, const QValueList<QVariant>&, QObject*, const char*, QObject*, const char*, const QVariant&)
[blah, more candidates]
make[4]: *** [kabc_resourcexmlrpc.lo] Error 1
make[4]: Leaving directory
[...]
Build command â??cd kdepim-3.4.2 && dpkg-buildpackage -b -ucâ?? failed.
E: Child process failed
>From there on, it works. To be honest, I'm a little confused as to how
this ever built successfully for anyone, because the source is simply
wrong in both cases. I found a patch that made it work for me:
http://websvn.kde.org/branches/KDE/3.5/kdepim/kitchensync/libksync/merger.h?rev=472471&r1=438982&r2=472471
I put this (and my fix for KDE bug 106716, which is why I was doing this
build in the first place) into debian/patches:
zak@ymir:~$ ls kmail/kdepim-3.4.2/debian/patches/9*.patch
kmail/kdepim-3.4.2/debian/patches/90-kitchensync-missing-header.patch
kmail/kdepim-3.4.2/debian/patches/91-kresources-bad-rpc-call.patch
kmail/kdepim-3.4.2/debian/patches/92-kmail-crash-on-maildir-precommand-fail.patch
zak@ymir:~$ cat kmail/kdepim-3.4.2/debian/patches/9*.patch
--- kitchensync/libksync/merger.h.orig 2005-11-17 19:55:36.000000000 +0000
+++ kitchensync/libksync/merger.h 2005-11-17 19:55:46.000000000 +0000
@@ -23,6 +23,7 @@
#define KITCHENSYNC_KSYNC_MERGER_H
#include "syncentry.h"
+#include "syncee.h"
#include <qbitarray.h>
#include <qstring.h>
*** kresources/egroupware/xmlrpciface.h 2005/07/26 18:54:59 438982
--- kresources/egroupware/xmlrpciface.h 2005/10/20 21:00:59 472471
***************
*** 159,165 ****
for ( ; it != end; ++it )
args << QVariant( *it );
! return call( method, args, id );
}
#endif
--- 159,165 ----
for ( ; it != end; ++it )
args << QVariant( *it );
! return call( method, args, faultObj, faultSlot, msgObj, messageSlot, id );
}
#endif
--- kmail/kmacctmaildir.cpp.orig 2005-11-17 20:10:27.000000000 +0000
+++ kmail/kmacctmaildir.cpp 2005-11-17 20:11:03.000000000 +0000
@@ -119,6 +119,8 @@
{
kdDebug(5006) << "cannot run precommand " << precommand() << endl;
checkDone( hasNewMail, CheckError );
+ BroadcastStatus::instance()->setStatusMsg( i18n( "Transmission failed." ));
+ return;
}
mailFolder.setAutoCreateIndex(FALSE);
And it built just fine (and doesn't crash when the precommand fails on a Maildir, woohoo).
PS: Choice of kmail as the binary package for this bug was just because
I was trying to build kmail at the time...but then seeing as all kdepim
stuff goes to the same team, I guess it doesn't matter.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-zak
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Versions of packages kmail depends on:
ii kdebase-kio-plugins 4:3.4.2-4 core I/O slaves for KDE
ii kdelibs4c2 4:3.4.2-4 core libraries for all KDE applica
ii kdepim-kio-plugins 4:3.4.2-2 KDE pim I/O Slaves
ii libart-2.0-2 2.3.17-1 Library of functions for 2D graphi
ii libaudio2 1.7-3 The Network Audio System (NAS). (s
ii libc6 2.3.5-6 GNU C Library: Shared libraries an
ii libfontconfig1 2.3.2-1 generic font configuration library
ii libfreetype6 2.1.7-2.4 FreeType 2 font engine, shared lib
ii libgcc1 1:4.0.2-4 GCC support library
ii libice6 6.8.2.dfsg.1-7 Inter-Client Exchange library
ii libidn11 0.5.18-1 GNU libidn library, implementation
ii libjpeg62 6b-10 The Independent JPEG Group's JPEG
ii libkcal2b 4:3.4.2-2 KDE calendaring library
ii libkdepim1a 4:3.4.2-2 KDE PIM library
ii libkleopatra0a 4:3.4.2-2 KDE GnuPG interface libraries
ii libkmime2 4:3.4.2-2 KDE MIME interface library
ii libkpimidentities1 4:3.4.2-2 KDE PIM user identity information
ii libksieve0 4:3.4.2-2 KDE mail/news message filtering li
ii libmimelib1c2 4:3.4.2-2 KDE mime library
ii libpng12-0 1.2.8rel-5 PNG library - runtime
ii libqt3-mt 3:3.3.5-1 Qt GUI Library (Threaded runtime v
ii libsm6 6.8.2.dfsg.1-7 X Window System Session Management
ii libstdc++6 4.0.2-4 The GNU Standard C++ Library v3
ii libx11-6 6.8.2.dfsg.1-7 X Window System protocol client li
ii libxcursor1 1.1.3-1 X cursor management library
ii libxext6 6.8.2.dfsg.1-7 X Window System miscellaneous exte
ii libxft2 2.1.7-1 FreeType-based font drawing librar
ii libxi6 6.8.2.dfsg.1-7 X Window System Input extension li
ii libxinerama1 6.8.2.dfsg.1-7 X Window System multi-head display
ii libxrandr2 6.8.2.dfsg.1-7 X Window System Resize, Rotate and
ii libxrender1 1:0.9.0-2 X Rendering Extension client libra
ii libxt6 6.8.2.dfsg.1-7 X Toolkit Intrinsics
ii perl 5.8.7-7 Larry Wall's Practical Extraction
ii xlibs 6.8.2.dfsg.1-7 X Window System client libraries m
ii zlib1g 1:1.2.3-4 compression library - runtime
Versions of packages kmail recommends:
ii kdebase-kio-plugins 4:3.4.2-4 core I/O slaves for KDE
ii kdepim-kio-plugins 4:3.4.2-2 KDE pim I/O Slaves
ii procmail 3.22-11 Versatile e-mail processor
-- no debconf information
---------------------------------------
Received: (at 339666-done) by bugs.debian.org; 17 Jan 2006 14:52:44 +0000
>From ido@vif.com Tue Jan 17 06:52:44 2006
Return-path: <ido@vif.com>
Received: from mail.vif.com ([216.239.64.153] helo=buddha.vif.com)
by spohr.debian.org with esmtp (Exim 4.50)
id 1EysCS-0002eY-93
for 339666-done@bugs.debian.org; Tue, 17 Jan 2006 06:52:44 -0800
Received: from [216.239.81.190] (ip216-239-81-190.vif.net [216.239.81.190])
by buddha.vif.com (8.13.1/8.13.1) with ESMTP id k0HEqf93034860
for <339666-done@bugs.debian.org>; Tue, 17 Jan 2006 09:52:41 -0500 (EST)
(envelope-from ido@vif.com)
Message-ID: <43CD04BF.8020301@vif.com>
Date: Tue, 17 Jan 2006 09:52:47 -0500
From: Filipus Klutiero <ido@vif.com>
User-Agent: Mozilla Thunderbird 1.0.2 (X11/20051002)
X-Accept-Language: fr, en
MIME-Version: 1.0
To: 339666-done@bugs.debian.org
Subject: Should be fixed
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-vif-MailScanner-Information: Please contact the ISP for more information
X-vif-MailScanner: Found to be clean
X-vif-MailScanner-From: ido@vif.com
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no
version=2.60-bugs.debian.org_2005_01_02
Version: 4:3.4.3-1
This is presumably what the "Fixes a FTBFS with newer versions of
g++-4.0." in 4:3.4.3-1's changelog is about. Please reopen if you can
reproduce.
Reply to: