Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121034 - [3.4/build] Emerge can't apply Pie patch to GCC 3.4.5 when USE=vanilla
Summary: [3.4/build] Emerge can't apply Pie patch to GCC 3.4.5 when USE=vanilla
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 122809 125901 127019 129575 130804 142320 170454 172990 209845 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-01-31 03:42 UTC by nosfucious
Modified: 2008-02-12 18:21 UTC (History)
14 users (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 nosfucious 2006-01-31 03:42:12 UTC
When I want to install pretty much any new program, Portage wants to upgrade me to GCC 3.4.5, but it can't. I have no strong attachement to one version or the other so I let the upgrade proceed.

This has happened over the last week or so and I have "emerge --sync" a few times.

 * Applying stub patch for htb ...                                                                                   [ ok ]
 * Applying gcc-3.4.5-ssp.patch ...                                                                                  [ ok ]
 * Updating gcc to use SSP from libc ...
 * Applying upstream pie patches ...
 *   00_all_gcc-4.0-cvs-incompat.patch ...                                                                           [ ok ]
 *   00_all_gcc-4.0-cvs-mips-pic-for-3.4.3.patch ...                                                                 [ ok ]
 *   00_all_gcc-4.0-cvs-pic.patch ...                                                                                [ ok ]
 *   00_all_gcc-4.0-cvs-start_endfile-for-3.4.4.patch ...                                                            [ ok ]
 *   03_all_gcc-3.4.0-v8.7.6.1-pie-arm.patch ...

 * Failed Patch: 03_all_gcc-3.4.0-v8.7.6.1-pie-arm.patch !
 *  ( /var/tmp/portage/gcc-3.4.5/work/piepatch/upstream/03_all_gcc-3.4.0-v8.7.6.1-pie-arm.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/gcc-3.4.5/temp/03_all_gcc-3.4.0-v8.7.6.1-pie-arm.patch-13772.out


!!! ERROR: sys-devel/gcc-3.4.5 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_unpack
  ebuild.sh, line 694:   Called src_unpack
  gcc-3.4.5.ebuild, line 79:   Called gcc_src_unpack
  toolchain.eclass, line 1004:   Called do_gcc_PIE_patches
  toolchain.eclass, line 1948:   Called epatch 'unpack'

!!! Failed Patch: 03_all_gcc-3.4.0-v8.7.6.1-pie-arm.patch!
!!! If you need support, post the topmost build error, and the call stack if relevant.


Portage 2.1_pre4-r1 (default-linux/x86/2005.0, gcc-3.3.4, glibc-2.3.5-r3, 2.6.15 i686)
=================================================================
System uname: 2.6.15 i686 AMD Athlon(TM) XP 2500+
Gentoo Base System version 1.12.0_pre15
ccache version 2.4 [disabled]
dev-lang/python:     2.2.3-r1, 2.3.5, 2.4.2
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-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/gentoo/ ftp://ftp.tiscali.nl/pub/mirror/gentoo http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ ftp://sunsite.cnlab-switch.ch/mirror/gentoo/"
LANG="en_AU"
LC_ALL="en_AU.UTF-8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X Xaw3d aac alsa apm arts artworkextra avi bash-completion berkdb bitmap-fonts bl bootsplash cddb cdparanoia cdr cdrom crypt css cups dga divx4linux dvd dvdr dvdread encode fbcon ffmpeg font-server foomaticdb gdbm gnome gpm gstreamer gtk gtk2 ieee1394 imlib jpeg kde kdeenablefinal kqemu libg++ libwww lzo lzw lzw-tiff mad mikmod mime mjpeg mmx mmxext mng motif mozdevelop moznoirc mozsvg mp3 mpeg mpeg4 mplayer ncurses nls ogg oggvorbis opengl oss pam pdf pdflib perl png pnp python qemu-fast qt quicktime rar rdesktop readline rtc sdl speedo spell sse sse2 ssl tcpd tga tidy tiff transcode truetype truetype-fonts type1 type1-fonts udev userlocales vanilla vcd vcdimager vidix vorbis wifi win32codecs wmf wsconvert wxwindows xanim xml2 xmms xosd xv xvid xvmc yv12 zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY

and finally:

nosfucious portage # cat /var/tmp/portage/gcc-3.4.5/temp/03_all_gcc-3.4.0-v8.7.6.1-pie-arm.patch-13772.out
***** 03_all_gcc-3.4.0-v8.7.6.1-pie-arm.patch *****

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

PATCH COMMAND:  patch -p0 -g0 --no-backup-if-mismatch < /var/tmp/portage/gcc-3.4.5/work/piepatch/upstream/03_all_gcc-3.4.0-v8.7.6.1-pie-arm.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.4.0/gcc/config/arm/linux-elf.h.mps   Thu May 20 09:11:17 2004
|+++ gcc-3.4.0/gcc/config/arm/linux-elf.h       Thu May 20 09:12:28 2004
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
===================================================

PATCH COMMAND:  patch -p1 -g0 --no-backup-if-mismatch < /var/tmp/portage/gcc-3.4.5/work/piepatch/upstream/03_all_gcc-3.4.0-v8.7.6.1-pie-arm.patch

===================================================
patching file gcc/config/arm/linux-elf.h
Hunk #1 FAILED at 91.
1 out of 1 hunk FAILED -- saving rejects to file gcc/config/arm/linux-elf.h.rej
===================================================

PATCH COMMAND:  patch -p2 -g0 --no-backup-if-mismatch < /var/tmp/portage/gcc-3.4.5/work/piepatch/upstream/03_all_gcc-3.4.0-v8.7.6.1-pie-arm.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.4.0/gcc/config/arm/linux-elf.h.mps   Thu May 20 09:11:17 2004
|+++ gcc-3.4.0/gcc/config/arm/linux-elf.h       Thu May 20 09:12:28 2004
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
===================================================

PATCH COMMAND:  patch -p3 -g0 --no-backup-if-mismatch < /var/tmp/portage/gcc-3.4.5/work/piepatch/upstream/03_all_gcc-3.4.0-v8.7.6.1-pie-arm.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.4.0/gcc/config/arm/linux-elf.h.mps   Thu May 20 09:11:17 2004
|+++ gcc-3.4.0/gcc/config/arm/linux-elf.h       Thu May 20 09:12:28 2004
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
===================================================

PATCH COMMAND:  patch -p4 -g0 --no-backup-if-mismatch < /var/tmp/portage/gcc-3.4.5/work/piepatch/upstream/03_all_gcc-3.4.0-v8.7.6.1-pie-arm.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.4.0/gcc/config/arm/linux-elf.h.mps   Thu May 20 09:11:17 2004
|+++ gcc-3.4.0/gcc/config/arm/linux-elf.h       Thu May 20 09:12:28 2004
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
Comment 1 Peter S. Mazinger 2006-01-31 03:56:53 UTC
USE=vanilla should remove this file, because it depends on the uclibc patches
Comment 2 SpanKY gentoo-dev 2006-01-31 05:46:20 UTC
you shouldnt be using USE=vanilla when you dont know what it does
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-02-14 09:46:46 UTC
*** Bug 122809 has been marked as a duplicate of this bug. ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-03-12 00:49:59 UTC
*** Bug 125901 has been marked as a duplicate of this bug. ***
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-03-20 15:59:21 UTC
*** Bug 127019 has been marked as a duplicate of this bug. ***
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-04-11 03:21:41 UTC
*** Bug 129575 has been marked as a duplicate of this bug. ***
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-04-21 23:55:51 UTC
*** Bug 130804 has been marked as a duplicate of this bug. ***
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-04-21 23:56:48 UTC
Uhm - do we need more duplicates to get this fixed?
Comment 9 SpanKY gentoo-dev 2006-04-22 00:02:11 UTC
it'd help
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2006-07-31 13:13:43 UTC
*** Bug 142320 has been marked as a duplicate of this bug. ***
Comment 11 SpanKY gentoo-dev 2006-12-31 07:23:37 UTC
not worth fixing
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2007-03-11 18:07:06 UTC
*** Bug 170454 has been marked as a duplicate of this bug. ***
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2007-04-01 10:22:08 UTC
*** Bug 172990 has been marked as a duplicate of this bug. ***
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2008-02-12 18:21:38 UTC
*** Bug 209845 has been marked as a duplicate of this bug. ***