[issue13982] python returning errorneous value for sqrt
New submission from Shivam : On mips64 biit machine running linux I have installed python2.4_2.4.4 from link "http://archive.debian.net/etch/python2.4"; using below commands: ./configure –enable-shared make make install But when I check value of sqrt(9.0) on python, python returns:“4.9406564584124654e-324” rather than “3.0”. Can anybody let me know what may be the reason for this. Regards Shivam Agarwal -- messages: 153026 nosy: shivam_python_issues priority: normal severity: normal status: open title: python returning errorneous value for sqrt type: behavior versions: 3rd party ___ Python tracker <http://bugs.python.org/issue13982> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13983] make test giving bus error
New submission from Shivam : Hi All, On mips64 biit machine running linux I have installed python2.4_2.4.4 from link "http://archive.debian.net/etch/python2.4"; using below commands: ./configure –enable-shared make make install But make test fails with bus error, below is the log for same: octeon:~/depend_resolv/python2.4-2.4.4.orig# make test case $MAKEFLAGS in \ *-s*) LD_LIBRARY_PATH=/root/depend_resolv/python2.4-2.4.4.orig: CC='gcc -pthread' LDSHARED='gcc -pthread -shared' OPT='-DNDEBUG -g -O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py -q build;; \ *) LD_LIBRARY_PATH=/root/depend_resolv/python2.4-2.4.4.orig: CC='gcc -pthread' LDSHARED='gcc -pthread -s hared' OPT='-DNDEBUG -g -O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py build;; \ esac running build running build_ext INFO: Can't locate Tcl/Tk libs and/or headers building 'dbm' extension gcc -pthread -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -fno-strict-aliasing -DHAVE_NDBM_H -I. -I/root/depe nd_resolv/python2.4-2.4.4.orig/./Include -I/usr/local/include -I/root/depend_resolv/python2.4-2.4.4.orig/Include -I/root/depend_resolv/python2.4-2.4.4.orig -c /root/depend_resolv/python2.4-2.4.4.orig/Modules/dbmmodule.c -o b uild/temp.linux-mips64-2.4/dbmmodule.o gcc -pthread -shared build/temp.linux-mips64-2.4/dbmmodule.o -L/usr/local/lib -o build/lib.linux-mips64-2.4/dbm. so *** WARNING: renaming "dbm" since importing it failed: build/lib.linux-mips64-2.4/dbm.so: undefined symbol: dbm_ error running build_scripts find ./Lib -name '*.py[co]' -print | xargs rm -f LD_LIBRARY_PATH=/root/depend_resolv/python2.4-2.4.4.orig: ./python -E -tt ./Lib/test/regrtest.py -l make: *** [test] Bus error LD_LIBRARY_PATH=/root/depend_resolv/python2.4-2.4.4.orig: ./python -E -tt ./Lib/test/regrtest.py -l test_grammar test_opcodes test_operations test_builtin make: *** [test] Bus error -- messages: 153027 nosy: shivam_python_issues priority: normal severity: normal status: open title: make test giving bus error type: compile error ___ Python tracker <http://bugs.python.org/issue13983> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13984] Python2.6 compilation breaking on mips64 bit machine
New submission from Shivam : Hi All, I am getting follwoing error when compiling Python2.6 on mips 64. " Failed to find the necessary bits to build these modules: _bsddb _tkinter bsddb185 bz2dl imageop readline sunaudiodevzlib To find the necessary bits, look in setup.py in detect_modules() for the module's name. Failed to build these modules: _ctypesdatetime dbm " -- components: None messages: 153031 nosy: shivam_python_issues priority: normal severity: normal status: open title: Python2.6 compilation breaking on mips64 bit machine type: compile error versions: Python 2.6 ___ Python tracker <http://bugs.python.org/issue13984> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13986] ValueError: cannot convert float NaN to integer
New submission from Shivam : Hi Team, Kindly help me in resolving below issue which arises when we do "make install" as it is show stopper for us. Listing /usr/local/lib/python2.7 ... Compiling /usr/local/lib/python2.7/BaseHTTPServer.py ... Traceback (most recent call last): File "/usr/local/lib/python2.7/compileall.py", line 213, in exit_status = int(not main()) File "/usr/local/lib/python2.7/compileall.py", line 200, in main force, rx, quiet): File "/usr/local/lib/python2.7/compileall.py", line 50, in compile_dir if not compile_file(fullname, ddir, force, rx, quiet): File "/usr/local/lib/python2.7/compileall.py", line 99, in compile_file ok = py_compile.compile(fullname, None, dfile, True) File "/usr/local/lib/python2.7/py_compile.py", line 108, in compile timestamp = long(os.fstat(f.fileno()).st_mtime) ValueError: cannot convert float NaN to integer make: *** [libinstall] Error 1 Addtionaly: --- At the time of make below message is flashed as well: Failed to build these modules: datetime dbm -- components: Build messages: 153039 nosy: shivam_python_issues priority: normal severity: normal status: open title: ValueError: cannot convert float NaN to integer type: compile error versions: Python 2.7 ___ Python tracker <http://bugs.python.org/issue13986> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13986] ValueError: cannot convert float NaN to integer
Shivam added the comment: Hi Team, I am having this issue on mips 64bit machine running debian. Regards Shivam Agarwal -- ___ Python tracker <http://bugs.python.org/issue13986> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13986] ValueError: cannot convert float NaN to integer
Shivam added the comment: Hi Terry, Thanks for your reply. I am made changes suggested by you but still getting the same error: Below is the change that have been made: try: local_var = (os.fstat(f.fileno()).st_mtime) --> added line print "Value of local_var",local_var --> added line timestamp = long(os.fstat(f.fileno()).st_mtime) Regards Shivam Agarwal -- ___ Python tracker <http://bugs.python.org/issue13986> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com