Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107286 - emerge glibc fails
Summary: emerge glibc fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-26 07:30 UTC by namelesspirate
Modified: 2005-09-26 15: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 namelesspirate 2005-09-26 07:30:06 UTC
this is a fairly old system with 2004.3 profile, when trying to update to 2005.0
 emerge glibc fails, because one patch doesn't apply

 * 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-4519.out


--->


***** 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.
2.
3.
Comment 1 SpanKY gentoo-dev 2005-09-26 10:31:01 UTC
no real info here

neglected to post `emerge info` like the bug report page told you to

no idea what version of glibc, the emerge output was not posted
Comment 2 namelesspirate 2005-09-26 11:14:54 UTC
here is the missing info, sorry for that

emerge info output:
emerge info

!!! Your current profile is deprecated and not supported anymore.
!!! Please upgrade to the following profile if possible:
        default-linux/amd64/2005.0

To upgrade do the following steps:

# The 2004.3 profile is now deprecated and subject to removal at any point
# after February 1, 2006.  Please update your system to the 2005.0 profile
# by using the upgrade guide located at:
#
# http://amd64.gentoo.org/howtos/index.xml?part=1&chap=1
#
# Do not simply change the symlink.



Portage 2.0.51.22-r2 (default-linux/amd64/2004.3, gcc-3.3.3, glibc-2.3.2-r9,
2.6.5-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.5-gentoo-r1 x86_64 4
Gentoo Base System version 1.4.10
dev-lang/python:     2.3.3
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.58-r1
sys-devel/automake:  1.8.3
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.2-r5
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -fforce-addr -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/bind /var/qmail/alias /var/qmail/control
/var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -fforce-addr -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://ftp.du.se/pub/os/gentoo http://gentoo.inode.at/
http://mirror.datapipe.net/gentoo"
LANG="de_DE"
LC_ALL="de_DE"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acpi alsa amd64 avi berkdb bitmap-fonts crypt cups eds emboss encode
foomaticdb fortran gd gdbm gif gnome gstreamer gtk2 hardened imagemagick imlib
ipv6 jpeg kde lzw lzw-tiff maildir memlimit mp3 mpeg mysql ncurses nls opengl
pam pdflib perl png python quicktime readline samba sdl slang spell ssl tcpd
tiff truetype-fonts type1-fonts unicode usb userlocales vhosts xpm xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY


last lines of emerge output:
 * Applying Gentoo Glibc Patchset 2.3.5-1.10 ...
  [ ok ]0_all_2.3.5-initstate-r-checks.patch ...
  [ ok ]0_all_2.3.5-dl-tls.patch ...
  [ ok ]0_all_2.3.3-localedef-fix-trampoline.patch ...
  [ ok ]0_all_glibc234-hppa-linesep.patch ...
  [ ok ]0_all_glibc235-execvp-fix.patch ...
  [ ok ]0_all_glibc235-gcc34-m68k-seccomment.patch ...
  [ ok ]0_all_hppa-drop-utimes.patch ...
  [ ok ]0_all_2.3.4-dl_execstack-PaX-support.patch ...
  [ ok ]0_all_2.3.3_pre20040117-pt_pax.patch ...
  [ ok ]0_all_2.3.4.20040808-i386-got-fix.patch ...
  [ ok ]0_all_2.3.4-hardened-sysdep-shared.patch ...
  [ ok ]0_all_2.3.5-hardened-iconvconfig-unnest.patch ...
  [ ok ]0_all_2.3.4-mdns-resolver-20041102.patch ...
  [ ok ]5_all_enable-multilib-with-cross-compile.patch ...
  [ ok ]0_all_2.3.4-features-header-fix.patch ...
  [ ok ]0_all_2.3.4-kd-types.patch ...
  [ ok ]0_all_2.3.4-gcc4.patch ...
  [ ok ]0_all_2.3.4-locale-no-archive.patch ...
  [ ok ]0_all_cross-compile-nptl.patch ...
  [ ok ]0_all_alpha-glibc-2.3.2-decc-compaq.patch ...
  [ ok ]1_all_alpha-glibc-2.3.5-xstat.patch ...
  [ ok ]0_all_arm-glibc-2.3.4-ioperm.patch ...
  [ ok ]1_all_arm-glibc-2.3.4-fix_bad_pc24.patch ...
  [ ok ]0_all_arm-glibc-fp-byteorder.patch ...
  [ ok ]6_all_s390-glibc-20040822-sysdep_inc.patch ...
  [ ok ]0_all_sh-glibc-2.3.2-fpscr_values.patch ...
  [ ok ]1_all_sh-glibc-2.3.3-sh-nptl-multidir.patch ...
  [ ok ]2_all_sh-glibc-2.3.3-sh-linux-fcntl_h.patch ...
  [ ok ]3_all_sh-glibc-2.3.5-memset-fix.patch ...
  [ ok ]0_all_ia64-initfini.patch ...
 * Done with patching
  [ ok ]ing glibc-2.3.5-propolice-guard-functions.patch ...
  [ ok ]ing glibc-2.3.5-frandom-detect.patch ...
 * 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-7751.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 -s glibc output:
*  sys-libs/glibc
      Latest version available: 2.3.5-r1
      Latest version installed: 2.3.2-r9
      Size of downloaded files: 15,629 kB
      Homepage:    http://www.gnu.org/software/libc/libc.html
      Description: GNU libc6 (also called glibc2) C library
      License:     LGPL-2
Comment 3 SpanKY gentoo-dev 2005-09-26 15:12:56 UTC
should be fixed in cvs now