[Python-bugs-list] [Bug #131756] [Linux 2.2.19] make test fails CVS HEAD

noreply@sourceforge.net noreply@sourceforge.net
Sat, 10 Feb 2001 06:10:01 -0800


Bug #131756, was updated on 2001-Feb-09 10:32
Here is a current snapshot of the bug.

Project: Python
Category: Build
Status: Closed
Resolution: None
Bug Group: None
Priority: 5
Submitted by: nobody
Assigned to : akuchling
Summary: [Linux 2.2.19] make test fails CVS HEAD

Details: I hope this belongs to build category.

For a few weeks I have tracked CVS HEAD, compiling every few
days to test new python features. Up until approximately one
week ago, everything was fine. make distclean, cvs update,
./configure, make, make test then proceed to test new
interpreter.

Recently (last week or so) make test is failing miserably:
./python -c 'import sys ; from distutils.util import get_platform ; print
get_platform()+"-"+sys.version[0:3]' >platform
rm -f ./Lib/test/*.py[co]
PYTHONPATH= ./python -tt ./Lib/test/regrtest.py -l
Traceback (most recent call last):
  File "./Lib/test/regrtest.py", line 38, in ?
    import random
  File "/home/gbsadler/cvs/python/dist/src/Lib/random.py", line 76, in ?
    from math import log as _log, exp as _exp, pi as _pi, e as _e
ImportError: No module named math
make: [test] Error 1 (ignored)
PYTHONPATH= ./python -tt ./Lib/test/regrtest.py -l
Traceback (most recent call last):
  File "./Lib/test/regrtest.py", line 38, in ?
    import random
  File "/home/gbsadler/cvs/python/dist/src/Lib/random.py", line 76, in ?
    from math import log as _log, exp as _exp, pi as _pi, e as _e
ImportError: No module named math
make: *** [test] Error 1

I realize the README says not to send the results of make test
but...

gbsadler@xxx:~/cvs/python/dist/src$ ./python Lib/test/regrtest.py
Traceback (most recent call last):
  File "Lib/test/regrtest.py", line 38, in ?
    import random
  File "/home/gbsadler/cvs/python/dist/src/Lib/random.py", line 76, in ?
    from math import log as _log, exp as _exp, pi as _pi, e as _e
ImportError: No module named math

Same effect if I just load the new interpreter and try to
import math

I tried to check recent changes to setup.py and/or Makefile.pre.in.
However, only check-in that remotely looks to maybe affect
this from my limited understanding... is a change to Makefile.pre.in
to add oldsharedmods to all: target?

Hope this is worked out, love python here. -)
gbsadler1@lcisp.com
Gordon Sadler

Follow-Ups:

Date: 2001-Feb-10 06:10
By: gvanrossum

Comment:
Fixed itself -- or it was something in the user env.  Hard to say.
-------------------------------------------------------

Date: 2001-Feb-09 22:11
By: gbsadler

Comment:
Sometime today between 10AM-4PM CST this has
been resolved in CVS HEAD. It builds/tests fine
now. Not sure who fixed what, but thanks.

Gordon Sadler
-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=131756&group_id=5470