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

Bug 126242

Summary: bash fails to emerge
Product: Gentoo Linux Reporter: Brian Toovey <btoovey>
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 Brian Toovey 2006-03-14 18:07:38 UTC
>>> 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-5263.out


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



cat /var/tmp/portage/bash-3.1_p11/temp/bash31-010-5263.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
neo portage #  


emerge --info
Portage 2.1_pre4-r1 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo-r1-70 i686)
=================================================================
System uname: 2.6.15-gentoo-r1-70 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.3.5-r2, 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-r1
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="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
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="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts crypt cups dri eds emboss encode foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl tcpd truetype truetype-fonts type1-fonts vorbis xml2 xmms xv zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY

neo portage #
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-14 18:10:56 UTC

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