Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106899 - emerge glibc failed (2004.3 to 2005.0 update)
Summary: emerge glibc failed (2004.3 to 2005.0 update)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-22 10:04 UTC by Nate Metheny
Modified: 2005-10-03 12:38 UTC (History)
1 user (show)

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 Nate Metheny 2005-09-22 10:04:29 UTC
***** glibc-gentoo-libdir.patch *****

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

PATCH COMMAND:  patch -p0 -g0 --no-backup-if-mismatch <
/usr/portage/sys-libs/glibc/files/2.3.4/glibc-gentoo-libdir.patch

=====================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nru glibc-2.3.3.old/sysdeps/unix/sysv/linux/configure
glibc-2.3.3/sysdeps/unix/sysv/linux/configure
|--- glibc-2.3.3.old/sysdeps/unix/sysv/linux/configure  2004-09-06
12:33:39.320387104 -0400
|+++ glibc-2.3.3/sysdeps/unix/sysv/linux/configure      2004-09-06
12:34:42.575770824 -0400
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=====================================

PATCH COMMAND:  patch -p1 -g0 --no-backup-if-mismatch <
/usr/portage/sys-libs/glibc/files/2.3.4/glibc-gentoo-libdir.patch

=====================================
patching file sysdeps/unix/sysv/linux/configure
Hunk #1 FAILED at 224.
1 out of 1 hunk FAILED -- saving rejects to file
sysdeps/unix/sysv/linux/configure.rej
=====================================

PATCH COMMAND:  patch -p2 -g0 --no-backup-if-mismatch <
/usr/portage/sys-libs/glibc/files/2.3.4/glibc-gentoo-libdir.patch
=====================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nru glibc-2.3.3.old/sysdeps/unix/sysv/linux/configure
glibc-2.3.3/sysdeps/unix/sysv/linux/configure
|--- glibc-2.3.3.old/sysdeps/unix/sysv/linux/configure  2004-09-06
12:33:39.320387104 -0400
|+++ glibc-2.3.3/sysdeps/unix/sysv/linux/configure      2004-09-06
12:34:42.575770824 -0400
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=====================================

PATCH COMMAND:  patch -p3 -g0 --no-backup-if-mismatch <
/usr/portage/sys-libs/glibc/files/2.3.4/glibc-gentoo-libdir.patch

=====================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nru glibc-2.3.3.old/sysdeps/unix/sysv/linux/configure
glibc-2.3.3/sysdeps/unix/sysv/linux/configure
|--- glibc-2.3.3.old/sysdeps/unix/sysv/linux/configure  2004-09-06
12:33:39.320387104 -0400
|+++ glibc-2.3.3/sysdeps/unix/sysv/linux/configure      2004-09-06
12:34:42.575770824 -0400
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=====================================

PATCH COMMAND:  patch -p4 -g0 --no-backup-if-mismatch <
/usr/portage/sys-libs/glibc/files/2.3.4/glibc-gentoo-libdir.patch

=====================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nru glibc-2.3.3.old/sysdeps/unix/sysv/linux/configure
glibc-2.3.3/sysdeps/unix/sysv/linux/configure
|--- glibc-2.3.3.old/sysdeps/unix/sysv/linux/configure  2004-09-06
12:33:39.320387104 -0400
|+++ glibc-2.3.3/sysdeps/unix/sysv/linux/configure      2004-09-06
12:34:42.575770824 -0400
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored


Reproducible: Always
Steps to Reproduce:
1. execute # sh ./2004.3-2005.0upgrade.sh
2.
3.

Actual Results:  
Emerge glibc failed while emerge / profile update script was updating system.

Expected Results:  
Successful update from 2004.3 to 2005.0 profile(s).
Comment 1 Simon Stelling (RETIRED) gentoo-dev 2005-09-22 12:19:54 UTC
please attach your emerge info
Comment 2 Simon Stelling (RETIRED) gentoo-dev 2005-09-22 12:22:04 UTC
oh, and the last 10 lines of emerge output would be helpful too
Comment 3 Nate Metheny 2005-09-22 12:56:55 UTC
Portage 2.0.51.22-r2 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20040808-r1, 2.6.11-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.4.16
dev-lang/python:     2.3.4
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.5
sys-devel/binutils:  2.15.90.0.1.1-r3
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/glftpd/etc /opt/glftpd/ftp-data
/usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/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=athlon64 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.espri.arizona.edu/gentoo/ http://gentoo.ccccom.com
http://gentoo.chem.wisc.edu/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa avi berkdb bitmap-fonts cdr crypt cups curl eds emboss encode
esd fam flac foomaticdb fortran gd gif gnome gpm gstreamer gtk gtk2 imagemagick
imlib ipv6 java jpeg kde libwww lzw lzw-tiff mad mp3 mpeg ncurses nls ogg opengl
pam pdflib perl png python qt quicktime readline sdl snmp spell ssl tcltk tcpd
tiff truetype-fonts type1-fonts usb userlocales vorbis xine xml xml2 xmms xpm xv
zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY

Last 10/so lines of emerge:

 * Applying Gentoo Glibc Patchset 2.3.5-1.10 ...
 *   1010_all_2.3.5-initstate-r-checks.patch ...                          [ ok ]
 *   1020_all_2.3.5-dl-tls.patch ...                                      [ ok ]
 *   1040_all_2.3.3-localedef-fix-trampoline.patch ...                    [ ok ]
 *   1510_all_glibc234-hppa-linesep.patch ...                             [ ok ]
 *   1520_all_glibc235-execvp-fix.patch ...                               [ ok ]
 *   1530_all_glibc235-gcc34-m68k-seccomment.patch ...                    [ ok ]
 *   1540_all_hppa-drop-utimes.patch ...                                  [ ok ]
 *   3000_all_2.3.4-dl_execstack-PaX-support.patch ...                    [ ok ]
 *   3010_all_2.3.3_pre20040117-pt_pax.patch ...                          [ ok ]
 *   3020_all_2.3.4.20040808-i386-got-fix.patch ...                       [ ok ]
 *   4000_all_2.3.4-hardened-sysdep-shared.patch ...                      [ ok ]
 *   4010_all_2.3.5-hardened-iconvconfig-unnest.patch ...                 [ ok ]
 *   5000_all_2.3.4-mdns-resolver-20041102.patch ...                      [ ok ]
 *   5005_all_enable-multilib-with-cross-compile.patch ...                [ ok ]
 *   5010_all_2.3.4-features-header-fix.patch ...                         [ ok ]
 *   5030_all_2.3.4-kd-types.patch ...                                    [ ok ]
 *   5040_all_2.3.4-gcc4.patch ...                                        [ ok ]
 *   5050_all_2.3.4-locale-no-archive.patch ...                           [ ok ]
 *   5070_all_cross-compile-nptl.patch ...                                [ ok ]
 *   6000_all_alpha-glibc-2.3.2-decc-compaq.patch ...                     [ ok ]
 *   6001_all_alpha-glibc-2.3.5-xstat.patch ...                           [ ok ]
 *   6200_all_arm-glibc-2.3.4-ioperm.patch ...                            [ ok ]
 *   6201_all_arm-glibc-2.3.4-fix_bad_pc24.patch ...                      [ ok ]
 *   6210_all_arm-glibc-fp-byteorder.patch ...                            [ ok ]
 *   6306_all_s390-glibc-20040822-sysdep_inc.patch ...                    [ ok ]
 *   6400_all_sh-glibc-2.3.2-fpscr_values.patch ...                       [ ok ]
 *   6401_all_sh-glibc-2.3.3-sh-nptl-multidir.patch ...                   [ ok ]
 *   6402_all_sh-glibc-2.3.3-sh-linux-fcntl_h.patch ...                   [ ok ]
 *   6403_all_sh-glibc-2.3.5-memset-fix.patch ...                         [ ok ]
 *   6900_all_ia64-initfini.patch ...                                     [ ok ]
 * Done with patching
 * Applying glibc-2.3.5-propolice-guard-functions.patch ...               [ ok ]
 * Applying glibc-2.3.5-frandom-detect.patch ...                          [ ok ]
 * Applying glibc-gentoo-libdir.patch ...

 * Failed Patch: glibc-gentoo-libdir.patch !
 *  ( /usr/portage/sys-libs/glibc/files/2.3.4/glibc-gentoo-libdir.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/glibc-2.3.5-r1/temp/glibc-gentoo-libdir.patch-3253.out


!!! ERROR: sys-libs/glibc-2.3.5-r1 failed.
!!! Function epatch, Line 361, Exitcode 0
!!! Failed Patch: glibc-gentoo-libdir.patch!
Comment 4 fabien 2005-09-23 00:40:54 UTC
I have the same problem after my migration of 2004.3 to 2005.0 no-multilib

When i tried to upgrade with emerge -uv --system or with emerge glibc i have an
error in compliation of glibc

emerge glibc

 * Applying Gentoo Glibc Patchset 2.3.5-1.10 ...
 *   1010_all_2.3.5-initstate-r-checks.patch ...                               
                                                                        [ ok ]
 *   1020_all_2.3.5-dl-tls.patch ...                                           
                                                                        [ ok ]
 *   1040_all_2.3.3-localedef-fix-trampoline.patch ...                         
                                                                        [ ok ]
 *   1510_all_glibc234-hppa-linesep.patch ...                                  
                                                                        [ ok ]
 *   1520_all_glibc235-execvp-fix.patch ...                                    
                                                                        [ ok ]
 *   1530_all_glibc235-gcc34-m68k-seccomment.patch ...                         
                                                                        [ ok ]
 *   1540_all_hppa-drop-utimes.patch ...                                       
                                                                        [ ok ]
 *   3000_all_2.3.4-dl_execstack-PaX-support.patch ...                         
                                                                        [ ok ]
 *   3010_all_2.3.3_pre20040117-pt_pax.patch ...                               
                                                                        [ ok ]
 *   3020_all_2.3.4.20040808-i386-got-fix.patch ...                            
                                                                        [ ok ]
 *   4000_all_2.3.4-hardened-sysdep-shared.patch ...                           
                                                                        [ ok ]
 *   4010_all_2.3.5-hardened-iconvconfig-unnest.patch ...                      
                                                                        [ ok ]
 *   5000_all_2.3.4-mdns-resolver-20041102.patch ...                           
                                                                        [ ok ]
 *   5005_all_enable-multilib-with-cross-compile.patch ...                     
                                                                        [ ok ]
 *   5010_all_2.3.4-features-header-fix.patch ...                              
                                                                        [ ok ]
 *   5030_all_2.3.4-kd-types.patch ...                                         
                                                                        [ ok ]
 *   5040_all_2.3.4-gcc4.patch ...                                             
                                                                        [ ok ]
 *   5050_all_2.3.4-locale-no-archive.patch ...                                
                                                                        [ ok ]
 *   5070_all_cross-compile-nptl.patch ...                                     
                                                                        [ ok ]
 *   6000_all_alpha-glibc-2.3.2-decc-compaq.patch ...                          
                                                                        [ ok ]
 *   6001_all_alpha-glibc-2.3.5-xstat.patch ...                                
                                                                        [ ok ]
 *   6200_all_arm-glibc-2.3.4-ioperm.patch ...                                 
                                                                        [ ok ]
 *   6201_all_arm-glibc-2.3.4-fix_bad_pc24.patch ...                           
                                                                        [ ok ]
 *   6210_all_arm-glibc-fp-byteorder.patch ...                                 
                                                                        [ ok ]
 *   6306_all_s390-glibc-20040822-sysdep_inc.patch ...                         
                                                                        [ ok ]
 *   6400_all_sh-glibc-2.3.2-fpscr_values.patch ...                            
                                                                        [ ok ]
 *   6401_all_sh-glibc-2.3.3-sh-nptl-multidir.patch ...                        
                                                                        [ ok ]
 *   6402_all_sh-glibc-2.3.3-sh-linux-fcntl_h.patch ...                        
                                                                        [ ok ]
 *   6403_all_sh-glibc-2.3.5-memset-fix.patch ...                              
                                                                        [ ok ]
 *   6900_all_ia64-initfini.patch ...                                          
                                                                        [ ok ]
 * Done with patching
 * Applying glibc-2.3.5-propolice-guard-functions.patch ...                    
                                                                        [ ok ]
 * Applying glibc-2.3.5-frandom-detect.patch ...                               
                                                                        [ ok ]
 * Applying glibc-gentoo-libdir.patch ...

 * Failed Patch: glibc-gentoo-libdir.patch !
 *  ( /usr/portage/sys-libs/glibc/files/2.3.4/glibc-gentoo-libdir.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/glibc-2.3.5-r1/temp/glibc-gentoo-libdir.patch-24488.out


!!! ERROR: sys-libs/glibc-2.3.5-r1 failed.
!!! Function epatch, Line 361, Exitcode 0
!!! Failed Patch: glibc-gentoo-libdir.patch!
!!! If you need support, post the topmost build error, NOT this status message.


emerge --info 

Portage 2.0.51.19 (default-linux/amd64/2005.0/no-multilib, gcc-3.4.4,
glibc-2.3.4.20041102-r1, 2.6.11-hardened-r15 x86_64)
=================================================================
System uname: 2.6.11-hardened-r15 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 23 2005, 14:15:24)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r3, 1.5, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distcc distlocks sandbox sfperms
strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 alsa apache2 avi bash-completion berkdb bitmap-fonts crypt curl eds
emboss encode fbcon foomaticdb fortran gd gdbm gif gpm gstreamer gtk2 innodb
jpeg lzw lzw-tiff memlimit mp3 mpeg mysql ncurses nls pam pdflib perl png python
quicktime readline sdl snmp spell ssl tcpd tiff truetype-fonts type1-fonts usb
userlocales xml2 xpm zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 5 Nate Metheny 2005-10-03 12:38:07 UTC
did new emerge sync today, reran script. patchset for glibc worked.