[pkg-kolab] Bug#560628: kolab-cyrus-imapd: FTBFS: patching fails

Lucas Nussbaum lucas at lucas-nussbaum.net
Fri Dec 11 12:17:56 UTC 2009


Source: kolab-cyrus-imapd
Version: 2.2.13-8
Severity: serious
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20091210 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
>  /usr/bin/fakeroot debian/rules clean
> test -d debian/patched || install -d debian/patched
> dpatch  apply-all -v  
> applying patch 0001-upstream-fix-segfault to ./ ...
> patching file imap/backend.c
> 
> applying patch 0002-allow_invalid_id_acl_removal to ./ ...
> patching file lib/acl_afs.c
> 
> applying patch 0003-upstream_disallow_userprobes to ./ ...
> patching file imap/imapd.c
> patching file imap/nntpd.c
> patching file imap/pop3d.c
> patching file imap/proxyd.c
> 
> applying patch 0004-upstream-fetchnews-timezone-dst-fix to ./ ...
> patching file imap/fetchnews.c
> 
> applying patch 0005-upstream-fix-ctl_mboxlist-dump-undump to ./ ...
> patching file doc/changes.html
> patching file imap/ctl_mboxlist.c
> patching file man/ctl_mboxlist.8
> 
> applying patch 0006-upstream-free-backend-fix to ./ ...
> patching file imap/backend.c
> 
> applying patch 0007-upstream-remove-undump-size-limit to ./ ...
> patching file imap/mbdump.c
> 
> applying patch 0008-upstream-better-message-track-logging to ./ ...
> patching file imap/lmtp_sieve.c
> patching file imap/lmtpd.c
> patching file imap/mailbox.c
> 
> applying patch 0009-upstream-remove-redundant-wildcard-check to ./ ...
> patching file imap/imapd.c
> patching file imap/mboxlist.c
> 
> applying patch 0010-upstream-fix-libRSAglue-linkage to ./ ...
> patching file cmulocal/openssl.m4
> 
> applying patch 0011-upstream-allow-compile-with-krb5-1.4.3 to ./ ...
> patching file cmulocal/sasl2.m4
> 
> applying patch 0012-upstream-sasl-2.2.22-comapatibility-fix to ./ ...
> patching file imtest/imtest.c
> 
> applying patch 0013-upstream-allow-report-above-4GB-mboxsize to ./ ...
> patching file imap/annotate.c
> 
> applying patch 0014-upstream-fix-locks-during-reconstruction to ./ ...
> patching file imap/mailbox.c
> 
> applying patch 0015-upstream-fix-logic-error-in-imapoptions to ./ ...
> patching file lib/imapoptions
> 
> applying patch 0016-upstream-fix-typos to ./ ...
> patching file man/chk_cyrus.8
> patching file man/reconstruct.8
> 
> applying patch 0017-upstream-no-body-empty-string-instead-of-null to ./ ...
> patching file lib/charset.c
> 
> applying patch 0018-upstream-ntohl-instead-of-htonl to ./ ...
> patching file imap/mailbox.c
> 
> applying patch 0020-upstream-client-literal-prefix to ./ ...
> patching file imtest/imtest.c
> 
> applying patch 0021-upstream-applied_RFC4314_READ-ONLY_logic to ./ ...
> patching file imap/imapd.c
> patching file lib/acl.h
> 
> applying patch 0022-upstream-dont-send-empty-literal-response to ./ ...
> patching file imap/saslclient.c
> 
> applying patch 0023-sort-illegal-dates-first to ./ ...
> patching file imap/index.c
> patching file imap/message.c
> patching file imap/message.h
> 
> applying patch 0024-upstream-fix-sieve to ./ ...
> patching file sieve/script.c
> 
> applying patch 0025-upstream-fix-cve-2009-3235 to ./ ...
> patching file sieve/bc_eval.c
> patching file sieve/script.c
> patching file sieve/sieve.y
> 
> applying patch 0090-fix-casts to ./ ...
> patching file imap/squat_build.c
> patching file imap/tls.c
> patching file master/master.c
> 
> applying patch 01-fix_Makefile.in to ./ ...
> patching file Makefile.in
> patching file imap/Makefile.in
> patching file installsieve/Makefile.in
> patching file lib/Makefile.in
> patching file master/Makefile.in
> patching file notifyd/Makefile.in
> patching file perl/Makefile.in
> patching file perl/sieve/Makefile.in
> patching file perl/sieve/lib/Makefile.in
> patching file sieve/Makefile.in
> patching file timsieved/Makefile.in
> 
> applying patch 02-add_mkinstalldirs to ./ ...
> patching file tmp/dpep.rSX3y1/complete.dpatch/mkinstalldirs
> 
> applying patch 03-fix_docs to ./ ...
> patching file doc/faq.html
> patching file doc/install-virtdomains.html
> patching file lib/imapoptions
> patching file man/squatter.8
> 
> applying patch 04-add_autogen.sh to ./ ...
> patching file tmp/dpep.Ck5bWN/cyrus-imapd-2.2.12/autogen.sh
> 
> applying patch 05-fix_programnames to ./ ...
> patching file imap/deliver.c
> patching file imap/quota.c
> patching file imap/reconstruct.c
> patching file man/chk_cyrus.8
> patching file man/ctl_cyrusdb.8
> patching file man/ctl_deliver.8
> patching file man/ctl_mboxlist.8
> Hunk #1 succeeded at 142 (offset 4 lines).
> patching file man/cyr_expire.8
> patching file man/cyrus.conf.5
> patching file man/deliver.8
> patching file man/fud.8
> patching file man/idled.8
> patching file man/imapd.8
> patching file man/lmtpd.8
> patching file man/master.8
> patching file man/nntpd.8
> patching file man/notifyd.8
> patching file man/pop3d.8
> patching file man/quota.8
> patching file man/reconstruct.8
> Hunk #2 succeeded at 41 with fuzz 2.
> patching file man/smmapd.8
> patching file man/timsieved.8
> patching file man/tls_prune.8
> patching file sieve/md5.c
> 
> applying patch 06-disable_runpath to ./ ...
> patching file cmulocal/cyrus.m4
> 
> applying patch 07-update_aclocal_and_configure.in to ./ ...
> patching file configure.in
> 
> applying patch 08-clean_socket_closes to ./ ...
> patching file imap/backend.c
> patching file imap/fud.c
> patching file imap/imapd.c
> patching file imap/lmtpd.c
> patching file imap/pop3d.c
> patching file imap/proxyd.c
> 
> applying patch 09-kerberos-ipv4-ipv6-kludge-removal to ./ ...
> patching file imap/pop3d.c
> 
> applying patch 10-fix_potential_overflows to ./ ...
> patching file imap/ctl_mboxlist.c
> patching file imap/fud.c
> patching file imap/global.c
> Hunk #1 succeeded at 465 (offset -2 lines).
> patching file imap/idle_idled.c
> Hunk #1 succeeded at 110 (offset 1 line).
> patching file imap/index.c
> Hunk #1 succeeded at 3292 (offset 14 lines).
> patching file imap/mboxlist.h
> patching file imap/message.c
> patching file imap/mupdate.h
> patching file imap/proxyd.c
> Hunk #1 succeeded at 1213 (offset -64 lines).
> patching file imtest/imtest.c
> Hunk #1 succeeded at 1231 (offset 6 lines).
> patching file master/master.c
> patching file master/masterconf.c
> patching file notifyd/notifyd.c
> 
> applying patch 11-fix_syslog_prefix to ./ ...
> patching file imap/global.c
> Hunk #1 succeeded at 91 with fuzz 2 (offset -2 lines).
> Hunk #2 succeeded at 121 (offset -2 lines).
> patching file ptclient/ptexpire.c
> patching file ptclient/test.c
> patching file ptclient/test2.c
> 
> applying patch 12-fix_timeout_handling to ./ ...
> patching file imap/signals.c
> patching file lib/lock.h
> patching file lib/lock_fcntl.c
> patching file lib/lock_flock.c
> 
> applying patch 13-master_process_handling to ./ ...
> patching file master/master.c
> patching file master/master.h
> 
> applying patch 14-xmalloc to ./ ...
> patching file lib/map_stupidshared.c
> patching file lib/xmalloc.h
> Hunk #1 succeeded at 57 (offset -8 lines).
> 
> applying patch 15-munge_8bit to ./ ...
> patching file imap/message.c
> patching file imap/spool.c
> patching file lib/imapoptions
> Hunk #1 succeeded at 469 with fuzz 1 (offset 11 lines).
> Hunk #2 succeeded at 708 (offset 33 lines).
> 
> applying patch 16-fix_mib to ./ ...
> patching file master/CYRUS-MASTER.mib
> 
> applying patch 17-fix_tail_syntax_in_xversion.h to ./ ...
> patching file imap/xversion.sh
> 
> applying patch 18-fix_strlen_return_type to ./ ...
> patching file imap/imapd.c
> patching file imap/mbdump.c
> patching file imap/message.c
> patching file imap/mupdate-client.c
> patching file imap/mupdate.c
> patching file imap/proxyd.c
> patching file imtest/imtest.c
> patching file master/master.c
> patching file timsieved/actions.c
> 
> applying patch 19-fix_tls_ssl to ./ ...
> patching file imap/tls.c
> Hunk #2 succeeded at 678 (offset -1 lines).
> Hunk #3 succeeded at 1105 (offset 7 lines).
> patching file imtest/imtest.c
> Hunk #2 succeeded at 418 (offset -1 lines).
> Hunk #3 succeeded at 531 (offset -1 lines).
> patching file lib/imclient.c
> 
> applying patch 21-fix_config-parsing to ./ ...
> patching file master/masterconf.c
> 
> applying patch 22-imapd_index_check to ./ ...
> patching file imap/imapd.c
> 
> applying patch 23-configurable_idled to ./ ...
> patching file configure.in
> patching file imap/Makefile.in
> patching file imap/global.c
> patching file imap/global.h
> patching file tmp/dpep.7DrWs1/cyrus-imapd-2.2.13/imap/idle.c
> patching file imap/idle.h
> patching file imap/idle_idled.c
> patching file imap/idle_no.c
> patching file imap/idle_poll.c
> patching file imap/version.c
> patching file lib/Makefile.in
> patching file lib/imapoptions
> 
> applying patch 24-configurable-referrals to ./ ...
> patching file imap/proxyd.c
> patching file imap/version.h
> patching file lib/imapoptions
> 
> applying patch 25-update_install-sh to ./ ...
> patching file install-sh
> 
> applying patch 26-local-getline to ./ ...
> patching file contrib/sieve-spamasssassin
> patching file makedepend/def.h
> patching file makedepend/main.c
> patching file makedepend/parse.c
> 
> applying patch 30-update_perlcalling.sh to ./ ...
> patching file contrib/cyrus-graphtools.1.0/cgi-bin/cyrus_master.pl
> patching file contrib/cyrus-graphtools.1.0/cgi-bin/graph_cyrus_db-sum.pl
> patching file contrib/cyrus-graphtools.1.0/cgi-bin/graph_cyrus_db.pl
> patching file contrib/mupdate-test.pl
> patching file perl/imap/examples/auditmbox.pl
> patching file perl/imap/examples/imapcollate.pl
> patching file perl/imap/examples/imapdu.pl
> patching file perl/imap/examples/test-imsp.pl
> patching file perl/sieve/scripts/installsieve.pl
> patching file perl/sieve/scripts/sieveshell.pl
> patching file snmp/snmpgen
> patching file tools/arbitronsort.pl
> patching file tools/config2header
> patching file tools/config2man
> patching file tools/dohash
> patching file tools/masssievec
> patching file tools/mkimap
> patching file tools/mknewsgroups
> patching file tools/rehash
> patching file tools/translatesieve
> patching file tools/undohash
> patching file tools/upgradesieve
> 
> applying patch 35-masssievec_remove_unused_variable to ./ ...
> patching file tools/masssievec
> 
> applying patch 40-rehash_fix_pathes to ./ ...
> patching file tools/rehash
> 
> applying patch 45-kolab2-annotations to ./ ...
> patching file imap/annotate.c
> patching file perl/imap/IMAP/Admin.pm
> 
> applying patch 50-fix-imclient-manpage to ./ ...
> patching file man/imclient.3
> 
> applying patch 61-64bit-quota to ./ ...
> patching file configure.in
> patching file imap/append.c
> patching file imap/imapd.c
> patching file imap/mailbox.c
> patching file imap/mailbox.h
> patching file imap/mbdump.c
> patching file imap/mbexamine.c
> patching file imap/mboxlist.c
> patching file imap/quota.c
> patching file imap/quota.h
> patching file imap/quota_db.c
> patching file imap/reconstruct.c
> patching file lib/Makefile.in
> patching file tmp/dpep.34sb5l/cyrus-imapd-2.2.13/lib/byteorder64.c
> patching file tmp/dpep.34sb5l/cyrus-imapd-2.2.13/lib/byteorder64.h
> patching file lib/prot.c
> 
> applying patch 65-sieveshell-enhancements to ./ ...
> patching file perl/imap/IMAP/Shell.pm
> patching file perl/sieve/lib/request.c
> patching file perl/sieve/scripts/sieveshell.pl
> 
> applying patch 70-fix_readme_link to ./ ...
> patching file doc/readme.html
> 
> applying patch 70-allow-larger-buffers to ./ ...
> patching file imap/imapparse.c
> 
> applying patch 72-faster-isdigit to ./ ...
> patching file imap/index.c
> Hunk #12 succeeded at 3379 (offset 1 line).
> Hunk #13 succeeded at 3533 (offset 1 line).
> patching file lib/util.h
> 
> applying patch 75-update-imapd.conf-documentation to ./ ...
> patching file lib/imapoptions
> 
> applying patch 77-change-missing-sieve-notice to ./ ...
> patching file sieve/script.c
> 
> applying patch 80-kbsd-no-psstrings to ./ ...
> patching file configure.in
> 
> applying patch 85-fix-option-passing to ./ ...
> patching file lib/Makefile.in
> 
> applying patch 90-add-sasl-options-docs to ./ ...
> patching file lib/imapoptions
> 
> applying patch 99-update-autoconf to ./ ...
> patching file config.guess
> patching file config.h.in
> patching file config.sub
> patching file configure
> patching file install-sh
> patching file tmp/dpep.48WUNC/cyrus-imapd-2.2.13/mkinstalldirs
> Hunk #1 FAILED at 1.
> Hunk #2 FAILED at 12.
> Hunk #3 FAILED at 103.
> Hunk #4 FAILED at 124.
> Hunk #5 FAILED at 134.
> 5 out of 5 hunks FAILED -- saving rejects to file tmp/dpep.48WUNC/cyrus-imapd-2.2.13/mkinstalldirs.rej
> make: *** [patch-stamp] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2009/12/10/kolab-cyrus-imapd_2.2.13-8_lsid64.buildlog

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |





More information about the pkg-kolab-devel mailing list