Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125664 - emerge bash fails with verification and patch failure
Summary: emerge bash fails with verification and patch failure
Status: RESOLVED DUPLICATE of bug 124930
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-09 21:06 UTC by Robert Golding
Modified: 2006-03-10 00:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Golding 2006-03-09 21:06:54 UTC
when I emerged bash-3.1_p11 
1) First error:

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

Ran "ebuild bash-3.1_p11.ebuild digest"
then tried ro emerge bash again

2) Second error:

 * 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-29134.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.

3) emerge --info:
rob bash # emerge --info

Portage 2.1_pre5-r4 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo-r5 i686)
=================================================================
System uname: 2.6.15-gentoo-r5 i686 AMD Athlon(tm) XP 3200+
Gentoo Base System version 1.12.0_pre16
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5, 2.4.2-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -pipe -fomit-frame-pointer -momit-leaf-frame-pointer -fno-ident"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -pipe -fomit-frame-pointer -momit-leaf-frame-pointer -fno-ident -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.aarnet.edu.au/pub/gentoo http://mirror.pacific.net.au/linux/Gentoo http://ftp.swin.edu.au/gentoo http://distfiles.gentoo.org http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac aalib alsa apm arts avi bash-completion berkdb bitmap-fonts bluetooth bonobo browserplugin bzlib cdr crypt cups dri dv dvd dvdr dvdread eds emboss encode esd fame firefox foomaticdb fortran freetype gdbm gif gimp gnome gpm gstreamer gtk gtk2 hal imlib ipv6 java javascript jpeg kde libg++ libwww mad mikmod mjpeg mmx mmxext motif mp3 mpeg mpg mplayer ncurses nls nsplugin nvivia ogg oggvorbis opengl oss pam pdf pdflib perl png ppds python qt quicktime readline real sane scanner sdl spell sse ssl svg svga tcpd tga tiff totem truetype truetype-fonts type1-fonts usb v4l vcd vorbis win32codecs wmf xine xml2 xmms xsane xv xvid zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

4) I have done an extensive search for duplicate bugs and found none
Comment 1 Robert Golding 2006-03-09 21:12:21 UTC
Here is /var/tmp/portage/bash-3.1_p11/temp/bash31-010-29134.out

<start>
rob rob # cat /var/tmp/portage/bash-3.1_p11/temp/bash31-010-29134.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
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-03-10 00:12:39 UTC
Search...

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