From nobody Thu Jun 23 16:01:20 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 873FE86041B for ; Thu, 23 Jun 2022 16:01:20 +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 4LTQ3N2Dv0z50Kp for ; Thu, 23 Jun 2022 16:01:20 +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 2DEC61DFAC for ; Thu, 23 Jun 2022 16:01:20 +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 25NG1Knn090107 for ; Thu, 23 Jun 2022 16:01:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 25NG1K7u090106 for ports-bugs@FreeBSD.org; Thu, 23 Jun 2022 16:01:20 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 264852] devel/arcanist: arc diff --create error Date: Thu, 23 Jun 2022 16:01:20 +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: fernape@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: grembo@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 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=1656000080; 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=uvFdspkbKSHVRzc9D4iAqiD9odg8EYE1rO4SKfanhgg=; b=uvn16QfDYb74ZaHAgaNhf6AIuU7jaWIxXLK/t7BE305bvbZBGxg6K9i+OyEgxFqRkgUFBb S6aMHdxHa69X65Fb/lSqyuqiuIoAUQEad/r94xi8GjoZZFFe+hU/IkH3dCx8MtB3ss6gBJ 0GHMm5gmcH8wp1ha8CN7qrjN9/tOIR0Ms/8/4L0WcP+1hOIYv8FwilgVrwQWZGroB1DT1c tARhD1fUXzZqbZvBLRkxxMwDFI+zBYNK1PnMc/Q6ZkQiSIj9Osr3ug8KE+VFRAJI8meHE7 gprbbvivolqgayMc/HLtuqIi2lSQm/Vrznvpzi+Sn1c+FCQAQDbaC72rJLZT7Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656000080; a=rsa-sha256; cv=none; b=qHn0g3/n8bQyalOYDTyYblrgaC+T6ByCMx9o6BhmkiT+OXh+1sjyAmxY1knFG7JppWq/4H rmGMlbPX9hOq9lyfrGY883d3gWoABRg0da4ZK4PW9uGVuqxRa6Lktu44FUD+YBBkt5wmRp cOzryvboWezOs9r5jqh9OADCQo2tvf6xUogsyCyHD+htfTN8VXgwegbak6jzvb4bkJ3McF dtjW8MTzCgbUWP0yIV/mRnHC892JI/bjVj+IfdWdhVjIlzjZcwCehTxVyNrlKTpp4NiFAZ ln9/FzcW0f7tc0OZo7pPs/HGJomswYgNpWEN5/pEIFrLbrlnGsK7GsjucQh61g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264852 Bug ID: 264852 Summary: devel/arcanist: arc diff --create error Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: grembo@FreeBSD.org Reporter: fernape@FreeBSD.org Assignee: grembo@FreeBSD.org Flags: maintainer-feedback?(grembo@FreeBSD.org) While using arc diff --create main from a branch that has a commit for whic= h I want to create a review, I get the following error: $ arc --trace diff --create main ARGV /usr/local/bin/arc --trace diff --create main PCNTL Unable to install signal handler, pcntl_signal() unavailable. Continuing without signal handling. >>> [0] (+0) $ /usr/local/bin/php -f /usr/local/lib/php/arcanist/scr= ipts/arcanist.php -- --trace diff --create main ARGV /usr/local/lib/php/arcanist/scripts/arcanist.php --trace diff --crea= te main LOAD Loaded "arcanist" from "/usr/local/lib/php/arcanist/src". Config: Reading user configuration file "/home/fernape/.arcrc"... Config: Did not find system configuration at "/etc/arcconfig". Working Copy: Reading .arcconfig from "/data/fernape_data/FreeBSD-repos/src/.arcconfig". Working Copy: Path "/data/fernape_data/FreeBSD-repos/src" is part of `git` working copy "/data/fernape_data/FreeBSD-repos/src". Working Copy: Project root is at "/data/fernape_data/FreeBSD-repos/src". Config: Reading local configuration file "/data/fernape_data/FreeBSD-repos/src/.git/arc/config"... >>> [0] (+0) https://reviews.freebsd.org/api/user.whoami <<< [0] (+500) 500,895 us >>> [1] (+507) $ git --version <<< [1] (+514) 7,334 us >>> [2] (+514) $ git status --porcelain=3D2 -z <<< [2] (+811) 296,954 us >>> [3] (+812) diff.didCollectChanges <<< [3] (+812) 72 us >>> [4] (+812) $ git rev-parse --git-dir <<< [4] (+820) 7,148 us >>> [5] (+820) $ git rev-parse HEAD <<< [5] (+827) 6,927 us >>> [6] (+827) $ git merge-base -- main ae9b852aaa34a840820cc920a130= 00b7969034ab <<< [6] (+835) 7,710 us >>> [7] (+835) $ git log ae9b852aaa34a840820cc920a13000b7969034ab --= not 1f1e2261e341e6ca6862f82261066ef1705f0a7a --format=3D'%H%x01%T%x01%P%x01= %at%x01%an%x01%aE%x01%s%x01%s%n%n%b%x02' -- <<< [7] (+843) 7,961 us >>> [8] (+844) https://reviews.freebsd.org/api/differential.parsecom= mitmessage <<< [8] (+1,014) 169,460 us [2022-06-23 15:58:06] EXCEPTION: (RuntimeException) trim(): Passing null to parameter #1 ($string) of type string is deprecated at [/src/error/PhutilErrorHandler.php:261] arcanist() #0 PhutilErrorHandler::handleError(integer, string, string, integer) #1 trim(NULL) called at [/src/workflow/ArcanistDiffWorkflow.php:1949] #2 ArcanistDiffWorkflow::parseCommitMessagesIntoFields(array) called at [/src/workflow/ArcanistDiffWorkflow.php:1779] #3 ArcanistDiffWorkflow::getDefaultCreateFields() called at [/src/workflow/ArcanistDiffWorkflow.php:1402] #4 ArcanistDiffWorkflow::getCommitMessageFromUser() called at [/src/workflow/ArcanistDiffWorkflow.php:1336] #5 ArcanistDiffWorkflow::buildCommitMessage() called at [/src/workflow/ArcanistDiffWorkflow.php:353] #6 ArcanistDiffWorkflow::run() called at [/scripts/arcanist.php:419] <<< [0] (+1,088) 1,088,562 us $ pkg info -x 'arcanist.*' arcanist-lib-php81-20211210 arcanist-php81-20211210 --=20 You are receiving this mail because: You are the assignee for the bug.=