Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Spanish
  • Search

Error de compilación de dev-ruby/kpeg

Foro en español para los usuarios Hispanos de Gentoo.

Moderator: Stolz

Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
Author
Message
edgar_uriel84
Guru
Guru
User avatar
Posts: 485
Joined: Sun Dec 21, 2008 3:20 am
Location: Tultitlan, México
Contact:
Contact edgar_uriel84
Website

Error de compilación de dev-ruby/kpeg

  • Quote

Post by edgar_uriel84 » Sun Jun 18, 2023 5:19 am

Hola a todos.

Estoy haciendo mi actualización semestral de Gentoo, me sale este error, a ver si a alguien más le pasa:

Code: Select all

 * Messages for package dev-ruby/kpeg-1.3.3:

 * ERROR: dev-ruby/kpeg-1.3.3::gentoo failed (install phase):
 *   Unable to generate gemspec file.
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_install
 *   environment, line 2110:  Called ruby-ng_src_install
 *   environment, line 1708:  Called _ruby_each_implementation 'each_ruby_install'
 *   environment, line  445:  Called _ruby_invoke_environment 'ruby31' 'each_ruby_install'
 *   environment, line  600:  Called each_ruby_install
 *   environment, line  860:  Called each_fakegem_install
 *   environment, line  807:  Called ruby_fakegem_install_gemspec
 *   environment, line 1997:  Called die
 * The specific snippet of code:
 *       fi ) || die "Unable to generate gemspec file.";
 * 
 * If you need support, post the output of `emerge --info '=dev-ruby/kpeg-1.3.3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-ruby/kpeg-1.3.3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-ruby/kpeg-1.3.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/kpeg-1.3.3/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-ruby/kpeg-1.3.3/work/ruby31/kpeg-1.3.3'
 * S: '/var/tmp/portage/dev-ruby/kpeg-1.3.3/work/ruby31/kpeg-1.3.3'
Task was destroyed but it is pending!
task: <Task pending name='Task-5' coro=<ForkProcess._proc_join() running at /usr/lib/python3.11/site-packages/portage/util/_async/ForkProcess.py:81> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[_EbuildFetcherProcess._proc_join_done(<Process name...code=-SIGTERM>)()]>
Task was destroyed but it is pending!
task: <Task pending name='Task-9' coro=<SpawnProcess._main() running at /usr/lib/python3.11/site-packages/_emerge/SpawnProcess.py:180> wait_for=<Future pending cb=[AsynchronousTask.async_wait.<locals>.<lambda>() at /usr/lib/python3.11/site-packages/_emerge/AsynchronousTask.py:49, Task.task_wakeup()]> cb=[SpawnProcess._main_exit()]>
Task was destroyed but it is pending!
task: <Task pending name='Task-8' coro=<PipeLogger._io_loop() running at /usr/lib/python3.11/site-packages/portage/util/_async/PipeLogger.py:98> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[PipeLogger._io_loop_done()]>
Task was destroyed but it is pending!
task: <Task pending name='Task-7' coro=<BuildLogger._main() running at /usr/lib/python3.11/site-packages/portage/util/_async/BuildLogger.py:101> wait_for=<Future pending cb=[AsynchronousTask.async_wait.<locals>.<lambda>() at /usr/lib/python3.11/site-packages/_emerge/AsynchronousTask.py:49, Task.task_wakeup()]> cb=[BuildLogger._main_exit()]>
Task was destroyed but it is pending!
task: <Task pending name='Task-6' coro=<PipeLogger._io_loop() running at /usr/lib/python3.11/site-packages/portage/util/_async/PipeLogger.py:98> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[PipeLogger._io_loop_done()]>
En eselect he seleccionado Ruby 31 y el error persiste. También traté con MAKEOPTS="-j1" y persiste. Sigo buscando la solución, espero alguien me de una idea.

Saludos.
Algún día habrá una persona mejor que yo, pero esa persona no eres tú ni ese momento es ahora.
Top
quilosaq
Veteran
Veteran
Posts: 1596
Joined: Tue Dec 22, 2009 5:07 pm

  • Quote

Post by quilosaq » Sun Jun 18, 2023 11:01 am

Prueba a desinstalar y volver a instalar ruby 31. Si no funciona publica tu

Code: Select all

emerge --info
y

Code: Select all

/var/tmp/portage/dev-ruby/kpeg-1.3.3/temp/build.log
Top
edgar_uriel84
Guru
Guru
User avatar
Posts: 485
Joined: Sun Dec 21, 2008 3:20 am
Location: Tultitlan, México
Contact:
Contact edgar_uriel84
Website

  • Quote

Post by edgar_uriel84 » Sun Jun 18, 2023 6:02 pm

Gracias por la respuesta quilosaq.

Encontré el problema, parece que no ha terminado de actualizarse todo a Ruby 3.1

El paquete dev-ruby/psych-5.1.0 del cual depende kpeg, solo tiene RUBY_TARGETS="-ruby30*". Toca esperar a que todo se actualice supongo.
Algún día habrá una persona mejor que yo, pero esa persona no eres tú ni ese momento es ahora.
Top
quilosaq
Veteran
Veteran
Posts: 1596
Joined: Tue Dec 22, 2009 5:07 pm

  • Quote

Post by quilosaq » Sun Jun 18, 2023 6:36 pm

edgar_uriel84 wrote:...
El paquete dev-ruby/psych-5.1.0 del cual depende kpeg, solo tiene RUBY_TARGETS="-ruby30*"
...
Esa configuración de RUBY_TARGETS que dices no está en el ebuild, lo mas probable es que la tengas en tu sistema. Revisa los archivos en

Code: Select all

/etc/portage/package.use
Top
Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Spanish”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic