dpkg-buildpackage error when patching postfix

Jorge Armando Medina jmedina at e-compugraf.com
Thu Feb 18 23:42:41 UTC 2010


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
> directory
> 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
Web: http://www.e-compugraf.com
Tel: 55 51 40 72, Ext: 124
Email: jmedina at e-compugraf.com
GPG Key: 1024D/28E40632 2007-07-26
GPG Fingerprint: 59E2 0C7C F128 B550 B3A6  D3AF C574 8422 28E4 0632


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-server/attachments/20100218/acabc13f/attachment.pgp>


More information about the ubuntu-server mailing list