NetBSD Problem Report #43734
From www@NetBSD.org Tue Aug 10 06:34:21 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 90ADD63BA17
for <gnats-bugs@gnats.NetBSD.org>; Tue, 10 Aug 2010 06:34:21 +0000 (UTC)
Message-Id: <20100810063421.22D0163B952@www.NetBSD.org>
Date: Tue, 10 Aug 2010 06:34:21 +0000 (UTC)
From: rumi@rtfm.hu
Reply-To: rumi@rtfm.hu
To: gnats-bugs@NetBSD.org
Subject: Tru64: lang/python26 does not compile/install correctly
X-Send-Pr-Version: www-1.0
>Number: 43734
>Category: pkg
>Synopsis: Tru64: lang/python26 does not compile/install correctly
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Aug 10 06:35:02 +0000 2010
>Originator: Szabolcs Rumi
>Release: Tru64 5.1B-5
>Organization:
>Environment:
# sizer -v
HP Tru64 UNIX V5.1B (Rev. 2650); Thu Dec 17 18:47:21 CET 2009
# cc -V
Compaq C V6.5-303 (dtk) on HP Tru64 UNIX V5.1B (Rev. 2650)
Compiler Driver V6.5-302 (dtk) cc Driver
# cxx -V
Compaq C++ V7.1-006 for HP Tru64 UNIX V5.1B (Rev. 2650)
Compiler Driver V7.1-006 (cxx) cxx Driver
pkgsrc-current-20100810
>Description:
I suspect several problems.
I'll try to provide usable information.
There are plenty of this kind in math related code (this is just a warning but I can imagine that it could cause runtime problems):
cc: Warning: Objects/complexobject.c, line 212: In this statement, floating-point overflow occurs in evaluating the expression "__decc_double_ieee_Infinity*0.". (floatoverfl)
return Py_NAN;
-----------------------^
There are plenty of this:
/usr/bin/ld:
Badly formed hex number: -ieee
/usr/bin/ld: Usage: /usr/bin/ld [options] file [...]
I guess -ieee may be a compiler flag that is not tolerated by ld.
Linking seems to work despite this message, though.
[...]
Failed to find the necessary bits to build these modules:
_curses_panel _sqlite3 _tkinter
dl gdbm imageop
linuxaudiodev ossaudiodev spwd
sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the module's name.
Failed to build these modules:
_bisect _bytesio _codecs_cn
_codecs_hk _codecs_iso2022 _codecs_jp
_codecs_kr _codecs_tw _collections
_csv _ctypes _ctypes_test
_fileio _functools _hashlib
_heapq _hotshot _json
_locale _lsprof _multibytecodec
_multiprocessing _random _socket
_ssl _struct _testcapi
_weakref array audioop
binascii bsddb185 bz2
cmath cPickle crypt
cStringIO datetime dbm
fcntl future_builtins grp
itertools math mmap
nis operator parser
resource select strop
syslog termios time
unicodedata zlib
=> Unwrapping files-to-be-installed.
===> Installing for python26-2.6.5nb1
[...]
PYTHONPATH=/usr/pkg/lib/python2.6 LD_LIBRARY_PATH=/usr/pkgsrc/lang/python26/work/Python-2.6.5: ./python -Wi -tt /usr/pkg/lib/python2.6/compileall.py -d /usr/pkg/lib/python2.6 -f -x 'bad_coding|badsyntax|site-packages' /usr/pkg/lib/python2.6
Listing /usr/pkg/lib/python2.6 ...
[...]
Compiling /usr/pkg/lib/python2.6/json/tests/test_unicode.py ...
SyntaxError: ("(unicode error) \\N escapes not supported (can't load unicodedata module)", ('/usr/pkg/lib/python2.6/json/tests/test_unicode.py', 8, None, "u = u'\\N{GREEK SMALL LETTER ALPHA}\\N{GREEK CAPITAL LETTER OMEGA}'\n"))
[...]
Compiling /usr/pkg/lib/python2.6/test/test_multibytecodec.py ...
SyntaxError: ("(unicode error) \\N escapes not supported (can't load unicodedata module)", ('/usr/pkg/lib/python2.6/test/test_multibytecodec.py', 225, None, "self.failIf('\\x0e' in u'\\N{SOFT HYPHEN}'.encode('iso-2022-jp-2'))\n"))
[...]
Compiling /usr/pkg/lib/python2.6/xmllib.py ...
Compiling /usr/pkg/lib/python2.6/xmlrpclib.py ...
Compiling /usr/pkg/lib/python2.6/zipfile.py ...
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/lang/python26/work/Python-2.6.5
*** Error code 1
Stop.
>How-To-Repeat:
>Fix:
(Contact us)
$NetBSD: query-full-pr,v 1.36 2007/11/24 03:27:39 kano Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.