From nobody Thu Sep 1 15:37:06 2022 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 4MJQC66hrzz4Zj1J for ; Thu, 1 Sep 2022 15:37:06 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MJQC64B2pz3G3R for ; Thu, 1 Sep 2022 15:37:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4MJQC63FpbzWrB for ; Thu, 1 Sep 2022 15:37:06 +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 281Fb6eJ076052 for ; Thu, 1 Sep 2022 15:37:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 281Fb6Vk076051 for ports-bugs@FreeBSD.org; Thu, 1 Sep 2022 15:37:06 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 266159] www/npm: fails to run commands after upgrade to 8.18.0 Date: Thu, 01 Sep 2022 15:37:06 +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 Only Me X-Bugzilla-Who: madpilot@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: sunpoet@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform bug_file_loc op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662046626; 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=NxfD/fFGT618O9Gdv7eBKbF0GGfkJgdp+uLlNtyctD0=; b=FQUgMLeTwR6CVEWcDmj+7UmIaDYPshkkufeqBQKSsP8/cFElRZlfE1Bscfcym7eLMjbrt0 GJbDgFZjravFYnvm+N/8L2qASIOzgk8sz370QtuO+H8eyUZpFgTLer80xufci8AC5G9KtV 6NmsGthq5nDf5f6v2pRCloHSxeETsy+NtDAEfjBhGBS7LJaocGMrN7dJj9Uoz0BAFvX1GQ xJW2y+FAjrZWsDbX63KqKKs7oEKPqMLI5dizHeDCtedNYMP2+D0Ogc+36TiPa8ZFHDJXxb oJdy/qkluxlntLUvW2cjXhDk7+YjIjafnz7sZA1XyJTadn8uCC0KVEYLLMAYEw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662046626; a=rsa-sha256; cv=none; b=aD9QpxNM4DdaXFcQA9Fz2HStht7tSUgbux+y6yfyOKcDTByVpH/smQSqogpuf4LK1qH4Lp OYCmdVBuwkI/aya1cc7+sLYF5uUtPX62nmWj82r0z24c49JlScrr5eLzDg0cW/RA8cZ80N Q8IHcgwiyvPnC+114DH8xEGNFzfp1NjDWpp1MnPLtUeMeEIt51ZDmX4PGQSZwyqHMsbJxZ /I5QWu4IZ7dQ+cuzp/GRW0cLsQiJD4VeraNEQh0dZHiOZ9scodOrFfsgeMtX+5C/FuLGvs 71GUioJuGkdKmg/uzKM19aWyprwq5jisEI6Lmw358B3iYCVteIrd+mbw6vXHGw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266159 Bug ID: 266159 Summary: www/npm: fails to run commands after upgrade to 8.18.0 Product: Ports & Packages Version: Latest Hardware: Any URL: https://github.com/npm/run-script/issues/103 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: madpilot@FreeBSD.org Assignee: sunpoet@FreeBSD.org Flags: maintainer-feedback?(sunpoet@FreeBSD.org) Created attachment 236289 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D236289&action= =3Dedit patch v1 Hi, I've discovered I'm unable to perform normal "npm run" tasks after the upgr= ade. Turns out it is a bug introduces upstream with v 8.17.0: https://github.com/npm/run-script/issues/103 As stated there this is caused by this pull request: https://github.com/npm/run-script/pull/98 which adds a '--' argument to shell invocations like: 'sh -c -- echo "foo"' https://github.com/npm/run-script/blob/2a1854aaf0b788817ad5a45b329dbf3e8424= 30f7/lib/make-spawn-args.js#L70 These fail due to no "--" command existing. I 'm proposing a patch removing the -- from the sh command line. Unluckily I don't think it is upstreamable in this way. I'm running successfully with this patch locally. Thanks in advance! --=20 You are receiving this mail because: You are the assignee for the bug.=