[issue4472] Is shared lib building broken on trunk for Mac OS X?

2009-01-02 Thread Roumen Petrov
Roumen Petrov added the comment: Ronald, cygwin is a special case too. LDLIBRARY is so called import library ! So the make target can be (as I propose in py-issue-4472-makefile.patch) + if test -n "$(DLLLIBRARY)"; then \ + $(INSTALL_SHARED) $(

[issue4472] Is shared lib building broken on trunk for Mac OS X?

2009-01-02 Thread Roumen Petrov
Roumen Petrov added the comment: 10x cygwin is now not impacted. ___ Python tracker <http://bugs.python.org/issue4472> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4010] configure options don't trickle down to distutils

2009-01-04 Thread Roumen Petrov
Roumen Petrov added the comment: May I propose a patch. The patch is only for linker flags(LDFLAGS). If is accepted I will prepare another one for compiler flags. The patch is not minimal. It is mostly cleanup patch. For minimal patch - only change in Makefile.pre.in is enough. Cleanup patch

[issue4010] configure options don't trickle down to distutils

2009-01-04 Thread Roumen Petrov
Roumen Petrov added the comment: correct patch uploaded Added file: http://bugs.python.org/file12585/py-issue-4010.patch ___ Python tracker <http://bugs.python.org/issue4

[issue4010] configure options don't trickle down to distutils

2009-01-04 Thread Roumen Petrov
Changes by Roumen Petrov : Removed file: http://bugs.python.org/file12583/py-issue-4010.patch ___ Python tracker <http://bugs.python.org/issue4010> ___ ___ Python-bug

[issue1628484] Python 2.5 64 bit compile fails on Solaris 10/gcc 4.1.1

2009-01-04 Thread Roumen Petrov
Changes by Roumen Petrov : -- nosy: +rpetrov ___ Python tracker <http://bugs.python.org/issue1628484> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4884] Work around gethostbyaddr_r bug

2009-01-10 Thread Roumen Petrov
Roumen Petrov added the comment: What about socket_gethostbyname_ex() ? -- nosy: +rpetrov ___ Python tracker <http://bugs.python.org/issue4884> ___ ___ Python-bug

[issue2233] Makefile.pre.in contains extra slash before $(DESTDIR) which can cause Cygwin build to fail

2009-01-10 Thread Roumen Petrov
Roumen Petrov added the comment: Jason, did you test what is result is DESTDIR default to "/". This variable(macro) is used with specific syntax by example (from Makefile): $(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$$b; \ where $$b is abs

[issue3754] minimal cross-compilation support for configure

2009-01-10 Thread Roumen Petrov
Changes by Roumen Petrov : Added file: http://bugs.python.org/file12677/python-trunk.patch-CROSS-20090110 ___ Python tracker <http://bugs.python.org/issue3754> ___ ___

[issue3871] cross and native build of python for mingw32 with distutils

2009-01-10 Thread Roumen Petrov
Changes by Roumen Petrov : Added file: http://bugs.python.org/file12678/python-trunk.patch-MINGW-20090110 ___ Python tracker <http://bugs.python.org/issue3871> ___ ___

[issue2233] Makefile.pre.in contains extra slash before $(DESTDIR) which can cause Cygwin build to fail

2009-01-13 Thread Roumen Petrov
Changes by Roumen Petrov : Added file: http://bugs.python.org/file12725/py-issue-2233.patch ___ Python tracker <http://bugs.python.org/issue2233> ___ ___ Python-bug

[issue2233] Makefile.pre.in contains extra slash before $(DESTDIR) which can cause Cygwin build to fail

2009-01-14 Thread Roumen Petrov
Roumen Petrov added the comment: Hi Jason, quick review without tests - I expect $${DESTDIR:-/} to work without : in expression, i.e. just $${DESTDIR-/}. The ":" in expression is not so portable (some shells fail on this). Please see "Shell Substitutions"

[issue3871] cross and native build of python for mingw32 with distutils

2009-01-17 Thread Roumen Petrov
Roumen Petrov added the comment: Hi Luke, Initially I start build in cross environment. Later I setup a posix environment, based on msys and in the last patch is commented which module has to be build-in for native build. I'm not surprised that you succeed to build in emulated environmen

[issue3871] cross and native build of python for mingw32 with distutils

2009-01-21 Thread Roumen Petrov
Roumen Petrov added the comment: Does this supercede #3754? - no. The issue #3754 introduce macro AC_CANONICAL_HOST(add standardize "host triplets") + fixes for cross-compilation. Changes to configure script in this patch show how to use "host triplet&qu

[issue2233] Makefile.pre.in contains extra slash before $(DESTDIR) which can cause Cygwin build to fail

2009-01-21 Thread Roumen Petrov
Roumen Petrov added the comment: No response from py-dev list :( . May be solution has to work in all cases. ___ Python tracker <http://bugs.python.org/issue2233> ___ ___

[issue5043] get_msvcr() returns None rather than []

2009-01-24 Thread Roumen Petrov
Roumen Petrov added the comment: My comment on this part of code is( from issue3871): +# FIXME: next code is from issue870382 +# MS C-runtime libraries never support backward compatibility. +# Linking to a different library without to specify correct runtime +# version for the

[issue5060] gcc profile guided optimization

2009-01-25 Thread Roumen Petrov
New submission from Roumen Petrov : The make target "run_profile_task" fail as executable cannot load shared library. Patch attached. -- files: py-issue-profile.patch keywords: patch messages: 80537 nosy: rpetrov severity: normal status: open title: gcc profile guided optimiza

[issue5060] gcc profile guided optimization

2009-01-25 Thread Roumen Petrov
Changes by Roumen Petrov : -- versions: +Python 2.7 ___ Python tracker <http://bugs.python.org/issue5060> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5060] gcc profile guided optimization

2009-01-25 Thread Roumen Petrov
Changes by Roumen Petrov : -- components: +Build ___ Python tracker <http://bugs.python.org/issue5060> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5060] gcc profile guided optimization

2009-01-25 Thread Roumen Petrov
Changes by Roumen Petrov : -- type: -> performance ___ Python tracker <http://bugs.python.org/issue5060> ___ ___ Python-bugs-list mailing list Unsubscri

[issue3871] cross and native build of python for mingw32 with distutils

2009-02-02 Thread Roumen Petrov
Roumen Petrov added the comment: The proposed patch for this issue include parts of other pending issues - so its all is single file. If python team don't like idea for "canonical host names" (part of issue 3754) this patch can be modified do not use host-triplet. Also some di

[issue3871] cross and native build of python for mingw32 with distutils

2009-02-04 Thread Roumen Petrov
Roumen Petrov added the comment: attached patch for trunk-20090204: - removed patch from issue4587 (not relevant for mingw) ; - improved static build now succeed (use --disable-shared). this is follow-up of issue4494 + ... (don't expect loadable modules to work on windows) ; - restore wi

[issue3871] cross and native build of python for mingw32 with distutils

2009-02-04 Thread Roumen Petrov
Changes by Roumen Petrov : Removed file: http://bugs.python.org/file11665/python-trunk-MINGW.patch ___ Python tracker <http://bugs.python.org/issue3871> ___ ___ Python-bug

[issue3871] cross and native build of python for mingw32 with distutils

2009-02-04 Thread Roumen Petrov
Changes by Roumen Petrov : Removed file: http://bugs.python.org/file12272/python-trunk-MINGW.patch ___ Python tracker <http://bugs.python.org/issue3871> ___ ___ Python-bug

[issue2942] mingw/cygwin do not accept asm file as extension source

2009-02-04 Thread Roumen Petrov
Roumen Petrov added the comment: Hi shura_zam, I test this patch in issue3871 but without success - setup.py don't try to build ctypes module. May I ask you to post a sample. -- nosy: +rpetrov ___ Python tracker <http://bugs.python.org/i

[issue4151] Separate build dir broken

2009-02-05 Thread Roumen Petrov
Roumen Petrov added the comment: May be not related to the commit but after clean make fail to build a number of modules, as example _bisect. Second run of make build all left. The value of srcdir (from Makefile) is ".." without quotes. About cleanup: one use of '(srcdir,

[issue4151] Separate build dir broken

2009-02-05 Thread Roumen Petrov
Roumen Petrov added the comment: The "clean build' mean missing subdirectory build in . Now module objects go in build/Modules/. I guess that second make succeed as libffi create build directory. ___ Python tracker <http://bugs.python.

[issue5161] wrong paths for ctypes cleanup

2009-02-06 Thread Roumen Petrov
Roumen Petrov added the comment: Exactly but I don't open issue as I address it in issue5060 . -- nosy: +rpetrov ___ Python tracker <http://bugs.python.org/i

[issue2437] Distutils runtime_library_dirs broken on Windows

2009-02-11 Thread Roumen Petrov
Changes by Roumen Petrov : -- nosy: +rpetrov ___ Python tracker <http://bugs.python.org/issue2437> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue969718] BASECFLAGS are not passed to module build line

2009-02-11 Thread Roumen Petrov
Changes by Roumen Petrov : -- nosy: +rpetrov ___ Python tracker <http://bugs.python.org/issue969718> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5216] distutils.tests.test_build_ext.BuildExtTestCase fails when srcdir != builddir

2009-02-11 Thread Roumen Petrov
Roumen Petrov added the comment: I guess fixed in trunk - see issue4070 and issue4151 . -- nosy: +rpetrov ___ Python tracker <http://bugs.python.org/issue5

[issue3407] test_urllib2_localnet fails on MacOS X 10.4.11 (Intel)

2009-02-12 Thread Roumen Petrov
Roumen Petrov added the comment: May be same as issue4666 ? -- nosy: +rpetrov ___ Python tracker <http://bugs.python.org/issue3407> ___ ___ Python-bugs-list m

[issue4305] ctypes fails to build on mipsel-linux-gnu (detects mips instead of mipsel)

2009-02-14 Thread Roumen Petrov
Roumen Petrov added the comment: May I propose a simple py-issue-4305.patch. Let me know if patch work for you. -- nosy: +rpetrov Added file: http://bugs.python.org/file13083/py-issue-4305.patch ___ Python tracker <http://bugs.python.org/issue4

[issue4305] ctypes fails to build on mipsel-linux-gnu (detects mips instead of mipsel)

2009-02-14 Thread Roumen Petrov
Roumen Petrov added the comment: So I attach patch with changes in Modules/_ctypes/libffi/configure for the tests. Added file: http://bugs.python.org/file13084/py-issue-4305+configure.patch ___ Python tracker <http://bugs.python.org/issue4

[issue3871] cross and native build of python for mingw32 with distutils

2009-02-14 Thread Roumen Petrov
Roumen Petrov added the comment: updated patch do not include Lib/distutils/... : - .../command/build_scripts.py, fixed in another non-related issue4524 ( distutils build_script command failed with --with-suffix=3) - .../tests/test_build_ext.py, fixed by issues related to builddir <>

[issue3871] cross and native build of python for mingw32 with distutils

2009-02-14 Thread Roumen Petrov
Changes by Roumen Petrov : Removed file: http://bugs.python.org/file12678/python-trunk.patch-MINGW-20090110 ___ Python tracker <http://bugs.python.org/issue3871> ___ ___

[issue3871] cross and native build of python for mingw32 with distutils

2009-02-14 Thread Roumen Petrov
Changes by Roumen Petrov : Removed file: http://bugs.python.org/file12943/python-trunk-20090204-MINGW.patch ___ Python tracker <http://bugs.python.org/issue3871> ___ ___

[issue4151] Separate build dir broken

2009-02-16 Thread Roumen Petrov
Roumen Petrov added the comment: One additional commit change srcdir = os.path.normpath(srcdir) to srcdir = os.path.abspath(srcdir) and this should not create relative path. In this case I expect build in directory build/temp./. Andi, did above change work for you

[issue1887] distutils doesn't support out-of-source builds

2009-02-16 Thread Roumen Petrov
Roumen Petrov added the comment: Some other issues supersede this one ... and commits from Neil Schemenauer resolve this issue may be only for me :). Please see as example issue4151 . -- nosy: +rpetrov ___ Python tracker <http://bugs.python.

[issue13962] multiple lib and include directories on Linux

2012-02-07 Thread Roumen Petrov
Roumen Petrov added the comment: hmm, issue 13511 is perfectly closed as invalid. Ray you misunderstood meaning on configure flags --XXXdir. You properly found that LDFLAGS is what is required bug correct for headers is CPPFLAGS . Is ./configure --help not clear for you ? -- nosy

[issue3754] cross-compilation support for python build

2012-03-18 Thread Roumen Petrov
Changes by Roumen Petrov : Added file: http://bugs.python.org/file24923/python-py3k-20120318-CROSS.patch ___ Python tracker <http://bugs.python.org/issue3754> ___ ___

[issue3871] cross and native build of python for mingw32 with packaging

2012-03-18 Thread Roumen Petrov
Changes by Roumen Petrov : Added file: http://bugs.python.org/file24924/python-py3k-20120318-MINGW.patch ___ Python tracker <http://bugs.python.org/issue3871> ___ ___

[issue3754] cross-compilation support for python build

2012-03-18 Thread Roumen Petrov
Roumen Petrov added the comment: I cannot test arm build due to issue 12010 -- ___ Python tracker <http://bugs.python.org/issue3754> ___ ___ Python-bugs-list m

[issue14516] test_tools assumes BUILDDIR=SRCDIR

2012-04-06 Thread Roumen Petrov
Roumen Petrov added the comment: another one is in Lib/packaging/tests/support.py - should be from same commit -- nosy: +rpetrov ___ Python tracker <http://bugs.python.org/issue14

[issue14598] _cursesmodule.c fails with ncurses-5.9 on Linux

2012-04-16 Thread Roumen Petrov
Roumen Petrov added the comment: you could find how to resolve in last patch attached to issue 3754 -- nosy: +rpetrov ___ Python tracker <http://bugs.python.org/issue14

[issue14598] _cursesmodule.c fails with ncurses-5.9 on Linux

2012-04-16 Thread Roumen Petrov
Roumen Petrov added the comment: extracted as separate patch -- keywords: +patch Added file: http://bugs.python.org/file25243/0001-CROSS-properly-detect-WINDOW-_flags-for-different-nc.patch ___ Python tracker <http://bugs.python.org/issue14

[issue12641] Remove -mno-cygwin from distutils

2013-05-25 Thread Roumen Petrov
Roumen Petrov added the comment: Oscar Benjamin wrote: > [SNIP]The option was only ever meaningful in cygwin's gcc 3.x and was > always an error in 4.x. May be . It seems to me flag was removed in GCC 4.5 . -- ___ Python tra

[issue12641] Remove -mno-cygwin from distutils

2013-05-25 Thread Roumen Petrov
Roumen Petrov added the comment: Oscar, 10x for info I know how to find information for this particular case . So you last post just confrim what I wrote before two years ( 2011-08-03 http://bugs.python.org/issue12641#msg141614 ) Go ahead and just remove flag. Roumen

[issue18397] Python with MinGW

2013-07-09 Thread Roumen Petrov
Changes by Roumen Petrov : -- nosy: +rpetrov ___ Python tracker <http://bugs.python.org/issue18397> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18485] mingw: configure for shared build

2013-07-17 Thread Roumen Petrov
New submission from Roumen Petrov: Split of issue3871 - part for build of core modules. -- components: Build files: 0004-MINGW-configure-for-shared-build.patch keywords: patch messages: 193246 nosy: rpetrov priority: normal severity: normal status: open title: mingw: configure for

[issue6672] Add Mingw recognition to pyport.h to allow building extensions

2013-07-17 Thread Roumen Petrov
Roumen Petrov added the comment: new patch - improved version with support for build of core modules -- Added file: http://bugs.python.org/file30957/0003-issue6672-v2-Add-Mingw-recognition-to-pyport.h-to-al.patch ___ Python tracker <h

[issue18486] mingw: dynamic loading support

2013-07-17 Thread Roumen Petrov
New submission from Roumen Petrov: Split of issue3871 - part for build of core modules. -- components: Build files: 0005-MINGW-dynamic-loading-support.patch keywords: patch messages: 193249 nosy: rpetrov priority: normal severity: normal status: open title: mingw: dynamic loading

[issue18487] mingw implement exec prefix

2013-07-17 Thread Roumen Petrov
New submission from Roumen Petrov: Enhancement of issue3871 - part for build of core modules. Patch in scope of 3871 is designed for compatibility with specific for MSC build installation scheme. Users don't like this. Updated patch is part of support 'posix' build and inst

[issue10615] Trivial mingw compile fixes

2013-07-17 Thread Roumen Petrov
Roumen Petrov added the comment: This patch cannot be closed as contain some fixes not reported/proposed yet . For instance I'm not aware of name clash in Modules/_pickle.c . I think that other are in scope of issue3871 or earlier . -- ___ P

[issue18496] mingw: setup exclude termios module

2013-07-18 Thread Roumen Petrov
New submission from Roumen Petrov: Split of issue3871 - part for build of core modules. -- components: Build files: 0008-MINGW-setup-exclude-termios-module.patch keywords: patch messages: 193319 nosy: rpetrov priority: normal severity: normal status: open title: mingw: setup exclude

[issue18497] mingw: setup _multiprocessing module

2013-07-18 Thread Roumen Petrov
New submission from Roumen Petrov: Split of issue3871 - build core modules. -- components: Build files: 0009-MINGW-setup-_multiprocessing-module.patch keywords: patch messages: 193320 nosy: rpetrov priority: normal severity: normal status: open title: mingw: setup _multiprocessing

[issue18498] mingw: setup select module

2013-07-18 Thread Roumen Petrov
New submission from Roumen Petrov: Split of issue3871 - build core modules. -- components: Build files: 0010-MINGW-setup-select-module.patch keywords: patch messages: 193321 nosy: rpetrov priority: normal severity: normal status: open title: mingw: setup select module type: enhancement

[issue18495] mingw: ignore main program for frozen scripts

2013-07-18 Thread Roumen Petrov
New submission from Roumen Petrov: Split of issue3871 - part for build of core modules. -- components: Build files: 0007-MINGW-ignore-main-program-for-frozen-scripts.patch keywords: patch messages: 193318 nosy: rpetrov priority: normal severity: normal status: open title: mingw: ignore

[issue18499] mingw: setup _ctypes module with system libffi

2013-07-18 Thread Roumen Petrov
New submission from Roumen Petrov: enhancement of issue3871 ( build core modules ). Part of issue 3871 is python libffi source for gnu assembler on 32 windows platform. The functionality is same as inlined assembled for MSC. Note python specific libffi customization is not in mainstream libffi

[issue18500] mingw: defect winsock2 and setup _socket module

2013-07-18 Thread Roumen Petrov
New submission from Roumen Petrov: Split of issue3871 (build core modules) - improved winsock detection. Requires NT 5.1+ (wxp). Note if you like python winsock for w2k then please extract from old 'all in one' patch. -- components: Build files: 0012-MINGW-defect-winsock2

[issue18630] mingw: exclude unix only modules

2013-08-02 Thread Roumen Petrov
New submission from Roumen Petrov: Split of issue3871 - build core modules. -- components: Build files: 0013-MINGW-exclude-unix-only-modules.patch keywords: patch messages: 194191 nosy: rpetrov priority: normal severity: normal status: open title: mingw: exclude unix only modules type

[issue18631] mingw: setup msvcrt and _winapi modules

2013-08-02 Thread Roumen Petrov
New submission from Roumen Petrov: Split of issue3871 - build core modules. -- components: Build files: 0014-MINGW-setup-msvcrt-and-_winapi-modules.patch keywords: patch messages: 194192 nosy: rpetrov priority: normal severity: normal status: open title: mingw: setup msvcrt and _winapi

[issue18632] mingw: build extensions with GCC

2013-08-02 Thread Roumen Petrov
New submission from Roumen Petrov: Split of issue3871 - build core modules. Now more simple version of previous patch. -- components: Build files: 0015-MINGW-build-extensions-with-GCC.patch keywords: patch messages: 194193 nosy: rpetrov priority: normal severity: normal status: open

[issue18632] mingw: build extensions with GCC

2013-08-02 Thread Roumen Petrov
Changes by Roumen Petrov : Removed file: http://bugs.python.org/file31121/0015-MINGW-build-extensions-with-GCC.patch ___ Python tracker <http://bugs.python.org/issue18

[issue18632] mingw: build extensions with GCC

2013-08-02 Thread Roumen Petrov
Roumen Petrov added the comment: Attached up to date version of patch. -- Added file: http://bugs.python.org/file31122/0015-MINGW-build-extensions-with-GCC.patch ___ Python tracker <http://bugs.python.org/issue18

[issue18633] mingw: use Mingw32CCompiler as default compiler for mingw* build

2013-08-02 Thread Roumen Petrov
New submission from Roumen Petrov: Split of issue3871 - build core modules: improved version based on get_platform() -- components: Build, Cross-Build files: 0016-MINGW-use-Mingw32CCompiler-as-default-compiler-for-m.patch keywords: patch messages: 194197 nosy: rpetrov priority: normal

[issue18634] mingw find import library

2013-08-02 Thread Roumen Petrov
New submission from Roumen Petrov: Split of issue3871 - build core modules: required by setup.py on hosts with installed only shared (DLL) packages. -- components: Build, Cross-Build files: 0017-MINGW-find-import-library.patch keywords: patch messages: 194198 nosy: rpetrov priority

[issue18636] mingw: setup _ssl module

2013-08-02 Thread Roumen Petrov
New submission from Roumen Petrov: Split of issue3871 - build core modules. -- components: Build, Cross-Build, Extension Modules files: 0018-MINGW-setup-_ssl-module.patch keywords: patch messages: 194200 nosy: rpetrov priority: normal severity: normal status: open title: mingw: setup

[issue18637] mingw: export _PyNode_SizeOf as PyAPI for parser module

2013-08-02 Thread Roumen Petrov
New submission from Roumen Petrov: Split of issue3871 - build core modules. -- components: Extension Modules, Interpreter Core files: 0019-MINGW-export-_PyNode_SizeOf-as-PyAPI-for-parser-modu.patch keywords: patch messages: 194201 nosy: rpetrov priority: normal severity: normal status

[issue18638] mingw: generalization of posix build in sysconfig.py

2013-08-02 Thread Roumen Petrov
New submission from Roumen Petrov: Split of issue3871 - build core modules: improved patch -- components: Build, Cross-Build files: 0020-MINGW-generalization-of-posix-build-in-sysconfig.py.patch keywords: patch messages: 194202 nosy: rpetrov priority: normal severity: normal status

[issue18639] mingw: avoid circular dependency from time module during native build of extentions

2013-08-02 Thread Roumen Petrov
New submission from Roumen Petrov: Split of issue3871 - build core modules: patch is not required in cross-build environment. -- assignee: eric.araujo components: Build, Distutils, Extension Modules files: 0021-MINGW-avoid-circular-dependency-from-time-module-dur.patch keywords: patch

[issue18640] mingw: generalization of posix build in distutils/sysconfig.py

2013-08-02 Thread Roumen Petrov
New submission from Roumen Petrov: Split of issue3871 - build core modules: improved patch -- assignee: eric.araujo components: Build, Cross-Build, Distutils, Extension Modules files: 0022-MINGW-generalization-of-posix-build-in-distutils-sys.patch keywords: patch messages: 194204 nosy

[issue18641] mingw: customize site

2013-08-02 Thread Roumen Petrov
New submission from Roumen Petrov: Split of issue3871 - build core modules: improved patch -- components: Build, Cross-Build, Extension Modules files: 0023-MINGW-customize-site.patch keywords: patch messages: 194205 nosy: rpetrov priority: normal severity: normal status: open title

[issue18653] mingw-meta: build core modules

2013-08-04 Thread Roumen Petrov
New submission from Roumen Petrov: split of issue3871 - this is meta issue only for part related to build core. Remark: build of interpreter core is in issue17605 . Now split is: - 01 issue13756 : Python make fail on cygwin - 02 issue17219 : add current dir in library path if building python

[issue18654] modernize mingw&cygwin compiler classes

2013-08-04 Thread Roumen Petrov
New submission from Roumen Petrov: Python mingw and cygwin compiler classes tests for outdated features. Also python code set some flags like zero optimization level and etc. that prevent users to build optimized python or even worse build to fail. This issue is part of split of issue3871

[issue18654] modernize mingw&cygwin compiler classes

2013-08-04 Thread Roumen Petrov
Roumen Petrov added the comment: Proposed customization allow users to build extension module for windows with GNU compiler in all environments: - native with installed official build of python for windows - native either MSYS or CYGWIN enviroment and python build with GCC - cross-build in

[issue18653] mingw-meta: build core modules

2013-08-04 Thread Roumen Petrov
Roumen Petrov added the comment: This patch require "modernize mingw&cygwin compiler classes" now opened as separate issue18654 . -- ___ Python tracker <http://bugs.pyth

[issue17605] mingw-meta: build interpeter core

2013-08-04 Thread Roumen Petrov
Roumen Petrov added the comment: please follow build of core modules - issue18653 . -- ___ Python tracker <http://bugs.python.org/issue17605> ___ ___ Python-bug

[issue6335] Add support for mingw

2013-08-04 Thread Roumen Petrov
Roumen Petrov added the comment: I would like to config that path to this issue is one of those for issue3871 - my patch for 2.6/2.7 enhanced by "?? (sorry I forgot user :( ) " for 3.0 . Now as requested "all in one patch" is split and first set is listed in issue17605 &q

[issue9098] MSYS build fails with `S_IXGRP' undeclared

2013-08-04 Thread Roumen Petrov
Changes by Roumen Petrov : -- nosy: +rpetrov ___ Python tracker <http://bugs.python.org/issue9098> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15315] Can't build Python extension with mingw32 on Windows

2013-08-04 Thread Roumen Petrov
Changes by Roumen Petrov : -- nosy: +rpetrov ___ Python tracker <http://bugs.python.org/issue15315> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4709] Mingw-w64 and python on windows x64

2013-08-04 Thread Roumen Petrov
Changes by Roumen Petrov : -- nosy: +rpetrov ___ Python tracker <http://bugs.python.org/issue4709> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2445] Use The CygwinCCompiler Under Cygwin

2013-08-04 Thread Roumen Petrov
Roumen Petrov added the comment: Hi, Now issue18654 "modernize mingw&cygwin compiler classes" contain enhancement that could be reused by this issue: patch "0007-MINGW-compiler-cygwin-provides-its-own-C-runtime.patch " from archive , i.e. lets avoid change in get_msvcr

[issue3754] cross-compilation support for python build

2012-06-06 Thread Roumen Petrov
Changes by Roumen Petrov : Added file: http://bugs.python.org/file25850/python-py3k-20120607-CROSS.patch ___ Python tracker <http://bugs.python.org/issue3754> ___ ___

[issue3754] cross-compilation support for python build

2012-06-06 Thread Roumen Petrov
Roumen Petrov added the comment: About Android issue with wchar still is applicable. So issue is not exactly as in 12010. Even with changed size multi-byte functions just return return result like a byte array, i.e. without conversion. Since python try to validate wide character at some

[issue3871] cross and native build of python for mingw32 with packaging

2012-06-06 Thread Roumen Petrov
Roumen Petrov added the comment: Also include mingw-w64 fixes - check for structure REPARSE_DATA_BUFFER, use lower case names of some headers . set_abort_behavior. I prefer to exclude use of parse_off_t so that functionality to be to same. Use of relict alarm function is not excluded as one

[issue3871] cross and native build of python for mingw32 with packaging

2012-06-06 Thread Roumen Petrov
Roumen Petrov added the comment: Correction: Use of relict alarm function is not excluded even failure in one of tests - the test is run if exist alarm function but require in addition SIGALARM attribute. -- ___ Python tracker <h

[issue3871] cross and native build of python for mingw32 with packaging

2012-06-06 Thread Roumen Petrov
Roumen Petrov added the comment: Ray , about python cygwin/mingw compiler classes exists other requests - use cygwin class instead unix compiler, remove relict checks : nocygwin and etc. but without progress. About merge of getpath sources - issue is 9654

[issue13756] Python3.2.2 make fail on cygwin

2012-06-11 Thread Roumen Petrov
Roumen Petrov added the comment: Hi Jason, if you look in default rule you will see the same, so this relict specific "else case" could be removed. Also in Lib/packaging/command/build_ext.py. -- nosy: +rpetrov ___ Python trac

[issue14599] Windows test_import failure thanks to ImportError.path

2012-06-11 Thread Roumen Petrov
Roumen Petrov added the comment: There is one long standing issue with length of the build path ... -- nosy: +rpetrov ___ Python tracker <http://bugs.python.org/issue14

[issue14599] Windows test_import failure thanks to ImportError.path

2012-06-13 Thread Roumen Petrov
Roumen Petrov added the comment: The issue is related to MAXPATHLEN limit and how is implemented . One part of request are already closed , another part wait . Some people port patches other wrote that would not use very long path. I'm in the second group. This buildbot use path with l

[issue3754] cross-compilation support for python build

2012-06-30 Thread Roumen Petrov
Roumen Petrov added the comment: Matthias I cannot follow all you questions as I'm on vacation so briefly: a) ac_cv_thread is type correct one is with'p' b) ncurses NCURSES_INTERNALS reported again in issue 14598 NCURSES_OPAQUE - i don't have time to explain all det

[issue3871] cross and native build of python for mingw32 with packaging

2012-06-30 Thread Roumen Petrov
Roumen Petrov added the comment: Eric. please could could you revert PEP 405 as distutils is frozen or step down as It seems to me you don't flow distutils evolution. -- ___ Python tracker <http://bugs.python.org/i

[issue3871] cross and native build of python for mingw32 with packaging

2012-06-30 Thread Roumen Petrov
Roumen Petrov added the comment: Hi Mattias , I have ready to upload patches for 3.3.30b1 but after recent changes I will postpone upload . Part of already uploaded patch cover cygwin native build . For instance a) --enable-new-dtags is only for elf binaries. b) use of libpython$(LDVERSION

[issue15268] curses configure checks fail if only /usr/include/ncursesw/curses.h is installed

2012-07-29 Thread Roumen Petrov
Roumen Petrov added the comment: Matthias, do not use hack if cross-build -- nosy: +rpetrov Added file: http://bugs.python.org/file26567/4-CROSS-avoid-ncursesw-include-path-hack.patch ___ Python tracker <http://bugs.python.org/issue15

[issue15483] CROSS: initialise include and library paths in setup.py

2012-07-29 Thread Roumen Petrov
New submission from Roumen Petrov: In setup.py inc_dirs and lib_dirs are not initialized in cross-build case. -- files: 1-CROSS-initialise-include-and-library-paths.patch keywords: patch messages: 166733 nosy: rpetrov priority: normal severity: normal status: open title: CROSS

[issue15484] CROSS: use _PYTHON_PROJECT_BASE in distutils sysconfig

2012-07-29 Thread Roumen Petrov
New submission from Roumen Petrov: Same as sysconfig but now in distutils _PYTHON_PROJECT_BASE has to be used in cross-build environment. -- components: Build files: 2-CROSS-use-_PYTHON_PROJECT_BASE-in-distutils-sysconfig.patch keywords: patch messages: 166734 nosy: rpetrov priority

[issue15484] CROSS: use _PYTHON_PROJECT_BASE in distutils sysconfig

2012-07-29 Thread Roumen Petrov
Roumen Petrov added the comment: Also _PYTHON_PROJECT_BASE should be initialized to build directory by configure - low priority as other issue prevent python to be build and tested smoothly outside source tree. -- Added file: http://bugs.python.org/file26570/2-CROSS-set

[issue15485] CROSS: append gcc library search paths

2012-07-29 Thread Roumen Petrov
New submission from Roumen Petrov: Currently if cross-build add_gcc_paths use append_dir_to_list but later prepend library paths. As result gcc is multilib 64-bit libraries will be found first before 32-bit one. -- components: Cross-Build files: 3-CROSS-append-gcc-library-search

[issue15484] CROSS: use _PYTHON_PROJECT_BASE in distutils sysconfig

2012-07-29 Thread Roumen Petrov
Changes by Roumen Petrov : -- components: +Cross-Build -Build type: -> compile error ___ Python tracker <http://bugs.python.org/issue15484> ___ ___ Python-

<    1   2   3   4   5   >