HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Postfix + VDA patch (doesn't build RPM on server) (http://www.howtoforge.com/forums/showthread.php?t=16244)

VelhaChica 16th October 2007 00:40

Postfix + VDA patch (doesn't build RPM on server)
 
I upgraded from Fedora 5 to Fedora 6. I have one problem to solve. The whole mail server is setup via the tutorial found on http://www.howtoforge.net/fedora_vir..._quota_courier. On the server all the used packages are from the standard repositories, except the Postfix package. The Postfix package is custom build with the VDA patch applied for enabling quota support. The server is a virtual one running on a Xen host.

I want to upgrade it from 2.2.8 (FC5) to 2.3.3 (FC6). My thing is that the server gives an error when I want to build the RPM. The last lines are shown below.
Code:

+ /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)

I have to admit that I'm quite new in building my own RPM's. I don't know where to start looking for this problem.

If someone has Postfix 2.3.3 for FC6 (I386) with the VDA patch in a build RPM it would be great and easier. I can't find it on the internet.

falko 16th October 2007 12:51

Did you use the right VDA patch for Postfix 2.3.3?

VelhaChica 16th October 2007 16:05

I have checked it all. All the software that is used is from 2.3.3 version. It goes wrong when I try to build the RPM. What kind of information do you need from me? I really don't have any clue.

Edit:
I have tried to build more RPM's from source code, but none of them could be build. It seems to be there's more wrong.

falko 17th October 2007 18:15

I have no clue why it isn't working... :(

VelhaChica 18th October 2007 00:39

1 Attachment(s)
Can it be something with the compiler? I found out that more people are having the same problem with FC6, compiling Postfix and the VDA patch. I have also included the rpm.tmp.

falko 18th October 2007 17:50

Yes, it could be the compiler. You can try to install other versions of gcc.


All times are GMT +2. The time now is 07:01.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.