Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 125303

Summary: bash-3.1_p11 fails to build/emerge
Product: Gentoo Linux Reporter: Richard Keever <rkeever>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Richard Keever 2006-03-06 15:07:21 UTC
While trying to do "emerge -uDN world" or "emerge -u bash" bash-3.1_p11 fails to emerge/build with following:  (complete text below)

!!! Digest verification Failed:
!!!    /usr/portage/distfiles/bash31-010
!!! Reason: Failed on RMD160 verification
!!! Got:      39a2f836a7f11eba12c50ee0adaade80b81c5e16
!!! Expected: 9228d25e84180f576892ee6c9c3da8262e201269

Did an "ebuild /usr/portage/app-shells/bash/bash-3.1_p11.ebuild digest".  This updated the verifications, and I then received the following error: (complete text included below, with contents of referenced file)

 * Failed Patch: bash31-010 !
 *  ( /var/tmp/portage/bash-3.1_p11/distdir/bash31-010 )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/bash-3.1_p11/temp/bash31-010-24122.out


!!! ERROR: app-shells/bash-3.1_p11 failed.
Call stack:
  ebuild.sh, line 1933:   Called dyn_unpack
  ebuild.sh, line 719:   Called src_unpack
  bash-3.1_p11.ebuild, line 50:   Called epatch 'unpack'

!!! Failed Patch: bash31-010!


The above error was the last error, as I waited one day, performed "emerge --sync", and attempted emerge/build again, receiving top most error.  Performed "ebuild /loc/of/build/file digest" again receiving same error as before, of course with different tmp file.


emerge --info:
Gentoo Base System version 1.12.0_pre16

Portage 2.1_pre5-r4 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo-r7 i686)
=================================================================
System uname: 2.6.15-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
dev-lang/python:     2.3.5, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.espri.arizona.edu/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac aalib alsa apache2 apm arts asf audiofile avi bash-completion berkdb bitmap-fonts bzip2 cairo cdparanoia cdr crypt cups curl dbus div4linux dlloader dvd dvdr eds emboss encode esd exif expat fam ffmpeg firefox flac foomaticdb fortran gdbm gif gimpprint glut gmp gpm graphviz gstreamer gtk gtk2 guile hal idn imagemagick imlib ipv6 java jpeg kde lcms libg++ libwww lm_sensors mad mbox mikmod mime mmx mng motif mozsvg mp3 mpeg nagios-ping ncurses nls nptl nsplugin numeric ogg opengl pam pcre pdflib perl png ppds python qt quicktime readline samba sasl sdl slang snmp spell sse sse2 ssl svg symlink tcltk tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vorbis win32codecs wma wmf x86 xcomposite xine xinetd xml xml2 xmms xpm xscreensaver xv xvid zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LDFLAGS, LINGUAS


/var/tmp/portage/bash-3.1_p11/temp/bash31-010-24122.out:
***** bash31-010 *****

======================

PATCH COMMAND:  patch -p0 -g0 --no-backup-if-mismatch < /var/tmp/portage/bash-3.1_p11/distdir/bash31-010

======================
patching file parse.y
Hunk #1 succeeded at 2903 (offset 2 lines).
patching file patchlevel.h
missing header for context diff at line 65 of patch
can't find file to patch at input line 65
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
| count, ch, was_dollar, in_comment, check_comment;
|!   int pass_next_character, backq_backslash, nestlen, ttranslen, start_lineno;
|    char *ret, *nestret, *ttrans;
|    int retind, retsize, rflags;
|  
|    count = 1;
|!   pass_next_character = backq_backslash = was_dollar = in_comment = 0;
|    check_comment = (flags & P_COMMAND) && qc != '\'' && qc != '"' && (flags & P_DQUOTE) == 0;
|  
|    /* RFLAGS is the set of flags we want to pass to recursive calls. */
--------------------------
No file to patch.  Skipping patch.
4 out of 4 hunks ignored
patching file patchlevel.h
======================

PATCH COMMAND:  patch -p1 -g0 --no-backup-if-mismatch < /var/tmp/portage/bash-3.1_p11/distdir/bash31-010

