Debian Bug report logs - #676450
python-psutil: FTBFS on Debian GNU/Hurd

version graph

Package: python-psutil; Maintainer for python-psutil is Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>; Source for python-psutil is src:python-psutil.

Reported by: bdefreese@debian.org

Date: Thu, 7 Jun 2012 01:57:01 UTC

Severity: normal

Tags: patch

Found in version python-psutil/0.4.1-1

Forwarded to http://code.google.com/p/psutil/issues/detail?id=276

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>:
Bug#676450; Package python-psutil. (Thu, 07 Jun 2012 01:57:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to bdefreese@debian.org:
New Bug report received and forwarded. Copy sent to Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>. (Thu, 07 Jun 2012 01:57:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Barry deFreese <bdefreese@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: python-psutil: FTBFS on Debian GNU/Hurd
Date: Wed, 06 Jun 2012 21:52:04 -0400
[Message part 1 (text/plain, inline)]
Package: python-psutil
Version: 0.4.1-1
Severity: normal
User: debian-hurd@lists.debian.org
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
[pypsutil-hurd.diff (text/plain, attachment)]

Set Bug forwarded-to-address to 'http://code.google.com/p/psutil/issues/detail?id=276'. Request was from Sandro Tosi <morph@debian.org> to control@bugs.debian.org. (Thu, 07 Jun 2012 22:12:05 GMT) Full text and rfc822 format available.

Severity set to 'wishlist' from 'normal' Request was from Matthew Grant <matthewgrant5@gmail.com> to control@bugs.debian.org. (Fri, 08 Jun 2012 02:21:04 GMT) Full text and rfc822 format available.

Severity set to 'normal' from 'wishlist' Request was from Matthew Grant <matthewgrant5@gmail.com> to control@bugs.debian.org. (Fri, 08 Jun 2012 02:27:02 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>:
Bug#676450; Package python-psutil. (Fri, 08 Jun 2012 21:48:17 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sandro Tosi <morph@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>. (Fri, 08 Jun 2012 21:48:18 GMT) Full text and rfc822 format available.

Message #16 received at 676450@bugs.debian.org (full text, mbox):

From: Sandro Tosi <morph@debian.org>
To: bdefreese@debian.org, 676450@bugs.debian.org
Subject: Re: [Python-modules-team] Bug#676450: python-psutil: FTBFS on Debian GNU/Hurd
Date: Fri, 8 Jun 2012 23:46:13 +0200
Hello Barry,

On Thu, Jun 7, 2012 at 3:52 AM, Barry deFreese <bdefreese@debian.org> wrote:
> Currently python-psutil fails to build on Debian GNU/Hurd. (Doesn't recognize gnu system).
>
> Attached is a patch for building on Hurd.

Thanks for the patch! But I think it's not enough: I've tried to build
the package on exodar but the test suite fails to run due to:

running test/test_psutil.py on python2.7
Traceback (most recent call last):
  File "test/test_psutil.py", line 32, in <module>
    import psutil
  File "/home/morph/python-psutil-0.4.1/build/lib.gnu-0.3-i686-AT386-2.7/psutil/__init__.py",
line 83, in <module>
    raise NotImplementedError('platform %s is not supported' % sys.platform)
NotImplementedError: platform gnu0 is not supported

Is it possible to you to follow up and let tests run too?

Cheers,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>:
Bug#676450; Package python-psutil. (Sun, 10 Jun 2012 20:18:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to bdefreese@debian.org:
Extra info received and forwarded to list. Copy sent to Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>. (Sun, 10 Jun 2012 20:18:03 GMT) Full text and rfc822 format available.

Message #21 received at 676450@bugs.debian.org (full text, mbox):

From: Barry deFreese <bdefreese@debian.org>
To: Sandro Tosi <morph@debian.org>
Cc: 676450@bugs.debian.org
Subject: Re: [Python-modules-team] Bug#676450: python-psutil: FTBFS on Debian GNU/Hurd
Date: Sun, 10 Jun 2012 16:15:43 -0400
[Message part 1 (text/plain, inline)]
On 6/8/2012 5:46 PM, Sandro Tosi wrote:
> Hello Barry,
> 
> On Thu, Jun 7, 2012 at 3:52 AM, Barry deFreese <bdefreese@debian.org> wrote:
>> Currently python-psutil fails to build on Debian GNU/Hurd. (Doesn't recognize gnu system).
>>
>> Attached is a patch for building on Hurd.
> 
> Thanks for the patch! But I think it's not enough: I've tried to build
> the package on exodar but the test suite fails to run due to:
> 
> running test/test_psutil.py on python2.7
> Traceback (most recent call last):
>   File "test/test_psutil.py", line 32, in <module>
>     import psutil
>   File "/home/morph/python-psutil-0.4.1/build/lib.gnu-0.3-i686-AT386-2.7/psutil/__init__.py",
> line 83, in <module>
>     raise NotImplementedError('platform %s is not supported' % sys.platform)
> NotImplementedError: platform gnu0 is not supported
> 
> Is it possible to you to follow up and let tests run too?
> 
> Cheers,
> 

Sandro,

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?

Thanks!

Barry



[pypsutil-hurd.diff (text/plain, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>:
Bug#676450; Package python-psutil. (Sat, 16 Jun 2012 20:48:08 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sandro Tosi <morph@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>. (Sat, 16 Jun 2012 20:48:08 GMT) Full text and rfc822 format available.

Message #26 received at 676450@bugs.debian.org (full text, mbox):

From: Sandro Tosi <morph@debian.org>
To: bdefreese@debian.org
Cc: 676450@bugs.debian.org
Subject: Re: [Python-modules-team] Bug#676450: python-psutil: FTBFS on Debian GNU/Hurd
Date: Sat, 16 Jun 2012 22:43:54 +0200
Hello Barry,

On Sun, Jun 10, 2012 at 10:15 PM, Barry deFreese <bdefreese@debian.org> 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.

Cheers,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi




Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Apr 16 10:55:22 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.