#5160 closed defect (fixed)

fix make-4.4 bug about SIGPIPE

Reported by: Xi Ruoyao Owned by: lfs-book
Priority: normal Milestone: 11.3
Component: Book Version: git
Severity: normal Keywords:
Cc:

Description

Upstream bug report: https://savannah.gnu.org/bugs/?63307.

This is causing wide-spread test failures (at least, in glibc, m4, grep, and bash). The upstream already confirms that it's a bug and it needs to be fixed. Once upstream commits the fix, we'll add it as a patch.

Create this ticket so we won't forget.

Change History (3)

comment:1 by Bruce Dubbs, 18 months ago

Use:

  sed -e '/ifdef SIGPIPE/,+2 d' \
      -e '/undef  FATAL_SIG/i FATAL_SIG (SIGPIPE);' \
      -i src/main.c

comment:2 by Bruce Dubbs, 18 months ago

I used the sed above and rebuilt make in chroot. I then built grep through the checks. I got:

# TOTAL: 121
# PASS:  101
# SKIP:  19
# XFAIL: 1
# FAIL:  0
# XPASS: 0
# ERROR: 0

and

# TOTAL: 201
# PASS:  192
# SKIP:  9
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0

comment:3 by Xi Ruoyao, 18 months ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.