======================
missing header for context diff at line 23 of patch
can't find file to patch at input line 23
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|			     BASH PATCH REPORT
|			     =================
|
|Bash-Release: 3.1
|Patch-ID: bash31-010
|
|Bug-Reported-by: vw@vonwolff.de
|Bug-Reference-ID: <20060123135234.1AC2F1D596@wst07.vonwolff.de>
|Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2006-01/msg00090.html
|
|Bug-Description:
|
|There is a difference in behavior between bash-3.0 and bash-3.1 involving
|parsing of single- and double-quoted strings occurring in old-style
|command substitution.  The difference has to do with how backslashes are
|processed.  This patch restores a measure of backwards compatibility while
|the question of POSIX conformance and ultimately correct behavior is discussed.
|
|Patch:
|
|*** ../bash-3.1/parse.y	Fri Nov 11 23:14:18 2005
|--- parse.y	Wed Jan 25 14:55:18 2006
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for context diff at line 42 of patch
can't find file to patch at input line 42
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|*** ../bash-3.1/patchlevel.h	Wed Jul 20 13:58:20 2005
|--- patchlevel.h	Wed Dec  7 13:48:42 2005
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for context diff at line 65 of patch
can't find file to patch at input line 65
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
| count, ch, was_dollar, in_comment, check_comment;
|!   int pass_next_character, backq_backslash, nestlen, ttranslen, start_lineno;
|    char *ret, *nestret, *ttrans;
|    int retind, retsize, rflags;
|  
|    count = 1;
|!   pass_next_character = backq_backslash = was_dollar = in_comment = 0;
|    check_comment = (flags & P_COMMAND) && qc != '\'' && qc != '"' && (flags & P_DQUOTE) == 0;
|  
|    /* RFLAGS is the set of flags we want to pass to recursive calls. */
--------------------------
No file to patch.  Skipping patch.
4 out of 4 hunks ignored
missing header for context diff at line 149 of patch
can't find file to patch at input line 149
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|*** ../bash-3.1/patchlevel.h	Wed Jul 20 13:58:20 2005
|--- patchlevel.h	Wed Dec  7 13:48:42 2005
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
======================

PATCH COMMAND:  patch -p2 -g0 --no-backup-if-mismatch < /var/tmp/portage/bash-3.1_p11/distdir/bash31-010

======================
missing header for context diff at line 23 of patch
patching file parse.y
Hunk #1 succeeded at 2903 (offset 2 lines).
missing header for context diff at line 42 of patch
patching file patchlevel.h
missing header for context diff at line 65 of patch
can't find file to patch at input line 65
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
| count, ch, was_dollar, in_comment, check_comment;
|!   int pass_next_character, backq_backslash, nestlen, ttranslen, start_lineno;
|    char *ret, *nestret, *ttrans;
|    int retind, retsize, rflags;
|  
|    count = 1;
|!   pass_next_character = backq_backslash = was_dollar = in_comment = 0;
|    check_comment = (flags & P_COMMAND) && qc != '\'' && qc != '"' && (flags & P_DQUOTE) == 0;
|  
|    /* RFLAGS is the set of flags we want to pass to recursive calls. */
--------------------------
No file to patch.  Skipping patch.
4 out of 4 hunks ignored
missing header for context diff at line 149 of patch
patching file patchlevel.h
======================

PATCH COMMAND:  patch -p3 -g0 --no-backup-if-mismatch < /var/tmp/portage/bash-3.1_p11/distdir/bash31-010

