classification
Title: Python 2.7.3: test_sys fails when building under 10.7.5 with dtrace support
Type: compile error Stage: resolved
Components: Tests Versions: Python 2.7
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: jcea, ned.deily, ronaldoussoren, yrammos
Priority: normal Keywords:

Created on 2012-11-04 19:49 by yrammos, last changed 2012-11-05 00:25 by ned.deily. This issue is now closed.

Messages (2)
msg174827 - (view) Author: yrammos (yrammos) Date: 2012-11-04 19:49
I am building Python 2.7.3 using Homebrew as follows:

    > brew install --with-dtrace --quicktest python

The failing tests are: 
    test_ctypes
    test_sys

Omitting --with-dtrace reduces the failures to one test:
    test_ctypes

@samueljohn from github suggested that I ping Jesús Cea Avión or Ronald Oussoren for this.
msg174851 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2012-11-05 00:25
Thanks for your report. Without more details on exactly what errors you are seeing and exactly what configure options the Homebrew recipe is using and exactly which compiler you are using, it is not possible to be 100% certain what you are experiencing.  Furthermore, you are reporting two separate problems; in the future, please stick to one problem per bug tracker issue.

As to the problems:

1. test_sys fails with Homebrew's --with-dtrace option

Python 2.7.3 does not include dtrace support so this is a non-issue.  Looking at the current Homebrew recipe, it appears that it is applying a large patch from its own repo probably based on the ongoing and as yet unapplied patch proposed in Issue13405.  If there are specific comments on the proposed Issue13405 patch, I suggest they be added to that issue.  Otherwise, there is nothing to be done here for this item.

https://github.com/mxcl/homebrew/blob/master/Library/Formula/python.rb


2. test_ctypes fails

Most likely, test_ctypes failures are due to compiling with the OS X Clang compiler which is the default on the most recent releases of Xcode 4 for 10.7 and 10.8.  Those test failures have been fixed by the changes applied for Issue13370, which will be released in upcoming maintenance releases, including Python 2.7.4.

If these assumptions about the problems you've seen are not correct, please re-open and supply appropriate supporting materials.
History
Date User Action Args
2012-11-05 00:25:52ned.deilysetstatus: open -> closed

nosy: + jcea, ned.deily, ronaldoussoren
messages: + msg174851

resolution: rejected
stage: resolved
2012-11-04 19:49:38yrammoscreate