gemini-cli - 💡(How to fix) Fix Not doing anything for 3 hours after giving it a small build log. [1 comments, 1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
google-gemini/gemini-cli#25411Fetched 2026-04-15 06:44:49
View on GitHub
Comments
1
Participants
1
Timeline
3
Reactions
0
Author
Participants
Timeline (top)
labeled ×2commented ×1

Error Message

ERROR: Error installing llhttp-ffi-0.5.1.gem: ERROR: Failed to build gem native extension. *** Error code 1 *** Error code 1

RAW_BUFFERClick to expand / collapse

What happened?

Asked it to review a build failure and it just spun for 3 hours with no feedback

What did you expect to happen?

Some time of activity, status update, something.

Client information

  • CLI Version: 0.37.2
  • Git Commit: 545e956c3
  • Session ID: ff29f176-4825-4678-950b-8570d75ee94e0A* Operating System: freebsd v24.13.0
  • Sandbox Environment: no sandbox
  • Model Version: auto-gemini-3
  • Auth Type: gemini-api-key
  • Memory Usage: 596.7 MB0A* Terminal Name: VTE(8003)
  • Terminal Background: #000000
  • Kitty Keyboard Protocol: Unsupported

This was actually running on MidnightBSD 4.0.4 amd64

Login information

Authenticated with gemini-api-key /auth

Anything else we need to know?

The input to the agent was

===> Faking install for rubygem-llhttp-ffi-0.5.1 ===> Generating temporary packing list (cd /magus/work/usr/mports/www/rubygem-llhttp-ffi/work/llhttp-ffi-0.5.1; /usr/bin/env -i HOME=/magus/work/usr/mports/www/rubygem-llhttp-ffi/work MACHINE_ARCH=i386 PWD="${PWD}" GIT_CEILING_DIRECTORIES=/magus/work/usr/mports/www/rubygem-llhttp-ffi/work __MAKE_CONF=/nonexistent OSVERSION=400003 PATH=/magus/work/usr/mports/www/rubygem-llhttp-ffi/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin TERM=vt100 TMPDIR=/tmp LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 RB_USER_INSTALL=yes LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 /usr/local/bin/gem install -l --no-update-sources --install-dir /magus/work/usr/mports/www/rubygem-llhttp-ffi/work/fake-inst-i386/usr/local/lib/ruby/gems/3.2 --ignore-dependencies --bindir=/magus/work/usr/mports/www/rubygem-llhttp-ffi/work/fake-inst-i386/usr/local/bin --no-document llhttp-ffi-0.5.1.gem -- ) Building native extensions. This could take a while... ERROR: Error installing llhttp-ffi-0.5.1.gem: ERROR: Failed to build gem native extension.

current directory: /magus/work/usr/mports/www/rubygem-llhttp-ffi/work/fake-inst-i386/usr/local/lib/ruby/gems/3.2/gems/llhttp-ffi-0.5.1/ext

rake32 RUBYARCHDIR=/magus/work/usr/mports/www/rubygem-llhttp-ffi/work/fake-inst-i386/usr/local/lib/ruby/gems/3.2/extensions/x86-midnightbsd-4/3.2/llhttp-ffi-0.5.1 RUBYLIBDIR=/magus/work/usr/mports/www/rubygem-llhttp-ffi/work/fake-inst-i386/usr/local/lib/ruby/gems/3.2/extensions/x86-midnightbsd-4/3.2/llhttp-ffi-0.5.1 rake failedNo such file or directory - rake32

Gem files will remain installed in /magus/work/usr/mports/www/rubygem-llhttp-ffi/work/fake-inst-i386/usr/local/lib/ruby/gems/3.2/gems/llhttp-ffi-0.5.1 for inspection. Results logged to /magus/work/usr/mports/www/rubygem-llhttp-ffi/work/fake-inst-i386/usr/local/lib/ruby/gems/3.2/extensions/x86-midnightbsd-4/3.2/llhttp-ffi-0.5.1/gem_make.out

A new release of RubyGems is available: 4.0.6 → 4.0.9! Run gem update --system 4.0.9 to update your installation.

*** Error code 1

Stop. make[1]: stopped in /usr/mports/www/rubygem-llhttp-ffi *** Error code 1

Stop. make: stopped in /usr/mports/www/rubygem-llhttp-ffi

extent analysis

TL;DR

The issue is likely due to a missing rake32 executable, causing the gem installation to fail, and a potential solution is to ensure the correct Ruby and rake versions are installed and configured.

Guidance

  • Verify that the rake32 executable is present in the system's PATH, and if not, install the corresponding Ruby version and rake package.
  • Check the compatibility of the llhttp-ffi-0.5.1 gem with the current Ruby version (3.2) and MidnightBSD 4.0.4 operating system.
  • Consider updating the RubyGems installation to the latest version (4.0.9) as suggested in the error message.
  • Review the gem_make.out log file for more detailed error information to aid in troubleshooting.

Example

No specific code snippet is provided, but the error message suggests running gem update --system 4.0.9 to update the RubyGems installation.

Notes

The issue may be specific to the MidnightBSD 4.0.4 operating system and the llhttp-ffi-0.5.1 gem version. Further investigation is needed to determine the root cause.

Recommendation

Apply a workaround by installing the correct Ruby and rake versions, and then attempt to install the llhttp-ffi-0.5.1 gem again. If issues persist, consider updating the RubyGems installation to the latest version.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING