====================================================================== FAIL: test_ldshared_value (test.test_sysconfig.TestSysConfig) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/test/test_sysconfig.py", line 288, in test_ldshared_value self.assertIn(ldflags, ldshared) AssertionError: '-arch i386 -arch x86_64 -g -L/tmp/_py/libraries/usr/local/lib' not found in 'gcc-4.2 -bundle -undefined dynamic_lookup -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -isysroot /Developer/SDKs/MacOSX10.6.sdk -g -L/tmp/_py/libraries/usr/local/lib' ---------------------------------------------------------------------- There is code in Mac/BuildScript/build-installer.py to remove the temporary build library path (/tmp/_py/libraries/usr/local/lib) from the Makefile after the build is complete and before the files are packaged. In 3.3 there is now also a Makefile cache file, _sysconfigdata.py, which is produced as a build target. build-installer.py needs to learn how to clean it up as well.
The resolution of this test failure is dependent on the resolution of Issue15298, which will change the approach needed. Since this is a relatively minor issue, I don't think there is a need for a interim fix.
Pending the final resolution of Issue15298, this changes ensures that the temporary build paths do not leak into the installed interpreter. At the moment, the test is still failing because the CFLAGS values returned by the two sysconfigs differ in whitespace.
With the changes here along with the fixes in Issue15184, I'm declaring this resolved for 3.3. If and when _sysconfigdata.py gets moved, build-installer.py will need to be tweaked.