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:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 10 06:35:02 +0000 2010
>Closed-Date:    Sat Jun 11 20:54:20 +0000 2016
>Last-Modified:  Sat Jun 11 20:54:20 +0000 2016
>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

State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Thu, 18 Jun 2015 01:47:46 +0000
State-Changed-Why:
Does this affect python27 too? Because python26 has been removed...


State-Changed-From-To: feedback->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 29 May 2016 23:35:18 +0000
State-Changed-Why:
Feedback timeout. this PR is stuck needing Tru64.


State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Mon, 30 May 2016 08:08:13 +0000
State-Changed-Why:
python26 was removed from pkgsrc.


State-Changed-From-To: closed->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 30 May 2016 16:06:28 +0000
State-Changed-Why:
The question was whether python27 is affected.


From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc: 
Subject: Re: pkg/43734 (Tru64: lang/python26 does not compile/install
 correctly)
Date: Tue, 31 May 2016 10:33:30 +0200

 Ah, ok.

 But the bug reporter filed it for 26 and has been incommunicado since.
 I don't think keeping this open is useful.
  Thomas

 On Mon, May 30, 2016 at 04:06:28PM +0000, David Holland wrote:
 > Synopsis: Tru64: lang/python26 does not compile/install correctly
 > 
 > State-Changed-From-To: closed->open
 > State-Changed-By: dholland@NetBSD.org
 > State-Changed-When: Mon, 30 May 2016 16:06:28 +0000
 > State-Changed-Why:
 > The question was whether python27 is affected.
 > 
 > 
 > 

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 11 Jun 2016 20:54:20 +0000
State-Changed-Why:
on reflection I guess I agree -- if python27 doesn't work, please file a
new PR.


>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-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.