LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-01-2007, 01:35 PM   #1
mardanian
Member
 
Registered: Mar 2004
Distribution: Fedora
Posts: 254

Rep: Reputation: 30
postfix .src.rpm fails to build


Hi am trying to build postfix-2.3.3-2.src.rpm with Mysql support on FC6 but each time it fails and during build process it gives millions of lines scrolling ...

(..)
postsuper.c:112:1: warning: "/*" within comment
postsuper.c:113:1: warning: "/*" within comment
postsuper.c:114:1: warning: "/*" within comment
postsuper.c:115:1: warning: "/*" within comment
postsuper.c:116:1: warning: "/*" within comment
postsuper.c:117:1: warning: "/*" within comment
(..)

And in end it exit with error ..

+ exit 1
error: Bad exit status from /var/tmp/rpm-tmp.651 (%install)


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

I have tried to build it on two different hosts but faced with same problem.

Any idea please ?

Thanks.
 
Old 03-02-2007, 06:21 AM   #2
mardanian
Member
 
Registered: Mar 2004
Distribution: Fedora
Posts: 254

Original Poster
Rep: Reputation: 30
Problem solved

Anyhow I have solved the problem..

The problem isn't with Postfix itself, just part of the specfile thatuses "ed" to manipulate the "postfix-files" file (which contains the file list + ownership and permissions for Postfix core files, used in turn by the "postfix check" command) to suit Fedora's alternatives setup. It seems the version of ed supplied in FC6 updates ( 0.3, not the original ed 0.2 package in core)

I worked around this by forcing "ed = 0.2" in the spec file's
BuildRequires line and rebuilt.

And removed ed-0.3 and installed ed-0.2 from Core.

Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I generate / build and RPM from *.src.rpm file sreekumartg Red Hat 3 02-23-2007 05:23 PM
anaconda build from src rpm fails LampMan Fedora 3 03-28-2005 02:55 AM
how do I compile or build a src.rpm driver? Falafel Linux - Software 1 11-19-2003 06:40 AM
How to build src.rpm on RH9 xprometeus Linux - Distributions 3 07-20-2003 08:04 AM
RedHat and src.rpm build of MySQL wdingus Linux - Software 3 04-15-2003 05:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 04:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration