Your message dated Sat, 04 Dec 2010 15:59:35 -0400
with message-id <87lj459umw....@zancas.localnet>
and subject line fixed in 1.1+ds1-5
has caused the Debian Bug report #604840,
regarding syncevolution: Build failure on s390
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
604840: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=604840
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: syncevolution
Version: 1.1+ds1-3
Severity: serious
Tags: upstream
Justification: fails to build from source
Building syncevolution on s390 fails with an illegal pointer
conversion. I haven't had a chance to poke at this yet, but I'm
reporting it here in case Patrick has any clever ideas.
Build log follows:
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../.. -I/usr/include -DORBIT2=1 -pthread
-I/usr/include/evolution-data-server-2.30 -I/usr/include/libxml2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gconf/2
-I/usr/include/libsoup-2.4 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include -DORBIT2=1 -pthread
-I/usr/include/evolution-data-server-2.30 -I/usr/include/
-I/usr/include/dbus-1.0 -I/usr/include/libxml2 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/gconf/2 -I/usr/include/libsoup-2.4
-I/usr/include/orbit-2.0 -I/usr/lib/dbus-1.0/include -DORBIT2=1 -pthread
-I/usr/include/evolution-data-server-2.30 -I/usr/include/dbus-1.0
-I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/gconf/2 -I/usr/include/libsoup-2.4 -I/usr/include/orbit-2.0
-I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -pthread -I/usr/i!
nclude/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I../../test -I../../src
-DSYNCEVO_BACKEND=\"/usr/lib/syncevolution/backends/\"
-DXML_CONFIG_DIR=\""/usr/share/syncevolution/xml"\"
-DTEMPLATE_DIR=\""/usr/share/syncevolution/templates"\" -DLIBDIR=\""/usr/lib"\"
-pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -MT
libsyncevolution_la-Cmdline.lo -MD -MP -MF
.deps/libsyncevolution_la-Cmdline.Tpo -c -o libsyncevolution_la-Cmdline.lo
`test -f 'Cmdline.cpp' || echo './'`Cmdline.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/include -DORBIT2=1
-pthread -I/usr/include/evolution-data-server-2.30 -I/usr/include/libxml2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gconf/2
-I/usr/include/libsoup-2.4 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include -DORBIT2=1 -pthread
-I/usr/include/evolution-data-server-2.30 -I/usr/include/
-I/usr/include/dbus-1.0 -I/usr/include/libxml2 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/gconf/2 -I/usr/include/libsoup-2.4
-I/usr/include/orbit-2.0 -I/usr/lib/dbus-1.0/include -DORBIT2=1 -pthread
-I/usr/include/evolution-data-server-2.30 -I/usr/include/dbus-1.0
-I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/gconf/2 -I/usr/include/libsoup-2.4 -I/usr/include/orbit-2.0
-I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -p!
thread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../../test -I../../src
-DSYNCEVO_BACKEND=\"/usr/lib/syncevolution/backends/\"
-DXML_CONFIG_DIR=\"/usr/share/syncevolution/xml\"
-DTEMPLATE_DIR=\"/usr/share/syncevolution/templates\" -DLIBDIR=\"/usr/lib\"
-pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -MT
libsyncevolution_la-Cmdline.lo -MD -MP -MF
.deps/libsyncevolution_la-Cmdline.Tpo -c Cmdline.cpp -o
libsyncevolution_la-Cmdline.o
In file included from Cmdline.cpp:24:
../../src/syncevo/SyncSource.h: In member function 'sysync::TSyError
SyncEvo::SyncSourceBlob::readBlob(const sysync::ItemIDType*, const char*,
void**, size_t*, size_t*, bool, bool*)':
../../src/syncevo/SyncSource.h:1716: error: invalid conversion from 'size_t*'
to 'sysync::memSize*'
../../src/syncevo/SyncSource.h:1716: error: initializing argument 4 of
'sysync::TSyError sysync::TBlob::ReadBlob(const sysync::ItemIDType*, const
char*, void**, sysync::memSize*, sysync::memSize*, bool, bool*)'
../../src/syncevo/SyncSource.h:1716: error: invalid conversion from 'size_t*'
to 'sysync::memSize*'
../../src/syncevo/SyncSource.h:1716: error: initializing argument 5 of
'sysync::TSyError sysync::TBlob::ReadBlob(const sysync::ItemIDType*, const
char*, void**, sysync::memSize*, sysync::memSize*, bool, bool*)'
make[7]: *** [libsyncevolution_la-Cmdline.lo] Error 1
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (900, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages syncevolution depends on:
ii libbluetooth3 4.66-2 Library to use the BlueZ Linux Blu
ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib
ii libdbus-1-3 1.2.24-3 simple interprocess messaging syst
ii libdbus-glib-1-2 0.88-2 simple interprocess messaging syst
ii libebook1.2-9 2.30.3-2 Client library for evolution addre
ii libecal1.2-7 2.30.3-2 Client library for evolution calen
ii libedataserver1.2-13 2.30.3-2 Utility library for evolution data
ii libgcc1 1:4.4.5-6 GCC support library
ii libgconf2-4 2.28.1-6 GNOME configuration database syste
ii libglib2.0-0 2.24.2-1 The GLib library of C routines
ii libgnome-keyring0 2.30.1-1 GNOME keyring services library
ii libical0 0.44-3 iCalendar library implementation i
ii libopenobex1 1.5-2 OBEX protocol library
ii libsmltk0 3.4.0.6+ds5-1 library for SyncML-DS (SyncML Data
ii libsoup2.4-1 2.30.2-1 an HTTP library implementation in
ii libstdc++6 4.4.5-6 The GNU Standard C++ Library v3
ii libsynthesis0 3.4.0.6+ds5-1 library for SyncML-DS (SyncML Data
ii libxml2 2.7.8.dfsg-1 GNOME XML library
ii syncevolution-common 1.1+ds1-3 Evolution data synchronization pro
Versions of packages syncevolution recommends:
pn bluez <none> (no description available)
ii evolution-data-server 2.30.3-2 evolution database backend server
syncevolution suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
With the additional patch below, version 1.1+ds1-5 builds on s390.
From: David Bremner <brem...@unb.ca>
Date: Sat, 27 Nov 2010 21:14:16 -0400
Subject: [PATCH] Second patch to convert between sysync::memSize and size_t.
This is to fix a second build problem on Debian s390
---
src/syncevo/SynthesisDBPlugin.cpp | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/src/syncevo/SynthesisDBPlugin.cpp b/src/syncevo/SynthesisDBPlugin.cpp
index 089a687..346e552 100644
--- a/src/syncevo/SynthesisDBPlugin.cpp
+++ b/src/syncevo/SynthesisDBPlugin.cpp
@@ -721,8 +721,19 @@ sysync::TSyError SyncEvolution_ReadBlob(CContext aContext, cItemID aID, cAppCh
TSyError res;
if (source->getOperations().m_readBlob) {
try {
- res = source->getOperations().m_readBlob(aID, aBlobID, (void **)aBlkPtr, aBlkSize,
- aTotSize, aFirst, aLast);
+ size_t blksize, totsize;
+ /* Another conversion between memSize and size_t to make s390 happy */
+ res = source->getOperations().m_readBlob(aID, aBlobID, (void **)aBlkPtr,
+ aBlkSize ? &blksize : NULL,
+ aTotSize ? &totsize : NULL,
+ aFirst, aLast);
+ if (aBlkSize) {
+ *aBlkSize = blksize;
+ }
+ if (aTotSize) {
+ *aTotSize = totsize;
+ }
+
} catch (...) {
res = source->handleException();
}
--
--- End Message ---