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

Bug 72890

Summary: gcc-3.3.5: Patch 00_all_gcc-3.3.5-sparc-pic.patch.bz2 cannot be applied
Product: Gentoo Linux Reporter: Alexander Skwar <askwar>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alexander Skwar 2004-11-29 22:53:35 UTC
* Applying various patches (bugfixes/updates) ...
 *   00_all_gcc-3.3.5-rs6000-pic.patch.bz2 ...                                                                 [ ok ] *   00_all_gcc-3.3.5-sparc-pic.patch.bz2 ...

 * Failed Patch: 00_all_gcc-3.3.5-sparc-pic.patch.bz2!
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/gcc-3.3.5/temp/00_all_gcc-3.3.5-sparc-pic.patch.bz2-19655.out


!!! ERROR: sys-devel/gcc-3.3.5 failed.
!!! Function epatch, Line 402, Exitcode 0
!!! Failed Patch: 00_all_gcc-3.3.5-sparc-pic.patch.bz2!
!!! If you need support, post the topmost build error, NOT this status message.


[07:51:17 vz6tml@exp01:/mounts/u/vz6tml/tmp/BuildOOo] $ cat /var/tmp/portage/gcc-3.3.5/temp/00_all_gcc-3.3.5-sparc-pic.patch.bz2-19655.out
***** 00_all_gcc-3.3.5-sparc-pic.patch.bz2 *****

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

PIPE_COMMAND:  bzip2 -dc /var/tmp/portage/gcc-3.3.5/work/piepatch/upstream/00_all_gcc-3.3.5-sparc-pic.patch.bz2 > /var/tmp/portage/gcc-3.3.5/temp/19655.patch
PATCH COMMAND:  patch -p0 -g0 < /var/tmp/portage/gcc-3.3.5/temp/19655.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:
--------------------------
|--- gcc-3.3.5/gcc/config/sparc/linux.h.upstream~       Thu Nov 18 23:11:39 2004
|+++ gcc-3.3.5/gcc/config/sparc/linux.h Thu Nov 18 23:32:55 2004
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 39
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- gcc-3.3.5/gcc/config/sparc/linux64.h.upstream~     Thu Nov 18 23:11:39 2004
|+++ gcc-3.3.5/gcc/config/sparc/linux64.h       Thu Nov 18 23:34:29 2004
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
================================================

PIPE_COMMAND:  bzip2 -dc /var/tmp/portage/gcc-3.3.5/work/piepatch/upstream/00_all_gcc-3.3.5-sparc-pic.patch.bz2 > /var/tmp/portage/gcc-3.3.5/temp/19655.patch
PATCH COMMAND:  patch -p1 -g0 < /var/tmp/portage/gcc-3.3.5/temp/19655.patch

================================================
patching file gcc/config/sparc/linux.h
Hunk #1 FAILED at 107.
1 out of 1 hunk FAILED -- saving rejects to file gcc/config/sparc/linux.h.rej
patching file gcc/config/sparc/linux64.h
Hunk #1 FAILED at 119.
1 out of 1 hunk FAILED -- saving rejects to file gcc/config/sparc/linux64.h.rej
================================================

PIPE_COMMAND:  bzip2 -dc /var/tmp/portage/gcc-3.3.5/work/piepatch/upstream/00_all_gcc-3.3.5-sparc-pic.patch.bz2 > /var/tmp/portage/gcc-3.3.5/temp/19655.patch
PATCH COMMAND:  patch -p2 -g0 < /var/tmp/portage/gcc-3.3.5/temp/19655.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:
--------------------------
|--- gcc-3.3.5/gcc/config/sparc/linux.h.upstream~       Thu Nov 18 23:11:39 2004
|+++ gcc-3.3.5/gcc/config/sparc/linux.h Thu Nov 18 23:32:55 2004
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 39
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- gcc-3.3.5/gcc/config/sparc/linux64.h.upstream~     Thu Nov 18 23:11:39 2004
|+++ gcc-3.3.5/gcc/config/sparc/linux64.h       Thu Nov 18 23:34:29 2004
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
================================================

