[issue24282] 3.5 gdbm extension build fails with "'clinic/_gdbmmodule.c.h' file not found"

2015-05-25 Thread Jyrki Wahlstedt
Jyrki Wahlstedt added the comment: Thanks for the quick follow-up! I'll get the work done at our end:) -- ___ Python tracker <http://bugs.python.org/is

[issue24282] 3.5 gdbm extension build fails with "'clinic/_gdbmmodule.c.h' file not found"

2015-05-25 Thread Jyrki Wahlstedt
Jyrki Wahlstedt added the comment: This worked ok in a3… (not in a4 anymore) -- ___ Python tracker <http://bugs.python.org/issue24282> ___ ___ Python-bugs-list m

[issue24282] 3.5 gdbm extension build fails with "'clinic/_gdbmmodule.c.h' file not found"

2015-05-25 Thread Jyrki Wahlstedt
New submission from Jyrki Wahlstedt: On OS X (with MacPorts) the following happens: === DEBUG: Environment: CC='/usr/bin/clang' CC_PRINT_OPTIONS='YES' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_Users_jwa_work_macports-trunk_dports_python_py-gdbm/py35-gd

[issue9164] 2.7 sysconfig should handle arch duplicates while building universal on OS X

2010-07-14 Thread Jyrki Wahlstedt
Jyrki Wahlstedt added the comment: For some reason I unintentionally managed to change status, putting it back to pending. -- status: open -> pending ___ Python tracker <http://bugs.python.org/iss

[issue9164] 2.7 sysconfig should handle arch duplicates while building universal on OS X

2010-07-11 Thread Jyrki Wahlstedt
Jyrki Wahlstedt added the comment: Ok, here's a bit of the missing information: - as per the first message, I'm not using command line to build, I use MacPorts (having been able to build 2.5, 2.6, and 3.1 with no problems) - I checked some of internal workings (by asking), and MacP

[issue9164] 2.7 sysconfig should handle arch duplicates while building universal on OS X

2010-07-08 Thread Jyrki Wahlstedt
Jyrki Wahlstedt added the comment: Well, the background here is that at MacPorts the builds are done using Portfiles (I maintain some), and it seems that the current way of getting things configured and built leads to redundant, extraneous arch arguments. I don't know the internals of

[issue9164] 2.7 sysconfig should handle arch duplicates while building universal on OS X

2010-07-06 Thread Jyrki Wahlstedt
Jyrki Wahlstedt added the comment: The same line appears in Lib/distutils/util.py, line 148, and requires to be treated the same. These are the changes I had to make to get the build done for both 32- and 64-bit architectures. -- ___ Python

[issue9164] 2.7 sysconfig should handle arch duplicates while building universal on OS X

2010-07-06 Thread Jyrki Wahlstedt
Jyrki Wahlstedt added the comment: The fix could be something like replace line 649 in sysconfig.py: archs = tuple(archs) with: archs = tuple(sorted(list(set(archs This removes the duplicates, but as transforming the list to set does not seem to keep order, it is necessary to sort the

[issue9164] 2.7 sysconfig should handle arch duplicates

2010-07-05 Thread Jyrki Wahlstedt
New submission from Jyrki Wahlstedt : Hi, in building Python 2.7 (using MacPorts)I end up in a situation that the build stops in sysconfig.py due to duplicate arch args on compile line. Compiling stops, because there is no way to find machine value from ('i386', 'i386'