[Python-bugs-list] [ python-Bugs-639022 ] Install script goes into infinite loop
noreply@sourceforge.net
noreply@sourceforge.net
Sat, 16 Nov 2002 06:35:39 -0800
Bugs item #639022, was opened at 2002-11-15 19:09
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=639022&group_id=5470
Category: Installation
Group: Python 2.2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Mel (meldh)
Assigned to: Nobody/Anonymous (nobody)
Summary: Install script goes into infinite loop
Initial Comment:
./configure -- works
make -- works
make test -- works
make install -- gets as far as trying to do this:
PYTHONPATH=/usr/local/lib/python2.2 \
./python -tt /usr/local/lib/python2.2/compileall.py -x
badsyntax \
/usr/local/lib/python2.2
Listing /usr/local/lib/python2.2 ...
Listing /usr/local/lib/python2.2/ ...
and then goes off into infinite loop, repeating the last line until Ctrl-
C.
Debian 2.2 (potato), 2.2.18pre21 kernel version.
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2002-11-16 15:35
Message:
Logged In: YES
user_id=21627
I still have no clue what is going on here. Can you please
apply the attached compileall.diff, rerun installation, and
attach the resulting log file (or a significant portion
thereof)?
----------------------------------------------------------------------
Comment By: Mel (meldh)
Date: 2002-11-16 11:36
Message:
Logged In: YES
user_id=649744
I downloaded it from
http://www.python.org/ftp/python/2.2.2/Python-2.2.2.tgz
(the most obvious link off www.python.org).
Directory listing attached (I hope)
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2002-11-16 10:52
Message:
Logged In: YES
user_id=21627
As a procedural comment: What is the source package that
you use (precise URL please)?
Can you please provide the output of
ls -l /usr/local/lib/python2.2
----------------------------------------------------------------------
Comment By: Mel (meldh)
Date: 2002-11-16 00:57
Message:
Logged In: YES
user_id=649744
Sure. (attached at end)
Running the command from the shell does seem to do the
same thing.
There is no obvious symlink within /usr/local/lib/python2.2
(if a directory listing would be useful, let me know)
Log excerpt:
/usr/bin/install -c -m
644 ./Lib/distutils/command/install_scripts.py /usr/local/lib
/python2.2/distutils/command
/usr/bin/install -c -m
644 ./Lib/distutils/command/sdist.py /usr/local/lib/python2
.2/distutils/command
/usr/bin/install -c -m
644 ./Lib/xml/__init__.py /usr/local/lib/python2.2/xml
/usr/bin/install -c -m
644 ./Lib/xml/dom/__init__.py /usr/local/lib/python2.2/xml/
dom
/usr/bin/install -c -m
644 ./Lib/xml/dom/domreg.py /usr/local/lib/python2.2/xml/
dom
/usr/bin/install -c -m
644 ./Lib/xml/dom/minidom.py /usr/local/lib/python2.2/xml
/dom
/usr/bin/install -c -m
644 ./Lib/xml/dom/pulldom.py /usr/local/lib/python2.2/xml/
dom
/usr/bin/install -c -m
644 ./Lib/xml/parsers/__init__.py /usr/local/lib/python2.2/x
ml/parsers
/usr/bin/install -c -m
644 ./Lib/xml/parsers/expat.py /usr/local/lib/python2.2/xm
l/parsers
/usr/bin/install -c -m
644 ./Lib/xml/sax/__init__.py /usr/local/lib/python2.2/xml/s
ax
/usr/bin/install -c -m
644 ./Lib/xml/sax/_exceptions.py /usr/local/lib/python2.2/x
ml/sax
/usr/bin/install -c -m
644 ./Lib/xml/sax/expatreader.py /usr/local/lib/python2.2/
xml/sax
/usr/bin/install -c -m
644 ./Lib/xml/sax/handler.py /usr/local/lib/python2.2/xml/s
ax
/usr/bin/install -c -m
644 ./Lib/xml/sax/saxutils.py /usr/local/lib/python2.2/xml/s
ax
/usr/bin/install -c -m
644 ./Lib/xml/sax/xmlreader.py /usr/local/lib/python2.2/xm
l/sax
/usr/bin/install -c -m
644 ./Lib/curses/__init__.py /usr/local/lib/python2.2/curses
/usr/bin/install -c -m
644 ./Lib/curses/ascii.py /usr/local/lib/python2.2/curses
/usr/bin/install -c -m
644 ./Lib/curses/has_key.py /usr/local/lib/python2.2/curse
s
/usr/bin/install -c -m
644 ./Lib/curses/panel.py /usr/local/lib/python2.2/curses
/usr/bin/install -c -m
644 ./Lib/curses/textpad.py /usr/local/lib/python2.2/curse
s
/usr/bin/install -c -m
644 ./Lib/curses/wrapper.py /usr/local/lib/python2.2/curse
s
/usr/bin/install -c -m 644 ./Lib/plat-
linux2/CDROM.py /usr/local/lib/python2.2/plat-linux2
/usr/bin/install -c -m 644 ./Lib/plat-
linux2/DLFCN.py /usr/local/lib/python2.2/plat-linux2
/usr/bin/install -c -m 644 ./Lib/plat-
linux2/IN.py /usr/local/lib/python2.2/plat-linux2
/usr/bin/install -c -m 644 ./Lib/plat-
linux2/TYPES.py /usr/local/lib/python2.2/plat-linux2
/usr/bin/install -c ./Lib/plat-
linux2/regen /usr/local/lib/python2.2/plat-linux2
/usr/bin/install -c -m
644 ./LICENSE /usr/local/lib/python2.2/LICENSE.txt
PYTHONPATH=/usr/local/lib/python2.2 \
./python -
tt /usr/local/lib/python2.2/compileall.py -x badsyntax \
/usr/local/lib/python2.2
Listing /usr/local/lib/python2.2 ...
Listing /usr/local/lib/python2.2/ ...
Listing /usr/local/lib/python2.2/ ...
Listing /usr/local/lib/python2.2/ ...
Listing /usr/local/lib/python2.2/ ...
Listing /usr/local/lib/python2.2/ ...
Listing /usr/local/lib/python2.2/ ...
Listing /usr/local/lib/python2.2/ ...
Listing /usr/local/lib/python2.2/ ...
Listing /usr/local/lib/python2.2/ ...
Listing /usr/local/lib/python2.2/ ...
Listing /usr/local/lib/python2.2/ ...
Listing /usr/local/lib/python2.2/ ...
Listing /usr/local/lib/python2.2/ ...
Listing /usr/local/lib/python2.2/ ...
Listing /usr/local/lib/python2.2/ ...
Listing /usr/local/lib/python2.2/ ...
Listing /usr/local/lib/python2.2/ ...
Listing /usr/local/lib/python2.2/ ...
Listing /usr/local/lib/python2.2/ ...
Listing /usr/local/lib/python2.2/ ...
(etc.)
----------------------------------------------------------------------
Comment By: Neal Norwitz (nnorwitz)
Date: 2002-11-16 00:48
Message:
Logged In: YES
user_id=33168
Ok, could you paste a few listing lines and about 20 or so
before that. Did you try running the command from the
shell? Something like:
PYTHONPATH=/usr/local/lib/python2.2 \
./python -tt /usr/local/lib/python2.2/compileall.py \
-x badsyntax /usr/local/lib/python2.2
Does that do the same thing?
Is it possible there is a symlink in
/usr/local/lib/python2.2 to the same directory (or .)?
----------------------------------------------------------------------
Comment By: Mel (meldh)
Date: 2002-11-16 00:44
Message:
Logged In: YES
user_id=649744
I give in, it just doesn't want to let me attach the file. It has
about 10000 repeats of that same 'Listing' line, in any case.
----------------------------------------------------------------------
Comment By: Mel (meldh)
Date: 2002-11-16 00:43
Message:
Logged In: YES
user_id=649744
Yeah, I tried that. In between the problems with file sizes,
file names and the like, it doesn't seem to have worked. I'm
giving it another go now.
----------------------------------------------------------------------
Comment By: Neal Norwitz (nnorwitz)
Date: 2002-11-16 00:40
Message:
Logged In: YES
user_id=33168
There's no file. You have to click the checkbox next to
"Check to Upload and Attach a File" in addition to entering
the filename.
----------------------------------------------------------------------
Comment By: Mel (meldh)
Date: 2002-11-16 00:38
Message:
Logged In: YES
user_id=649744
Log file now attached, gzipped
----------------------------------------------------------------------
Comment By: Mel (meldh)
Date: 2002-11-16 00:38
Message:
Logged In: YES
user_id=649744
Log file now attached, gzipped
----------------------------------------------------------------------
Comment By: Mel (meldh)
Date: 2002-11-16 00:34
Message:
Logged In: YES
user_id=649744
Here's the log file. I let it run for about 10000 repeats and
then killed it - there may be a lot of files, but _that_ many?
----------------------------------------------------------------------
Comment By: Mel (meldh)
Date: 2002-11-16 00:23
Message:
Logged In: YES
user_id=649744
It definitely isn't printing out anything else except
the 'Listing...' line. I can let it run for a few minutes and see
if it's printing that one-per-file or something, instead of just
looping... hang on.
----------------------------------------------------------------------
Comment By: Mel (meldh)
Date: 2002-11-16 00:22
Message:
Logged In: YES
user_id=649744
It definitely isn't printing out anything else except
the 'Listing...' line. I can let it run for a few minutes and see
if it's printing that one-per-file or something, instead of just
looping... hang on.
----------------------------------------------------------------------
Comment By: Neal Norwitz (nnorwitz)
Date: 2002-11-16 00:09
Message:
Logged In: YES
user_id=33168
Are you sure you let the process finish? It looks like
there are at least 2 passes. One to generate .pyc files and
the other to generate .pyo (optimized) files. There are a
lot of files to run through.
Does it only print the "Listing /usr/local/lib/python2.2 ...
" lines and nothing in between?
Could you save the output and attach it to this bug report?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=639022&group_id=5470