From owner-freebsd-python@freebsd.org Fri Jan 15 07:20:22 2016 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CB4FCA82011 for ; Fri, 15 Jan 2016 07:20:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B70A4180E for ; Fri, 15 Jan 2016 07:20:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id B4240A82010; Fri, 15 Jan 2016 07:20:22 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B3C03A8200E for ; Fri, 15 Jan 2016 07:20:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A4F41180C for ; Fri, 15 Jan 2016 07:20:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u0F7KMiC041175 for ; Fri, 15 Jan 2016 07:20:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: maintainer-feedback requested: [Bug 206285] lang/python35: _curses.so not linked against libncursesw even when available Date: Fri, 15 Jan 2016 07:20:22 +0000 X-Bugzilla-Type: request 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: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jan 2016 07:20:22 -0000 Brendan Molloy has reassigned Bugzilla Automat= ion 's request for maintainer-feedback to FreeBSD Python : Bug 206285: lang/python35: _curses.so not linked against libncursesw even w= hen available https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206285 --- Description --- When installing via pkg, Python 3.5's `curses` module (_curses.so) links against /lib/ncurses.so.8 and not /lib/ncursesw.so.8 even though it is pres= ent, causing the `curses` module to fail with methods such as `window.get_wch()`. Same occurs when building from ports regardless of selected options. This issue is also present on Python 3.4 and 2.7 ports. Initial investigation seems to imply the setup.py file is not detecting correctly which library to link to. --- $ ldd /usr/local/lib/python3.5/lib-dynload/_curses.so /usr/local/lib/python3.5/lib-dynload/_curses.so: libthr.so.3 =3D> /lib/libthr.so.3 (0x801614000) libncurses.so.8 =3D> /lib/libncurses.so.8 (0x801838000) libpython3.5m.so.1.0 =3D> /usr/local/lib/libpython3.5m.so.1.0 (0x801c00000) libc.so.7 =3D> /lib/libc.so.7 (0x800821000) libintl.so.8 =3D> /usr/local/lib/libintl.so.8 (0x80209b000) libutil.so.9 =3D> /lib/libutil.so.9 (0x8022a6000) libm.so.5 =3D> /lib/libm.so.5 (0x8024b8000)