======================
missing header for context diff at line 23 of patch
can't find file to patch at input line 23
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|			     BASH PATCH REPORT
|			     =================
|
|Bash-Release: 3.1
|Patch-ID: bash31-010
|
|Bug-Reported-by: vw@vonwolff.de
|Bug-Reference-ID: <20060123135234.1AC2F1D596@wst07.vonwolff.de>
|Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2006-01/msg00090.html
|
|Bug-Description:
|
|There is a difference in behavior between bash-3.0 and bash-3.1 involving
|parsing of single- and double-quoted strings occurring in old-style
|command substitution.  The difference has to do with how backslashes are
|processed.  This patch restores a measure of backwards compatibility while
|the question of POSIX conformance and ultimately correct behavior is discussed.
|
|Patch:
|
|*** ../bash-3.1/parse.y	Fri Nov 11 23:14:18 2005
|--- parse.y	Wed Jan 25 14:55:18 2006
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for context diff at line 42 of patch
can't find file to patch at input line 42
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|*** ../bash-3.1/patchlevel.h	Wed Jul 20 13:58:20 2005
|--- patchlevel.h	Wed Dec  7 13:48:42 2005
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for context diff at line 65 of patch
can't find file to patch at input line 65
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
| count, ch, was_dollar, in_comment, check_comment;
|!   int pass_next_character, backq_backslash, nestlen, ttranslen, start_lineno;
|    char *ret, *nestret, *ttrans;
|    int retind, retsize, rflags;
|  
|    count = 1;
|!   pass_next_character = backq_backslash = was_dollar = in_comment = 0;
|    check_comment = (flags & P_COMMAND) && qc != '\'' && qc != '"' && (flags & P_DQUOTE) == 0;
|  
|    /* RFLAGS is the set of flags we want to pass to recursive calls. */
--------------------------
No file to patch.  Skipping patch.
4 out of 4 hunks ignored
missing header for context diff at line 149 of patch
can't find file to patch at input line 149
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|*** ../bash-3.1/patchlevel.h	Wed Jul 20 13:58:20 2005
|--- patchlevel.h	Wed Dec  7 13:48:42 2005
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
======================

PATCH COMMAND:  patch -p4 -g0 --no-backup-if-mismatch < /var/tmp/portage/bash-3.1_p11/distdir/bash31-010

======================
missing header for context diff at line 23 of patch
can't find file to patch at input line 23
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|			     BASH PATCH REPORT
|			     =================
|
|Bash-Release: 3.1
|Patch-ID: bash31-010
|
|Bug-Reported-by: vw@vonwolff.de
|Bug-Reference-ID: <20060123135234.1AC2F1D596@wst07.vonwolff.de>
|Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2006-01/msg00090.html
|
|Bug-Description:
|
|There is a difference in behavior between bash-3.0 and bash-3.1 involving
|parsing of single- and double-quoted strings occurring in old-style
|command substitution.  The difference has to do with how backslashes are
|processed.  This patch restores a measure of backwards compatibility while
|the question of POSIX conformance and ultimately correct behavior is discussed.
|
|Patch:
|
|*** ../bash-3.1/parse.y	Fri Nov 11 23:14:18 2005
|--- parse.y	Wed Jan 25 14:55:18 2006
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for context diff at line 42 of patch
can't find file to patch at input line 42
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|*** ../bash-3.1/patchlevel.h	Wed Jul 20 13:58:20 2005
|--- patchlevel.h	Wed Dec  7 13:48:42 2005
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for context diff at line 65 of patch
can't find file to patch at input line 65
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
| count, ch, was_dollar, in_comment, check_comment;
|!   int pass_next_character, backq_backslash, nestlen, ttranslen, start_lineno;
|    char *ret, *nestret, *ttrans;
|    int retind, retsize, rflags;
|  
|    count = 1;
|!   pass_next_character = backq_backslash = was_dollar = in_comment = 0;
|    check_comment = (flags & P_COMMAND) && qc != '\'' && qc != '"' && (flags & P_DQUOTE) == 0;
|  
|    /* RFLAGS is the set of flags we want to pass to recursive calls. */
--------------------------
No file to patch.  Skipping patch.
4 out of 4 hunks ignored
missing header for context diff at line 149 of patch
can't find file to patch at input line 149
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|*** ../bash-3.1/patchlevel.h	Wed Jul 20 13:58:20 2005
|--- patchlevel.h	Wed Dec  7 13:48:42 2005
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored


digest verification failure:
loki ~ # emerge -uDN world

Calculating dependencies... done!
>>> Emerging (1 of 1) app-shells/bash-3.1_p11 to /
>>> Resuming download...
>>> Downloading http://mirror.espri.arizona.edu/gentoo/distfiles/bash31-010
--09:49:07--  http://mirror.espri.arizona.edu/gentoo/distfiles/bash31-010
           => `/usr/portage/distfiles/bash31-010'
Resolving mirror.espri.arizona.edu... 150.135.81.231
Connecting to mirror.espri.arizona.edu|150.135.81.231|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 5,218 (5.1K), 408 remaining [application/octet-stream]

100%[++++++++++++++++++++++++++++++++++==>] 5,218         --.--K/s

09:49:07 (29.93 MB/s) - `/usr/portage/distfiles/bash31-010' saved [5218/5218]

