viniciussilva
(usa Sabayon)
Enviado em 07/07/2013 - 23:21h
CONSEGUI instalar o consolekit pelo portage. Não sei pq, mas o gcc não estava instalado. Instalei ele pelo entropy, daí consegui instalar o consolekit pelo portage.
Porém, antes de ter visto que não tinha instalado o gcc, modifiquei o meu make.conf (ainda não tinha visto o post falando que estava ok, tentei deixar o make.conf mais 'padrão')
Porém, tentei rodar um
"emerge -av --newuse autoconf automake make gcc gcc-config eix esearch layman mirrorselect gentoolkit eselect etc-proposal" e não deu certo. Ao tentar compilar o gcc, deu erro (ja tinha instalado antes o gcc pelo entropy)
Deu o seguinte erro ao tentar instalar o gcc pelo portage (ja com o gcc instalado pelo entropy):
>>> Installing (2 of 15) sys-devel/gcc-4.7.3
* checking 1098 files for package collisions
1000 files checked ...
* This package will overwrite one or more files that may belong to other
* packages (see list below). You can use a command such as `portageq
* owners / <filename>` to identify the installed package that owns a
* file. If portageq reports that only one package owns a file then do
* NOT file a bug report. A bug report is only useful if it identifies at
* least two or more packages that are known to install the same file(s).
* If a collision occurs and you can not explain where the file came from
* then you should simply ignore the collision since there is not enough
* information to determine if a real problem exists. Please do NOT file
* a bug report at
http://bugs.gentoo.org unless you report exactly which
* two packages install the same file(s). Once again, please do NOT file
* a bug report unless you have completely understood the above message.
*
* package sys-devel/gcc-4.7.3 NOT merged
*
* Detected file collision(s):
*
* /etc/env.d/gcc/x86_64-pc-linux-gnu-4.7.3
* /usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/info/libgomp.info.bz2
* /usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/info/libquadmath.info.bz2
* /usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/locale/fr/LC_MESSAGES/libstdc++.mo
* /usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/locale/de/LC_MESSAGES/libstdc++.mo
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libobjc.so.4.0.0
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libmudflapth.so.0.0.0
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libobjc_gc.so.4.0.0
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libgcc_s.so.1
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libquadmath.so.0.0.0
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libstdc++.so.6.0.17
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libmudflap.so.0.0.0
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libgomp.so.1.0.0
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libgfortran.so.3.0.0
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libobjc.so.4.0.0
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libmudflapth.so.0.0.0
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libobjc_gc.so.4.0.0
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libgcc_s.so.1
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libquadmath.so.0.0.0
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libstdc++.so.6.0.17
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libmudflap.so.0.0.0
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libgomp.so.1.0.0
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libgfortran.so.3.0.0
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libgfortran.so
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libgcc_s.so
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libobjc.so.4
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libquadmath.so
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libgomp.so
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libobjc_gc.so
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libobjc_gc.so.4
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libmudflap.so
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libobjc.so
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libmudflapth.so
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libquadmath.so.0
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libgfortran.so.3
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libgomp.so.1
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libstdc++.so
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libstdc++.so.6
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libmudflapth.so.0
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libmudflap.so.0
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libgfortran.so
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libgcc_s.so
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libobjc.so.4
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libquadmath.so
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libgomp.so
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libobjc_gc.so
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libobjc_gc.so.4
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libmudflap.so
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libobjc.so
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libmudflapth.so
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libquadmath.so.0
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libgfortran.so.3
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libgomp.so.1
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libstdc++.so
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libstdc++.so.6
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libmudflapth.so.0
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libmudflap.so.0
*
* Searching all installed packages for file collisions...
*
* Press Ctrl-C to Stop
*
* sys-devel/base-gcc-4.7.3:4.7::sabayon-distro
* /etc/env.d/gcc/x86_64-pc-linux-gnu-4.7.3
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libgcc_s.so.1
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libmudflapth.so.0.0.0
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libobjc.so.4.0.0
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libobjc_gc.so.4.0.0
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libquadmath.so.0.0.0
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32/libstdc++.so.6.0.17
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libgcc_s.so.1
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libgfortran.so.3.0.0
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libgomp.so.1.0.0
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libmudflap.so.0.0.0
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libmudflapth.so.0.0.0
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libobjc.so.4.0.0
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libobjc_gc.so.4.0.0
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libquadmath.so.0.0.0
* /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libstdc++.so.6.0.17
* /usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/info/libgomp.info.bz2
* /usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/info/libquadmath.info.bz2
* /usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/locale/de/LC_MESSAGES/libstdc++.mo
* /usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/locale/fr/LC_MESSAGES/libstdc++.mo
*
* Package 'sys-devel/gcc-4.7.3' NOT merged due to file collisions. If
* necessary, refer to your elog messages for the whole content of the
* above message.
*
* Please include /var/tmp/portage/sys-devel/gcc-4.7.3/work/build/gcc-build-logs.tar.bz2 in your bug report
*
>>> Failed to install sys-devel/gcc-4.7.3, Log file:
>>> '/var/tmp/portage/sys-devel/gcc-4.7.3/temp/build.log'
* Regenerating GNU info directory index...
* Processed 163 info files.
* IMPORTANT: 11 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
Ou seja: COnsegui instalar o consolekit pelo portage depois de instalar o gcc pelo entropy, e de ter modificado o make.conf.
Tentei reinstalar o gcc, junto com outros pcts, usando as novas instruções do make.conf, mas deu o erro acima ao tentar instalar o gcc.
Vou reiniciar o micro para ver se apareceu a opção 'desligar', mas acho que deu certo pq o consolekit foi instalado:
vinicius vinicius # eix consolekit
* sec-policy/selinux-consolekit
Available versions: [M]2.20120725-r5 [M](~)2.20120725-r7 [M]2.20120725-r8 [M]2.20120725-r9 [M]2.20120725-r11 [M]2.20120725-r12 [M]2.20130424-r1 [M]**9999
Homepage:
http://www.gentoo.org/proj/en/hardened/selinux/
Description: SELinux policy for consolekit
sys-auth/consolekit
Available versions: 0.4.5_p20120320-r1 (~)0.4.5_p20120320-r2 {acl debug doc pam policykit selinux test KERNEL="linux"}
Installed versions: 0.4.5_p20120320-r2(23:11:28 07-07-2013)(doc pam policykit -acl -debug -selinux -test KERNEL="linux")
Homepage:
http://www.freedesktop.org/wiki/Software/ConsoleKit
Description: Framework for defining and tracking users, login sessions and seats.
Mas tem alguma coisa que eu possa fazer para conseguir instalar o gcc usando o portage?? vou deixar o modo que ficou meu novo make.conf