Bug#329662: cyrus21-imapd: fails to compile on sarge (upgraded woody)

2005-09-22 Thread Johannes Russek
Package: cyrus21-imapd
Version: 2.1.18-1
Severity: important
Justification: fails to build from source


cyrus21-imapd refuses to compile.
tried to change --with-idle=poll to --with-idle=idled, but it failed to
compile.
problems seemed not to be related to idled, so i just tried building the
package nonchanged, didnt work. wasnt able to locate the problem.
here is what the compilation says: (it seems that this editor merges a `
with the following letter, so don't get confused by strange letters. i hope
it's readable anyway)


xeon01:~# apt-get -b source cyrus21-imapd
Reading Package Lists... Done
Building Dependency Tree... Done
Need to get 1948kB of source archives.
Skipping unpack of already unpacked source in cyrus21-imapd-2.1.18
dpkg-buildpackage: source package is cyrus21-imapd
dpkg-buildpackage: source version is 2.1.18-1
dpkg-buildpackage: source maintainer is Henrique de Moraes Holschuh
[EMAIL PROTECTED]
dpkg-buildpackage: host architecture is i386
 debian/rules clean
dh_testdir
dh_testroot
xargs -t -r chmod +x  debian/executable.files
chmod +x ./autogen.sh ./contrib/cyrus-graphtools.1.0/cgi-bin/cyrus_master.pl
./contrib/cyrus-graphtools.1.0/cgi-bin/graph_cyrus_db-sum.pl
./contrib/cyrus-graphtools.1.0/cgi-bin/graph_cyrus_db.pl
./contrib/cyrus-graphtools.1.0/script/cyrus.pl
./contrib/cyrus-graphtools.1.0/script/run
./contrib/notify_unix/simple_notify.pl ./contrib/notify_unix/sql_notify.pl
./debian/cyrus-makedirs ./debian/cyrus21-common.cyrus21.init
./debian/cyrus21-common.postinst ./debian/cyrus21-common.postrm
./debian/cyrus21-common.prerm ./debian/rules ./debian/examples/mboxtocyrus
./imap/xversion.sh ./lib/test/run ./makedepend/configure
./makedepend/install-sh ./netnews/inn.diffs
./perl/imap/examples/test-imsp.pl ./ptclient/doptclient ./sieve/hmac-md5.h
./snmp/snmpgen ./tools/dohash ./tools/mkimap ./tools/not-mkdep
./tools/rehash ./tools/translatesieve ./tools/undohash ./tools/upgradesieve
./config.guess ./config.sub ./install-sh ./mkinstalldirs ./configure
rm -f build-indep-stamp build-arch-stamp configure-stamp install-arch-stamp
install-indep-stamp build-stamp
/usr/bin/make -i distclean
make[1]: Entering directory /root/cyrus21-imapd-2.1.18'
make[1]: *** No rule to make target istclean'.  Stop.
make[1]: Leaving directory /root/cyrus21-imapd-2.1.18'
make: [clean] Error 2 (ignored)
rm -f config.h config.cache config.status config.log stamp-config confdefs.h
rm -f netnews/Makefile perl/imap/Makefile.old perl/sieve/acap/Makefile.old
perl/sieve/managesieve/Makefile.old snmp/Makefile Makefile et/Makefile
rm -f doc/pod2htmd.x~~ doc/pod2htmi.x~~ imap/imap_err.[ch]
imap/pushstats.[ch] imap/lmtpstats.[ch] master/makedepend.log
rm -f sieve/addr.[ch] sieve/addr-lex.[ch] sieve/sieve.[ch] sieve/sieve-lex.c
sieve/sieve_err.[ch]
rm -f man/sieveshell.1 doc/murder.png
rm -rf doc/man
rm -f debian/cyrus-db-types.txt debian/cyrus-hardwired-config.txt
rm -f config.sub config.guess
rm -rf et/
xargs -t -r rm -f  debian/deletable.files
rm -f acconfig.h doc/man/arbitron.8.html doc/man/chk_cyrus.8.html
doc/man/collectnews.8.html doc/man/ctl_cyrusdb.8.html
doc/man/ctl_deliver.8.html doc/man/ctl_mboxlist.8.html
doc/man/cvt_cyrusdb.8.html doc/man/cyrus.conf.5.html doc/man/deliver.8.html
doc/man/fud.8.html doc/man/idled.8.html doc/man/imapd.8.html
doc/man/imapd.conf.5.html doc/man/imclient.3.html doc/man/imtest.1.html
doc/man/installsieve.1.html doc/man/ipurge.8.html doc/man/krb.equiv.5.html
doc/man/lmtpd.8.html doc/man/lmtptest.1.html doc/man/master.8.html
doc/man/mbexamine.8.html doc/man/mbpath.8.html doc/man/mupdatetest.1.html
doc/man/notifyd.8.html doc/man/pop3d.8.html doc/man/pop3test.1.html
doc/man/quota.8.html doc/man/reconstruct.8.html doc/man/rmnews.8.html
doc/man/sivtest.1.html doc/man/smtptest.1.html doc/man/squatter.8.html
doc/man/syncnews.8.html doc/man/timsieved.8.html doc/man/tls_prune.8.html
doc/man/cyradm.1.html doc/man/sieveshell.1.html doc/text/altnamespace
doc/text/anoncvs doc/text/bugs doc/text/changes doc/text/faq
doc/text/feedback doc/text/index doc/text/install-admin-mb
doc/text/install-auth doc/text/install-compile doc/text/install-configure
doc/text/install-murder doc/text/install-perf doc/text/install-prereq
doc/text/install-sieve doc/text/install-snmpmon doc/text/install-testing
doc/text/install-upgrade doc/text/install doc/text/mailing-list doc/text/man
doc/text/notes doc/text/os doc/text/overview doc/text/questions
doc/text/readme doc/text/sieve-protocol doc/text/sieve doc/text/specs
doc/murder.png imap/imap_err.h imap/imap_err.c imap/lmtpstats.h
imap/lmtpstats.c imap/pushstats.h imap/pushstats.c man/sieveshell.1
sieve/addr.c sieve/addr.h sieve/addr-lex.c sieve/sieve.c sieve/sieve.h
sieve/sieve-lex.c sieve/sieve_err.h sieve/sieve_err.c
dh_clean
 debian/rules build
Use the build-arch or build-indep targets to build...
 debian/rules binary
dh_testdir
rm -f config.sub config.guess
ln -s /usr/share/misc/config.sub config.sub
ln -s /usr/share/misc/config.guess config.guess
touch configure.in  

Bug#329662: cyrus21-imapd: fails to compile on sarge (upgraded woody)

2005-09-22 Thread Henrique de Moraes Holschuh
tag 329662 + unreproducible
thanks

On Thu, 22 Sep 2005, Johannes Russek wrote:
 cyrus21-imapd refuses to compile.

I have just built it in a sarge chroot, and it built perfectly.  It is
possible that your system is hosed, or that you have found a build-conflicts
I am not aware of.

 mv: cannot stat .tab.c': No such file or directory

What is with these ^ in the messages?  Just in case, try this:

rm -rf build dir
export LANG=C
export LC_ALL=C
apt-get source cyrus21-imapd
apt-get build-dep cyrus21-imapd
apt-get install fakeroot
cd build dir
dpkg-buildpackage -uc -us -rfakeroot

-- 
  One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie. -- The Silicon Valley Tarot
  Henrique Holschuh