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 9DBCD1388E5 for ; Wed, 29 Oct 2014 19:51:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E81ADE0856; Wed, 29 Oct 2014 19:51:21 +0000 (UTC) Received: from mail-lb0-f175.google.com (mail-lb0-f175.google.com [209.85.217.175]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8D010E084F for ; Wed, 29 Oct 2014 19:51:20 +0000 (UTC) Received: by mail-lb0-f175.google.com with SMTP id b6so3073400lbj.6 for ; Wed, 29 Oct 2014 12:51:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:to:subject:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=oR2KCpPXY4klbCRwWT+uSvwRVoMutQzQAYP/1ms6zxM=; b=DupaO5H733rGOozkK5G4Jmt42CY5vI8q6Ll3ijzT2iAHOjjuBkTivfvBfKUePeoRFM pjvU4IhTJ3aUCpwJpG3EiUuJNEei0VSCGytQaXXVZJuBM0Eruzhn8ybVKmJ08kYsMG1E 33fNGQEjHrpS3rRnwICV6rzSXj/U3ikxKPrOS6l5922EJ7Ao0r9W2nin4+X8aQNekllp tp4vzZ+zPJVuM75vAwd7TuyXaOIBjpp7dwUsZUxJ/aYVNPRo16AfGYesCshbRkxXbPvm +yAzZnP3JnVpQvRWQOhneKIouRwVOO9jVG2Pchrm5ZgdRih1YpgGNRPMBzE0L+bK7cbT tR1g== X-Received: by 10.112.54.162 with SMTP id k2mr13644754lbp.63.1414612278905; Wed, 29 Oct 2014 12:51:18 -0700 (PDT) Received: from cosmo ([193.200.85.246]) by mx.google.com with ESMTPSA id z10sm2308556lbo.33.2014.10.29.12.51.17 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Wed, 29 Oct 2014 12:51:18 -0700 (PDT) Message-ID: <54514536.4a35700a.530b.ffff8545@mx.google.com> Date: Wed, 29 Oct 2014 21:50:41 +0200 From: Gevisz To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Building media-libs/lcms-2.6-r1 failed In-Reply-To: References: <5451108c.c68e700a.2c93.78cd@mx.google.com> <54513bc9.a802980a.427d.2201@mx.google.com> 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 1582abd6-93d3-4fdd-9e72-ec6baae08aee X-Archives-Hash: e6269ddd9ee2031514c0cfe733e4ccf2 On Wed, 29 Oct 2014 13:19:54 -0600 Canek Pel=C3=A1ez Vald=C3=A9s wrote: > 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_= X86=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 p= roblems begun when > >> > I have updated it from sys-devel/gcc-4.7.3-r1 this Monday. Namely, j= ust after this only > >> > update, # emerge @preserved-rebuild > >> > failed to rebuild app-text/pdftk-1.44 that was not updated that time= and 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= app-text/pdftk. > >> > Bu now it seems that I had to unmerge media-libs/lcms and all packag= es that depend on it. > >> > > >> > May be it would be easier to unmerge sys-devel/gcc-4.8.3 and return = back 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 th= at it should be done > > and no portage message advised me to do so. `man gcc' or `man gcc-conf= ig' also report that > > there is no manual on these packets. Gentoo's Upgrading GCC wiki also s= ays 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... >=20 > From the toolchain eclass[1]: >=20 > # 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 >=20 > This gets printed if you "genuinely" install a different compiler > version. If it didn't, it is a bug and should be reported. Thank you for replying to this thread. I have just checked and found out that, after upgrading my gcc from version gcc-4.7.3-r1 to version 4.8.3, I got the following message:=20 >>> Installing (1 of 1) sys-devel/gcc-4.8.3 * The current gcc config appears valid, so it will not be * automatically switched for you. If you would like to * switch to the newly installed gcc version, do the * following: * gcc-config x86_64-pc-linux-gnu-4.8.3 * source /etc/profile * Switching native-compiler to x86_64-pc-linux-gnu-4.7.3 ...>>> Regenerati= ng /etc/ld.so.cache... [ ok ] * If you have issues with packages unable to locate libstdc++.la, * then try running 'fix_libtool_files.sh' on the old gcc versions. * You might want to review the GCC upgrade guide when moving between * major versions (like 4.2 to 4.3): * http://www.gentoo.org/doc/en/gcc-upgrading.xml * Messages for package sys-devel/gcc-4.8.3: * If you have issues with packages unable to locate libstdc++.la, * then try running 'fix_libtool_files.sh' on the old gcc versions. * You might want to review the GCC upgrade guide when moving between * major versions (like 4.2 to 4.3): * http://www.gentoo.org/doc/en/gcc-upgrading.xml But I noticed only the last part of it, starting from * Messages for package sys-devel/gcc-4.8.3 line. Well, probably I should be more attentive... =20 > Regards. >=20 > [1] http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/toolch= ain.eclass?view=3Dmarkup