Bug#560207: Cyrus package from sid is not compilable
Dmitry Katsubo
dma_k at mail.ru
Wed Dec 9 17:27:09 UTC 2009
Package: cyrus-imapd-2.2
Version: 2.2.13-17
1. Sometimes byteorder64.c, byteorder64.h files cause problems during
patch process. They are created and then patched with failures:
dpkg-source -x cyrus-imapd-2.2_2.2.13-17.dsc
dpkg-source: warning: extracting unsigned source package
(cyrus-imapd-2.2_2.2.13-17.dsc)
dpkg-source: info: extracting cyrus-imapd-2.2 in cyrus-imapd-2.2-2.2.13
dpkg-source: info: unpacking cyrus-imapd-2.2_2.2.13.orig.tar.gz
dpkg-source: info: applying cyrus-imapd-2.2_2.2.13-17.diff.gz
dpkg-source: info: upstream files that have been modified:
cyrus-imapd-2.2-2.2.13/tmp/dpep.34sb5l/cyrus-imapd-2.2.13/lib/byteorder64.c
cyrus-imapd-2.2-2.2.13/tmp/dpep.34sb5l/cyrus-imapd-2.2.13/lib/byteorder64.h
2. Sometimes mkinstalldirs caused problems. Maybe because of wrong
directory location:
./debian/patched/02-add_mkinstalldirs.dpatch:1:patching file
tmp/dpep.rSX3y1/complete.dpatch/mkinstalldirs
./debian/patched/99-update-autoconf.dpatch.failed:6:patching file
tmp/dpep.48WUNC/cyrus-imapd-2.2.13/mkinstalldirs
3. Files byteorder64.c, byteorder64.h are not copied to source tree:
cyrusdb_berkeley.c:117: warning: ‘db_msg’ defined but not used
gcc -c -I.. -I/usr/include -DKRB5_HEIMDAL -I/usr/include
-I/usr/include/et -I/usr/include -DHAVE_CONFIG_H -fno-strict-aliasing
-fPIC -Wall -pipe -g -O2 -W -fPIC \
iptostring.c
gcc -c -I.. -I/usr/include -DKRB5_HEIMDAL -I/usr/include
-I/usr/include/et -I/usr/include -DHAVE_CONFIG_H -fno-strict-aliasing
-fPIC -Wall -pipe -g -O2 -W -fPIC \
wildmat.c
make[2]: *** No rule to make target `byteorder64.o', needed by
`libcyrus.a'. Stop.
make[2]: Leaving directory
`/home/dmitry/packages/cyrus/cyrus-imapd-2.2-2.2.13/lib'
make[1]: *** [all] Error 1
make[1]: Leaving directory
`/home/dmitry/packages/cyrus/cyrus-imapd-2.2-2.2.13'
make: *** [build-arch-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
4. Source file quota_db.c should contain:
+#include "xstrlcat.h"
+#include "xstrlcpy.h"
due to the following error:
gcc -c -I.. -I./../lib -I/usr/include/et -I./../sieve -I/usr/include
-DKRB5_HEIMDAL -I/usr/include -I/usr/include -DHAVE_CONFIG_H
-fno-strict-aliasing -fPIC -Wall -pipe -g -O2 -W \
quota_db.c
quota_db.c: In function ‘quota_findroot’:
quota_db.c:202: warning: implicit declaration of function ‘strlcpy’
quota_db.c: In function ‘quotadb_open’:
quota_db.c:245: warning: implicit declaration of function ‘strlcat’
make[2]: *** No rule to make target `idle.o', needed by `libimap.a'. Stop.
make[2]: Leaving directory
`/home/dmitry/packages/cyrus/cyrus-imapd-2.2-2.2.13/imap'
make[1]: *** [all] Error 1
make[1]: Leaving directory
`/home/dmitry/packages/cyrus/cyrus-imapd-2.2-2.2.13'
make: *** [build-arch-stamp] Error 2
5. Source file idle.c should be:
-#include "makedepend/def.h"
+#include "xmalloc.h"
otherwise it does not compile either.
Additional information:
264147 Sep 23 06:32 cyrus-imapd-2.2_2.2.13-17.diff.gz
2188 Sep 23 06:32 cyrus-imapd-2.2_2.2.13-17.dsc
2109770 Nov 8 2006 cyrus-imapd-2.2_2.2.13.orig.tar.gz
ii autoconf 2.65-2
ii automake 1:1.11-1
ii autotools-dev 20090611.1
ii g++ 4:4.4.2-1
ii g++-4.3 4.3.4-6
ii g++-4.4 4.4.2-3
ii make 3.81-7
--
With best regards,
Dmitry
More information about the Pkg-Cyrus-imapd-Debian-devel
mailing list