Bug 239964

Summary: source rpm doesn't build with ed 0.3
Product: [Fedora] Fedora Reporter: Vilius Šumskas <vilius>
Component: postfixAssignee: Thomas Woerner <twoerner>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6CC: jnc
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-09-24 15:13:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vilius Šumskas 2007-05-13 14:01:21 UTC
Description of problem:
postfix source rpm doesn't build with ed version 0.3. It stops on the lines:

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
on postfix.spec with the error number 17479. I'm not sure is this a bug in the 
ed or with this regexp but ed in fc5 worked fine.


Version-Release number of selected component (if applicable):
postfix-2.3.3-2

How reproducible:
Always

Steps to Reproduce:
1. rpm -i postfix-2.3.3-2.src.rpm
2. cd /usr/src/redhat/SPECS/
3. rpmbuild -bb postfix.spec
  
Actual results:
ed quits with error number 17479

Expected results:
It should build the rpm binary package.

Additional info:
Also tested with ed-0.2-38.2.2 and it worked fine.

Comment 1 jean-noel 2007-07-26 16:01:09 UTC
I have exactly the same problem
I downgrade to ed-0.2-38.2.2.i386.rpm and it is building well

PS : I think 17479 is the file size of $RPM_BUILD_ROOT/etc/postfix/postfix-files


Comment 2 Thomas Woerner 2007-09-24 15:13:22 UTC

*** This bug has been marked as a duplicate of 227902 ***