Subject: Re: unproven-pthreads problem (?) Virtual timer expired
To: None <email@example.com>
From: Olaf Seibert <firstname.lastname@example.org>
Date: 08/08/2000 22:56:46
On Mon 07 Aug 2000 at 01:33:19 +0200, Olaf Seibert wrote:
> I made a version of languages/python that is (supposed to be)
> thread-enabled. I did this by adding the following to its Makefile in
> CONFIGURE_ARGS += --with-thread
> CC = /usr/pkg/pthreads/bin/pgcc
> Before that I installed devel/mit-pthreads.
Change: this time I used (an improved) unproven-pthreads.
> Then, as part of trying to build Mojo Nation (see www.mojonation.net), I
> (indirectly) invoked a python script that fork()ed and exec()ed:
> azenomei.3:~/distfiles/mojonation/extsrc/PyXML-0.5.3$ python setup.py build
> Executing 'build' action...
> Running command: make -f Makefile.pre.in boot
> Virtual timer expired
> Abort trap (core dumped)
Now I don't get a core, but the Python process is still aborted.
> Whose fault is this, and what can I do about it??? It looks like the
> thread library does not properly reset a signal or a signal handler or
> something, but on the other hand I did not think signal sources would or
> should be inherited across fork() and even less across exec()?
Something strange is still going on, obviously. The problem occurs at a
later stage now:
azenomei.3:~/distfiles/mojonation/extsrc/PyXML-0.5.3$ python setup.py build
Executing 'build' action...
Running command: make
cd expat ; make libexpat.a CC="/usr/pkg/pthreads/bin/pgcc" CFLAGS="-fPIC -O2 -I/usr/pkg/include/python1.5 -I/usr/pkg/include/python1.5 -DHAVE_CONFIG_H -Ixmltok -Ixmlparse"
`libexpat.a' is up to date.
cc -shared pyexpat.o expat/libexpat.a -o pyexpat.so
collect2: ld terminated with signal 26 [Virtual timer expired]
*** Error code 1
Traceback (innermost last):
File "setup.py", line 173, in ?
File "setup.py", line 144, in build_unix
shutil.copy('extensions/' + filename, 'build/xml/parsers/')
File "/usr/pkg/lib/python1.5/shutil.py", line 52, in copy
File "/usr/pkg/lib/python1.5/shutil.py", line 17, in copyfile
fsrc = open(src, 'rb')
IOError: [Errno 2] No such file or directory: 'extensions/pyexpat.so'
> ___ Olaf 'Rhialto' Seibert - rhialto@polder -- Ah only did well at school
> \X/ land.nl -- tae git intae an O level class tae git away fae Begbie.
> Hi! I am a .signature virus. Copy me into your .signature to help me spread.