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

Bug 125793

Summary: glibc-2.4 fails on non-multilib amd64 systems
Product: Gentoo Linux Reporter: Jean Bréfort <jean.brefort>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: major CC: amd64, rhill
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: glibc-2.4-gentoo-libdir.patch

Description Jean Bréfort 2006-03-10 22:41:27 UTC
* 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.4/temp/glibc-gentoo-libdir.patch-9467.out


!!! ERROR: sys-libs/glibc-2.4 failed.
Call stack:
  ebuild.sh, line 1933:   Called dyn_unpack
  ebuild.sh, line 719:   Called src_unpack
  glibc-2.4.ebuild, line 1202:   Called epatch 'unpack'

!!! Failed Patch: glibc-gentoo-libdir.patch!


cat /var/tmp/portage/glibc-2.4/temp/glibc-gentoo-libdir.patch-9467.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

emerge --info

Portage 2.1_pre5-r4 (default-linux/amd64/2006.0/no-multilib, gcc-3.4.5, glibc-2.3.6-r3, 2.6.14-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre16
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
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="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -g -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -g -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo/"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LINGUAS="de es fr it pl ru zh_CN"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X alsa avi berkdb bitmap-fonts blas bonobo bzip2 bzlib cdr clamav crypt cups dba dri dvd dvdr eds emboss encode esd fam firefox foomaticdb fortran ftp gd gdbm gif gimp gnome gpm gstreamer gtk gtk2 guile hal hdf5 imlib ipv6 javascript jpeg ldap lzw lzw-tiff mp3 mpeg ncurses nls nptl nptlonly opengl pam pdf pdflib perl png postgres print python quicktime readline samba sdl spell ssl tcpd tetex tiff truetype truetype-fonts type1-fonts usb userlocales xml2 xpm xv zlib elibc_glibc kernel_linux linguas_de linguas_es linguas_fr linguas_it linguas_pl linguas_ru linguas_zh_CN userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2006-03-10 23:12:14 UTC
Created attachment 81896 [details, diff]
glibc-2.4-gentoo-libdir.patch

looks like it'll fail only if you're using a non-multilib profile.  does this work?
Comment 2 Jean Bréfort 2006-03-10 23:31:45 UTC
It does not work either
Comment 3 SpanKY gentoo-dev 2006-03-11 01:24:16 UTC
should be fixed in cvs now