Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 488266 - =sys-devel/gcc-4.8.2 - Version bump.
Summary: =sys-devel/gcc-4.8.2 - Version bump.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 489532
  Show dependency tree
 
Reported: 2013-10-16 18:24 UTC by Andrew Waters
Modified: 2013-11-14 10:44 UTC (History)
16 users (show)

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


Attachments
patched patch (gcc-4.8.2-patches-1.2.tar.bz2,15.46 KB, patch)
2013-10-17 08:42 UTC, brankob
Details | Diff
new piepatches (gcc-4.8.2-piepatches-v0.5.7.tar.bz2,13.79 KB, patch)
2013-10-17 08:44 UTC, brankob
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Waters 2013-10-16 18:24:28 UTC
New version of gcc has been released.

Reproducible: Always
Comment 1 brankob 2013-10-17 08:42:55 UTC
Created attachment 361100 [details, diff]
patched patch
Comment 2 brankob 2013-10-17 08:44:03 UTC
Created attachment 361102 [details, diff]
new piepatches
Comment 3 brankob 2013-10-17 08:58:00 UTC
I have adapted patches and emerged it. It seems to be working fine.

I did:

copied whole /gcc in my repository

in my repo, kept files map in it and deleted all ebuilds apart from gcc-4.8.1-r1.ebuild.

renamed gcc-4.8.1-r1.ebuild to gcc-4.8.2.ebuild

copied uclibc patch from version 4.8.1
adapted patch from version 4.8.1 and renamed it to ver 4.8.2 ( see first attachment)
adapted piepatch from version 4.8.1 and renamed it to ver 4.8.2 ( see second attachment)

Within first patch tarbzip2 I basically had to remove two last patches, since they were alreaddy applied (94_somtething and one after that, I think it was 97_something)

Within the piepatch tarbzip I had to adapt 33_something patch, related to RS6000 machines. I just removed first hunk from it ( that failed), but now looking at it I have a feeling it would be better to remove it whole. But since I never saw RS6000, who cares.


I did have one nasty snag with upgrade, but that is more related to ebuild.
When replacing gcc in the same slot as one used at the moment, machine crashes just prior to finishing emerge- at swittching profiles.

It seems that ebuild cleans library paths from old gcc within /etc/ld.so.conf.d/05_gcc_something before it sets its own and in the meantime it does ldconfig. This recompiles /etc/ld.conf.cache without crucial paths to gcc syslibs and after that point practically each program start fails with linking failure. System spwes message that it can't find libgcc.so.so.1 or something like that and I needed to reboot from CD and repair file manualy and redo ldconfig. And redo gcc-cpnfig after reboot, since profile was invalid.
Comment 4 Steev Klimaszewski (RETIRED) gentoo-dev 2013-10-25 08:46:18 UTC
Please don't attach arch teams to version bump requests.
Comment 5 theodor 2013-11-04 23:01:49 UTC
Any news when we can expect 4.8.2 to be added to the portage tree?
Comment 6 Ryan Hill (RETIRED) gentoo-dev 2013-11-05 04:20:11 UTC
Soon.  I've been on the road with limited internet access lately.
Comment 7 Ryan Hill (RETIRED) gentoo-dev 2013-11-10 20:06:32 UTC
Zorry, I need you to update 33_all_gcc48_config_rs6000.patch
Comment 8 Magnus Granberg gentoo-dev 2013-11-11 21:34:47 UTC
(In reply to Ryan Hill from comment #7)
> Zorry, I need you to update 33_all_gcc48_config_rs6000.patch
Piepatchset bumped to 0.5.8 with the fix for ppc/ppc64
Comment 9 Ryan Hill (RETIRED) gentoo-dev 2013-11-11 23:37:43 UTC
Fixed.
Comment 10 Thomas Capricelli 2013-11-12 01:53:36 UTC
Hello. I got the following (repeating) failure :

2013-11-12 02:51:19 (2.51 MB/s) - ‘/usr/portage/distfiles/gcc-4.8.2-uclibc-patches-1.0.tar.bz2’ saved [3014/3014]

!!! Fetched file: gcc-4.8.2-uclibc-patches-1.0.tar.bz2 VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      3014
!!! Expected: 3015
Refetching... File renamed to '/usr/portage/distfiles/gcc-4.8.2-uclibc-patches-1.0.tar.bz2._checksum_failure_.BeGYMi'
Comment 11 Holger Hoffstätte 2013-11-12 11:15:21 UTC
(In reply to Thomas Capricelli from comment #10)
> Hello. I got the following (repeating) failure :
> 
> 2013-11-12 02:51:19 (2.51 MB/s) -
> ‘/usr/portage/distfiles/gcc-4.8.2-uclibc-patches-1.0.tar.bz2’ saved
> [3014/3014]
> 
> !!! Fetched file: gcc-4.8.2-uclibc-patches-1.0.tar.bz2 VERIFY FAILED!
> !!! Reason: Filesize does not match recorded size
> !!! Got:      3014
> !!! Expected: 3015
> Refetching... File renamed to
> '/usr/portage/distfiles/gcc-4.8.2-uclibc-patches-1.0.tar.bz2.
> _checksum_failure_.BeGYMi'

Got the same. It seems the checked-in Manifest is slightly botched - if you remove the entries for the 4.8.2 patches and simply re-run 'ebuild gcc-4.8.2.ebuild manifest' it will uild, install and work fine.
Should be fixable with a simple re-commit of the Manifest.
Comment 12 Ryan Hill (RETIRED) gentoo-dev 2013-11-14 01:38:27 UTC
Fixed now.  Sorry bout that.
Comment 13 Thomas Capricelli 2013-11-14 10:44:38 UTC
I confirm, thanks