General discussion on installation and configuration of SOGo

Text archives Help


[SOGo] Debian SOGo builds: libmemcache on debian squeeze


Chronological Thread 
  • From: Florian Heese < >
  • To:
  • Subject: [SOGo] Debian SOGo builds: libmemcache on debian squeeze
  • Date: Tue, 24 Aug 2010 15:57:06 +0200

Hello,

at present the provided debian squeeze x86_64 (amd64) nightly packages are
not able to be installed, as they request libmemcached2 to be installed.
Currently only "libmemcached5" is in the official debian repos (libmemcached2
is droped...).

So I use the attached build-script to generate my own SOPE and SOGo "debs"
from the mtn sources. (Regarding to http://sogo.nu/bugs/view.php?id=705 I had
to downgrade gnustep-make to version gnustep-make_2.0.6-2_all.deb for the
build process: Currently debian squeeze provides:
gnustep-make_2.4.0-3_all.deb)

The deb-packages generated in this way operates as supposed, expect the
SOGoCache Warnings from sogo.log eg.: an error occurred when caching value
for key 'username+attributes': "WRITE FAILURE".

Any hints to overcome this problem?

kind regards

fheese


=== sogo.log ===
Aug 24 10:43:24 sogod: SOGo watchdog [5686]: <0x0x18cc13b0[LDAPSource]>
WARNING: using old bindFields format - please update it
2010-08-24 10:43:24.729 sogod[5686] Scanner initialised with nil string
Aug 24 10:43:24 sogod: SOGo watchdog [5686]: <0x0x1a718700[SOGoCache]> an
error occurred when caching value for key 'username+attributes': "WRITE
FAILURE"
Aug 24 10:43:24 sogod: SOGo watchdog [5686]: <0x0x1a718700[SOGoCache]> an
error occurred when caching value for key
' ':
"
WRITE FAILURE"
Aug 24 10:43:24 sogod: SOGo watchdog [5686]: <0x0x1a718700[SOGoCache]> an
error occurred when caching value for key
' ':
"W
RITE FAILURE"
127.0.0.1 - - [24/Aug/2010:10:43:24 GMT] "PROPFIND /SOGo/dav/username/
HTTP/1.1" 401 0/175 0.502 - - 724K
2010-08-24 10:43:24.984 sogod[5686] Scanner initialised with nil string
Aug 24 10:43:24 sogod: SOGo watchdog [5686]: <0x0x1a718700[SOGoCache]> an
error occurred when caching value for key 'username+attributes': "WRITE
FAILURE"
Aug 24 10:43:24 sogod: SOGo watchdog [5686]: <0x0x1a718700[SOGoCache]> an
error occurred when caching value for key 'username+attributes': "WRITE
FAILURE"
Aug 24 10:43:24 sogod: SOGo watchdog [5686]: <0x0x1a718700[SOGoCache]> an
error occurred when caching value for key
' ':
"WRITE FAILURE"
Aug 24 10:43:24 sogod: SOGo watchdog [5686]: <0x0x1a718700[SOGoCache]> an
error occurred when caching value for key
' ':
"WRITE FAILURE"
2010-08-24 10:43:25.080 sogod[5686] WARNING(-[SaxXMLReaderFactory
_loadBundlePath:infoDictionary:nameMap:typeMap:]): multiple parsers available
for MIME type 'text/calendar', using 'VSCardSaxDriver' as default for type
text/calendar.
2010-08-24 10:43:25.080 sogod[5686] WARNING(-[SaxXMLReaderFactory
_loadBundlePath:infoDictionary:nameMap:typeMap:]): multiple parsers available
for MIME type 'text/x-vcard', using 'VSCardSaxDriver' as default for type
text/x-vcard.
2010-08-24 10:43:25.156 sogod[5686] Note(SoObject): SoDebugKeyLookup is
enabled!
2010-08-24 10:43:25.156 sogod[5686] Note(SoObject): SoDebugBaseURL is enabled!
2010-08-24 10:43:25.156 sogod[5686] Note(SoObject): relative base URLs are
enabled.
2010-08-24 10:43:25.188 sogod[5686] File NSKeyValueCoding.m: 892. In
-[NSObject(KeyValueCoding) valuesForKeys:] This method is deprecated, use
-dictionaryWithValuesForKeys:
===\sogo.log===


=== SNIP ===
#!/bin/bash
DATE="`date +%Y%m%d`"
RFCDATE="`date -R`"
SOGO_VERSION="1.3.1"
REVISION="1664"
SOPE_RELEASE="${DATE}_${REVISION}"

# UGLY HACK: temp. downgrade gnustep-make
[ "$(dpkg -s gnustep-make | grep Version)" = "Version: 2.0.6-2" ] || dpkg -i
/foo/gnustep-make_2.0.6-2_all.deb

# init SOGo mtn in case it does not exist
[ -f /foo/sogo.mtn ] || /usr/bin/mtn db init --db=/foo/sogo.mtn
[ -f /foo/sope.mtn ] || /usr/bin/mtn db init --db=/foo/sope.mtn

# cleaning ;-)
rm -rf /foo/src
mkdir /foo/src

# Create a tarball of SOGo based on the current Monotone tree
cd /foo/src
/usr/bin/mtn --db=/foo/sogo.mtn pull inverse.ca 'ca.inverse.sogo'
/usr/bin/mtn --db=/foo/sogo.mtn checkout --branch ca.inverse.sogo
sogo-${SOGO_VERSION}
cd /foo
sed s/SHORTDATE/${DATE}/g sogo-changelog > tmp
sed s/RFC822DATE/"${RFCDATE}"/g tmp >
src/sogo-${SOGO_VERSION}/debian/changelog
rm -f tmp

# We prepare the SOPE sources and apply patches
cd /foo/src
/usr/bin/mtn --db=/foo/sope.mtn pull inverse.ca 'ca.inverse.sope'
/usr/bin/mtn --db=/foo/sope.mtn checkout --branch ca.inverse.sope sope-4.9

cd sope-4.9
sed s/_SOPEVER_/4.9/g debian/control.in > debian/control

# ldap patch on x86_64
if [ "$(uname -m)" == "x86_64" ]; then
cp /foo/sope_ldap_patch.diff ./debian/patches
fi

cd /foo
sed s/SHORTDATE/${DATE}/g sope-changelog > tmp
sed s/RFC822DATE/"${RFCDATE}"/g tmp > src/sope-4.9/debian/changelog
rm -f tmp

# We build the packages
cd /foo/src/sope-4.9
debuild
cd /foo/src
dpkg -i *.deb

cd /foo/src/sogo-${SOGO_VERSION}
debuild

# copy debs to destination
[ -d /foo/debs/sogo-${SOGO_VERSION}-${DATE} ] && rm -rf
/foo/debs/sogo-${SOGO_VERSION}-${DATE}
mkdir -p /foo/debs/sogo-${SOGO_VERSION}-${DATE} > /dev/null
mv /foo/src/*.deb /foo/debs/sogo-${SOGO_VERSION}-${DATE}

# Ugly hack...install current version of gnustep-make
=== SNAP ===



  • [SOGo] Debian SOGo builds: libmemcache on debian squeeze, Florian Heese, 08/24/2010

Archive powered by MHonArc 2.6.16.

Top of page