Subject: pkg/21536: bittorrent pkg doesn't work
To: None <gnats-bugs@gnats.netbsd.org>
From: Hubert Feyrer <hubert@feyrer.de>
List: netbsd-bugs
Date: 05/11/2003 19:48:23
>Number:         21536
>Category:       pkg
>Synopsis:       bittorrent pkg doesn't work
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    drochner
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 11 17:49:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Hubert Feyrer
>Release:        NetBSD 1.6R
>Organization:
bla!
>Environment:
Architecture: i386
Machine: i386
>Description:
	The pkgsrc/net/bittorrent package doesn't work either on
	1.6.1 (with -current kernel) nor on -current (with -current kernel).
	
	1.6.1 says (when entering a dir and clocking on "make"):

		miyu% btcompletedirgui.py
		Exception in thread Thread-1:
		Traceback (most recent call last):
		  File "/usr/pkg/lib/python2p2/threading.py", line 408, in __bootstrap
		    self.run()
		  File "/usr/pkg/lib/python2p2/threading.py", line 396, in run
		    apply(self.__target, self.__args, self.__kwargs)
		  File "/usr/pkg/bin/btcompletedirgui.py", line 127, in complete
		    completedir(self.d, self.a, self.flag, self.valcallback, self.filecallback, self.pl)
		  File "/usr/pkg/bin/btcompletedir.py", line 40, in completedir
		    make_meta_file(i, url, flag = flag, progress = callback, progress_percent=0, piece_length = piece_length)
		TypeError: make_meta_file() got an unexpected keyword argument 'piece_length'

	-current brings:
		miyu% btcompletedirgui.py 
		Error detected, file "/usr/cvs/src-current/lib/libpthread/pthread_mutex.c", line 338, function "pthread_mutex_unlock": Unlocking mutex owned by another thread.
		Abort (core dumped)


	Used pkgs on 1.6.1:

		miyu% pkg_info -qf BitTorrent | grep pkgdep | awk '{ print $2}' | xargs -n 1 pkg_info -e
		glib-1.2.10nb5
		gtk+-1.2.10nb4
		jpeg-6b
		png-1.2.4
		pth-2.0.0
		py22pth-wxWindows-2.4.0.7
		python22-pth-2.2.2nb2
		python22-pth-2.2.2nb2
		tiff-3.5.5
		wxGTK-2.4.0nb1


	Used pkgs on -current:

		miyu% pkg_info -qf BitTorrent | grep pkgdep | awk '{ print $2}' | xargs -n 1 pkg_info -e
		glib-1.2.10nb5
		gtk+-1.2.10nb4
		jpeg-6b
		png-1.2.5nb2
		py22pth-wxWindows-2.4.0.7
		python22-pth-2.2.2nb2
		python22-pth-2.2.2nb2
		tiff-3.5.7nb1
		wxGTK-2.4.0nb1

	
>How-To-Repeat:
	cd /usr/pkgsrc/net/bittorrent
	make install
	btcompletedirgui.py

>Fix:
	Please!

	And while there, set yourself as maintainer!
>Release-Note:
>Audit-Trail:
>Unformatted: