MidnightBSD Magus

misc/gemini-cli

Open-source CLI for direct access to Google's Gemini AI model

Flavor Version Run OSVersion Arch License Restricted Build Fetch Test Scan
0.44.0 641 4.0 i386 Apache-2.0 0 fail fail untested untested

License Permissions: dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

Events

Machine Phase Type Time Message
m4032b fetch info 2026-06-03 04:37:27.402046 Fetch Started
m4032b fetch fail 2026-06-03 04:37:29.253836 make fetch returned non-zero: 1
m4032b fetch fail 2026-06-03 04:37:29.328789 Fetch complete.
m4032 build info 2026-07-01 22:08:35.674273 Build Started
m4032 build fail 2026-07-01 22:09:38.361106 make build returned non-zero: 1
m4032 build fail 2026-07-01 22:09:38.502188 Build complete.

Build Log

===>  Building for gemini-cli-0.45.0
npm warn Unknown cli config "--nodedir". This will stop working in the next major version of npm.
npm warn Unknown global config "python". This will stop working in the next major version of npm.
npm error code 1
npm error path /magus/work/usr/mports/misc/gemini-cli/work/gemini-cli-0.45.0/lib/node_modules/@google/gemini-cli/node_modules/node-pty
npm error command failed
npm error command sh -c node scripts/prebuild.js || node-gyp rebuild
npm error > Checking prebuilds...
npm error > Rebuilding because directory /magus/work/usr/mports/misc/gemini-cli/work/gemini-cli-0.45.0/lib/node_modules/@google/gemini-cli/node_modules/node-pty/prebuilds/freebsd-ia32 does not exist
npm error gmake[1]: Entering directory '/magus/work/usr/mports/misc/gemini-cli/work/gemini-cli-0.45.0/lib/node_modules/@google/gemini-cli/node_modules/node-pty/build'
npm error   TOUCH Release/obj.target/node_modules/node-addon-api/node_addon_api_except.stamp
npm error   CXX(target) Release/obj.target/pty/src/unix/pty.o
npm error   SOLINK_MODULE(target) Release/obj.target/pty.node
npm error gmake[1]: Leaving directory '/magus/work/usr/mports/misc/gemini-cli/work/gemini-cli-0.45.0/lib/node_modules/@google/gemini-cli/node_modules/node-pty/build'
npm error gyp info it worked if it ends with ok
npm error gyp info using node-gyp@12.1.0
npm error gyp info using node@24.13.0 | freebsd | ia32
npm error gyp info find Python using Python version 3.11.14 found at "/usr/local/bin/python3.11"
npm error gyp info spawn /usr/local/bin/python3.11
npm error gyp info spawn args [
npm error gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm error gyp info spawn args 'binding.gyp',
npm error gyp info spawn args '-f',
npm error gyp info spawn args 'make',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/magus/work/usr/mports/misc/gemini-cli/work/gemini-cli-0.45.0/lib/node_modules/@google/gemini-cli/node_modules/node-pty/build/config.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/usr/local/include/node/common.gypi',
npm error gyp info spawn args '-Dlibrary=shared_library',
npm error gyp info spawn args '-Dvisibility=default',
npm error gyp info spawn args '-Dnode_root_dir=/usr/local',
npm error gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
npm error gyp info spawn args '-Dnode_lib_file=/usr/local/$(Configuration)/node.lib',
npm error gyp info spawn args '-Dmodule_root_dir=/magus/work/usr/mports/misc/gemini-cli/work/gemini-cli-0.45.0/lib/node_modules/@google/gemini-cli/node_modules/node-pty',
npm error gyp info spawn args '-Dnode_engine=v8',
npm error gyp info spawn args '--depth=.',
npm error gyp info spawn args '--no-parallel',
npm error gyp info spawn args '--generator-output',
npm error gyp info spawn args 'build',
npm error gyp info spawn args '-Goutput_dir=.'
npm error gyp info spawn args ]
npm error gyp info spawn gmake
npm error gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm error ld: error: relocation R_386_32 cannot be used against symbol '__gxx_personality_v0'; recompile with -fPIC
npm error >>> defined in /usr/lib/libcxxrt.so
npm error >>> referenced by pty.cc
npm error >>>               Release/obj.target/pty/src/unix/pty.o:(.eh_frame+0x2B7)
npm error
npm error ld: error: relocation R_386_PC32 cannot be used against symbol 'operator new(unsigned int)'; recompile with -fPIC
npm error >>> defined in /usr/lib/libc++.so.1
npm error >>> referenced by pty.cc
npm error >>>               Release/obj.target/pty/src/unix/pty.o:(SetupExitCallback(Napi::Env, Napi::Function, int))
npm error
npm error ld: error: relocation R_386_PC32 cannot be used against symbol 'operator new(unsigned int)'; recompile with -fPIC
npm error >>> defined in /usr/lib/libc++.so.1
npm error >>> referenced by pty.cc
npm error >>>               Release/obj.target/pty/src/unix/pty.o:(SetupExitCallback(Napi::Env, Napi::Function, int))
npm error
npm error ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
npm error >>> defined in Release/obj.target/pty/src/unix/pty.o
npm error >>> referenced by pty.cc
npm error >>>               Release/obj.target/pty/src/unix/pty.o:(.eh_frame+0x2D5)
npm error
npm error ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
npm error >>> defined in Release/obj.target/pty/src/unix/pty.o
npm error >>> referenced by pty.cc
npm error >>>               Release/obj.target/pty/src/unix/pty.o:(.eh_frame+0x311)
npm error
npm error ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
npm error >>> defined in Release/obj.target/pty/src/unix/pty.o
npm error >>> referenced by pty.cc
npm error >>>               Release/obj.target/pty/src/unix/pty.o:(SetupExitCallback(Napi::Env, Napi::Function, int))
npm error
npm error ld: error: relocation R_386_PC32 cannot be used against symbol 'napi_create_string_utf8'; recompile with -fPIC
npm error >>> defined in Release/obj.target/pty/src/unix/pty.o
npm error >>> referenced by pty.cc
npm error >>>               Release/obj.target/pty/src/unix/pty.o:(SetupExitCallback(Napi::Env, Napi::Function, int))
npm error
npm error ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
npm error >>> defined in Release/obj.target/pty/src/unix/pty.o
npm error >>> referenced by pty.cc
npm error >>>               Release/obj.target/pty/src/unix/pty.o:(.eh_frame+0x341)
npm error
npm error ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
npm error >>> defined in Release/obj.target/pty/src/unix/pty.o
npm error >>> referenced by pty.cc
npm error >>>               Release/obj.target/pty/src/unix/pty.o:(.eh_frame+0x3B9)
npm error
npm error ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
npm error >>> defined in Release/obj.target/pty/src/unix/pty.o
npm error >>> referenced by pty.cc
npm error >>>               Release/obj.target/pty/src/unix/pty.o:(.eh_frame+0x6CD)
npm error
npm error ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
npm error >>> defined in Release/obj.target/pty/src/unix/pty.o
npm error >>> referenced by pty.cc
npm error >>>               Release/obj.target/pty/src/unix/pty.o:(.eh_frame+0x709)
npm error
npm error ld: error: relocation R_386_32 cannot be used against symbol 'Napi::ThreadSafeFunction::CallJS(napi_env__*, napi_value__*, void*, void*)'; recompile with -fPIC
npm error >>> defined in Release/obj.target/pty/src/unix/pty.o
npm error >>> referenced by pty.cc
npm error >>>               Release/obj.target/pty/src/unix/pty.o:(SetupExitCallback(Napi::Env, Napi::Function, int))
npm error
npm error ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
npm error >>> defined in Release/obj.target/pty/src/unix/pty.o
npm error >>> referenced by pty.cc
npm error >>>               Release/obj.target/pty/src/unix/pty.o:(SetupExitCallback(Napi::Env, Napi::Function, int))
npm error
npm error ld: error: relocation R_386_PC32 cannot be used against symbol 'napi_create_threadsafe_function'; recompile with -fPIC
npm error >>> defined in Release/obj.target/pty/src/unix/pty.o
npm error >>> referenced by pty.cc
npm error >>>               Release/obj.target/pty/src/unix/pty.o:(SetupExitCallback(Napi::Env, Napi::Function, int))
npm error
npm error ld: error: relocation R_386_PC32 cannot be used against symbol 'operator new(unsigned int)'; recompile with -fPIC
npm error >>> defined in /usr/lib/libc++.so.1
npm error >>> referenced by pty.cc
npm error >>>               Release/obj.target/pty/src/unix/pty.o:(SetupExitCallback(Napi::Env, Napi::Function, int))
npm error
npm error ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
npm error >>> defined in Release/obj.target/pty/src/unix/pty.o
npm error >>> referenced by pty.cc
npm error >>>               Release/obj.target/pty/src/unix/pty.o:(.eh_frame+0x745)
npm error
npm error ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
npm error >>> defined in Release/obj.target/pty/src/unix/pty.o
npm error >>> referenced by pty.cc
npm error >>>               Release/obj.target/pty/src/unix/pty.o:(.eh_frame+0x781)
npm error
npm error ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
npm error >>> defined in Release/obj.target/pty/src/unix/pty.o
npm error >>> referenced by pty.cc
npm error >>>               Release/obj.target/pty/src/unix/pty.o:(.eh_frame+0x7BD)
npm error
npm error ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
npm error >>> defined in Release/obj.target/pty/src/unix/pty.o
npm error >>> referenced by pty.cc
npm error >>>               Release/obj.target/pty/src/unix/pty.o:(.eh_frame+0x7F9)
npm error
npm error ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
npm error >>> defined in Release/obj.target/pty/src/unix/pty.o
npm error >>> referenced by pty.cc
npm error >>>               Release/obj.target/pty/src/unix/pty.o:(.eh_frame+0x849)
npm error
npm error ld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors)
npm error c++: error: linker command failed with exit code 1 (use -v to see invocation)
npm error gmake[1]: *** [pty.target.mk:142: Release/obj.target/pty.node] Error 1
npm error gyp ERR! build error 
npm error gyp ERR! stack Error: `gmake` failed with exit code: 2
npm error gyp ERR! stack at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:219:23)
npm error gyp ERR! System MidnightBSD 4.0.6
npm error gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm error gyp ERR! cwd /magus/work/usr/mports/misc/gemini-cli/work/gemini-cli-0.45.0/lib/node_modules/@google/gemini-cli/node_modules/node-pty
npm error gyp ERR! node -v v24.13.0
npm error gyp ERR! node-gyp -v v12.1.0
npm error gyp ERR! not ok
npm notice
npm notice New minor version of npm available! 11.8.0 -> 11.18.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.18.0
npm notice To update run: npm install -g npm@11.18.0
npm notice
npm error A complete log of this run can be found in: /magus/work/usr/mports/misc/gemini-cli/work/.npm/_logs/2026-07-01T22_09_14_371Z-debug-0.log
*** Error code 1

Stop.
make: stopped in /usr/mports/misc/gemini-cli

fetch Log

===>  License Apache-2.0 accepted by the user
===>   gemini-cli-0.44.0 depends on executable: npm - not found
Missing dependency package file: /magus/packages/All/npm-10.2.2.mport
make[1]: exec(exit) failed (No such file or directory)
*** Error code 1

Stop.
make[1]: stopped in /usr/mports/www/npm
*** Error code 1

Stop.
make: stopped in /usr/mports/misc/gemini-cli

Links

Depends On

Depend Of

Nothing

Categories

CVEs

  • Loading CVE information...

LLM Analysis