emerge gcc 4.52 results in downgrading glibc [Solved]

Anything that pertains to Portage

Moderator: Moderators

emerge gcc 4.52 results in downgrading glibc [Solved]

Postby k4ph » Wed Jan 19, 2011 20:46

Hi all,

I'm trying to emerge gcc 4.5.2, but all that happens is, that every time, emerge tries to downgrade glibc to glibc-2.9_p20081201-r3:
Code: Select all
>>> Emerging (1 of 2) sys-libs/glibc-2.9_p20081201-r3
 * glibc-2.9-20081201.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...            [ ok ]
 * glibc-2.9-ports-20081201.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...      [ ok ]
 * glibc-2.9-patches-7.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...           [ ok ]
 * Package:    sys-libs/glibc-2.9_p20081201-r3
 * Repository: gentoo
 * Maintainer: toolchain@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib nls userland_GNU
 * FEATURES:   sandbox
 * Sanity check to keep you from breaking your system:
 *  Downgrading glibc is not supported and a sure way to destruction
 * ERROR: sys-libs/glibc-2.9_p20081201-r3 failed:
 *   aborting to save your system
 *
 * Call stack:
 *                       ebuild.sh, line  56:  Called pkg_setup
 *   glibc-2.9_p20081201-r3.ebuild, line 180:  Called eblit-run 'pkg_setup'
 *   glibc-2.9_p20081201-r3.ebuild, line 166:  Called eblit-glibc-pkg_setup
 *                 pkg_setup.eblit, line  12:  Called die
 * The specific snippet of code:
 *            die "aborting to save your system"
 *
 * If you need support, post the output of 'emerge --info =sys-libs/glibc-2.9_p20081201-r3',
 * the complete build log and the output of 'emerge -pqv =sys-libs/glibc-2.9_p20081201-r3'.
 * The complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.9_p20081201-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.9_p20081201-r3/temp/die.env'.
 * S: '/var/tmp/portage/sys-libs/glibc-2.9_p20081201-r3/work/glibc-2.9-20081201'

>>> Failed to emerge sys-libs/glibc-2.9_p20081201-r3, Log file:

>>>  '/var/tmp/portage/sys-libs/glibc-2.9_p20081201-r3/temp/build.log'

 * Messages for package sys-libs/glibc-2.9_p20081201-r3:

 * Sanity check to keep you from breaking your system:
 *  Downgrading glibc is not supported and a sure way to destruction
 * ERROR: sys-libs/glibc-2.9_p20081201-r3 failed:
 *   aborting to save your system
 *
 * Call stack:
 *                       ebuild.sh, line  56:  Called pkg_setup
 *   glibc-2.9_p20081201-r3.ebuild, line 180:  Called eblit-run 'pkg_setup'
 *   glibc-2.9_p20081201-r3.ebuild, line 166:  Called eblit-glibc-pkg_setup
 *                 pkg_setup.eblit, line  12:  Called die
 * The specific snippet of code:
 *            die "aborting to save your system"
 *
 * If you need support, post the output of 'emerge --info =sys-libs/glibc-2.9_p20081201-r3',
 * the complete build log and the output of 'emerge -pqv =sys-libs/glibc-2.9_p20081201-r3'.
 * The complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.9_p20081201-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.9_p20081201-r3/temp/die.env'.
 * S: '/var/tmp/portage/sys-libs/glibc-2.9_p20081201-r3/work/glibc-2.9-20081201'


I have done
Code: Select all
echo ">sys-libs/glibc-2.11.2" >> /etc/portage/package.mask

but emerge just ignores this masking, so I don't get a clue, how to solve my problem. Every forum entry I found within sabayon/gentoo forums told me to mask it.

Is there any other step, I can/must make?

Best regards,

Karl
Last edited by k4ph on Fri Jan 21, 2011 13:54, edited 1 time in total.
k4ph@irc.freenode.net | k4ph@twitter.com | http://c4ph.tumblr.com
User avatar
k4ph
Simple Hen
 
Posts: 55
Joined: Mon Nov 01, 2010 0:52
Location: Germany

Re: emerge gcc 4.52 results in downgrading glibc

Postby wolfden » Fri Jan 21, 2011 2:05

Did you look at /etc/portage/package.mask ? Should be an entry already there to edit, you probably have a couple entries now.
User avatar
wolfden
Sharecropper
 
Posts: 8822
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: emerge gcc 4.52 results in downgrading glibc

Postby k4ph » Fri Jan 21, 2011 13:53

Thanks, wolfden, the hint was very good!
Indeed I found a second entry of glibc. After setting it back to only one glibc-entry (>sys-libs/glibc-2.11.2) - it only wanted to downgrade me to glibc 2.10.x.
I then set /etc/portage/package.mask to sys-libs/glibc - and that works, I'm just compiling version 4.52 of gcc. But I must again read the complete portage guide. I still don't understand, while it tried downgrading when setting the mask to >2.11.2 and doesn't try when setting the mask to no version.

Thanks again for helping,

Karl
k4ph@irc.freenode.net | k4ph@twitter.com | http://c4ph.tumblr.com
User avatar
k4ph
Simple Hen
 
Posts: 55
Joined: Mon Nov 01, 2010 0:52
Location: Germany

Re: emerge gcc 4.52 results in downgrading glibc [Solved]

Postby k4ph » Fri Jan 21, 2011 23:39

>>> Installing (4 of 4) sys-devel/gcc-4.5.2

^.^ .... that was the message, I wanted to see.
GNU CC 4.5.2 is installed up and running - and works perfectly for me. :mrgreen:

Thanks a lot again!

Karl
k4ph@irc.freenode.net | k4ph@twitter.com | http://c4ph.tumblr.com
User avatar
k4ph
Simple Hen
 
Posts: 55
Joined: Mon Nov 01, 2010 0:52
Location: Germany


Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 2 guests