dpkg-buildpackage error when patching postfix
Jamie McDonald wrote:
> Hello all,
> I've been lurking on the list for a while but this is my first
> official post of desperation =).
> I'm attempting to apply the VDA quota patch to postfix-2.5.1 but it's
> failing at the dpkg-buildpackage stage.
AFAIK, VDA quota patch it is unsupported in Postfix, I really prefer to
use supported packages and in my case I use Postfix + Dovecot, if you
use Dovecot Deliver (LDA) and the quota and imap_quota plugins you can
achieve quota support, they work really nice, I have been using it in
production using karmic servers.
> I have sucessfully patched the source as follows
> bash# cd /usr/src/
> bash# apt-get build-dep postfix
> bash# apt-get source postfix
> bash# wget http://vda.sourceforge.net/VDA/postfix-2.6.5-vda-ng.patch.gz
> bash# gunzip postfix-2.5.1-vda-ng.patch.gz
> bash# cd postfix-2.5.1
> bash# patch -p1 < ../postfix-2.5.1-vda-ng.patch
> I then execute dpkg-buildpackage in the /usr/src/postfix-2.5.1/ directory
> bash# dpkg-buildpackage
> However the output is as follows
> dpkg-buildpackage: set CPPFLAGS to default value:
> dpkg-buildpackage: set CFLAGS to default value: -g -O2
> dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
> dpkg-buildpackage: set FFLAGS to default value: -g -O2
> dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions
> tail: cannot open `debian/changelog' for reading: No such file or
> dpkg-buildpackage: failure: tail of debian/changelog gave error exit
> status 1
What about that changelog missing file?
> I've searched hi and low but as of yet have been unsuccessful in
> resolving the issue. I would imagine it is something simple I'm
> missing - as is usually the case.
> Thanks in advance for any response.
> - Jamie Mack.
Jorge Armando Medina
Computación Gráfica de México
Tel: 55 51 40 72, Ext: 124
GPG Key: 1024D/28E40632 2007-07-26
GPG Fingerprint: 59E2 0C7C F128 B550 B3A6 D3AF C574 8422 28E4 0632
ubuntu-server mailing list
More info: https://wiki.ubuntu.com/ServerTeam