From nobody Sun Mar 27 14:20:08 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 91C591A40246 for ; Sun, 27 Mar 2022 14:20:08 +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 4KRHzD2bjHz4gbY for ; Sun, 27 Mar 2022 14:20:08 +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 251EF16E31 for ; Sun, 27 Mar 2022 14:20:08 +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 22REK8as058777 for ; Sun, 27 Mar 2022 14:20:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 22REK8v0058776 for ports-bugs@FreeBSD.org; Sun, 27 Mar 2022 14:20:08 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 262863] www/amfora: post-install hint on how to resolve crash on startup if TERM not recognized [#300] Date: Sun, 27 Mar 2022 14:20:08 +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: keen.year0891@fastmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: lcook@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=1648390808; 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=w7wd5mjKW52oT6gbX5Fc5lK0Eb6WJ2cuuNItiBAfbhs=; b=mzwcl5KVajaI//2Lz5Rk9BE9Y9e7+BaZ5+/uw/DMmCC0/JN2cn9X2MOvQnrDk/Sfnz4Yo+ Z+O4QDhwX5IFhGMskdLKml0diihbnzkAixRMJM8XrX6Zysr8lyHuFKKcAYvZDO9kMSfLxm 1F7s8eoj23KF5XY/rgGL+1HCjRg9DlXTTr9K588bmQ/YQ1pq5IzD/jeBTdD+xov6XyIban PzXgbZYgAOtXCBY9fvI3iD/Tn7gbdkp9+v5zjz7fMR/BlZxCOTV56bnDQdMJg5XXAlaxRW kCGyJ5zN0DCyOI2vcyo70zP77CgjEcHacNAg/11l6PngrkbMRsGbY9cnzCay8g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648390808; a=rsa-sha256; cv=none; b=G/gkHOV1etq5W1yE5D0blFfqGKiKQhlljqF8dx7ihyW2pkDGvwaRpnBmEZU8Fx7WcDmHnd bKHyhq4LZyhjhMM3pUxynMNnncL2Vn5XWVRtJoA8qnM+0dg5dwVSXpJoMqYosd8zdqmlSZ t1jyAxy+30fSgtYWZQ6XZgyrgUHHPGvrILoHxtqKJH3Pmi3CGCjBO8e8f48jROUV31v4rS HoQADPxuyN3DBcewaLVDOO5hXy/u9o7LeDAC2J/Yi1CSbDZmMAjl/DIz38UoxgOPrKWWp8 OrIQ4lh2xbB29MrabrPsS11fkhl+/Qqiz0oOmJW+Yoq9uraWFRoEhHYX66Y5AQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262863 Bug ID: 262863 Summary: www/amfora: post-install hint on how to resolve crash on startup if TERM not recognized [#300] Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: lcook@freebsd.org Reporter: keen.year0891@fastmail.com Flags: maintainer-feedback?(lcook@freebsd.org) Assignee: lcook@freebsd.org A Go dependency compiled into amfora will crash at startup when it doesn=E2= =80=99t recognize the terminal type declared in TERM. Investigated with amfora=E2= =80=99s author, and reported to the upstream dependencies. (See https://github.com/makeworld-the-better-one/amfora/issues/300 and mentions there.) In my case specifically for running under tmux, installing the ncurses port resolved the crash. This has to do with missing terminfo data, though installing the terminfo-db port alone did not help. Steps to reproduce: 1. On a clean FreeBSD 13.0-RELEASE system, install amfora and tmux from por= ts or pkg 2. Run tmux, or export TERM=3Dtmux-256color 3. Run amfora Expected results: Amfora starts Actual results: Go runtime crashes and prints a stack trace Suggested workaround: Call out that additional data from ncurses may be nee= ded in a post-install message; or, add ncurses as a dependency to cover any terminfo that may not be bundled as expected. My system: 13.0-RELEASE-p6 FreeBSD 13.0-RELEASE-p6 #0: Mon Jan 10 06:33:27 = UTC 2022=20=20=20=20 root@arm64-builder.daemonology.net:/usr/obj/usr/src/arm64.aarch64/sys/GENER= IC=20 arm64 % amfora -v Amfora v1.9.2 Commit: 61d8645 Built by: unknown --=20 You are receiving this mail because: You are the assignee for the bug.=