>>> checksums files   ;-) bash-3.0-r12.ebuild
>>> checksums files   ;-) bash-3.1_p11.ebuild
>>> checksums files   ;-) bash-2.05b-r11.ebuild
>>> checksums files   ;-) bash-3.0-r11.ebuild
>>> checksums files   ;-) bash-3.0-r13.ebuild
>>> checksums files   ;-) bash-3.0-r14.ebuild
>>> checksums files   ;-) bash-3.1_p8.ebuild
>>> checksums files   ;-) bash-3.1_p10.ebuild
>>> checksums files   ;-) files/digest-bash-3.0-r11
>>> checksums files   ;-) files/digest-bash-3.0-r12
>>> checksums files   ;-) files/bash-3.0-darwin-conn.patch
>>> checksums files   ;-) files/bash-2.05b-setlocale.patch
>>> checksums files   ;-) files/bash-3.0-trap-fg-signals.patch
>>> checksums files   ;-) files/dot-bash_profile
>>> checksums files   ;-) files/bash-3.0-force-static-linking.patch
>>> checksums files   ;-) files/bash-3.0-etc-inputrc.patch
>>> checksums files   ;-) files/bash_logout
>>> checksums files   ;-) files/bash-3.0-ulimit.patch
>>> checksums files   ;-) files/bash-2.05b-rbash.patch
>>> checksums files   ;-) files/bash-3.0-read-builtin-pipe.patch
>>> checksums files   ;-) files/bash-3.0-read-e-segfault.patch
>>> checksums files   ;-) files/bash-3.0-manpage.patch
>>> checksums files   ;-) files/bash-3.0-posixtrap.patch
>>> checksums files   ;-) files/bashrc
>>> checksums files   ;-) files/bash-3.0-pgrp-pipe-fix.patch
>>> checksums files   ;-) files/bash-3.0-pwd.patch
>>> checksums files   ;-) files/bash-2.05b-parallel-build.patch
>>> checksums files   ;-) files/bash-3.0-crash.patch
>>> checksums files   ;-) files/digest-bash-3.0-r14
>>> checksums files   ;-) files/bash-3.0-array-stripping.patch
>>> checksums files   ;-) files/bash-3.0-parallel.patch
>>> checksums files   ;-) files/bash-3.0-local-array.patch
>>> checksums files   ;-) files/bash-3.0-bash-logger.patch
>>> checksums files   ;-) files/bash-3.0-invisible.patch
>>> checksums files   ;-) files/bash-3.0-afs.patch
>>> checksums files   ;-) files/digest-bash-2.05b-r11
>>> checksums files   ;-) files/bash-2.05b-empty-herestring.patch
>>> checksums files   ;-) files/bash-2.05b-jobs.patch
>>> checksums files   ;-) files/bash-2.05b-multibyte-locale.patch
>>> checksums files   ;-) files/dot-bashrc
>>> checksums files   ;-) files/dot-bash_logout
>>> checksums files   ;-) files/bash-3.0-jobs.patch
>>> checksums files   ;-) files/bash-3.0-histtimeformat.patch
>>> checksums files   ;-) files/bash-3.0-configs.patch
>>> checksums files   ;-) files/bash-3.0-gentoo.patch
>>> checksums files   ;-) files/bash-3.0-multibyteifs.patch
>>> checksums files   ;-) files/bash-3.0-locale.patch
>>> checksums files   ;-) files/bash-3.0-rl-display.patch
>>> checksums files   ;-) files/bash-3.0-prompt.patch
>>> checksums files   ;-) files/bash-3.0-read-memleak.patch
>>> checksums files   ;-) files/bash-3.0-rl-self-insert.patch
>>> checksums files   ;-) files/bash-3.0-utf8.patch
>>> checksums files   ;-) files/digest-bash-3.0-r13
>>> checksums files   ;-) files/bash-3.0-strnlen.patch
>>> checksums files   ;-) files/bash-3.0-cross-signals.patch
>>> checksums files   ;-) files/bash-3.0-subshell.patch
>>> checksums files   ;-) files/bash-3.0-volatile-command.patch
>>> checksums files   ;-) files/bash-3.1-bash-logger.patch
>>> checksums files   ;-) files/bash-3.1-gentoo.patch
>>> checksums files   ;-) files/bash-3.1-ulimit.patch
>>> checksums files   ;-) files/digest-bash-3.1_p11
>>> checksums files   ;-) files/digest-bash-3.1_p8
>>> checksums files   ;-) files/bash-3.1-fix-dash-login-shell.patch
>>> checksums files   ;-) files/digest-bash-3.1_p10
>>> checksums src_uri ;-) bash-3.1.tar.gz
>>> checksums src_uri ;-) bash31-001
>>> checksums src_uri ;-) bash31-002
>>> checksums src_uri ;-) bash31-003
>>> checksums src_uri ;-) bash31-004
>>> checksums src_uri ;-) bash31-005
>>> checksums src_uri ;-) bash31-006
>>> checksums src_uri ;-) bash31-007
>>> checksums src_uri ;-) bash31-008
>>> checksums src_uri ;-) bash31-009

