From nobody Fri Mar 27 08:17:23 2026 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4fhtmN1Dx5z6XP9W for ; Fri, 27 Mar 2026 08:17:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fhtmN0btRz3PVX for ; Fri, 27 Mar 2026 08:17:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1774599444; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YPBDYISCUtL2e1FcITAWRPtPeHs7kwpEq/I+nkZWlNo=; b=ST+XSaPY+CfeY78rE9xz3Dc8lP9raysvQYNlLRmHDEq2s4t/62M7OiPa24SQH/dzEhLIwe ogFrW5nWtYjStkSOTFPqOO+pFPpDLVwEgQGVdFgzryoUXNc9h1YnfIFAQN1ohisHldjT8P Ur4NgFU+tkaJk8hlUqb84NsIImNe5gC1fu7mEBeQ7ppAkYrccDmAiq6h/HDQwl3S5BGGgt sgDgZtNczjRWJvi3D4AqybO+M+VAVW5Q2UORZk9N4Gy5aJacWl3CR76gbmbI+s486k6wWM ZGyw1NHu7YIs27BNd6Cr9Zu7KqHfsubIZU6yDI3gKUcCUeqg4l6U1ebzfe0Law== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1774599444; a=rsa-sha256; cv=none; b=DypeM6iaHC0gZNCLIGnUx5Qm0GKrfPHlT09S0P8C4IUG029KaVdalJ6y0FDfnm7Eyqb4bR e3dw/p73uPK9KIrJsKBKMTwJi37W0fxwRgv6sMkNeKL2Ip5Mv7MVo1wdksbiXHKexQJKRw sP8oLqpx4rDG2EKH8JEE9Q+orAyxQtb+mR10RCCGYNf+hMTIFXT95TyqtCxGhKKPpY4YEf 6JHIHaPHQ49zHovA/+ZYpsDzr4em8Zpmg67tpONpS7AxFtFnajFx1Dw3FhVQdG9mbrEPhb JKx81Hj8w0NxWztoMf/dXKLlOL9XxwMeMDBf5AVwfYS2VXs9QcvxD9s5sCZRFQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1774599444; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YPBDYISCUtL2e1FcITAWRPtPeHs7kwpEq/I+nkZWlNo=; b=b47A3XlBCJUap/4TjuWQtgsqgRwFlcf6ZHuCq6901O/pqzfA3qaENy2K9vMJfNgkXmigpG e61n5l2nmqsTF6khpSt2ac5ra4R3/bAMgCA1IeNVSgj4sxq23C8NDOLI6udzEoAX4I0fmp 7UklkDaYsWmw/2yia4g8wu0yqYuFZ2R6F0rgBnYtIjxEjmZemMmF/DkWebWSELK7uLTmQU wk50TvYjQkL9FfSzADZgV2pH/L/SqU6EoSRh9XTMgsRx54mVzPrvvKMSjpBCTjQd9yL8GL pBAzPWg7bHYjCng+Fpedkju7ZUDBfPLu/pWFTl+TFQJYo8HoGq571v3HEbYMkw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4fhtmM72QwzVYl for ; Fri, 27 Mar 2026 08:17:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 62R8HNna032209 for ; Fri, 27 Mar 2026 08:17:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 62R8HNIZ032208 for ports-bugs@FreeBSD.org; Fri, 27 Mar 2026 08:17:23 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 294070] misc/gemini-cli: fix gyp error on build Date: Fri, 27 Mar 2026 08:17:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: nork@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: yuri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D294070 Bug ID: 294070 Summary: misc/gemini-cli: fix gyp error on build Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: yuri@freebsd.org Reporter: nork@FreeBSD.org Assignee: yuri@freebsd.org Flags: maintainer-feedback?(yuri@freebsd.org) Created attachment 269140 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D269140&action= =3Dedit a patch When /usr/local/bin/python is not installed, but installed /usr/local/bin/python3.12, make this port causes gyp error like following: =3D=3D=3D> Building for gemini-cli-0.34.0 npm warn Unknown cli config "--nodedir". This will stop working in the next major version of npm. npm error code 1 npm error path /usr/ports/misc/gemini-cli/work/gemini-cli-0.34.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 /usr/ports/misc/gemini-cli/work/gemini-cli-0.34.0/lib/node_modules/@google/= gemini-cli/node_modules/node-pty/prebuilds/freebsd-x64 does not exist npm error gyp info it worked if it ends with ok npm error gyp info using node-gyp@12.2.0 npm error gyp info using node@24.14.0 | freebsd | x64 npm error (node:37767) [DEP0169] DeprecationWarning: `url.parse()` behavior= is not standardized and prone to errors that have security implications. Use t= he WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabiliti= es. npm error (Use `node --trace-deprecation ...` to show where the warning was created) npm error gyp ERR! find Python npm error gyp ERR! find Python --python was not set on the command line npm error gyp ERR! find Python Python is not set from environment variable PYTHON npm error gyp ERR! find Python checking if "python3" can be used npm error gyp ERR! find Python - executable path is "" npm error gyp ERR! find Python - "" could not be run npm error gyp ERR! find Python checking if "python" can be used npm error gyp ERR! find Python - executable path is "" npm error gyp ERR! find Python - "" could not be run npm error gyp ERR! find Python npm error gyp ERR! find Python ********************************************************** npm error gyp ERR! find Python You need to install the latest version of Python. npm error gyp ERR! find Python Node-gyp should be able to find and use Pyth= on. If not, npm error gyp ERR! find Python you can try one of the following options: npm error gyp ERR! find Python - Use the switch --python=3D"/path/to/pythonexecutable" npm error gyp ERR! find Python (accepted by both node-gyp and npm) npm error gyp ERR! find Python - Set the environment variable PYTHON npm error gyp ERR! find Python For more information consult the documentati= on at: npm error gyp ERR! find Python https://github.com/nodejs/node-gyp#installat= ion npm error gyp ERR! find Python ********************************************************** npm error gyp ERR! find Python npm error gyp ERR! configure error npm error gyp ERR! stack Error: Could not find any Python installation to u= se npm error gyp ERR! stack at PythonFinder.fail (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:3= 00:11) npm error gyp ERR! stack at PythonFinder.findPython (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:1= 60:17) npm error gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:104:5) npm error gyp ERR! stack at async configure (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:27:= 18) npm error gyp ERR! stack at async run (/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js:81:1= 8) npm error gyp ERR! System FreeBSD 15.0-RELEASE-p5 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 /usr/ports/misc/gemini-cli/work/gemini-cli-0.34.0/lib/node_modules/@google/= gemini-cli/node_modules/node-pty npm error gyp ERR! node -v v24.14.0 npm error gyp ERR! node-gyp -v v12.2.0 npm error gyp ERR! $npm_package_name node-pty npm error gyp ERR! $npm_package_version 1.1.0 npm error gyp ERR! not ok --=20 You are receiving this mail because: You are the assignee for the bug.=