On Monday 26 March 2007 21:43, Koen Vermeer wrote:
Op ma, 26-03-2007 te 22:04 +0300, schreef Timo Sirainen:
./autogen.sh (re)creates the Makefile.in files. You might also need some extra packages for that to work. See compiling from CVS in http://wiki.dovecot.org/CompilingSource
OK, I tried it again. I applied the patch, ran chmod 744 autogen.sh, ran autogen.sh, and then tried dpkg-buildsource -uc -us -rfakeroot. I got
dpkg-source: cannot represent change to config.sub: dpkg-source: new version is symlink dpkg-source: old version is something else dpkg-source: cannot represent change to config.guess: dpkg-source: new version is symlink dpkg-source: old version is something else dpkg-source: cannot represent change to ltmain.sh: dpkg-source: new version is symlink dpkg-source: old version is something else dpkg-source: building dovecot in dovecot_1.0.rc28-1.dsc dpkg-source: unrepresentable changes to source
I can't really find an error message, but the packages weren't build. I tried it three times, but to no avail. I feel pretty stupid...
dpkg-buildpackage fails to build the source package because it can't represent symlinks in a diff file. But you don't need to build the source package. Just run fakeroot debian/rules binary. dpkg-buildpackage -b should work too.
-- Magnus Holmgren holmgren@lysator.liu.se (No Cc of list mail needed, thanks)