emerge [RESOLVIDO]

1. emerge [RESOLVIDO]

Daian R.
DaianR

(usa Manjaro Linux)

Enviado em 07/12/2017 - 12:51h

Fiz a atualização com o emerge e em seguida ele pede para executar:
emerge --oneshot portage
começa a instalação de uns programas e retorna um erro:


Failed to emerge dev-python/pyblake2-1.1.0, Log file:

>>> '/var/tmp/portage/dev-python/pyblake2-1.1.0/temp/build.log'

* Messages for package dev-python/pyblake2-1.1.0:

* ERROR: dev-python/pyblake2-1.1.0::gentoo failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 115: Called src_compile
* environment, line 2679: Called distutils-r1_src_compile
* environment, line 811: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
* environment, line 326: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 2219: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 1525: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 1523: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 541: Called distutils-r1_run_phase 'distutils-r1_python_compile'
* environment, line 802: Called distutils-r1_python_compile
* environment, line 677: Called esetup.py 'build'
* environment, line 1070: Called die
* The specific snippet of code:
* "${@}" || die "${die_args[@]}";
*
* If you need support, post the output of `emerge --info '=dev-python/pyblake2-1.1.0::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-python/pyblake2-1.1.0::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-python/pyblake2-1.1.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-python/pyblake2-1.1.0/temp/environment'.
* Working directory: '/var/tmp/portage/dev-python/pyblake2-1.1.0/work/pyblake2-1.1.0'
* S: '/var/tmp/portage/dev-python/pyblake2-1.1.0/work/pyblake2-1.1.0'


em emerge --info retorna:

raceback (most recent call last):
File "/usr/lib/python-exec/python3.5/emerge", line 50, in <module>
retval = emerge_main()
File "/usr/lib64/python3.5/site-packages/_emerge/main.py", line 1250, in emerge_main
return run_action(emerge_config)
File "/usr/lib64/python3.5/site-packages/_emerge/actions.py", line 3255, in run_action
emerge_config.trees, emerge_config.opts, valid_atoms)
File "/usr/lib64/python3.5/site-packages/_emerge/actions.py", line 1654, in action_info
head_commit = sync.retrieve_head(options=options)
File "/usr/lib64/python3.5/site-packages/portage/sync/modules/git/git.py", line 142, in retrieve_head
cwd=portage._unicode_encode(self.repo.location))))
File "/usr/lib64/python3.5/subprocess.py", line 316, in check_output
**kwargs).stdout
File "/usr/lib64/python3.5/subprocess.py", line 383, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib64/python3.5/subprocess.py", line 676, in __init__
restore_signals, start_new_session)
File "/usr/lib64/python3.5/subprocess.py", line 1211, in _execute_child
executable = os.fsencode(executable)
File "/usr/lib64/python3.5/os.py", line 864, in fsencode
raise TypeError("expect bytes or str, not %s" % type(filename).__name__)
TypeError: expect bytes or str, not NoneType

Como proceder?


  


2. MELHOR RESPOSTA

Perfil removido
removido

(usa Nenhuma)

Enviado em 07/12/2017 - 23:17h

Tenta esse aqui:

https://wiki.gentoo.org/wiki/Upgrading_GCC
https://wiki.sabayon.org/index.php?title=Known_Issues
http://www.makeinstall.es/2011/03/reparar-el-compilador-gcc-en-gentoo.html


Frases que fazem sentido.
Flutuações Quânticas podem Existir, assim como o Decaimento do Vácuo.
O Futuro não importa, o que importa e da para frente. HAHAHA


3. Re: emerge [RESOLVIDO]

Matheus
pylm

(usa Gentoo)

Enviado em 07/12/2017 - 13:01h

Você seguiu os passos da wiki do sabayon?

https://wiki.sabayon.org/index.php?title=HOWTO:_Safely_mix_Entropy_and_Portage

Caso afirmativo, poste também o conteúdo do build.log conforme indicado pelo portage.


4. Re: emerge [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 07/12/2017 - 13:02h

Seu GCC ta funcionando normalmente?
No meu deu esse erro, e foi o gcc.


Meu github:
#===============================#
# https://github.com/Python-Library-Work #
#===============================#
O universo e um infinito de possibilidades!!!



5. Re: emerge [RESOLVIDO]

Daian R.
DaianR

(usa Manjaro Linux)

Enviado em 07/12/2017 - 23:03h

Pylm, eu segui as informações que sugeriu, entranto ao chegar ao comando:
# emerge -avuN $(equo query revisions 9999 -q)
ele retorna um erro na configuração do dev-qt/qttest-5.9.3
acessei o /var/tmp/portage/dev-qt/qttest-5.9.3/temp/build.log e deu erro no gcc, essa a sua sugestão AndrewUser


^[[32;01m * ^[[39;49;00mPackage: dev-qt/qttest-5.9.3
^[[32;01m * ^[[39;49;00mRepository: gentoo
^[[32;01m * ^[[39;49;00mMaintainer: qt@gentoo.org
^[[32;01m * ^[[39;49;00mUpstream: https://bugreports.qt.io/
^[[32;01m * ^[[39;49;00mUSE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
^[[32;01m * ^[[39;49;00mFEATURES: compressdebug preserve-libs sandbox splitdebug userpriv usersandbox
>>> Unpacking source...
gcc-config: error: could not run/locate 'x86_64-pc-linux-gnu-gcc'
>>> Unpacking qtbase-opensource-src-5.9.3.tar.xz to /var/tmp/portage/dev-qt/qttest-5.9.3/work
>>> Source unpacked in /var/tmp/portage/dev-qt/qttest-5.9.3/work
>>> Preparing source in /var/tmp/portage/dev-qt/qttest-5.9.3/work/qtbase-opensource-src-5.9.3 ...
>>> Source prepared.
...

Como chegar a resolução?
Agradeço a atenção de vocês


6. Re: emerge [RESOLVIDO]

Daian R.
DaianR

(usa Manjaro Linux)

Enviado em 08/12/2017 - 00:17h

AndrewUser, resolvi usando o Wiki do Sabayon, que já favoritei aqui, tentei as outras duas páginas antes e os comandos deram erro, comando simples:

# equo install gcc
# gcc-config x86_64-pc-linux-gnu-5.4.0

Atualizou tudo sem problemas.
Valeu pela ajuda!






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts