From owner-freebsd-ports-bugs@freebsd.org Mon May 11 01:09:59 2020 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0FF732D1AE2 for ; Mon, 11 May 2020 01:09:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49L2sf6kHCz3NbC for ; Mon, 11 May 2020 01:09:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id E4F6E2D1AE1; Mon, 11 May 2020 01:09:58 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E38A22D1ADF for ; Mon, 11 May 2020 01:09:58 +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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49L2sf5XbKz3Nb9 for ; Mon, 11 May 2020 01:09:58 +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) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B8008E67B for ; Mon, 11 May 2020 01:09:58 +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 04B19wp0034450 for ; Mon, 11 May 2020 01:09:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 04B19wx5034449 for ports-bugs@FreeBSD.org; Mon, 11 May 2020 01:09:58 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 246365] shells/fish does not build against devel/ncurses despite USES=ncurses Date: Mon, 11 May 2020 01:09:55 +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 Many People X-Bugzilla-Who: memreflect@pm.me X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc 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 MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 May 2020 01:09:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246365 Bug ID: 246365 Summary: shells/fish does not build against devel/ncurses despite USES=3Dncurses Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: memreflect@pm.me CC: asomers@FreeBSD.org, swills@FreeBSD.org CC: asomers@FreeBSD.org, swills@FreeBSD.org Created attachment 214369 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D214369&action= =3Dedit Patch to enable shells/fish to build against devel/ncurses shells/fish is built using CMake and requires the FindCurses module. Unless CURSES_NEED_NCURSES=3DTRUE, shells/fish will always be built against ncurse= s from base, even when devel/ncurses is already installed. I've attached a Makefi= le patch that enables shells/fish to respect the intended behavior of USES=3Dncurses. A symptom of the problem is when a terminal multiplexer such as sysutils/tm= ux is built against devel/ncurses, which provides terminfo support and allows a TERM value not found in any termcap by default, but shells/fish is linked against ncurses from base, which doesn't know about terminfo: fish: The terminal database could not be opened. fish: using dumb terminal settings. user@host ~> echo $TERM tmux Based on the behavior of the FindCurses module in this package, the issue m= ay also occur for any other port with USES=3Dncurses built using CMake that ha= s not worked around this issue. --=20 You are receiving this mail because: You are the assignee for the bug.=