Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
psi test fail
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
o.fournier@iktios.fr  
View profile  
 More options Nov 3 2011, 3:34 pm
From: "o.fourn...@iktios.fr" <o.fourn...@iktios.fr>
Date: Thu, 03 Nov 2011 20:34:53 +0100
Local: Thurs, Nov 3 2011 3:34 pm
Subject: psi test fail
Hello,

I try to install psi but I get an error:

ImportError: build/lib.linux-i686-3.2/psi/_psi.cpython-32mu.so: undefined symbol: PyCObject_FromVoidPtr

best regards

Olivier Fournier

python:

Python 3.2.1a0 (default, May  5 2011, 00:47:12)
[GCC 4.6.1 20110428 (prerelease)] on linux2

debian:

Linux debian 2.6.32-5-686 #1 SMP Mon Oct 3 04:15:24 UTC 2011 i686 GNU/Linux

psi:

hg clone https://bitbucket.org/chrismiles/psi

python3.2 setup.py build
running build
running build_py
creating build
creating build/lib.linux-i686-3.2
creating build/lib.linux-i686-3.2/psi
copying lib/psi/_version.py ->  build/lib.linux-i686-3.2/psi
copying lib/psi/__init__.py ->  build/lib.linux-i686-3.2/psi
Skipping implicit fixer: buffer
Skipping implicit fixer: idioms
Skipping implicit fixer: set_literal
Skipping implicit fixer: ws_comma
running build_ext
building 'psi._psi' extension
creating build/temp.linux-i686-3.2
creating build/temp.linux-i686-3.2/src
creating build/temp.linux-i686-3.2/src/arch
gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPYMALLOC -DLINUX -DLINUX2_6_32 -DLINUX2_6 -DLINUX2_6_MINOR=32 -Iinclude -I/usr/include/python3.2mu -c src/util.c -o build/temp.linux-i686-3.2/src/util.o
src/util.c: In function PsiTimeSpec_New :
src/util.c:370: warning: implicit declaration of function PyCObject_AsVoidPtr
src/util.c:370: warning: assignment makes pointer from integer without a cast
gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPYMALLOC -DLINUX -DLINUX2_6_32 -DLINUX2_6 -DLINUX2_6_MINOR=32 -Iinclude -I/usr/include/python3.2mu -c src/_psimodule.c -o build/temp.linux-i686-3.2/src/_psimodule.o
src/_psimodule.c: In function PyInit__psi :
src/_psimodule.c:373: warning: implicit declaration of function PyCObject_FromVoidPtr
src/_psimodule.c:373: warning: assignment makes pointer from integer without a cast
gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPYMALLOC -DLINUX -DLINUX2_6_32 -DLINUX2_6 -DLINUX2_6_MINOR=32 -Iinclude -I/usr/include/python3.2mu -c src/timespec.c -o build/temp.linux-i686-3.2/src/timespec.o
gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPYMALLOC -DLINUX -DLINUX2_6_32 -DLINUX2_6 -DLINUX2_6_MINOR=32 -Iinclude -I/usr/include/python3.2mu -c src/arch/posix_utils.c -o build/temp.linux-i686-3.2/src/arch/posix_utils.o
gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPYMALLOC -DLINUX -DLINUX2_6_32 -DLINUX2_6 -DLINUX2_6_MINOR=32 -Iinclude -I/usr/include/python3.2mu -c src/arch/linux_psi.c -o build/temp.linux-i686-3.2/src/arch/linux_psi.o
gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPYMALLOC -DLINUX -DLINUX2_6_32 -DLINUX2_6 -DLINUX2_6_MINOR=32 -Iinclude -I/usr/include/python3.2mu -c src/arch/linux_utils.c -o build/temp.linux-i686-3.2/src/arch/linux_utils.o
gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPYMALLOC -DLINUX -DLINUX2_6_32 -DLINUX2_6 -DLINUX2_6_MINOR=32 -Iinclude -I/usr/include/python3.2mu -c src/arch/getloadavg.c -o build/temp.linux-i686-3.2/src/arch/getloadavg.o
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-i686-3.2/src/util.o build/temp.linux-i686-3.2/src/_psimodule.o build/temp.linux-i686-3.2/src/timespec.o build/temp.linux-i686-3.2/src/arch/posix_utils.o build/temp.linux-i686-3.2/src/arch/linux_psi.o build/temp.linux-i686-3.2/src/arch/linux_utils.o build/temp.linux-i686-3.2/src/arch/getloadavg.o -o build/lib.linux-i686-3.2/psi/_psi.cpython-32mu.so
building 'psi.arch' extension
gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPYMALLOC -DLINUX -DLINUX2_6_32 -DLINUX2_6 -DLINUX2_6_MINOR=32 -Iinclude -I/usr/include/python3.2mu -c src/util.c -o build/temp.linux-i686-3.2/src/util.o
src/util.c: In function PsiTimeSpec_New :
src/util.c:370: warning: implicit declaration of function PyCObject_AsVoidPtr
src/util.c:370: warning: assignment makes pointer from integer without a cast
gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPYMALLOC -DLINUX -DLINUX2_6_32 -DLINUX2_6 -DLINUX2_6_MINOR=32 -Iinclude -I/usr/include/python3.2mu -c src/archmodule.c -o build/temp.linux-i686-3.2/src/archmodule.o
gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPYMALLOC -DLINUX -DLINUX2_6_32 -DLINUX2_6 -DLINUX2_6_MINOR=32 -Iinclude -I/usr/include/python3.2mu -c src/arch.c -o build/temp.linux-i686-3.2/src/arch.o
gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPYMALLOC -DLINUX -DLINUX2_6_32 -DLINUX2_6 -DLINUX2_6_MINOR=32 -Iinclude -I/usr/include/python3.2mu -c src/arch/posix_arch.c -o build/temp.linux-i686-3.2/src/arch/posix_arch.o
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-i686-3.2/src/util.o build/temp.linux-i686-3.2/src/archmodule.o build/temp.linux-i686-3.2/src/arch.o build/temp.linux-i686-3.2/src/arch/posix_arch.o -o build/lib.linux-i686-3.2/psi/arch.cpython-32mu.so
building 'psi.mount' extension
gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPYMALLOC -DLINUX -DLINUX2_6_32 -DLINUX2_6 -DLINUX2_6_MINOR=32 -Iinclude -I/usr/include/python3.2mu -c src/util.c -o build/temp.linux-i686-3.2/src/util.o
src/util.c: In function PsiTimeSpec_New :
src/util.c:370: warning: implicit declaration of function PyCObject_AsVoidPtr
src/util.c:370: warning: assignment makes pointer from integer without a cast
gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPYMALLOC -DLINUX -DLINUX2_6_32 -DLINUX2_6 -DLINUX2_6_MINOR=32 -Iinclude -I/usr/include/python3.2mu -c src/mountmodule.c -o build/temp.linux-i686-3.2/src/mountmodule.o
gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPYMALLOC -DLINUX -DLINUX2_6_32 -DLINUX2_6 -DLINUX2_6_MINOR=32 -Iinclude -I/usr/include/python3.2mu -c src/mount.c -o build/temp.linux-i686-3.2/src/mount.o
src/mount.c: In function MountBase_refresh :
src/mount.c:289: warning: mounti may be used uninitialized in this function
gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPYMALLOC -DLINUX -DLINUX2_6_32 -DLINUX2_6 -DLINUX2_6_MINOR=32 -Iinclude -I/usr/include/python3.2mu -c src/arch/posix_mount.c -o build/temp.linux-i686-3.2/src/arch/posix_mount.o
gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPYMALLOC -DLINUX -DLINUX2_6_32 -DLINUX2_6 -DLINUX2_6_MINOR=32 -Iinclude -I/usr/include/python3.2mu -c src/arch/linux_mount.c -o build/temp.linux-i686-3.2/src/arch/linux_mount.o
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-i686-3.2/src/util.o build/temp.linux-i686-3.2/src/mountmodule.o build/temp.linux-i686-3.2/src/mount.o build/temp.linux-i686-3.2/src/arch/posix_mount.o build/temp.linux-i686-3.2/src/arch/linux_mount.o -o build/lib.linux-i686-3.2/psi/mount.cpython-32mu.so
building 'psi.process' extension
gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPYMALLOC -DLINUX -DLINUX2_6_32 -DLINUX2_6 -DLINUX2_6_MINOR=32 -Iinclude -I/usr/include/python3.2mu -c src/util.c -o build/temp.linux-i686-3.2/src/util.o
src/util.c: In function PsiTimeSpec_New :
src/util.c:370: warning: implicit declaration of function PyCObject_AsVoidPtr
src/util.c:370: warning: assignment makes pointer from integer without a cast
gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPYMALLOC -DLINUX -DLINUX2_6_32 -DLINUX2_6 -DLINUX2_6_MINOR=32 -Iinclude -I/usr/include/python3.2mu -c src/processmodule.c -o build/temp.linux-i686-3.2/src/processmodule.o
gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPYMALLOC -DLINUX -DLINUX2_6_32 -DLINUX2_6 -DLINUX2_6_MINOR=32 -Iinclude -I/usr/include/python3.2mu -c src/process.c -o build/temp.linux-i686-3.2/src/process.o
gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPYMALLOC -DLINUX -DLINUX2_6_32 -DLINUX2_6 -DLINUX2_6_MINOR=32 -Iinclude -I/usr/include/python3.2mu -c src/processtable.c -o build/temp.linux-i686-3.2/src/processtable.o
gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPYMALLOC -DLINUX -DLINUX2_6_32 -DLINUX2_6 -DLINUX2_6_MINOR=32 -Iinclude -I/usr/include/python3.2mu -c src/arch/posix_utils.c -o build/temp.linux-i686-3.2/src/arch/posix_utils.o
gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPYMALLOC -DLINUX -DLINUX2_6_32 -DLINUX2_6 -DLINUX2_6_MINOR=32 -Iinclude -I/usr/include/python3.2mu -c src/arch/procfs_utils.c -o build/temp.linux-i686-3.2/src/arch/procfs_utils.o
gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPYMALLOC -DLINUX -DLINUX2_6_32 -DLINUX2_6 -DLINUX2_6_MINOR=32 -Iinclude -I/usr/include/python3.2mu -c src/arch/linux_process.c -o build/temp.linux-i686-3.2/src/arch/linux_process.o
gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPYMALLOC -DLINUX -DLINUX2_6_32 -DLINUX2_6 -DLINUX2_6_MINOR=32 -Iinclude -I/usr/include/python3.2mu -c src/arch/linux_utils.c -o build/temp.linux-i686-3.2/src/arch/linux_utils.o
gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPYMALLOC -DLINUX -DLINUX2_6_32 -DLINUX2_6 -DLINUX2_6_MINOR=32 -Iinclude -I/usr/include/python3.2mu -c src/arch/procfs_processtable.c -o build/temp.linux-i686-3.2/src/arch/procfs_processtable.o
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-i686-3.2/src/util.o build/temp.linux-i686-3.2/src/processmodule.o build/temp.linux-i686-3.2/src/process.o build/temp.linux-i686-3.2/src/processtable.o build/temp.linux-i686-3.2/src/arch/posix_utils.o build/temp.linux-i686-3.2/src/arch/procfs_utils.o build/temp.linux-i686-3.2/src/arch/linux_process.o build/temp.linux-i686-3.2/src/arch/linux_utils.o build/temp.linux-i686-3.2/src/arch/procfs_processtable.o -o build/lib.linux-i686-3.2/psi/process.cpython-32mu.so

