From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9A13E1388E5 for ; Wed, 29 Oct 2014 19:20:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9B0A8E0850; Wed, 29 Oct 2014 19:20:17 +0000 (UTC) Received: from mail-ig0-f176.google.com (mail-ig0-f176.google.com [209.85.213.176]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7957CE0831 for ; Wed, 29 Oct 2014 19:20:16 +0000 (UTC) Received: by mail-ig0-f176.google.com with SMTP id l13so2089064iga.15 for ; Wed, 29 Oct 2014 12:20:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=mCGnVXlnDrR/eAHHORkoMVzmgHU9vEOF0xsF0KWLTW8=; b=Dn282I3/2TXrjVIZwSQGNjyCY7E4uAb0uPLUgHWdgDtbCDfgreqqKxnVxnuSBmvMvX hXflweBE2Qh3Ubto1hUnd/qeEA6e3WxYUEUHnHzB5pL65zV/AuNpzrajFj2Jj63M0HI+ nh5tt7APMq6e9XbQDYgVC7M9f8P5U17GcwsCPSPbXB1XflDBmsd+MBQzIfzmzLVzHo/Q +V4UYoJ5WqlrsB0Uf4ivOIyuYTxtDR0t2kDkCM0WFbRDs5Gu2OAKYkoQfP5VfryWfu3F wCI54kLBQ+iX28id+OaxXFIEK3LQibF0fGR9Ntzfs9EDKNyNJqtlEgMb9GSHC7ZISKaQ kjVA== X-Received: by 10.43.181.69 with SMTP id ph5mr3893606icc.83.1414610415609; Wed, 29 Oct 2014 12:20:15 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.107.29.148 with HTTP; Wed, 29 Oct 2014 12:19:54 -0700 (PDT) In-Reply-To: <54513bc9.a802980a.427d.2201@mx.google.com> References: <5451108c.c68e700a.2c93.78cd@mx.google.com> <54513bc9.a802980a.427d.2201@mx.google.com> From: =?UTF-8?B?Q2FuZWsgUGVsw6FleiBWYWxkw6lz?= Date: Wed, 29 Oct 2014 13:19:54 -0600 Message-ID: Subject: Re: [gentoo-user] Building media-libs/lcms-2.6-r1 failed To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: d4e91c3b-7591-437d-980a-aa99bb2371ab X-Archives-Hash: c04ccba529b2bd95c943d7527deb3c79 On Wed, Oct 29, 2014 at 1:10 PM, Gevisz wrote: > On Wed, 29 Oct 2014 19:25:20 +0200 Alexander Kapshuk wrote: > >> On Wed, Oct 29, 2014 at 6:05 PM, Gevisz wrote: >> > After today's # emerge-webrsyc >> > # emerge --update --deep --with-bdeps=3Dy --newuse --backtrack=3D90 --= ask world >> > failed with the following message: >> > >> > These are the packages that would be merged, in order: >> > >> > Calculating dependencies... done! >> > [ebuild U ] media-libs/lcms-2.6-r1 [2.5] USE=3D"threads%*" ABI_X8= 6=3D"(64%*) (-32) (-x32)" >> > [ebuild U ] net-misc/wget-1.16 [1.14] >> > [ebuild U ] media-gfx/imagemagick-6.8.9.9 [6.8.8.10-r1] >> > > >> > >> > I think that something may be wrong with sys-devel/gcc-4.8.3 as my pro= blems begun when >> > I have updated it from sys-devel/gcc-4.7.3-r1 this Monday. Namely, jus= t after this only >> > update, # emerge @preserved-rebuild >> > failed to rebuild app-text/pdftk-1.44 that was not updated that time a= nd built well with >> > sys-devel/gcc-4.7.3-r1. Then I recalled that to build app-text/pdftk I= had to add gcj use >> > flag to sys-devel/gcc. So, as I am not fond of Java, I just unmerged a= pp-text/pdftk. >> > Bu now it seems that I had to unmerge media-libs/lcms and all packages= that depend on it. >> > >> > May be it would be easier to unmerge sys-devel/gcc-4.8.3 and return ba= ck to >> > sys-devel/gcc-4.7.3-r1 but I do not know how to do it properly. >> > >> >> Did you remember to run 'gcc-config -f 1' after updating gcc as root? > > No, I did not remember to run 'gcc-config -f 1' because I never knew that= it should be done > and no portage message advised me to do so. `man gcc' or `man gcc-config= ' also report that > there is no manual on these packets. Gentoo's Upgrading GCC wiki also say= s nothing about > this command... > >> What's the output of 'gcc-config -l'? > > # gcc-config -l > * gcc-config: Active gcc profile is invalid! > > [1] x86_64-pc-linux-gnu-4.8.3 > > Nice! > > Ok, trying # gcc-config -f 1 > * Switching native-compiler to x86_64-pc-linux-gnu-4.8.3 ... >>>> Regenerating /etc/ld.so.cache... = = [ ok ] > > * If you intend to use the gcc from the new profile in an already > * running shell, please remember to do: > > * . /etc/profile > > > What exactly shall I remember to do? > > Ok, # gcc-config -l > [1] x86_64-pc-linux-gnu-4.8.3 * > > Now # emerge --update --deep --with-bdeps=3Dy --newuse --backtrack=3D90 -= -ask world > emerges all three above packages. > > Trying to emerge pdftk. Done. > > Ok. Thank you. But why there was no hint about it after updating gcc? > > Well, there was a reference to Gentoo's Upgrading GCC wiki > but nothing more... >From the toolchain eclass[1]: # if we're installing a genuinely different compiler version, # we should probably tell the user -how- to switch to the new # gcc version, since we're not going to do it for him/her. # We don't want to switch from say gcc-3.3 to gcc-3.4 right in # the middle of an emerge operation (like an 'emerge -e world' # which could install multiple gcc versions). # Only warn if we're installing a pkg as we might be called from # the pkg_{pre,post}rm steps. #446830 if [[ ${EBUILD_PHASE} =3D=3D *"inst" ]] ; then einfo "The current gcc config appears valid, so it will not be" einfo "automatically switched for you. If you would like to" einfo "switch to the newly installed gcc version, do the" einfo "following:" echo einfo "gcc-config ${CTARGET}-${GCC_CONFIG_VER}" einfo "source /etc/profile" echo fi This gets printed if you "genuinely" install a different compiler version. If it didn't, it is a bug and should be reported. Regards. [1] http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/toolchai= n.eclass?view=3Dmarkup --=20 Canek Pel=C3=A1ez Vald=C3=A9s Profesor de asignatura, Facultad de Ciencias Universidad Nacional Aut=C3=B3noma de M=C3=A9xico