Bug 651463 - SIGPIPE does not work correctly in scripts in rpmbuild
Summary: SIGPIPE does not work correctly in scripts in rpmbuild
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: 14
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Panu Matilainen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 993868
TreeView+ depends on / blocked
 
Reported: 2010-11-09 16:07 UTC by Michal Hlavinka
Modified: 2014-11-19 15:34 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-31 06:47:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
reproducer.spec (368 bytes, text/plain)
2010-11-09 16:07 UTC, Michal Hlavinka
no flags Details

Description Michal Hlavinka 2010-11-09 16:07:17 UTC
Created attachment 459168 [details]
reproducer.spec

Description of problem:
During ksh build process there are regression tests executed in %check section, but because SIGPIPE does not work in rpmbuild, some tests fail. When tests are started from normal environment, they all pass.

Version-Release number of selected component (if applicable):
rpm-build-4.8.1-5.fc14.x86_64

How reproducible:
always

Steps to Reproduce:
1.rpmbuild -bb reproducer.spec 2>&1 | grep -e ^FAILED -e ^PASSED
2.
3.
  
Actual results:
FAILED

Expected results:
PASSED

Comment 1 Panu Matilainen 2010-11-23 13:16:41 UTC
Hmph, I could've sworn I already replied to this...

Anyway, will fix and thanks for the reproducer.

Comment 2 Panu Matilainen 2012-03-31 06:47:24 UTC
I guess this never got fixed in F14 :-/ which is of course now EOL, but it has been fixed in >= 15 for quite some time.


Note You need to log in before you can comment on or make changes to this bug.