!!! Digest verification Failed:
!!!    /usr/portage/distfiles/bash31-010
!!! Reason: Failed on RMD160 verification
!!! Got:      39a2f836a7f11eba12c50ee0adaade80b81c5e16
!!! Expected: 9228d25e84180f576892ee6c9c3da8262e201269


after ebuild /loc/of/file digest:
loki ~ # emerge -uDN world

Calculating dependencies... done!
>>> Emerging (1 of 1) app-shells/bash-3.1_p11 to /
>>> checksums files   ;-) bash-3.0-r12.ebuild
>>> checksums files   ;-) bash-3.1_p11.ebuild
>>> checksums files   ;-) bash-2.05b-r11.ebuild
>>> checksums files   ;-) bash-3.0-r11.ebuild
>>> checksums files   ;-) bash-3.0-r13.ebuild
>>> checksums files   ;-) bash-3.0-r14.ebuild
>>> checksums files   ;-) bash-3.1_p8.ebuild
>>> checksums files   ;-) bash-3.1_p10.ebuild
>>> checksums files   ;-) files/digest-bash-3.0-r11
>>> checksums files   ;-) files/digest-bash-3.0-r12
>>> checksums files   ;-) files/bash-3.0-darwin-conn.patch
>>> checksums files   ;-) files/bash-2.05b-setlocale.patch
>>> checksums files   ;-) files/bash-3.0-trap-fg-signals.patch
>>> checksums files   ;-) files/dot-bash_profile
>>> checksums files   ;-) files/bash-3.0-force-static-linking.patch
>>> checksums files   ;-) files/bash-3.0-etc-inputrc.patch
>>> checksums files   ;-) files/bash_logout
>>> checksums files   ;-) files/bash-3.0-ulimit.patch
>>> checksums files   ;-) files/bash-2.05b-rbash.patch
>>> checksums files   ;-) files/bash-3.0-read-builtin-pipe.patch
>>> checksums files   ;-) files/bash-3.0-read-e-segfault.patch
>>> checksums files   ;-) files/bash-3.0-manpage.patch
>>> checksums files   ;-) files/bash-3.0-posixtrap.patch
>>> checksums files   ;-) files/bashrc
>>> checksums files   ;-) files/bash-3.0-pgrp-pipe-fix.patch
>>> checksums files   ;-) files/bash-3.0-pwd.patch
>>> checksums files   ;-) files/bash-2.05b-parallel-build.patch
>>> checksums files   ;-) files/bash-3.0-crash.patch
>>> checksums files   ;-) files/digest-bash-3.0-r14
>>> checksums files   ;-) files/bash-3.0-array-stripping.patch
>>> checksums files   ;-) files/bash-3.0-parallel.patch
>>> checksums files   ;-) files/bash-3.0-local-array.patch
>>> checksums files   ;-) files/bash-3.0-bash-logger.patch
>>> checksums files   ;-) files/bash-3.0-invisible.patch
>>> checksums files   ;-) files/bash-3.0-afs.patch
>>> checksums files   ;-) files/digest-bash-2.05b-r11
>>> checksums files   ;-) files/bash-2.05b-empty-herestring.patch
>>> checksums files   ;-) files/bash-2.05b-jobs.patch
>>> checksums files   ;-) files/bash-2.05b-multibyte-locale.patch
>>> checksums files   ;-) files/dot-bashrc
>>> checksums files   ;-) files/dot-bash_logout
>>> checksums files   ;-) files/bash-3.0-jobs.patch
>>> checksums files   ;-) files/bash-3.0-histtimeformat.patch
>>> checksums files   ;-) files/bash-3.0-configs.patch
>>> checksums files   ;-) files/bash-3.0-gentoo.patch
>>> checksums files   ;-) files/bash-3.0-multibyteifs.patch
>>> checksums files   ;-) files/bash-3.0-locale.patch
>>> checksums files   ;-) files/bash-3.0-rl-display.patch
>>> checksums files   ;-) files/bash-3.0-prompt.patch
>>> checksums files   ;-) files/bash-3.0-read-memleak.patch
>>> checksums files   ;-) files/bash-3.0-rl-self-insert.patch
>>> checksums files   ;-) files/bash-3.0-utf8.patch
>>> checksums files   ;-) files/digest-bash-3.0-r13
>>> checksums files   ;-) files/bash-3.0-strnlen.patch
>>> checksums files   ;-) files/bash-3.0-cross-signals.patch
>>> checksums files   ;-) files/bash-3.0-subshell.patch
>>> checksums files   ;-) files/bash-3.0-volatile-command.patch
>>> checksums files   ;-) files/bash-3.1-bash-logger.patch
>>> checksums files   ;-) files/bash-3.1-gentoo.patch
>>> checksums files   ;-) files/bash-3.1-ulimit.patch
>>> checksums files   ;-) files/digest-bash-3.1_p11
>>> checksums files   ;-) files/digest-bash-3.1_p8
>>> checksums files   ;-) files/bash-3.1-fix-dash-login-shell.patch
>>> checksums files   ;-) files/digest-bash-3.1_p10
>>> checksums src_uri ;-) bash-3.1.tar.gz
>>> checksums src_uri ;-) bash31-001
>>> checksums src_uri ;-) bash31-002
>>> checksums src_uri ;-) bash31-003
>>> checksums src_uri ;-) bash31-004
>>> checksums src_uri ;-) bash31-005
>>> checksums src_uri ;-) bash31-006
>>> checksums src_uri ;-) bash31-007
>>> checksums src_uri ;-) bash31-008
>>> checksums src_uri ;-) bash31-009
>>> checksums src_uri ;-) bash31-010
>>> checksums src_uri ;-) bash31-011
>>> checksums src_uri ;-) readline51-001
>>> Unpacking source...
>>> Unpacking bash-3.1.tar.gz to /var/tmp/portage/bash-3.1_p11/work
 * Applying bash-3.1-gentoo.patch ...                                     [ ok ]
 * Applying bash31-001 ...                                                [ ok ]
 * Applying bash31-002 ...                                                [ ok ]
 * Applying bash31-003 ...                                                [ ok ]
 * Applying bash31-004 ...                                                [ ok ]
 * Applying bash31-005 ...                                                [ ok ]
 * Applying bash31-006 ...                                                [ ok ]
 * Applying bash31-007 ...                                                [ ok ]
 * Applying bash31-008 ...                                                [ ok ]
 * Applying bash31-009 ...                                                [ ok ]
 * Applying bash31-010 ...

 * Failed Patch: bash31-010 !
 *  ( /var/tmp/portage/bash-3.1_p11/distdir/bash31-010 )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/bash-3.1_p11/temp/bash31-010-22981.out


!!! ERROR: app-shells/bash-3.1_p11 failed.
Call stack:
  ebuild.sh, line 1933:   Called dyn_unpack
  ebuild.sh, line 719:   Called src_unpack
  bash-3.1_p11.ebuild, line 50:   Called epatch 'unpack'

!!! Failed Patch: bash31-010!
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-06 23:56:12 UTC

*** This bug has been marked as a duplicate of 125046 ***
Comment 2 Sheldon Hearn 2006-03-07 00:06:02 UTC
Confirmed.  There's a truncated patch on the mirrors.  It looks like the patch was rerolled upstream.  The upstream version is signed with Chet's PGP signature.

To work around the problem, remove /usr/portage/distfiles/bash31-010, emerge sync to blow away your manually generated digest, and emerge again with GENTOO_MIRRORS unset, i.e.

    emerge sync
    GENTOO_MIRRORS="" emerge bash