Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 377601 - gcc-4.3.6: gcc-4.2-pa-hpux-libgcc_s-soname.patch fails to apply
Summary: gcc-4.3.6: gcc-4.2-pa-hpux-libgcc_s-soname.patch fails to apply
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: Sparc Solaris
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-03 18:28 UTC by Florian Ermisch
Modified: 2011-08-04 07:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
gcc-4.2-pa-hpux-libgcc_s-soname.patch.out (gcc-4.2-pa-hpux-libgcc_s-soname.patch.out,2.93 KB, text/plain)
2011-08-03 18:30 UTC, Florian Ermisch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Ermisch 2011-08-03 18:28:17 UTC
The patch "gcc-4.2-pa-hpux-libgcc_s-soname.patch" fails to apply when I try to emerge gcc-4.3.6 in my solaris 10 prefix.
According to $PORTAGE_TMPDIR/sys-devel/gcc-4.3.6/temp/gcc-4.2-pa-hpux-libgcc_s-soname.patch.out it's for this bug: 
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40913 , 
which is fixed and backported to the 4.3-branch of gcc.

Reproducible: Always

Steps to Reproduce:
1. sync tree
2. try to update gcc
3.
Actual Results:  
emerge aborts when this patch fails to apply

Expected Results:  
working merge of gcc 4.3.6

emerge --info
Portage 2.2.01.19011-prefix (prefix/sunos/solaris/5.10/sparc, gcc-4.2.4, unavailable, 5.10 sun4v)
=================================================================
System uname: Solaris-2.10-sun4v-sparc-32bit-ELF

Timestamp of tree: Wed, 03 Aug 2011 17:37:35 +0000                                                                                                   [27/1980]
app-shells/bash:      4.2_p10
dev-lang/python:      2.6.5-r2, 2.7.2
dev-util/cmake:       2.8.1
dev-util/pkgconfig:   0.25-r2
sys-devel/autoconf:   2.13, 2.68
sys-devel/automake:   1.10.2-r00.1, 1.11.1
sys-devel/binutils:   2.20.1-r1, 2.20.51.0.4
sys-devel/gcc:        4.2.4-r01.3
sys-devel/gcc-config: 1.4.1-r00.2
sys-devel/libtool:    2.4-r01.1
sys-devel/make:       3.82
Repositories: gentoo_prefix etalas_prefix
Installed sets: 
ACCEPT_KEYWORDS="~sparc-solaris"
ACCEPT_LICENSE="* -@EULA"
CBUILD="sparc-sun-solaris2.10"
CFLAGS="-O2 -pipe"
CHOST="sparc-sun-solaris2.10"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/portage /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/tmp/rmsh-portage/distfiles"
EMERGE_DEFAULT_OPTS=""
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles fixpackages news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS=""
LINGUAS="de en"
MAKEOPTS="-j16"
PKGDIR="/home/rmsh/gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/home/rmsh/gentoo/"
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="/tmp/rmsh-portage"
PORTDIR="/home/rmsh/gentoo/usr/portage"
PORTDIR_OVERLAY="/home/rmsh/gentoo/local/portage/etalas_prefix"
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="bzip2 cracklib crypt cxx encode logrotate lzma modules multislot ncurses nls openssl otr prefix readline sparc-solaris ssl unicode zlib" 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 cgi cgid 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="SunOS" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="SunOS" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="none" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Florian Ermisch 2011-08-03 18:30:32 UTC
Created attachment 281979 [details]
gcc-4.2-pa-hpux-libgcc_s-soname.patch.out

 * ERROR: sys-devel/gcc-4.3.6 failed (unpack phase):
 *   Failed Patch: gcc-4.2-pa-hpux-libgcc_s-soname.patch!
 * 
 * Call stack:
 *     ebuild.sh, line   62:  Called call-ebuildshell 'src_unpack'
 *   environment, line  795:  Called src_unpack
 *   environment, line 5065:  Called epatch '/home/rmsh/gentoo/usr/portage/sys-devel/gcc/files/gcc-4.2-pa-hpux-libgcc_s-soname.patch'
 *   environment, line 2123:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
Comment 2 Michael Haubenwallner (RETIRED) gentoo-dev 2011-08-04 07:00:20 UTC
Fixed in r59818: upstream gcc-4.3.6 contains this patch.