[Python-bugs-list] [ python-Bugs-690012 ] 2.3a2 build fails under IRIX 6.5

SourceForge.net noreply@sourceforge.net
Sun, 23 Feb 2003 15:52:44 -0800


Bugs item #690012, was opened at 2003-02-20 07:36
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=690012&group_id=5470

Category: Build
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Ralf W. Grosse-Kunstleve (rwgk)
Assigned to: Guido van Rossum (gvanrossum)
Summary: 2.3a2 build fails under IRIX 6.5

Initial Comment:
Using the latest Python 2.3a2 release
./configure; make
fails on this platform:
IRIX rattler 6.5 10120734 IP32
See attached logs.

I've also tried configure --disable-ipv6, but the result is 
the same.

The previous 2.3a1 release works without a problem 
on the exact same machine.


----------------------------------------------------------------------

>Comment By: Guido van Rossum (gvanrossum)
Date: 2003-02-23 18:52

Message:
Logged In: YES 
user_id=6380

- I think the renaming shouldn't happen at all unless the
exception is ImportError.

- The if 1 can then be replaced by if isinstance(why,
ImportError).

- The message in the else branch should be changed to
include the exception name.

- I thought I fixed the logging level of these messages, by
adding "level=3", in one of the first checkins after
releasing 2.3a2. But possibly I may have botched that. Can
you check that they really aren't printed?

----------------------------------------------------------------------

Comment By: Neal Norwitz (nnorwitz)
Date: 2003-02-23 16:59

Message:
Logged In: YES 
user_id=33168

Guido, I agree with your comment on python-dev that the fix
below is not best.  Attached is a patch which catches all
exceptions, and changes the warning message appropriately. 
There are 2 other issues.
 1) I don't know why the if 1: is there, should that be removed?
 2) During a normal build these warning messages aren't
printed, shouldn't they be?

----------------------------------------------------------------------

Comment By: Neal Norwitz (nnorwitz)
Date: 2003-02-20 18:14

Message:
Logged In: YES 
user_id=33168

In order to get the build to proceed, you can change line
210 of setup.py from:

        except ImportError, why:
to:
        except (ImportError, RuntimeError), why:

This is just before:
    self.announce('*** WARNING: renaming "%s" since
importing it' ...)



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=690012&group_id=5470