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

Bug 231179

Summary: sys-devel/gcc-3.4.6-r2 cannot be build
Product: Gentoo Linux Reporter: Maciej Piechotka <uzytkownik2>
Component: New packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED NEEDINFO    
Severity: normal CC: atanasb
Priority: High    
Version: 2008.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
environment

Description Maciej Piechotka 2008-07-08 14:38:50 UTC
I wanted to build qemu do I tried to build <gcc-4.0.0:

* Applying libffi-without-libgcj.patch ...

 * Failed Patch: libffi-without-libgcj.patch !
 *  ( /usr/portage/sys-devel/gcc/files/3.4.3/libffi-without-libgcj.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/sys-devel/gcc-3.4.6-r2/temp/libffi-without-libgcj.patch-30606.out

 * 
 * ERROR: sys-devel/gcc-3.4.6-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 4682:  Called epatch '/usr/portage/sys-devel/gcc/files/3.4.3/libffi-without-libgcj.patch'
 *             environment, line 2121:  Called die
 * The specific snippet of code:
 *                   die "Failed Patch: ${patchname}!";
 *  The die message:
 *   Failed Patch: libffi-without-libgcj.patch!
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-devel/gcc-3.4.6-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-3.4.6-r2/temp/environment'.
 * 

Content of /var/tmp/portage/sys-devel/gcc-3.4.6-r2/temp/libffi-without-libgcj.patch-30606.out:
***** libffi-without-libgcj.patch *****

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

PATCH COMMAND:	 patch -p0 -g0 -E --no-backup-if-mismatch < /usr/portage/sys-devel/gcc/files/3.4.3/libffi-without-libgcj.patch

=======================================
patching file configure.in
Hunk #1 succeeded at 143 (offset 7 lines).
Hunk #2 succeeded at 159 with fuzz 2 (offset 9 lines).
patching file configure
Hunk #1 FAILED at 876.
Hunk #2 succeeded at 901 with fuzz 2 (offset 11 lines).
1 out of 2 hunks FAILED -- saving rejects to file configure.rej
=======================================

PATCH COMMAND:	 patch -p1 -g0 -E --no-backup-if-mismatch < /usr/portage/sys-devel/gcc/files/3.4.3/libffi-without-libgcj.patch

=======================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- configure.in.orig	2004-08-03 00:53:36.000000000 +0200
|+++ configure.in	2004-08-03 00:52:35.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
missing header for unified 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:
--------------------------
|--- configure~	2004-08-28 02:31:04.000000000 +0200
|+++ configure	2004-08-28 10:55:28.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
=======================================

PATCH COMMAND:	 patch -p2 -g0 -E --no-backup-if-mismatch < /usr/portage/sys-devel/gcc/files/3.4.3/libffi-without-libgcj.patch

=======================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- configure.in.orig	2004-08-03 00:53:36.000000000 +0200
|+++ configure.in	2004-08-03 00:52:35.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
missing header for unified 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:
--------------------------
|--- configure~	2004-08-28 02:31:04.000000000 +0200
|+++ configure	2004-08-28 10:55:28.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
=======================================

PATCH COMMAND:	 patch -p3 -g0 -E --no-backup-if-mismatch < /usr/portage/sys-devel/gcc/files/3.4.3/libffi-without-libgcj.patch

=======================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- configure.in.orig	2004-08-03 00:53:36.000000000 +0200
|+++ configure.in	2004-08-03 00:52:35.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
missing header for unified 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:
--------------------------
|--- configure~	2004-08-28 02:31:04.000000000 +0200
|+++ configure	2004-08-28 10:55:28.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
=======================================

PATCH COMMAND:	 patch -p4 -g0 -E --no-backup-if-mismatch < /usr/portage/sys-devel/gcc/files/3.4.3/libffi-without-libgcj.patch

=======================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- configure.in.orig	2004-08-03 00:53:36.000000000 +0200
|+++ configure.in	2004-08-03 00:52:35.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
missing header for unified 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:
--------------------------
|--- configure~	2004-08-28 02:31:04.000000000 +0200
|+++ configure	2004-08-28 10:55:28.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
Comment 1 SpanKY gentoo-dev 2008-08-20 02:25:09 UTC
builds fine for me

post the full output *as an attachment* of running `emerge ~gcc-3.4.6` as well as `emerge --info`
Comment 2 hilander 2008-11-05 14:45:43 UTC
Created attachment 170808 [details]
build.log
Comment 3 hilander 2008-11-05 14:46:33 UTC
(In reply to comment #1)
> builds fine for me
> 
> post the full output *as an attachment* of running `emerge ~gcc-3.4.6` as well
> as `emerge --info`
> 

Hello, I have the same problem. I enabled the libffi use flag and tried to recompile gcc-3.4.6-r2 with gcc-4.3.2 (my current compiler). I will attach the info you need.
Comment 4 hilander 2008-11-05 14:47:36 UTC
Created attachment 170810 [details]
environment