Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70418 - crossdev failing on glibc 2.3.4
Summary: crossdev failing on glibc 2.3.4
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Joshua Kinard
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-07 22:25 UTC by MikeL
Modified: 2005-03-03 17:36 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 MikeL 2004-11-07 22:25:09 UTC
I've tried to use both crossdev 0.4-r1 and the one from CVS, but have the same problem every time.  Well, two problems.  :)  The first is the whole unstable thing.  Without the -u flag, it'll complain each time.  Not a specific problem per se, just that without it, nothing will work.

The second problem is the real problem:  it always fails on glibc (tried the latest 3 ebuild versions for 2.3.4), always in the same place:
!!! Failed Patch: glibc-gentoo-libdir.patch!

Asks me to post the patch.out, which is as follows:
***** glibc-gentoo-libdir.patch *****

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

PATCH COMMAND:  patch -p0 -g0 < /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 < /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 < /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 < /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 < /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. Set crossdev to use glibc-2.3.4
2.
3.

Actual Results:  
Choked on patching glibc.

Expected Results:  
A happy cross-compiling toolchain!

I set it to use 2.3.3, and it worked fine, so whatever it is, it's specific to
2.3.4.
Comment 1 SpanKY gentoo-dev 2005-03-03 17:36:45 UTC
<=crossdev-0.4 is no longer supported ... please upgrade to crossdev-0.9 and if
you're still having problems, re-open the bug and re-assign to toolchain@gentoo.org