Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 574542 - portage wants to install older gcc in diff slot
Summary: portage wants to install older gcc in diff slot
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-12 08:29 UTC by Christian Strahl
Modified: 2016-02-24 16:41 UTC (History)
0 users

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


Attachments
emerge --info (einfo.txt,5.83 KB, text/plain)
2016-02-12 08:31 UTC, Christian Strahl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Strahl 2016-02-12 08:29:32 UTC
I've installed crossdev toolchain via:

# crossdev -t armv5tel-softfloat-linux-gnueabi --gcc 4.9.3 --libc 2.20-r2 --binutils 2.25 --kernel 4.0

The toolchain works as expected. But when performing a @world update, portage wants to install an older version of cross gcc in slot:

# emerge -uav @world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  NS    ] cross-armv5tel-softfloat-linux-gnueabi/gcc-4.8.5:4.8.5::crossdev [4.9.3:4.9.3::crossdev] USE="cxx fortran nptl openmp sanitize (-altivec) -awt -debug -doc (-fixed-point) -gcj -go -graphite -hardened -libssp -mudflap -multilib -multislot -nls -nopie -nossp -objc -objc++ -objc-gc -regression-test -vanilla" 84,189 KiB


I don't understand this behavior, because gcc-4.9.3 is even the latest stable gcc version.

Reproducible: Always
Comment 1 Christian Strahl 2016-02-12 08:31:59 UTC
Created attachment 425286 [details]
emerge --info
Comment 2 Zac Medico gentoo-dev 2016-02-21 19:52:08 UTC
Please check what is in your world file for this package:

  grep cross-armv5tel-softfloat-linux-gnueabi/gcc /var/lib/portage/world
Comment 3 Christian Strahl 2016-02-24 11:53:55 UTC
(In reply to Zac Medico from comment #2)
> Please check what is in your world file for this package:
> 
>   grep cross-armv5tel-softfloat-linux-gnueabi/gcc /var/lib/portage/world

Oh, you're right. My fault. I've overlooked the most obvious possibility.

# grep cross-armv5tel-softfloat-linux-gnueabi/gcc /var/lib/portage/world
cross-armv5tel-softfloat-linux-gnueabi/gcc
cross-armv5tel-softfloat-linux-gnueabi/gcc:4.8.5

I can't remember that i've installed this version explicitly.

After 
# emerge --deselect cross-armv5tel-softfloat-linux-gnueabi/gcc:4.8.5
everything works as expected.