Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 289678 - sys-devel/gcc-4.3.2-r3: Failed Patch: 00_all_gcc-trampolinewarn.patch !
Summary: sys-devel/gcc-4.3.2-r3: Failed Patch: 00_all_gcc-trampolinewarn.patch !
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: PPC Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-19 07:46 UTC by Henrik
Modified: 2009-10-20 15:57 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 Henrik 2009-10-19 07:46:25 UTC
When trying to emerge glibc, the gcc is also emerged but fails.

>>> Unpacking gcc-4.3.2-specs-0.9.4.tar.bz2 to /var/tmp/portage/sys-devel/gcc-4.
3.2-r3/work
 * Applying Gentoo patches ...
 *   00_all_gcc-4.1-alpha-mieee-default.patch ...
  [ ok ]
 *   00_all_gcc-trampolinewarn.patch ...

 * Failed Patch: 00_all_gcc-trampolinewarn.patch !
 *  ( /var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/patch/00_all_gcc-trampolinewa
rn.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/00_all_gcc-trampolinewarn.patch-23083.out

 * 
 * ERROR: sys-devel/gcc-4.3.2-r3 failed.


Reproducible: Always

Steps to Reproduce:
1. emerge -1v --deep glibc
2.
3.

Actual Results:  
gcc emerge fails

Expected Results:  
glibc updated.

 cat /var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/00_all_gcc-trampolinewarn.patch-23083.out
***** 00_all_gcc-trampolinewarn.patch *****

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

PATCH COMMAND:	 patch -p0 -g0 -E --no-backup-if-mismatch < /var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/patch/00_all_gcc-trampolinewarn.patch

===========================================
can't find file to patch at input line 10
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|	This trivial patch causes gcc to emit a warning whenever
|	it generates a trampoline.  These are otherwise hard to
|	locate.  It is rigged to default ON - to have it default
|	to OFF remove the text 'Init(1)' from the common.opt
|	patch, leaving just 'Common Var(warn_trampolines)'.
|	Kevin F. Quinn <kevquinn@gentoo.org> 17 Jan 2006
|
|--- gcc/gcc/common.opt
|+++ gcc/gcc/common.opt
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
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:
--------------------------
|--- gcc/gcc/builtins.c
|+++ gcc/gcc/builtins.c
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
===========================================

PATCH COMMAND:	 patch -p1 -g0 -E --no-backup-if-mismatch < /var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/patch/00_all_gcc-trampolinewarn.patch

===========================================
patching file gcc/common.opt
Hunk #1 succeeded at 182 with fuzz 2 (offset 41 lines).
patching file gcc/builtins.c
patch: **** write error : No space left on device
===========================================

PATCH COMMAND:	 patch -p2 -g0 -E --no-backup-if-mismatch < /var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/patch/00_all_gcc-trampolinewarn.patch

===========================================
can't find file to patch at input line 10
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|	This trivial patch causes gcc to emit a warning whenever
|	it generates a trampoline.  These are otherwise hard to
|	locate.  It is rigged to default ON - to have it default
|	to OFF remove the text 'Init(1)' from the common.opt
|	patch, leaving just 'Common Var(warn_trampolines)'.
|	Kevin F. Quinn <kevquinn@gentoo.org> 17 Jan 2006
|
|--- gcc/gcc/common.opt
|+++ gcc/gcc/common.opt
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
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:
--------------------------
|--- gcc/gcc/builtins.c
|+++ gcc/gcc/builtins.c
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
===========================================

PATCH COMMAND:	 patch -p3 -g0 -E --no-backup-if-mismatch < /var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/patch/00_all_gcc-trampolinewarn.patch

===========================================
missing header for unified diff at line 10 of patch
can't find file to patch at input line 10
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|	This trivial patch causes gcc to emit a warning whenever
|	it generates a trampoline.  These are otherwise hard to
|	locate.  It is rigged to default ON - to have it default
|	to OFF remove the text 'Init(1)' from the common.opt
|	patch, leaving just 'Common Var(warn_trampolines)'.
|	Kevin F. Quinn <kevquinn@gentoo.org> 17 Jan 2006
|
|--- gcc/gcc/common.opt
|+++ gcc/gcc/common.opt
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk 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:
--------------------------
|--- gcc/gcc/builtins.c
|+++ gcc/gcc/builtins.c
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
===========================================

PATCH COMMAND:	 patch -p4 -g0 -E --no-backup-if-mismatch < /var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/patch/00_all_gcc-trampolinewarn.patch

===========================================
missing header for unified diff at line 10 of patch
can't find file to patch at input line 10
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|	This trivial patch causes gcc to emit a warning whenever
|	it generates a trampoline.  These are otherwise hard to
|	locate.  It is rigged to default ON - to have it default
|	to OFF remove the text 'Init(1)' from the common.opt
|	patch, leaving just 'Common Var(warn_trampolines)'.
|	Kevin F. Quinn <kevquinn@gentoo.org> 17 Jan 2006
|
|--- gcc/gcc/common.opt
|+++ gcc/gcc/common.opt
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk 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:
--------------------------
|--- gcc/gcc/builtins.c
|+++ gcc/gcc/builtins.c
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored


emerge --info
Portage 2.1.6.13 (arch/powerpc/ppc32, gcc-4.1.2, glibc-2.6.1-r0, 2.6.21-gentoo-r4 ppc)
=================================================================
System uname: Linux-2.6.21-gentoo-r4-ppc-740-750-with-glibc2.0
Timestamp of tree: Sun, 18 Oct 2009 12:45:02 +0000
app-shells/bash:     4.0_p28
dev-lang/python:     2.4.4-r6, 2.5.4-r3
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.6.3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="ppc"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=750 -mtune=powerpc -fno-strict-aliasing -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mcpu=750 -mtune=powerpc -fno-strict-aliasing -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"

USE="X alsa directdb dri hal jpeg lirc mad mp3 png ppc svg xscreensaver"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Viktor S 2009-10-19 22:47:53 UTC
patching file gcc/builtins.c
patch: **** write error : No space left on device

Did you make sure that you had enough space on your drive ... ?
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2009-10-20 15:57:10 UTC
PLease make sure you have enough space and follow the lines which tell you what need to be included in your bugreport. Please reopen the bug with those things attached.