Re: [SOGo] Rebuild SOGo package on squeeze

2012-10-02 Thread Slávek Banko
Dne po 1. října 2012 Jean Raby napsal(a):
  Thank you, I moved forward.
  However, it is another obstacle:
 
  Making all for bundle SOGoBackend...
Creating SOGoBackend.MAPIStore/
Compiling file MAPIApplication.m ...
Compiling file MAPIStoreActiveTables.m ...
Compiling file MAPIStoreAuthenticator.m ...
Compiling file MAPIStoreMapping.m ...
Compiling file MAPIStoreMIME.m ...
Compiling file MAPIStoreTypes.m ...
Compiling file MAPIStorePropertySelectors.m ...
Compiling file MAPIStoreSamDBUtils.m ...
Compiling file MAPIStoreUserContext.m ...
Compiling file SOGoMAPIObject.m ...
Compiling file SOGoMAPIDBObject.m ...
Compiling file SOGoMAPIDBMessage.m ...
Compiling file SOGoMAPIDBFolder.m ...
  In file included from SOGoMAPIDBFolder.m:54:
  /usr/include/libmapiproxy.h:70: error: field 'server_id' has
  incomplete type make[4]: ***
  [obj/SOGoBackend.obj/SOGoMAPIDBFolder.m.o] Error 1 make[3]: ***
  [internal-bundle-run-compile-submake] Error 2
  make[2]: *** [SOGoBackend.all.bundle.variables] Error 2
  make[1]: *** [internal-all] Error 2
  make[1]: Leaving directory `/tmp/buildd/sogo-2.0.0/OpenChange'

 Hmm that's weird, struct server_id is defined in gen_ndr/server_id.h
 which is shipped with samba4-dev

 Can you re-send the build log?

  Thanks
  Slavek

 --
 Jean Raby
 jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
 Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence
 (www.packetfence.org)

I tried to prepare a patch with which building is successful. Patch is in 
GIT am format. However, the fix would probably rather be in 
libmapiproxy.h in OpenChange.

Slavek
-- 
-- 
users@sogo.nu
https://inverse.ca/sogo/lists---BeginMessage---
From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= slavek.ba...@axis.cz
Date: Tue, 2 Oct 2012 17:49:42 +0200
Subject: [PATCH] Fix FTBFS in OpenChange backend

---
 OpenChange/MAPIStoreContext.m |1 +
 OpenChange/MAPIStoreFolder.m  |1 +
 OpenChange/MAPIStoreFolderTable.m |1 +
 OpenChange/MAPIStoreTable.m   |1 +
 OpenChange/SOGoMAPIDBFolder.m |1 +
 5 files changed, 5 insertions(+)

diff --git a/OpenChange/MAPIStoreContext.m b/OpenChange/MAPIStoreContext.m
index 43f385c..e892814 100644
--- a/OpenChange/MAPIStoreContext.m
+++ b/OpenChange/MAPIStoreContext.m
@@ -52,6 +52,7 @@
 #undef DEBUG
 #include stdbool.h
 #include gen_ndr/exchange.h
+#include gen_ndr/server_id.h
 #include util/attr.h
 #include libmapiproxy.h
 #include mapistore/mapistore.h
diff --git a/OpenChange/MAPIStoreFolder.m b/OpenChange/MAPIStoreFolder.m
index 36d0575..8a3fe50 100644
--- a/OpenChange/MAPIStoreFolder.m
+++ b/OpenChange/MAPIStoreFolder.m
@@ -55,6 +55,7 @@
 #import SOGoMAPIDBMessage.h
 
 #include gen_ndr/exchange.h
+#include gen_ndr/server_id.h
 
 #undef DEBUG
 #include util/attr.h
diff --git a/OpenChange/MAPIStoreFolderTable.m 
b/OpenChange/MAPIStoreFolderTable.m
index d76c989..d2d4391 100644
--- a/OpenChange/MAPIStoreFolderTable.m
+++ b/OpenChange/MAPIStoreFolderTable.m
@@ -30,6 +30,7 @@
 #import MAPIStoreFolderTable.h
 
 #undef DEBUG
+#include gen_ndr/server_id.h
 #include mapistore/mapistore.h
 #include mapistore/mapistore_nameid.h
 #include libmapiproxy.h
diff --git a/OpenChange/MAPIStoreTable.m b/OpenChange/MAPIStoreTable.m
index 04dcdf7..499a3b4 100644
--- a/OpenChange/MAPIStoreTable.m
+++ b/OpenChange/MAPIStoreTable.m
@@ -38,6 +38,7 @@
 #import MAPIStoreTable.h
 
 #undef DEBUG
+#include gen_ndr/server_id.h
 #include mapistore/mapistore.h
 #include mapistore/mapistore_errors.h
 #include libmapiproxy.h
diff --git a/OpenChange/SOGoMAPIDBFolder.m b/OpenChange/SOGoMAPIDBFolder.m
index 1ed8d23..88764a2 100644
--- a/OpenChange/SOGoMAPIDBFolder.m
+++ b/OpenChange/SOGoMAPIDBFolder.m
@@ -47,6 +47,7 @@
 
 #undef DEBUG
 #include stdbool.h
+#include gen_ndr/server_id.h
 #include talloc.h
 #include util/time.h
 #include mapistore/mapistore.h
-- 
1.7.10.4

---End Message---


Re: [SOGo] Rebuild SOGo package on squeeze

2012-10-02 Thread Slávek Banko
Dne út 2. října 2012 Slávek Banko napsal(a):
 I tried to prepare a patch with which building is successful. Patch is
 in GIT am format. However, the fix would probably rather be in
 libmapiproxy.h in OpenChange.

 Slavek

Of course, I forgot to add the build-deps for Debian packaging.
Patch attached.

Slavek
-- 
users@sogo.nu
https://inverse.ca/sogo/lists---BeginMessage---
From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= slavek.ba...@axis.cz
Date: Tue, 2 Oct 2012 18:17:55 +0200
Subject: [PATCH 2/2] Add dependencies for Debian packaging

---
 packaging/debian-multiarch/control |2 +-
 packaging/debian/control-squeeze   |2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/packaging/debian-multiarch/control 
b/packaging/debian-multiarch/control
index 1f861a8..fe36af2 100644
--- a/packaging/debian-multiarch/control
+++ b/packaging/debian-multiarch/control
@@ -1,7 +1,7 @@
 Source: sogo
 Priority: optional
 Maintainer: Inverse Support supp...@inverse.ca
-Build-Depends: debhelper (= 8.0.0), gobjc | objc-compiler, 
libgnustep-base-dev, libsope-appserver4.9-dev, libsope-core4.9-dev, 
libsope-gdl1-4.9-dev, libsope-ldap4.9-dev, libsope-mime4.9-dev, 
libsope-xml4.9-dev, libmemcached-dev, libxml2-dev, libsbjson-dev, libssl-dev, 
libcurl4-openssl-dev | libcurl4-gnutls-dev, libmapi-dev, libmapistore-dev, 
libmapiproxy-dev
+Build-Depends: debhelper (= 8.0.0), gobjc | objc-compiler, 
libgnustep-base-dev, libsope-appserver4.9-dev, libsope-core4.9-dev, 
libsope-gdl1-4.9-dev, libsope-ldap4.9-dev, libsope-mime4.9-dev, 
libsope-xml4.9-dev, libmemcached-dev, libxml2-dev, libsbjson-dev, libssl-dev, 
libcurl4-openssl-dev | libcurl4-gnutls-dev, libmapi-dev, libmapistore-dev, 
libmapiproxy-dev, python-samba, samba4-dev
 Section: web
 Standards-Version: 3.9.2
 
diff --git a/packaging/debian/control-squeeze b/packaging/debian/control-squeeze
index 7a047b1..164a9c9 100644
--- a/packaging/debian/control-squeeze
+++ b/packaging/debian/control-squeeze
@@ -1,7 +1,7 @@
 Source: sogo
 Priority: optional
 Maintainer: Inverse Support supp...@inverse.ca
-Build-Depends: debhelper (= 7.0.15), gobjc | objc-compiler, 
libgnustep-base-dev, libsope-appserver4.9-dev, libsope-core4.9-dev, 
libsope-gdl1-4.9-dev, libsope-ldap4.9-dev, libsope-mime4.9-dev, 
libsope-xml4.9-dev, libmemcached-dev, libxml2-dev, libsbjson-dev, libssl-dev, 
libcurl4-openssl-dev | libcurl4-gnutls-dev, libmapi-dev, libmapistore-dev, 
libmapiproxy-dev
+Build-Depends: debhelper (= 7.0.15), gobjc | objc-compiler, 
libgnustep-base-dev, libsope-appserver4.9-dev, libsope-core4.9-dev, 
libsope-gdl1-4.9-dev, libsope-ldap4.9-dev, libsope-mime4.9-dev, 
libsope-xml4.9-dev, libmemcached-dev, libxml2-dev, libsbjson-dev, libssl-dev, 
libcurl4-openssl-dev | libcurl4-gnutls-dev, libmapi-dev, libmapistore-dev, 
libmapiproxy-dev, python-samba, samba4-dev
 Section: web
 Standards-Version: 3.9.1
 
-- 
1.7.10.4

---End Message---


Re: [SOGo] Rebuild SOGo package on squeeze

2012-10-01 Thread Jean Raby

On 12-10-01 10:11 AM, Slávek Banko wrote:

Hi all,

as with several previous versions, I'm trying to rebuild the source DEB
package for Squeeze to add patches from:

+ http://www.sogo.nu/bugs/view.php?id=1866
+ http://www.sogo.nu/bugs/view.php?id=1061

But with SOGo 2.0.0 rebuild fails. I use the original source package from
Inverse APT source. And pbuilder for rebuild.

Making all for bundle SOGoBackend...
  Creating SOGoBackend.MAPIStore/
Traceback (most recent call last):
   File ./samba-get-config.py, line 4, inmodule
 import samba.param
ImportError: No module named samba.param
  Compiling file MAPIApplication.m ...
In file included from MAPIStoreTypes.h:31,
  from MAPIApplication.m:33:
/usr/include/gen_ndr/exchange.h:4809: error: field 'ReplyTemplateGUID' has
incomplete type
/usr/include/gen_ndr/exchange.h:4876: error: field 'lpguid' has incomplete
type
/usr/include/gen_ndr/exchange.h:5986: error: field 'GUID' has incomplete
type
/usr/include/gen_ndr/exchange.h:5996: error: field 'GUID' has incomplete
type
/usr/include/gen_ndr/exchange.h:6545: error: field 'DatabaseGuid' has
incomplete type
/usr/include/gen_ndr/exchange.h:6884: error: field 'lpguid' has incomplete
type
/usr/include/gen_ndr/exchange.h:7000: error: field 'guid' has incomplete
type
/usr/include/gen_ndr/exchange.h:7016: error: field 'DatabaseGuid' has
incomplete type
/usr/include/gen_ndr/exchange.h:7029: error: field 'DatabaseGuid' has
incomplete type
/usr/include/gen_ndr/exchange.h:7051: error: field 'ReplGuid' has
incomplete type
/usr/include/gen_ndr/exchange.h:7374: error: field 'ReplGuid' has
incomplete type
/usr/include/gen_ndr/exchange.h:7436: error: field 'NotificationGuid' has
incomplete type
/usr/include/gen_ndr/exchange.h:7569: error: field 'Guid' has incomplete
type
/usr/include/gen_ndr/exchange.h:7570: error: field 'PerUserGuid' has
incomplete type
/usr/include/gen_ndr/exchange.h:7588: error: field 'MailboxGuid' has
incomplete type
/usr/include/gen_ndr/exchange.h:7590: error: field 'ReplGUID' has
incomplete type
In file included from MAPIStoreTypes.h:31,
  from MAPIApplication.m:33:
/usr/include/gen_ndr/exchange.h:8119: error: field 'SessionGuid' has
incomplete type
/usr/include/gen_ndr/exchange.h:8125: error: field 'SessionGuid' has
incomplete type
/usr/include/gen_ndr/exchange.h:8232: error: field 'ProcessGuid' has
incomplete type
make[4]: *** [obj/SOGoBackend.obj/MAPIApplication.m.o] Error 1
make[3]: *** [internal-bundle-run-compile-submake] Error 2
make[2]: *** [SOGoBackend.all.bundle.variables] Error 2
make[1]: *** [internal-all] Error 2
make[1]: Leaving directory `/tmp/buildd/sogo-2.0.0/OpenChange'
make: *** [build-arch-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Please, what is wrong?
How can I fix it?


Do you have samba4 and openchange in the chroot environment?


Thanks,
Slavek



--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Rebuild SOGo package on squeeze

2012-10-01 Thread Slávek Banko
Dne po 1. října 2012 Jean Raby napsal(a):
 On 12-10-01 10:11 AM, Slávek Banko wrote:
  Hi all,
 
  as with several previous versions, I'm trying to rebuild the source
  DEB package for Squeeze to add patches from:
 
  + http://www.sogo.nu/bugs/view.php?id=1866
  + http://www.sogo.nu/bugs/view.php?id=1061
 
  But with SOGo 2.0.0 rebuild fails. I use the original source package
  from Inverse APT source. And pbuilder for rebuild.
 
  Making all for bundle SOGoBackend...
Creating SOGoBackend.MAPIStore/
  Traceback (most recent call last):
 File ./samba-get-config.py, line 4, inmodule
   import samba.param
  ImportError: No module named samba.param
Compiling file MAPIApplication.m ...
  In file included from MAPIStoreTypes.h:31,
from MAPIApplication.m:33:
  /usr/include/gen_ndr/exchange.h:4809: error: field
  'ReplyTemplateGUID' has incomplete type
  /usr/include/gen_ndr/exchange.h:4876: error: field 'lpguid' has
  incomplete type
  /usr/include/gen_ndr/exchange.h:5986: error: field 'GUID' has
  incomplete type
  /usr/include/gen_ndr/exchange.h:5996: error: field 'GUID' has
  incomplete type
  /usr/include/gen_ndr/exchange.h:6545: error: field 'DatabaseGuid' has
  incomplete type
  /usr/include/gen_ndr/exchange.h:6884: error: field 'lpguid' has
  incomplete type
  /usr/include/gen_ndr/exchange.h:7000: error: field 'guid' has
  incomplete type
  /usr/include/gen_ndr/exchange.h:7016: error: field 'DatabaseGuid' has
  incomplete type
  /usr/include/gen_ndr/exchange.h:7029: error: field 'DatabaseGuid' has
  incomplete type
  /usr/include/gen_ndr/exchange.h:7051: error: field 'ReplGuid' has
  incomplete type
  /usr/include/gen_ndr/exchange.h:7374: error: field 'ReplGuid' has
  incomplete type
  /usr/include/gen_ndr/exchange.h:7436: error: field 'NotificationGuid'
  has incomplete type
  /usr/include/gen_ndr/exchange.h:7569: error: field 'Guid' has
  incomplete type
  /usr/include/gen_ndr/exchange.h:7570: error: field 'PerUserGuid' has
  incomplete type
  /usr/include/gen_ndr/exchange.h:7588: error: field 'MailboxGuid' has
  incomplete type
  /usr/include/gen_ndr/exchange.h:7590: error: field 'ReplGUID' has
  incomplete type
  In file included from MAPIStoreTypes.h:31,
from MAPIApplication.m:33:
  /usr/include/gen_ndr/exchange.h:8119: error: field 'SessionGuid' has
  incomplete type
  /usr/include/gen_ndr/exchange.h:8125: error: field 'SessionGuid' has
  incomplete type
  /usr/include/gen_ndr/exchange.h:8232: error: field 'ProcessGuid' has
  incomplete type
  make[4]: *** [obj/SOGoBackend.obj/MAPIApplication.m.o] Error 1
  make[3]: *** [internal-bundle-run-compile-submake] Error 2
  make[2]: *** [SOGoBackend.all.bundle.variables] Error 2
  make[1]: *** [internal-all] Error 2
  make[1]: Leaving directory `/tmp/buildd/sogo-2.0.0/OpenChange'
  make: *** [build-arch-stamp] Error 2
  dpkg-buildpackage: error: debian/rules build gave error exit status 2
 
  Please, what is wrong?
  How can I fix it?

 Do you have samba4 and openchange in the chroot environment?

  Thanks,
  Slavek

 --
 Jean Raby
 jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
 Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence
 (www.packetfence.org)

I have the standard Debian Squeeze apt sources, Inverse stable apt 
source and also Inverse nightly apt source. Previous three versions I 
built by this way without any problems. All that was needed for build 
SOGo from Samby4 was used from Inverse APT sources.

Slavek
-- 
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Rebuild SOGo package on squeeze

2012-10-01 Thread Jean Raby

On 12-10-01 12:58 PM, Slávek Banko wrote:

Dne po 1. října 2012 Jean Raby napsal(a):

On 12-10-01 10:11 AM, Slávek Banko wrote:

Hi all,

as with several previous versions, I'm trying to rebuild the source
DEB package for Squeeze to add patches from:

+ http://www.sogo.nu/bugs/view.php?id=1866
+ http://www.sogo.nu/bugs/view.php?id=1061

But with SOGo 2.0.0 rebuild fails. I use the original source package
from Inverse APT source. And pbuilder for rebuild.

Making all for bundle SOGoBackend...
   Creating SOGoBackend.MAPIStore/
Traceback (most recent call last):
File ./samba-get-config.py, line 4, inmodule
  import samba.param
ImportError: No module named samba.param
   Compiling file MAPIApplication.m ...
In file included from MAPIStoreTypes.h:31,
   from MAPIApplication.m:33:
/usr/include/gen_ndr/exchange.h:4809: error: field
'ReplyTemplateGUID' has incomplete type
/usr/include/gen_ndr/exchange.h:4876: error: field 'lpguid' has
incomplete type
/usr/include/gen_ndr/exchange.h:5986: error: field 'GUID' has
incomplete type
/usr/include/gen_ndr/exchange.h:5996: error: field 'GUID' has
incomplete type
/usr/include/gen_ndr/exchange.h:6545: error: field 'DatabaseGuid' has
incomplete type
/usr/include/gen_ndr/exchange.h:6884: error: field 'lpguid' has
incomplete type
/usr/include/gen_ndr/exchange.h:7000: error: field 'guid' has
incomplete type
/usr/include/gen_ndr/exchange.h:7016: error: field 'DatabaseGuid' has
incomplete type
/usr/include/gen_ndr/exchange.h:7029: error: field 'DatabaseGuid' has
incomplete type
/usr/include/gen_ndr/exchange.h:7051: error: field 'ReplGuid' has
incomplete type
/usr/include/gen_ndr/exchange.h:7374: error: field 'ReplGuid' has
incomplete type
/usr/include/gen_ndr/exchange.h:7436: error: field 'NotificationGuid'
has incomplete type
/usr/include/gen_ndr/exchange.h:7569: error: field 'Guid' has
incomplete type
/usr/include/gen_ndr/exchange.h:7570: error: field 'PerUserGuid' has
incomplete type
/usr/include/gen_ndr/exchange.h:7588: error: field 'MailboxGuid' has
incomplete type
/usr/include/gen_ndr/exchange.h:7590: error: field 'ReplGUID' has
incomplete type
In file included from MAPIStoreTypes.h:31,
   from MAPIApplication.m:33:
/usr/include/gen_ndr/exchange.h:8119: error: field 'SessionGuid' has
incomplete type
/usr/include/gen_ndr/exchange.h:8125: error: field 'SessionGuid' has
incomplete type
/usr/include/gen_ndr/exchange.h:8232: error: field 'ProcessGuid' has
incomplete type
make[4]: *** [obj/SOGoBackend.obj/MAPIApplication.m.o] Error 1
make[3]: *** [internal-bundle-run-compile-submake] Error 2
make[2]: *** [SOGoBackend.all.bundle.variables] Error 2
make[1]: *** [internal-all] Error 2
make[1]: Leaving directory `/tmp/buildd/sogo-2.0.0/OpenChange'
make: *** [build-arch-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Please, what is wrong?
How can I fix it?


Do you have samba4 and openchange in the chroot environment?


Thanks,
Slavek




I have the standard Debian Squeeze apt sources, Inverse stable apt
source and also Inverse nightly apt source. Previous three versions I
built by this way without any problems. All that was needed for build
SOGo from Samby4 was used from Inverse APT sources.

Slavek


Have you successfully rebuilt a nightly build this way before?
Or only the releases?

My guess is that there is a Build Dependency missing from the control file.

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Rebuild SOGo package on squeeze

2012-10-01 Thread Slávek Banko
Dne po 1. října 2012 Jean Raby napsal(a):
  I have the standard Debian Squeeze apt sources, Inverse stable apt
  source and also Inverse nightly apt source. Previous three versions
  I built by this way without any problems. All that was needed for
  build SOGo from Samby4 was used from Inverse APT sources.
 
  Slavek

 Have you successfully rebuilt a nightly build this way before?
 Or only the releases?

 My guess is that there is a Build Dependency missing from the control
 file.

I always build only stable releases. I tried to compare:

  diff -u sogo-1.3.18a/debian/control sogo-2.0.0/debian/control

No differences.

Slavek
-- 
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Rebuild SOGo package on squeeze

2012-10-01 Thread Jean Raby

On 12-10-01 1:04 PM, Slávek Banko wrote:

Dne po 1. října 2012 Jean Raby napsal(a):

I have the standard Debian Squeeze apt sources, Inverse stable apt
source and also Inverse nightly apt source. Previous three versions
I built by this way without any problems. All that was needed for
build SOGo from Samby4 was used from Inverse APT sources.

Slavek


Have you successfully rebuilt a nightly build this way before?
Or only the releases?

My guess is that there is a Build Dependency missing from the control
file.


I always build only stable releases. I tried to compare:

   diff -u sogo-1.3.18a/debian/control sogo-2.0.0/debian/control

No differences.


Oh right.
However the rules files differ,  we were not building Openchange/ in 1.x 
so that's why the problem arise only now.


Can you add a Build-Depend on python-samba in the control file and retry?



Slavek



--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Rebuild SOGo package on squeeze

2012-10-01 Thread Jean Raby

On 12-10-01 1:48 PM, Slávek Banko wrote:

Dne po 1. října 2012 Jean Raby napsal(a):

Oh right.
However the rules files differ,  we were not building Openchange/ in
1.x so that's why the problem arise only now.

Can you add a Build-Depend on python-samba in the control file and
retry?


Slavek


--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence
(www.packetfence.org)


Unfortunately. Python error disappeared, but the subsequent crash is the
same. I attach a build-log.


the GUID struct is declared in gen_ndr/misc.h which is shipped with the 
samba4-dev.


I thought python-samba would pull that in, but it looks like it doesn't.
Can you add samba4-dev to Build-Depends and retry?

Hopefully those are the only 2 missing dependencies.

Thanks.


Thank you for your help and effort.

Slavek



--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Rebuild SOGo package on squeeze

2012-10-01 Thread Slávek Banko
On Monday 01 of October 2012 21:21:01 Jean Raby wrote:
 On 12-10-01 1:48 PM, Slávek Banko wrote:
  Dne po 1. října 2012 Jean Raby napsal(a):
  Oh right.
  However the rules files differ,  we were not building Openchange/ in
  1.x so that's why the problem arise only now.
 
  Can you add a Build-Depend on python-samba in the control file and
  retry?
 
  Slavek
 
  --
  Jean Raby
  jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
  Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence
  (www.packetfence.org)
 
  Unfortunately. Python error disappeared, but the subsequent crash is the
  same. I attach a build-log.

 the GUID struct is declared in gen_ndr/misc.h which is shipped with the
 samba4-dev.

 I thought python-samba would pull that in, but it looks like it doesn't.
 Can you add samba4-dev to Build-Depends and retry?

 Hopefully those are the only 2 missing dependencies.

 Thanks.

  Thank you for your help and effort.
 
  Slavek

 --
 Jean Raby
 jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
 Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence
 (www.packetfence.org)

Thank you, I moved forward.
However, it is another obstacle:

Making all for bundle SOGoBackend...
 Creating SOGoBackend.MAPIStore/
 Compiling file MAPIApplication.m ...
 Compiling file MAPIStoreActiveTables.m ...
 Compiling file MAPIStoreAuthenticator.m ...
 Compiling file MAPIStoreMapping.m ...
 Compiling file MAPIStoreMIME.m ...
 Compiling file MAPIStoreTypes.m ...
 Compiling file MAPIStorePropertySelectors.m ...
 Compiling file MAPIStoreSamDBUtils.m ...
 Compiling file MAPIStoreUserContext.m ...
 Compiling file SOGoMAPIObject.m ...
 Compiling file SOGoMAPIDBObject.m ...
 Compiling file SOGoMAPIDBMessage.m ...
 Compiling file SOGoMAPIDBFolder.m ...
In file included from SOGoMAPIDBFolder.m:54:
/usr/include/libmapiproxy.h:70: error: field 'server_id' has incomplete type
make[4]: *** [obj/SOGoBackend.obj/SOGoMAPIDBFolder.m.o] Error 1
make[3]: *** [internal-bundle-run-compile-submake] Error 2
make[2]: *** [SOGoBackend.all.bundle.variables] Error 2
make[1]: *** [internal-all] Error 2
make[1]: Leaving directory `/tmp/buildd/sogo-2.0.0/OpenChange'

Thanks
Slavek
-- 
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Rebuild SOGo package on squeeze

2012-10-01 Thread Jean Raby

On 12-10-01 4:30 PM, Slávek Banko wrote:

On Monday 01 of October 2012 21:21:01 Jean Raby wrote:

On 12-10-01 1:48 PM, Slávek Banko wrote:

Dne po 1. října 2012 Jean Raby napsal(a):

Oh right.
However the rules files differ,  we were not building Openchange/ in
1.x so that's why the problem arise only now.

Can you add a Build-Depend on python-samba in the control file and
retry?


Slavek


--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence
(www.packetfence.org)


Unfortunately. Python error disappeared, but the subsequent crash is the
same. I attach a build-log.


the GUID struct is declared in gen_ndr/misc.h which is shipped with the
samba4-dev.

I thought python-samba would pull that in, but it looks like it doesn't.
Can you add samba4-dev to Build-Depends and retry?

Hopefully those are the only 2 missing dependencies.

Thanks.


Thank you for your help and effort.

Slavek


--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence
(www.packetfence.org)


Thank you, I moved forward.
However, it is another obstacle:

Making all for bundle SOGoBackend...
  Creating SOGoBackend.MAPIStore/
  Compiling file MAPIApplication.m ...
  Compiling file MAPIStoreActiveTables.m ...
  Compiling file MAPIStoreAuthenticator.m ...
  Compiling file MAPIStoreMapping.m ...
  Compiling file MAPIStoreMIME.m ...
  Compiling file MAPIStoreTypes.m ...
  Compiling file MAPIStorePropertySelectors.m ...
  Compiling file MAPIStoreSamDBUtils.m ...
  Compiling file MAPIStoreUserContext.m ...
  Compiling file SOGoMAPIObject.m ...
  Compiling file SOGoMAPIDBObject.m ...
  Compiling file SOGoMAPIDBMessage.m ...
  Compiling file SOGoMAPIDBFolder.m ...
In file included from SOGoMAPIDBFolder.m:54:
/usr/include/libmapiproxy.h:70: error: field 'server_id' has incomplete type
make[4]: *** [obj/SOGoBackend.obj/SOGoMAPIDBFolder.m.o] Error 1
make[3]: *** [internal-bundle-run-compile-submake] Error 2
make[2]: *** [SOGoBackend.all.bundle.variables] Error 2
make[1]: *** [internal-all] Error 2
make[1]: Leaving directory `/tmp/buildd/sogo-2.0.0/OpenChange'
Hmm that's weird, struct server_id is defined in gen_ndr/server_id.h 
which is shipped with samba4-dev


Can you re-send the build log?


Thanks
Slavek



--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

--
users@sogo.nu
https://inverse.ca/sogo/lists