Subject: pkg/21784: bittorrent-3.2.1bnb1 lacks dependency on py-curses
To: None <gnats-bugs@gnats.netbsd.org>
From: None <paul@gromit.dlib.vt.edu>
List: netbsd-bugs
Date: 06/04/2003 10:21:58
>Number:         21784
>Category:       pkg
>Synopsis:       bittorrent-3.2.1bnb1 lacks dependency on py-curses
>Confidential:   yes
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 04 14:23:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Paul Mather
>Release:        NetBSD 1.6T
>Organization:
	Digital Library Research Laboratory
>Environment:
System: NetBSD chumby.dlib.vt.edu 1.6T NetBSD 1.6T (CHUMBY) #0: Fri May 23 23:16:03 EDT 2003 paul@chumby.dlib.vt.edu:/usr/obj/sys/arch/alpha/compile/CHUMBY alpha
Architecture: alpha
Machine: alpha
>Description:
	The package bittorrent-3.2.1bnb1 in /usr/pkgsrc/net/bittorrent
	includes curses-based applications (/usr/pkg/bin/btdownloadcurses.py
	and /usr/pkg/bin/btlaunchmanycurses.py) but includes no run-time
	dependency on the /usr/pkgsrc/devel/py-curses package.  These
	curses applications fail to run.
>How-To-Repeat:
	cd /usr/pkgsrc/net/bittorrent
	make install
	/usr/pkg/bin/btdownloadcurses.py --response /path/to/file.torrent


	Without curses support, btdownloadcurses.py complains about its
	absence, e.g.:

	$ /usr/pkg/bin/btdownloadcurses.py --response mule1998-09-18.flac16.torrent
	Textmode GUI initialization failed, cannot proceed.

	This download interface requires the standard Python module "curses", which is unfortunately not available for the native Windows port of Python. It is however available for the Cygwin port of Python, running on all Win32 systems (www.cygwin.com).

	You may still use "btdownloadheadless.py" to download.
	Traceback (most recent call last):
	  File "/usr/pkg/bin/btdownloadcurses.py", line 177, in ?
	    scrh, scrw = scrwin.getmaxyx()
	NameError: global name 'scrwin' is not defined
	$
>Fix:
	Add a runtime dependency on the py-curses package in the
	/usr/pkgsrc/net/bittorrent Makefile so curses support is present?
>Release-Note:
>Audit-Trail:
>Unformatted: