Your message dated Sat, 12 Apr 2025 01:53:04 -0400
with message-id
<cab4xwxwfzydjjmmkotll8a+eidadz2eke7dmpx6kvvf8vwq...@mail.gmail.com>
and subject line Re: [Python-modules-team] Bug#676450: Bug#676450:
python-psutil: FTBFS on Debian GNU/Hurd
has caused the Debian Bug report #676450,
regarding python-psutil: FTBFS on Debian GNU/Hurd
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.)
--
676450: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676450
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-psutil
Version: 0.4.1-1
Severity: normal
User: [email protected]
Usertags: hurd
Tags: patch
Hi,
Currently python-psutil fails to build on Debian GNU/Hurd. (Doesn't recognize
gnu system).
Attached is a patch for building on Hurd.
Thank you,
Barry deFreese
Index: python-psutil-0.4.1/setup.py
===================================================================
--- python-psutil-0.4.1.orig/setup.py 2011-12-14 22:18:27.000000000 +0000
+++ python-psutil-0.4.1/setup.py 2012-06-06 21:44:59.000000000 +0000
@@ -72,6 +72,12 @@
sources=['psutil/_psutil_linux.c'],
),
posix_extension]
+# GNU
+elif sys.platform.lower().startswith("gnu"):
+ extensions = [Extension('_psutil_posix',
+ sources=['psutil/_psutil_posix.c'],
+ ),
+ posix_extension]
else:
raise NotImplementedError('platform %s is not supported' % sys.platform)
--- End Message ---
--- Begin Message ---
On Sat, Jun 16, 2012 at 4:48 PM Sandro Tosi <[email protected]> wrote:
>
> Hello Barry,
>
> On Sun, Jun 10, 2012 at 10:15 PM, Barry deFreese <[email protected]> wrote:
> > I updated the patch but it still isn't quite right. The _psposix code
> > doesn't seem to include
> > __extra__all. So I could use some advice. Rather than trying to use posix
> > should I be creating a
> > new set of platform files for GNU?
>
> I'm sorry but I lack the time and interest in porting to Hurd right
> now. psutil tends to use /proc information to gather it's data under
> Linux, so if procfs is not as informative as on Linux, then there's a
> big problem on porting.
More than 13 years have passed with no progress. I think it's safe now
to close this report and follow up with upstream if hurd is ever to be
supported.
--- End Message ---