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:    osf1-pkg-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 10 06:35:02 +0000 2010
>Last-Modified:  Sun Mar 30 17:35:00 +0000 2014
>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:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->osf1-pkg-people
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Mon, 10 Feb 2014 12:08:06 +0000
Responsible-Changed-Why:
Problem on Tru64.


From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/43734: Tru64: lang/python26 does not compile/install
 correctly
Date: Sun, 30 Mar 2014 17:31:52 +0000

 On Tue, Aug 10, 2010 at 06:35:02AM +0000, rumi@rtfm.hu wrote:
  > 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;
  > -----------------------^

 That is probably not an issue -- presumably Py_NAN is supposed to
 generate a NaN and the warning is telling you that it's going to.

  > 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.

 Well... if it later reports that it failed to build the unicodedata
 module, and then dies because it's missing, something must have failed
 and this is the only other suspect in what you've supplied.

 However, I have no idea what's going on. You can check work/.work.log
 to find out exactly what pkgsrc is feeding to the compiler; if that's
 wrong, we can fix it, but if the problem is that the compiler is
 invoking the linker in a way that doesn't work we may be out of luck.

 -- 
 David A. Holland
 dholland@netbsd.org

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz 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.