Your message dated Sat, 28 Apr 2012 15:02:12 +0000
with message-id <[email protected]>
and subject line Bug#592637: fixed in python-ptrace 0.6.4-1
has caused the Debian Bug report #592637,
regarding python-ptrace: please add support for kfreebsd
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
592637: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=592637
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-ptrace
Version: 0.6.2-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: kfreebsd

FreeBSD seems to be one of the systems supported by upstream. However, strace.py doesn't start on kfreebsd-*:

$ ./strace.py pwd
Traceback (most recent call last):
  File "./strace.py", line 3, in <module>
    from ptrace.debugger import (PtraceDebugger, Application,
  File "/home/jwilk/python-ptrace-0.6.2/ptrace/debugger/__init__.py", line 6, in 
<module>
    from ptrace.debugger.child import ChildError
  File "/home/jwilk/python-ptrace-0.6.2/ptrace/debugger/child.py", line 12, in 
<module>
    from ptrace.binding import ptrace_traceme
  File "/home/jwilk/python-ptrace-0.6.2/ptrace/binding/__init__.py", line 1, in 
<module>
    from ptrace.binding.func import (
  File "/home/jwilk/python-ptrace-0.6.2/ptrace/binding/func.py", line 25, in 
<module>
    raise NotImplementedError("Unknown OS!")
NotImplementedError: Unknown OS!


The attached patch fixes this bug. (It doesn't make ./strace.py fully functional on kfreebsd-* yet; more bugreports/patches will hopefully follow soon.)

--
Jakub Wilk
diff -Nru python-ptrace-0.6.2/ptrace/os_tools.py python-ptrace-0.6.2/ptrace/os_tools.py
--- python-ptrace-0.6.2/ptrace/os_tools.py	2009-11-09 00:56:53.000000000 +0000
+++ python-ptrace-0.6.2/ptrace/os_tools.py	2010-08-11 15:16:18.000000000 +0000
@@ -17,7 +17,7 @@
 RUNNING_PYPY = ("pypy" in version.lower())
 RUNNING_WINDOWS = (platform == 'win32')
 RUNNING_LINUX = (platform == 'linux2')
-RUNNING_FREEBSD = platform.startswith('freebsd')
+RUNNING_FREEBSD = platform.startswith('freebsd') or platform.startswith('gnukfreebsd')
 RUNNING_OPENBSD = platform.startswith('openbsd')
 RUNNING_MACOSX = (platform == 'darwin')
 RUNNING_BSD = RUNNING_FREEBSD or RUNNING_MACOSX or RUNNING_OPENBSD

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: python-ptrace
Source-Version: 0.6.4-1

We believe that the bug you reported is fixed in the latest version of
python-ptrace, which is due to be installed in the Debian FTP archive:

python-ptrace_0.6.4-1.debian.tar.gz
  to main/p/python-ptrace/python-ptrace_0.6.4-1.debian.tar.gz
python-ptrace_0.6.4-1.dsc
  to main/p/python-ptrace/python-ptrace_0.6.4-1.dsc
python-ptrace_0.6.4-1_all.deb
  to main/p/python-ptrace/python-ptrace_0.6.4-1_all.deb
python-ptrace_0.6.4.orig.tar.gz
  to main/p/python-ptrace/python-ptrace_0.6.4.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Pierre Chifflier <[email protected]> (supplier of updated python-ptrace package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 28 Apr 2012 16:49:32 +0200
Source: python-ptrace
Binary: python-ptrace
Architecture: source all
Version: 0.6.4-1
Distribution: unstable
Urgency: low
Maintainer: Pierre Chifflier <[email protected]>
Changed-By: Pierre Chifflier <[email protected]>
Description: 
 python-ptrace - Python bindings for ptrace
Closes: 592637 592648
Changes: 
 python-ptrace (0.6.4-1) unstable; urgency=low
 .
   * Imported Upstream version 0.6.4
     - This version should work on kfreebsd (Closes: #592637)
   * Bump Standards Version to 3.9.3
   * Switch to DH 9
   * Convert debian/rules to dh format
   * Fix bad errno handling in ptrace.binding.func.ptrace (Closes: #592648)
     Thanks to Jakub Wilk for the patch.
Checksums-Sha1: 
 0d0abd5106279c4bf8f5b84b1c4346b3b55440e6 1797 python-ptrace_0.6.4-1.dsc
 214f7c56c1e5c332c734539ec634b91eabfb6e76 77142 python-ptrace_0.6.4.orig.tar.gz
 d455bbe232cb55e65d1d5a0c3afce611c5a40b38 3122 
python-ptrace_0.6.4-1.debian.tar.gz
 c5bcf60a8b1a29f32e5a53ea554b78c936121c30 123382 python-ptrace_0.6.4-1_all.deb
Checksums-Sha256: 
 183b6107b3f940eef2e41b421ffbba2349a0dee086d04252ed7d16d813305fb5 1797 
python-ptrace_0.6.4-1.dsc
 3439297a28f971f9e9135787a0d8a1ae37dda2c4e79cd558011c97392d1e565e 77142 
python-ptrace_0.6.4.orig.tar.gz
 bb256840d53442688b21f0a9d658a0f5444d5a6739e5c36d31b269cbbf959883 3122 
python-ptrace_0.6.4-1.debian.tar.gz
 7032de040c8a182d0d31a237628a0800cda7c77e1715af579d1244cfe1f8ae15 123382 
python-ptrace_0.6.4-1_all.deb
Files: 
 a12eca578990edcae31022ae8dd66931 1797 python extra python-ptrace_0.6.4-1.dsc
 d02900a25ceae695134a3ad4ec4c10d9 77142 python extra 
python-ptrace_0.6.4.orig.tar.gz
 587565b287ead70b0161ed34d776cb97 3122 python extra 
python-ptrace_0.6.4-1.debian.tar.gz
 4a64553c14a8cd5d601456ba271595ce 123382 python extra 
python-ptrace_0.6.4-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJPnAP9AAoJEMYaZNzxOTmYO5EP/1ND0AmiScSspYFfZmQIhGNu
3oHhwMjfv0mD2oXgTgoQM2nlDvc1S1KkqAFxvUM8QoJCE66hbuiF5qqfXwn3UZF6
6bBrbowQawp6WiSFkJHMRFT+bVIHr8XDHIrDIEbsEOEQr6EOCJUbFewhEqfTXivs
W5b+Q8OBMRggxZ4S59dJKbXrVnbT/DqE/0lbHM1bMO81l1yf2Bnzstra/qjst2hZ
2Be+Lq9IFdlNTaewkpyMy7XtzFoCsVP6C3sOXNwt1mfu9iU19e6mkzbjH0j3qiot
c/IH8dfVEGGTFK0n+eYnvzL7FaMg2FfT8BsX2jEk1HB5JVYukMRzyGZ64ybSPzNZ
R6lYOqRnX2265ttazfyZpJw8mH4tUuX8wXV9ezJsybEOZIwAYJIQASf+CRk6cxK9
+KH6IKTM6wEid6P5oEkG3ULMLr0+th5MAUq/o9zzNeWm3DGjTyNHK/Adx59QTKoe
yo/gW4dYN0or3zaxF+Cc95uBSGPV5O/Q0+hdxaWJtWpPalguehvKziSdpI9Xhh39
rLB7J9Vjs/W/sV90AOY3i3pGslevV2UbYUqsg5ztv+56dmS4o8tPPBKWKyDTyFg5
6ApPwCBJOjpEHqvnXSUvOwIXFxkBX1X3BquKMkVPe4REqpStnVhDcXZ6IJRmbzEM
rGl9aLtRUxeSrXdHuPjh
=vCfB
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to