python3.2 setup.py test

running test
running build
running build_py
running build_ext
compiling helper apps for tests
gcc -pthread -m32 tests/app.c -o tests/app32
gcc ...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Floris Bruynooghe  
View profile  
 More options Nov 3 2011, 6:41 pm
From: Floris Bruynooghe <f...@devork.be>
Date: Thu, 3 Nov 2011 22:41:48 +0000
Local: Thurs, Nov 3 2011 6:41 pm
Subject: Re: [psi-discuss] psi test fail
Hi Olivier,

On 3 November 2011 19:34, o.fourn...@iktios.fr <o.fourn...@iktios.fr> wrote:

> I try to install psi but I get an error:

> ImportError: build/lib.linux-i686-3.2/psi/_psi.cpython-32mu.so: undefined
> symbol: PyCObject_FromVoidPtr

I'm afraid this is because I haven't updated the code to use a newer
Python/C API.  psi uses the old PyCObject API, which was the only one
available when we wrote that part, rather then the newer PyCapsule
one.  But what I didn't realise is that they stopped providing the
PyCObject API in 3.2, that's a bit sooner then I expected even though
I knew there where deprecation warnings in 2.7 and 3.1.

I'll check out how much work it is to update psi and then do a release
with that fix in.  Can't make any promises on a timeline however.  In
the mean time you'll have to revert the a version of python before 3.2
I'm afraid.

Regards,
Floris

--
Debian GNU/Linux -- The Power of Freedom
www.debian.org | www.gnu.org | www.kernel.org


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Floris Bruynooghe  
View profile  
 More options Nov 3 2011, 9:44 pm
From: Floris Bruynooghe <f...@devork.be>
Date: Fri, 4 Nov 2011 01:44:53 +0000
Local: Thurs, Nov 3 2011 9:44 pm
Subject: Re: [psi-discuss] psi test fail
Hello again,

On 3 November 2011 22:41, Floris Bruynooghe <f...@devork.be> wrote:

> I'll check out how much work it is to update psi and then do a release
> with that fix in.  Can't make any promises on a timeline however.

I've checked in a fix at our repository:
https://bitbucket.org/chrismiles/psi/ so you can use a snapshot from
there.  A release will hopefully follow soon.

Regards,
Floris

--
Debian GNU/Linux -- The Power of Freedom
www.debian.org | www.gnu.org | www.kernel.org


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »