LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   postfix .src.rpm fails to build (https://www.linuxquestions.org/questions/fedora-35/postfix-src-rpm-fails-to-build-533652/)

mardanian 03-01-2007 01:35 PM

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.

mardanian 03-02-2007 06:21 AM

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.


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