Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 276862 - sys-devel/gcc-4.3.2 - Failed Patch: 03_all_gcc43-java-nomulti.patch
Summary: sys-devel/gcc-4.3.2 - Failed Patch: 03_all_gcc43-java-nomulti.patch
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-07 06:56 UTC by Dmitry
Modified: 2009-07-09 06:09 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 Dmitry 2009-07-07 06:56:59 UTC
sys-devel/gcc-4.3.2-r3: fails to upgrade from gcc-4.1.2

Reproducible: Always




receiver gcc # emerge -u gcc
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 2) sys-devel/gcc-4.3.2-r3
 * gcc-4.3.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                    [ ok ]
 * gcc-4.3.2-uclibc-patches-1.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                 [ ok ]
 * gcc-4.3.2-specs-0.9.4.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                        [ ok ]
 * gcc-4.3.2-patches-1.6.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                        [ ok ]
 * gcc-4.3.2-piepatches-v10.1.5.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                 [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                                    [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                                   [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                                  [ ok ]
>>> Unpacking source...
>>> Unpacking gcc-4.3.2.tar.bz2 to /var/tmp/portage/sys-devel/gcc-4.3.2-r3/work
>>> Unpacking gcc-4.3.2-patches-1.6.tar.bz2 to /var/tmp/portage/sys-devel/gcc-4.3.2-r3/work
>>> Unpacking gcc-4.3.2-uclibc-patches-1.0.tar.bz2 to /var/tmp/portage/sys-devel/gcc-4.3.2-r3/work
>>> Unpacking gcc-4.3.2-piepatches-v10.1.5.tar.bz2 to /var/tmp/portage/sys-devel/gcc-4.3.2-r3/work
>>> 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 ...                                                                                                                                                                 [ ok ]
 *   03_all_gcc43-java-nomulti.patch ...

 * Failed Patch: 03_all_gcc43-java-nomulti.patch !
 *  ( /var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/patch/03_all_gcc43-java-nomulti.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/03_all_gcc43-java-nomulti.patch-497.out

 *
 * ERROR: sys-devel/gcc-4.3.2-r3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 4790:  Called gcc_src_unpack
 *             environment, line 3053:  Called epatch '/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/patch'
 *             environment, line 2143:  Called die
 * The specific snippet of code:
 *                   die "Failed Patch: ${patchname}!";
 *  The die message:
 *   Failed Patch: 03_all_gcc43-java-nomulti.patch!
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/sys-devel:gcc-4.3.2-r3:20090707-064418.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/environment'.
 *

>>> Failed to emerge sys-devel/gcc-4.3.2-r3, Log file:

>>>  '/var/log/portage/sys-devel:gcc-4.3.2-r3:20090707-064418.log'

 * Messages for package sys-devel/gcc-4.3.2-r3:

 * Failed Patch: 03_all_gcc43-java-nomulti.patch !
 *  ( /var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/patch/03_all_gcc43-java-nomulti.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/03_all_gcc43-java-nomulti.patch-497.out
 *
 * ERROR: sys-devel/gcc-4.3.2-r3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 4790:  Called gcc_src_unpack
 *             environment, line 3053:  Called epatch '/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/patch'
 *             environment, line 2143:  Called die
 * The specific snippet of code:
 *                   die "Failed Patch: ${patchname}!";
 *  The die message:
 *   Failed Patch: 03_all_gcc43-java-nomulti.patch!
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/sys-devel:gcc-4.3.2-r3:20090707-064418.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/environment'.
 *


receiver radio # emerge --info
Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.1.1, glibc-2.9_p20081201-r2, 2.6.27-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4600+-with-glibc2.0
Timestamp of tree: Tue, 07 Jul 2009 04:00:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.4.4-r6, 2.5.4-r3
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer"
DISTDIR="/home/distfiles"
FEATURES="buildpkg distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j4"
PKGDIR="/home/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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip acl berkdb bzip2 cli cracklib crypt cups directfb dri dvb fbcon fortran gdbm gpm iconv isdnlog midi mmx mmxext mudflap ncurses nls nptl nptlonly ogg openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl stream sysfs tcpd theora unicode vdr vdr-net x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2009-07-07 18:37:24 UTC
You forgot to attach /var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/03_all_gcc43-java-nomulti.patch-497.out
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2009-07-07 18:38:34 UTC
And your CFLAGS indicate an amd64 rather than an x86 system:

CFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer"
Comment 3 Dmitry 2009-07-09 06:09:43 UTC
I have wrongs. not from gcc-4.1.2, I can't upgraded from gcc-4.1.1 to gcc-4.3.2.
I have installed cleared system with last sync portage
Now i can't to compilling one package (what is it?):
/usr/include/sys/types.h:62: error: conflicting declaration 'typedef __dev_t dev_t'
/lib/modules/2.6.29-gentoo-r5/build/include/linux/types.h:19: error: 'dev_t' has a previous declaration as 'typedef __kernel_dev_t dev_t'
/usr/include/sys/types.h:67: error: conflicting declaration 'typedef __gid_t gid_t'
/lib/modules/2.6.29-gentoo-r5/build/include/linux/types.h:53: error: 'gid_t' has a previous declaration as 'typedef __kernel_gid_t gid_t'
/usr/include/sys/types.h:72: error: conflicting declaration 'typedef __mode_t mode_t'
/lib/modules/2.6.29-gentoo-r5/build/include/linux/types.h:21: error: 'mode_t' has a previous declaration as 'typedef __kernel_mode_t mode_t'
/usr/include/sys/types.h:77: error: conflicting declaration 'typedef __nlink_t nlink_t'
/lib/modules/2.6.29-gentoo-r5/build/include/linux/types.h:22: error: 'nlink_t' has a previous declaration as 'typedef __kernel_nlink_t nlink_t'
/usr/include/sys/types.h:82: error: conflicting declaration 'typedef __uid_t uid_t'
/lib/modules/2.6.29-gentoo-r5/build/include/linux/types.h:52: error: 'uid_t' has a previous declaration as 'typedef __kernel_uid_t uid_t'
/usr/include/time.h:105: error: conflicting declaration 'typedef void* timer_t'
/lib/modules/2.6.29-gentoo-r5/build/include/linux/types.h:28: error: 'timer_t' has a previous declaration as 'typedef __kernel_timer_t timer_t'
/usr/include/sys/select.h:78: error: conflicting declaration 'typedef struct fd_set fd_set'
/lib/modules/2.6.29-gentoo-r5/build/include/linux/types.h:18: error: 'fd_set' has a previous declaration as 'typedef struct __kernel_fd_set fd_set'
/usr/include/sys/types.h:235: error: conflicting declaration 'typedef __blkcnt_t blkcnt_t'
/lib/modules/2.6.29-gentoo-r5/build/include/linux/types.h:146: error: 'blkcnt_t' has a previous declaration as 'typedef long unsigned int blkcnt_t'
make: *** [objs/dvbdevice.o] Error 1
make: *** Waiting for unfinished jobs....


localhost linux # emerge --info
Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.29-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.29-gentoo-r5-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4600+-with-glibc2.0
Timestamp of tree: Tue, 07 Jul 2009 04:00:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.4.4-r13, 2.5.4-r3
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63
sys-devel/automake:  1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg 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="-Wl,-O1"
LINGUAS="ru"
MAKEOPTS="-j3"
PKGDIR="/home/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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext acl berkdb bzip2 cli cracklib crypt cups dri dvb fortran gdbm gpm iconv isdnlog libcaca midi mmx mmxext mp3 mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl stream symlink sysfs tcpd unicode x86 xorg xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS