Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 28th January 2007, 21:38
wsand70 wsand70 is offline
Junior Member
 
Join Date: Aug 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Virtual Users And Domains With Postfix, Courier And MySQL (Fedora Core 5) ed bad exit

Following the Virtual Users And Domains With Postfix, Courier And MySQL (Fedora Core 5) Howto. I'm doing this on a FC5 VPS that was built up from a minimal install. Not getting very far and already having issues. I have called the new patch in the spec file and getting bad exit status error during the rpmbuild. Here are the last few lines:
Code:
+ 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
17109
?
+ exit 1
error: Bad exit status from /var/tmp/rpm-tmp.5435 (%install)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.5435 (%install)
Ironicly I have found one other instance of someone having a very similar error they posted to pastebin just yesterday too. Any tips on tracking this one?

Thanks,
Warren
Reply With Quote
Sponsored Links
  #2  
Old 29th January 2007, 01:38
wsand70 wsand70 is offline
Junior Member
 
Join Date: Aug 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Problem must have been related to OpenVZ. Seems to build fine on a native FC5 install. So I assume there must be a special glibc-common for openvz causing the problem. Moving on now.
Reply With Quote
  #3  
Old 25th February 2007, 21:52
starex starex is offline
Junior Member
 
Join Date: Feb 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default dirty fix

Hi,
The problem is related with "ed" text editor. Open postfix.spec file and comment out the lines that prevent srpm to build:

# RPM compresses man pages automatically.
# - Edit postfix-files to reflect this, so post-install won't get confused
# when called during package installation.
##ed $RPM_BUILD_ROOT%{postfix_config_dir}/postfix-files <<EOF || exit 1
##%s/\(\/man[158]\/.*\.[158]\):/\1.gz:/
##%s/\$config_directory\/aliases:f/\#/
##w
##q
##EOF

These lines seem to be man pages related which is not vital for me. Someone experienced in scripting can fix this easily.
SRPM builds and postfix runs without problem.

Regards.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Users And Domains With Postfix, Courier And MySQL (Fedora Core 5) rickcore HOWTO-Related Questions 2 29th December 2006 16:51
Virtual Users And Domains With Postfix, Courier And MySQL (Fedora Core 5) sapphire327 HOWTO-Related Questions 10 25th December 2006 15:59
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs k1piee HOWTO-Related Questions 14 1st October 2006 13:46
Virtual Users And Domains With Postfix, Courier And MySQL (Fedora Core 5) sneaky_russian Installation/Configuration 4 26th September 2006 18:05
Virtual Users And Domains With Postfix, Courier And MySQL - "apt-get" and Courier burritonator HOWTO-Related Questions 3 15th March 2006 20:11


All times are GMT +2. The time now is 14:33.


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