PIPE_COMMAND:  bzip2 -dc /var/tmp/portage/gcc-3.3.5/work/piepatch/upstream/00_all_gcc-3.3.5-sparc-pic.patch.bz2 > /var/tmp/portage/gcc-3.3.5/temp/19655.patch
PATCH COMMAND:  patch -p3 -g0 < /var/tmp/portage/gcc-3.3.5/temp/19655.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:
--------------------------
|--- gcc-3.3.5/gcc/config/sparc/linux.h.upstream~       Thu Nov 18 23:11:39 2004
|+++ gcc-3.3.5/gcc/config/sparc/linux.h Thu Nov 18 23:32:55 2004
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 39
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- gcc-3.3.5/gcc/config/sparc/linux64.h.upstream~     Thu Nov 18 23:11:39 2004
|+++ gcc-3.3.5/gcc/config/sparc/linux64.h       Thu Nov 18 23:34:29 2004
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
================================================

PIPE_COMMAND:  bzip2 -dc /var/tmp/portage/gcc-3.3.5/work/piepatch/upstream/00_all_gcc-3.3.5-sparc-pic.patch.bz2 > /var/tmp/portage/gcc-3.3.5/temp/19655.patch
PATCH COMMAND:  patch -p4 -g0 < /var/tmp/portage/gcc-3.3.5/temp/19655.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:
--------------------------
|--- gcc-3.3.5/gcc/config/sparc/linux.h.upstream~       Thu Nov 18 23:11:39 2004
|+++ gcc-3.3.5/gcc/config/sparc/linux.h Thu Nov 18 23:32:55 2004
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 39
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- gcc-3.3.5/gcc/config/sparc/linux64.h.upstream~     Thu Nov 18 23:11:39 2004
|+++ gcc-3.3.5/gcc/config/sparc/linux64.h       Thu Nov 18 23:34:29 2004
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
[07:51:40 vz6tml@exp01:/mounts/u/vz6tml/tmp/BuildOOo] $


This is an i386 system. Why are non i386 patches like rs6000 and sparc patches applied?

[07:51:40 vz6tml@exp01:/mounts/u/vz6tml/tmp/BuildOOo] $ sudo emerge -vpt =sys-devel/gcc-3.3.5
Password:

These are the packages that I would merge, in reverse order:

Calculating dependencies ...done!
[ebuild     U ] sys-devel/gcc-3.3.5 [3.3.4-r2] -bootstrap* -boundschecking -build -debug -fortran -gcj +gtk -hardened -multilib -n32 -n64 +nls -nocxx -objc -static (-uclibc) 0 kB

Total size of downloads: 0 kB



Reproducible: Always
Steps to Reproduce:




[07:51:14 vz6tml@exp01:/mounts/u/vz6tml/tmp/BuildOOo] $ emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20041102-r0,
2.6.8.1-ck9 i686)
=================================================================
System uname: 2.6.8.1-ck9 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.6.6
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -fomit-frame-pointer -pipe -funroll-loops"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acl acpi adns alsa apache2 apm arts artswrappersuid artworkextra
audiofile avi bcmath bitmap-fonts bzlib cairo crypt cscope cups curl
curlwrappers directfb divx4linux djbfft dvd encode esd ethereal evo exif f77 fam
fbcon flac foomaticdb ftp gd gdbm gif gimpprint gnome gnutls gphoto2 gpm
gstreamer gtk gtk2 hal iconv imagemagick imap imlib imlib2 immqt-bc inifile
ithreads java javascript jbig jikes jpeg jpeg2k kde kerberos ldap libedit libg++
libwww lzw-tiff mad maildir mailwrapper matroska mbox mmap mmx mng motif
mozcalendar mozilla moznoirc mpeg ncurses nls noantlr nobcel nobeanutils nobsh
nocommonslogging nocommonsnet nodrm nojdepend nojoystick nojsch nojython nolog4j
nooro noregexp norhino noxalan noxerces nptl nptlonly offensive oggvorbis opengl
oss pam parse-clocks pcntl pcre pdflib perl pic pie png posix ppds pwdb python
qt quicktime quotes readline real recode samba sasl sdl shared slang sndfile
sockets spell sse ssl svg sysvipc tcltk tcpd theora tiff truetype unicode usb
videos vim-with-x wmf x86 xchattext xfs xml xml2 xmms xscreensaver xv xvid zlib
linguas_de"
Comment 1 SpanKY gentoo-dev 2004-11-30 06:52:57 UTC

*** This bug has been marked as a duplicate of 72665 ***