Build error Postfix met VDA patch

Pagina: 1
Acties:

  • VelhaChica
  • Registratie: Augustus 2005
  • Laatst online: 19-11-2020
Vandaag heb ik een upgrade gedaan van Fedora 5 naar Fedora 6 op een Xen-host. Voor zover ik kan nagaan is alles goed gegaan, op Postfix na. Dit is te verklaren, omdat ik destijds gekozen heb voor Postfix met de VDA-patch. Op Fedora 5 draaide Postfix 2.2.8-1.2 en op Fedora 6 is dit nu 2.3.3-2.

Command prompt

code:
1
2
3
4
5
6
7
8
cd /usr/src
wget http://ftp-stud.fht-esslingen.de/pub/Mirrors/fedora/linux/core/6/source/SRPMS/postfix-2.3.3-2.src.rpm
rpm -ivh postfix-2.3.3-2.src.rpm
cd /usr/src/redhat/SOURCES
wget http://web.onda.com.br/nadal/postfix/VDA/postfix-2.3.3-vda.patch.gz
gunzip postfix-2.3.3-vda.patch.gz
cd /usr/src/redhat/SPECS/
vi postfix.spec


Aanpassingen postfix.spec

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[...]
%define MYSQL 1
[...]
# Patches

Patch0: postfix-2.2.8-vda.patch
Patch1: postfix-2.1.1-config.patch
Patch3: postfix-alternatives.patch
Patch4: postfix-hostname-fqdn.patch
Patch6: postfix-2.1.1-obsolete.patch
Patch7: postfix-2.1.5-aliases.patch
Patch8: postfix-large-fs.patch
Patch9: postfix-2.2.5-cyrus.patch
[...]
%setup -q
# Apply obligatory patches
%patch0 -p1 -b .vda
%patch1 -p1 -b .config
%patch3 -p1 -b .alternatives
%patch4 -p1 -b .postfix-hostname-fqdn
%patch6 -p1 -b .obsolete
%patch7 -p1 -b .aliases
%patch8 -p1 -b .large-fs
%patch9 -p1 -b .cyrus
[...]


Vervolg command prompt

code:
1
2
3
rpmbuild -ba postfix.spec
cd /usr/src/redhat/RPMS/i386
rpm -ivh postfix-2.3.3-2.i386.rpm


Echter bij het compileren gaat het fout. Ik krijg continu een foutmelding waar ik geen hout van snap.

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
+ /bin/mkdir -p /var/tmp/postfix-buildroot/etc/rc.d/init.d
+ install -c /usr/src/redhat/SOURCES/postfix-etc-init.d-postfix /var/tmp/postfix-buildroot/etc/rc.d/init.d/postfix
+ install -c auxiliary/rmail/rmail /var/tmp/postfix-buildroot/usr/bin/rmail.postfix
+ for i in active bounce corrupt defer deferred flush incoming private saved maildrop public pid saved trace
+ mkdir -p /var/tmp/postfix-buildroot/var/spool/postfix/active
+ for i in active bounce corrupt defer deferred flush incoming private saved maildrop public pid saved trace
+ mkdir -p /var/tmp/postfix-buildroot/var/spool/postfix/bounce
+ for i in active bounce corrupt defer deferred flush incoming private saved maildrop public pid saved trace
+ mkdir -p /var/tmp/postfix-buildroot/var/spool/postfix/corrupt
+ for i in active bounce corrupt defer deferred flush incoming private saved maildrop public pid saved trace
+ mkdir -p /var/tmp/postfix-buildroot/var/spool/postfix/defer
+ for i in active bounce corrupt defer deferred flush incoming private saved maildrop public pid saved trace
+ mkdir -p /var/tmp/postfix-buildroot/var/spool/postfix/deferred
+ for i in active bounce corrupt defer deferred flush incoming private saved maildrop public pid saved trace
+ mkdir -p /var/tmp/postfix-buildroot/var/spool/postfix/flush
+ for i in active bounce corrupt defer deferred flush incoming private saved maildrop public pid saved trace
+ mkdir -p /var/tmp/postfix-buildroot/var/spool/postfix/incoming
+ for i in active bounce corrupt defer deferred flush incoming private saved maildrop public pid saved trace
+ mkdir -p /var/tmp/postfix-buildroot/var/spool/postfix/private
+ for i in active bounce corrupt defer deferred flush incoming private saved maildrop public pid saved trace
+ mkdir -p /var/tmp/postfix-buildroot/var/spool/postfix/saved
+ for i in active bounce corrupt defer deferred flush incoming private saved maildrop public pid saved trace
+ mkdir -p /var/tmp/postfix-buildroot/var/spool/postfix/maildrop
+ for i in active bounce corrupt defer deferred flush incoming private saved maildrop public pid saved trace
+ mkdir -p /var/tmp/postfix-buildroot/var/spool/postfix/public
+ for i in active bounce corrupt defer deferred flush incoming private saved maildrop public pid saved trace
+ mkdir -p /var/tmp/postfix-buildroot/var/spool/postfix/pid
+ for i in active bounce corrupt defer deferred flush incoming private saved maildrop public pid saved trace
+ mkdir -p /var/tmp/postfix-buildroot/var/spool/postfix/saved
+ for i in active bounce corrupt defer deferred flush incoming private saved maildrop public pid saved trace
+ mkdir -p /var/tmp/postfix-buildroot/var/spool/postfix/trace
+ for i in smtp-sink smtp-source
+ install -c -m 755 bin/smtp-sink /var/tmp/postfix-buildroot/usr/sbin/
+ install -c -m 755 man/man1/smtp-sink.1 /var/tmp/postfix-buildroot/usr/share/man/man1/
+ for i in smtp-sink smtp-source
+ install -c -m 755 bin/smtp-source /var/tmp/postfix-buildroot/usr/sbin/
+ install -c -m 755 man/man1/smtp-source.1 /var/tmp/postfix-buildroot/usr/share/man/man1/
+ ed /var/tmp/postfix-buildroot/etc/postfix/postfix-files
17479
?
+ exit 1
error: Bad exit status from /var/tmp/rpm-tmp.14179 (%install)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.14179 (%install)


Wat is er aan de hand? Doe ik iets verkeerd? Ik heb nu dus de standaard Postfix draaien, maar ik wil naar een versie MET VDA-patch. Ik heb nog de 2.2.8-versie ook eventueel tot de beschikking. Kan ik eventueel ook downgraden? Zo ja, hoe doe ik dat dan?

  • igmar
  • Registratie: April 2000
  • Laatst online: 31-01 23:50

igmar

ISO20022

Wat is de gehele log van het build commando ? De error treed zo te zien al eerder op.

  • VelhaChica
  • Registratie: Augustus 2005
  • Laatst online: 19-11-2020
Dan is mijn vraag waar ik die kan vinden? Ik wil dan dan wel ergens online zetten. Ik vermoed dat deze erg groot is. Ik ben nog erg nieuw met zaken opbouwen van de bron.

[ Voor 18% gewijzigd door VelhaChica op 15-10-2007 23:20 ]