[issue12242] distutils2 environment marker for current compiler

2011-09-29 Thread Roumen Petrov
Roumen Petrov added the comment: What is result is i use GNU compiler by example with name arm-linux-androideabi-gcc ? -- nosy: +rpetrov ___ Python tracker <http://bugs.python.org/issue12

[issue6164] [AIX] Patch to correct the AIX C/C++ linker argument used for 'runtime_library_dirs'

2011-10-09 Thread Roumen Petrov
Roumen Petrov added the comment: hmm, and commit that close issue is ? -- ___ Python tracker <http://bugs.python.org/issue6164> ___ ___ Python-bugs-list mailin

[issue6164] [AIX] Patch to correct the AIX C/C++ linker argument used for 'runtime_library_dirs'

2011-10-09 Thread Roumen Petrov
Roumen Petrov added the comment: see above "and restore of distutils in trunk abandon it." -- ___ Python tracker <http://bugs.python.org/issue6164> ___ ___

[issue6164] [AIX] Patch to correct the AIX C/C++ linker argument used for 'runtime_library_dirs'

2011-10-09 Thread Roumen Petrov
Roumen Petrov added the comment: For protocol blibpath is not in any release - get download and check content . Did you apply a different fix ? -- ___ Python tracker <http://bugs.python.org/issue6

[issue13157] Build Python outside the source directory

2011-10-12 Thread Roumen Petrov
Roumen Petrov added the comment: Which is platform with broken VPATH support and/or make ? -- nosy: +rpetrov ___ Python tracker <http://bugs.python.org/issue13

[issue13157] Build Python outside the source directory

2011-10-12 Thread Roumen Petrov
Roumen Petrov added the comment: I wonder why you are not stopped by: configure: error: source directory already configured; run "make distclean" there first. (for sure you remove some files but not all) Applied patch is save but I cannot understand what actually is resolved.

[issue5875] test_distutils failing on OpenSUSE 10.3, Py3k

2011-10-17 Thread Roumen Petrov
Roumen Petrov added the comment: May be last report is not related to initial two years old . It seems to me it is introduced recently after some optimization related to creation of pyc files and this is not OpenSUSE related. -- nosy: +rpetrov

[issue12619] Automatically regenerate platform-specific modules

2011-10-17 Thread Roumen Petrov
Roumen Petrov added the comment: Related : #1565071 and #3990 . There is no reason to keep plat-xxx files if cannot be managed properly. -- nosy: +rpetrov ___ Python tracker <http://bugs.python.org/issue12

[issue13150] Most of Python's startup time is sysconfig

2011-10-18 Thread Roumen Petrov
Roumen Petrov added the comment: 10x for solution, 10x for commit . Good bye cross compilation! Any attempt to improve python build system to support cross-build, multilib build, build outside source tree with different options is useless. -- nosy: +rpetrov

[issue13193] test_packaging and test_distutils failures

2011-11-05 Thread Roumen Petrov
Roumen Petrov added the comment: Test test_install and test_command_install_data interference cache . Adding clear_cache as clean up routine will resolve reported issue with Spamlib. The patch is trivial. Also one of the test set clear_cache as cleanup. Most important is why packaging use

[issue3754] cross-compilation support for python build

2011-05-24 Thread Roumen Petrov
Roumen Petrov added the comment: Greg, ensure correct configure script first as run commands autoheader and autoconf. Updates to configure script are not in patch . The patch include updates to source configure.in and autoconf command will update "conf

[issue3754] cross-compilation support for python build

2011-05-25 Thread Roumen Petrov
Roumen Petrov added the comment: Usually this is not a question for bug-tracking system . configure .. --host= will enter into cross-compilation mode. You could find more details into respective manual. Roumen -- ___ Python tracker <h

[issue3754] cross-compilation support for python build

2011-05-26 Thread Roumen Petrov
Roumen Petrov added the comment: At least one is really would like to cross-compile. worber, the config site has to look like (sample for linux i?86, i.e. intel 32 bit, as host platform) = ac_cv_little_endian_double=yes ac_cv_broken_sem_getvalue=no

[issue12225] current tip doesn't build without mercurial installed

2011-05-31 Thread Roumen Petrov
Roumen Petrov added the comment: Check for python executable is not complete . What about if system has only version 3+ installed ? -- nosy: +rpetrov ___ Python tracker <http://bugs.python.org/issue12

[issue12379] build outside source fail in head

2011-06-20 Thread Roumen Petrov
New submission from Roumen Petrov : correct is -I$(srcdir)/Include -- components: Build messages: 138755 nosy: rpetrov priority: normal severity: normal status: open title: build outside source fail in head versions: Python 3.3 ___ Python tracker

[issue9436] test_sysconfig failure: build a 32-bit Python a 64-bit OS

2011-06-20 Thread Roumen Petrov
Roumen Petrov added the comment: The test case is bogus. Until is removed you could use CC='gcc -m32'. -- nosy: +rpetrov ___ Python tracker <http://bugs.python.

[issue12379] build outside source fail in head

2011-06-21 Thread Roumen Petrov
Roumen Petrov added the comment: cf. http://hg.python.org/cpython/rev/0d0ca6f95d9d -- ___ Python tracker <http://bugs.python.org/issue12379> ___ ___ Python-bug

[issue5572] packaging should respect the LIBS configure env var

2011-06-25 Thread Roumen Petrov
Roumen Petrov added the comment: Collin, I'm sure that you could use LDFLAGS instead LIBS to boost python. If I remember well this require set_executables to be commented in setup.py. -- ___ Python tracker <http://bugs.python.org/i

[issue12588] test_capi.test_subinterps() failed on OpenBSD (powerpc)

2011-07-20 Thread Roumen Petrov
Roumen Petrov added the comment: Hi Landry , what is result if you move _testembed to upper directory and run it with environment so that shared python library from upper to be loaded (LD_LIBRARY_PATH= )? -- nosy: +rpetrov ___ Python tracker

[issue12641] Remove -mno-cygwin from distutils

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

[issue12641] Remove -mno-cygwin from distutils

2011-08-03 Thread Roumen Petrov
Roumen Petrov added the comment: it is save to remove -mno-cygwin from Mingw32CCompiler -- ___ Python tracker <http://bugs.python.org/issue12641> ___ ___ Pytho

[issue12678] test_packaging and test_distutils failures under Windows

2011-08-21 Thread Roumen Petrov
Roumen Petrov added the comment: diff --git a/Lib/distutils/tests/test_sdist.py b/Lib/distutils/tests/test_sdist.py index 440af98..520289c 100644 --- a/Lib/distutils/tests/test_sdist.py +++ b/Lib/distutils/tests/test_sdist.py @@ -381,6 +381,15 @@ class SDistTestCase(PyPIRCCommandTestCase

[issue3754] cross-compilation support for python build

2011-08-24 Thread Roumen Petrov
Changes by Roumen Petrov : Added file: http://bugs.python.org/file23034/python-py3k-20110825-CROSS.patch ___ Python tracker <http://bugs.python.org/issue3754> ___ ___

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

2011-08-24 Thread Roumen Petrov
Roumen Petrov added the comment: follow recent changes to distutils and packaging modules and platform tests without os major version ... (require python-py3k-20110825-CROSS.patch from #3754) -- Added file: http://bugs.python.org/file23035/python-py3k-20110825-MINGW.patch

[issue2889] curses for windows (alternative patch)

2010-08-23 Thread Roumen Petrov
Roumen Petrov added the comment: -1 for PDCurses -- nosy: +rpetrov ___ Python tracker <http://bugs.python.org/issue2889> ___ ___ Python-bugs-list mailin

[issue9665] Buid issues on Cygwin - _curses, _curses_panel, and _io

2010-08-23 Thread Roumen Petrov
Roumen Petrov added the comment: patch of patch attached to issue 3871 --- ./Modules/_io/_iomodule.h.MINGW 2009-12-23 12:52:04.0 +0200 +++ ./Modules/_io/_iomodule.h 2009-12-14 22:01:16.0 +0200 @@ -72,7 +72,7 @@ PyObject *filename; /* Not used, but part of the IOError

[issue1597850] Cross compiling patches for MINGW

2010-08-23 Thread Roumen Petrov
Roumen Petrov added the comment: -1 for the patch (after review of cross-3.0-0.7.diff) : 1) AC_CHECK_TOOLS(CC,gcc cc) and AC_CHECK_TOOLS(CXX,g++ c++) is bogus 2) "$CC -dumpmachine" when is added AC_CANONICAL_HOST is bogus 3) if (strcmp(buffe,me) "123")) is buggy Good poi

[issue7546] msvc9compiler.py: add .asm extension

2010-08-23 Thread Roumen Petrov
Roumen Petrov added the comment: To me distutils does not support assembler files and for other compilers this is required to build ctypes - see also issue 2942. -- nosy: +rpetrov ___ Python tracker <http://bugs.python.org/issue7

[issue9665] Buid issues on Cygwin - _curses, _curses_panel, and _io

2010-08-23 Thread Roumen Petrov
Roumen Petrov added the comment: Ben, import of variables cannot be changed to export as this will produce crash in application ("core dump"/"bus error" etc.) that try to use them. -- ___ Python tracker <http://bu

[issue7546] msvc9compiler.py: add .asm extension

2010-08-23 Thread Roumen Petrov
Roumen Petrov added the comment: Please see my comments to issue 2942 - so I think compilers should support assembler suffixes. -- ___ Python tracker <http://bugs.python.org/issue7

[issue3754] cross-compilation support for python build

2010-08-24 Thread Roumen Petrov
Roumen Petrov added the comment: It seems to me I forgot to upload version after updates in Lib/sysconfig.py from issue 7880. I could not understand what Florent Xicluna (flox). I could not reproduce it. To me update abspath -> realpath is bogus and with reverted update of Lib/sysconfig

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

2010-08-24 Thread Roumen Petrov
Roumen Petrov added the comment: update patch still for 2.7 with - restored build of ctypes (broken after recent updates) - python build with ncurses library, test pass - python build with readline library, test pass -- Added file: http://bugs.python.org/file18626/python-trunk-20100824

[issue2889] curses for windows (alternative patch)

2010-08-24 Thread Roumen Petrov
Roumen Petrov added the comment: Recent ncurses pass python tests with only one small update (part of patch to issue 3871): = --- ./Lib/test/test_curses.py.MINGW 2010-08-09 00:03:48.0 +0300 +++ ./Lib/test/test_curses.py 2010-08-09 00:05

[issue9674] make install DESTDIR=/home/blah fails when the prefix specified is /

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

[issue9860] Building python outside of source directory fails

2010-09-15 Thread Roumen Petrov
Roumen Petrov added the comment: Please could you remove object files from source tree then try again. This is invalid issue. -- nosy: +rpetrov ___ Python tracker <http://bugs.python.org/issue9

[issue9189] Improve CFLAGS handling

2010-09-18 Thread Roumen Petrov
Roumen Petrov added the comment: -1 for the changes. Please restore to previous state. The patch break all uses of well documented build variables. -- nosy: +rpetrov ___ Python tracker <http://bugs.python.org/issue9

[issue9807] deriving configuration information for different builds with the same prefix

2010-10-18 Thread Roumen Petrov
Roumen Petrov added the comment: - As configure script add new "substitute variable" LDVERSION" why do not use LDVERSION in Makefile instead $(VERSION)$(ABIFLAGS). Note first to replace in configure script LDVERSION="$(VERSION)" to LDVERSION="$VERSION" !

[issue3754] cross-compilation support for python build

2010-11-12 Thread Roumen Petrov
Changes by Roumen Petrov : Added file: http://bugs.python.org/file19586/python-2.7-20101112-CROSS.patch ___ Python tracker <http://bugs.python.org/issue3754> ___ ___ Pytho

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

2010-11-12 Thread Roumen Petrov
Changes by Roumen Petrov : Added file: http://bugs.python.org/file19587/python-2.7-20101112-MINGW.patch ___ Python tracker <http://bugs.python.org/issue3871> ___ ___ Pytho

[issue3754] cross-compilation support for python build

2010-11-12 Thread Roumen Petrov
Changes by Roumen Petrov : Added file: http://bugs.python.org/file19588/python-py3k-20101112-CROSS.patch ___ Python tracker <http://bugs.python.org/issue3754> ___ ___

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

2010-11-12 Thread Roumen Petrov
Roumen Petrov added the comment: And the patch for py3k (future 3.2) . Note require python-py3k-20101112-CROSS.patch from issue 3754 to be applied first. -- Added file: http://bugs.python.org/file19589/python-py3k-20101112-MINGW.patch ___ Python

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

2010-11-15 Thread Roumen Petrov
Roumen Petrov added the comment: But different build system make new plaform ! Roumen -- ___ Python tracker <http://bugs.python.org/issue3871> ___ ___ Python-bug

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

2010-11-15 Thread Roumen Petrov
Roumen Petrov added the comment: No it is win32 for the resulting binaries. Idea is following (issue3754) . Travial patch - move method get_platform global _get_platform and variable host_platform is initialized to its return value. Then replace all calls of sys.platform and get_platform

[issue11365] Integrate Buildroot patches (cross-compilation)

2011-03-03 Thread Roumen Petrov
Roumen Petrov added the comment: All is duplicate on already posted patches . It is not work to review limited functionality posted here. -- nosy: +rpetrov ___ Python tracker <http://bugs.python.org/issue11

[issue3754] cross-compilation support for python build

2011-04-07 Thread Roumen Petrov
Roumen Petrov added the comment: Uhh after some pseudo multiarch improvements previous patch fail. So new one is uploaded. Also with this version cross-build won't build pgen$(EXEEXT). -- Added file: http://bugs.python.org/file21570/python-py3k-20110407-CROSS.

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

2011-04-07 Thread Roumen Petrov
Roumen Petrov added the comment: Follow up updated patch to #3754 -- Added file: http://bugs.python.org/file21571/python-py3k-20110407-MINGW.patch ___ Python tracker <http://bugs.python.org/issue3

[issue11888] Add C99's log2() function to the math library

2011-05-10 Thread Roumen Petrov
Roumen Petrov added the comment: Why configure script check two times for log2 function ? -- nosy: +rpetrov ___ Python tracker <http://bugs.python.org/issue11

[issue12081] Remove distributed copy of libffi

2011-05-15 Thread Roumen Petrov
Roumen Petrov added the comment: On windows work with patched version of library . Unpatched does not work but I cannot remember python issue number. -- nosy: +rpetrov ___ Python tracker <http://bugs.python.org/issue12

[issue4558] with_stdc89

2011-05-19 Thread Roumen Petrov
Roumen Petrov added the comment: Issue with inline was resolved by configure macro. -- Added file: http://bugs.python.org/file22035/python3-20110520-c89.patch ___ Python tracker <http://bugs.python.org/issue4

[issue3754] cross-compilation support for python build

2011-05-19 Thread Roumen Petrov
Changes by Roumen Petrov : Added file: http://bugs.python.org/file22036/python-py3k-20110520-CROSS.patch ___ Python tracker <http://bugs.python.org/issue3754> ___ ___

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

2011-05-19 Thread Roumen Petrov
Roumen Petrov added the comment: ...py3k-20110520...: with updates of integrated recently distutil2 (require patch from #3754 with same time-stamp). -- Added file: http://bugs.python.org/file22037/python-py3k-20110520-MINGW.patch ___ Python

[issue10504] Trivial mingw compile fixes

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

[issue1676121] Problem linking to readline lib on x86(64) Solaris

2010-11-23 Thread Roumen Petrov
Roumen Petrov added the comment: Hmm why you dont use LDFLAGS ? It is well documented what to expect during configuration and build phase. -- nosy: +rpetrov ___ Python tracker <http://bugs.python.org/issue1676

[issue10520] Build with --enable-shared fails

2010-11-25 Thread Roumen Petrov
Roumen Petrov added the comment: It is wort to fix regression if all directories are absolute. diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -54,7 +54,8 @@ for i, path in enumerate(dirlist): if not os.path.isabs(path): dirlist.insert(i + 1, dir

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

2010-11-28 Thread Roumen Petrov
Roumen Petrov added the comment: a) NoneType object is not iterable. If the function don't return empty list later distutil will fail on the lines like libraries.extend(self.dll_libraries) b) method for detection of a msvc runtime is not correct. If the method return a library GCC will

[issue10560] Fixes for Windows sources

2010-11-28 Thread Roumen Petrov
Roumen Petrov added the comment: posix_module has to use Py_LL(...) -- nosy: +rpetrov ___ Python tracker <http://bugs.python.org/issue10560> ___ ___ Python-bug

[issue10615] Trivial mingw compile fixes

2010-12-03 Thread Roumen Petrov
Changes by Roumen Petrov : -- nosy: +rpetrov ___ Python tracker <http://bugs.python.org/issue10615> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10782] Not possible to cross-compile due to poor detection of %lld support in printf

2010-12-27 Thread Roumen Petrov
Roumen Petrov added the comment: Use config.cache to set ac_cv_have_long_long_format -- nosy: +rpetrov ___ Python tracker <http://bugs.python.org/issue10

[issue9419] RUNSHARED needs LDFLAGS

2011-01-04 Thread Roumen Petrov
Roumen Petrov added the comment: LDFLAGS make no sense for run time. The patch seems to me bogus. -- ___ Python tracker <http://bugs.python.org/issue9

[issue8957] strptime('%c', ..) fails to parse output of strftime('%c', ..) in non-English locale

2011-01-11 Thread Roumen Petrov
Roumen Petrov added the comment: time.strptime(s, '%c' ) ? -- nosy: +rpetrov ___ Python tracker <http://bugs.python.org/issue8957> ___ ___ Python-bugs-l

[issue9419] RUNSHARED needs LDFLAGS

2011-01-11 Thread Roumen Petrov
Roumen Petrov added the comment: Yes Peter, build outside source tree fail for, fail for me and pass for python developers :). So no idea how to convince them to fix this issue. Next is from my sources for python 2.7 Index: Lib/distutils/tests/test_build_ext.py

[issue8957] strptime(.., '%c') fails to parse output of strftime('%c', ..) in some locales

2011-01-11 Thread Roumen Petrov
Roumen Petrov added the comment: - %T is equal for %H:%M:%S - locales with %A and %B are broken on this platform as %c is "Appropriate date and time representation (%c) with abbreviations" -- ___ Python tracker <http://bugs.python.

[issue9419] RUNSHARED needs LDFLAGS

2011-01-11 Thread Roumen Petrov
Roumen Petrov added the comment: Alexander, I already answer to you case. About the patch it is part of issue3871 ;) -- ___ Python tracker <http://bugs.python.org/issue9

[issue3754] cross-compilation support for python build

2011-01-26 Thread Roumen Petrov
Roumen Petrov added the comment: fixed patch failure on Parser/pgen.stamp -- Added file: http://bugs.python.org/file20534/python-2.7-20110126-CROSS.patch ___ Python tracker <http://bugs.python.org/issue3

[issue3754] cross-compilation support for python build

2011-01-26 Thread Roumen Petrov
Changes by Roumen Petrov : Added file: http://bugs.python.org/file20536/python-py3k-20110126-CROSS.patch ___ Python tracker <http://bugs.python.org/issue3754> ___ ___

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

2011-01-26 Thread Roumen Petrov
Roumen Petrov added the comment: fixed test case failure for 32-bit time_t -- Added file: http://bugs.python.org/file20538/python-2.7-20110126-MINGW.patch ___ Python tracker <http://bugs.python.org/issue3

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

2011-01-26 Thread Roumen Petrov
Changes by Roumen Petrov : Added file: http://bugs.python.org/file20539/python-2.7-20110126-MINGW.patch ___ Python tracker <http://bugs.python.org/issue3871> ___ ___ Pytho

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

2011-01-26 Thread Roumen Petrov
Changes by Roumen Petrov : Removed file: http://bugs.python.org/file20539/python-2.7-20110126-MINGW.patch ___ Python tracker <http://bugs.python.org/issue3871> ___ ___

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

2011-01-26 Thread Roumen Petrov
Changes by Roumen Petrov : Added file: http://bugs.python.org/file20540/python-py3k-20110126-MINGW.patch ___ Python tracker <http://bugs.python.org/issue3871> ___ ___

[issue1204] readline configuration for shared libs w/o curses dependencies

2008-08-27 Thread Roumen Petrov
Roumen Petrov <[EMAIL PROTECTED]> added the comment: In the configure{.in} exist another bug: -- AC_CHECK_LIB(readline, readline) if test "$ac_cv_have_readline_readline" = no then AC_CHECK_LIB(termcap, readline) fi -- but "grep _readline_readline

[issue3718] environment variable MACHDEP and python build system

2008-08-28 Thread Roumen Petrov
New submission from Roumen Petrov <[EMAIL PROTECTED]>: A) The reason to propose this patch following paragraph from README: 2) To set sys.platform to something sensible, pass the following environment variable to the configure script: M

[issue3743] PY_FORMAT_SIZE_T is not for PyString_FromFormat

2008-09-01 Thread Roumen Petrov
Roumen Petrov <[EMAIL PROTECTED]> added the comment: Since not all platforms support "%zd" the patch has to be rewritten. May be PY_FORMAT_SIZE_T isn't correctly defined in Include/pyport.h for the used "C" library. -- nosy: +rpetrov ___

[issue3754] minimal cross-compilation support for configure

2008-09-01 Thread Roumen Petrov
New submission from Roumen Petrov <[EMAIL PROTECTED]>: This is minimal patch that add basic cross-compilation possibilities for python build (configure script). The patch add macro AC_CANONICAL_HOST. This macro require files config.guess, config.sub. The patch don't include them. You

[issue3645] readline module Crashs on OpenBSD/amd64

2008-09-04 Thread Roumen Petrov
Roumen Petrov <[EMAIL PROTECTED]> added the comment: may issue 1204 is more general -- nosy: +rpetrov ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue1204] readline configuration for shared libs w/o curses dependencies

2008-09-07 Thread Roumen Petrov
Roumen Petrov <[EMAIL PROTECTED]> added the comment: I realize too late that in my patch line "if test $py_cv_lib_readline = !yes; then" is not correct. :( It has to be "if test $py_cv_lib_readline = no; then", i.e. s/!yes/no/'. ___

[issue3871] cross building python for mingw32 with distutils

2008-09-14 Thread Roumen Petrov
Roumen Petrov <[EMAIL PROTECTED]> added the comment: P.S.: this patch cover changes in the python C-code proposed in issue 1412448 as include only necessary modifications. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3871] cross building python for mingw32 with distutils

2008-09-14 Thread Roumen Petrov
New submission from Roumen Petrov <[EMAIL PROTECTED]>: This is a completely new patch against trunk that try to resolve mingw32 build. The first version to show problems with current python builds system, to propose solutions/work-arounds and to be stating point for discussion. Also I

[issue3708] os.urandom(1.1): infinite loop

2008-09-18 Thread Roumen Petrov
Roumen Petrov <[EMAIL PROTECTED]> added the comment: It seems to me that test case will fail on windows and vms platforms. The case contain os.urandom(1.1) but in posixmodule.c for urandon functions (windows and vms) exits: PyArg_ParseTuple(args, "i:urandom", &howMan

[issue1706863] Failed to build Python 2.5.1 with sqlite3

2008-09-23 Thread Roumen Petrov
Roumen Petrov <[EMAIL PROTECTED]> added the comment: The search for *dll.a is described in paragraph "direct linking to a dll" here: http://sourceware.org/binutils/docs/ld/WIN32.html -- nosy: +rpetrov ___ Python tracker <[EMAI

[issue3824] test_tarfile fails on cygwin (unicode decode error)

2008-09-23 Thread Roumen Petrov
Roumen Petrov <[EMAIL PROTECTED]> added the comment: What is test result if the environment variable LANG is set to C ? -- nosy: +rpetrov ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue1706863] Failed to build Python 2.5.1 with sqlite3

2008-09-23 Thread Roumen Petrov
Roumen Petrov <[EMAIL PROTECTED]> added the comment: I think that modification has to be in cygwinccompiler. It is specific for win32 binutils and impact both - cygwin and mingw. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.o

[issue1706863] Failed to build Python 2.5.1 with sqlite3

2008-09-24 Thread Roumen Petrov
Roumen Petrov <[EMAIL PROTECTED]> added the comment: If Jason patch resolve issue may I ask cygwincompiler.py to be modified too just in case if as result of issue2445 is decided to switch back ? ___ Python tracker <[EMAIL PROTECTED]> <http://

[issue2445] Use The CygwinCCompiler Under Cygwin

2008-09-24 Thread Roumen Petrov
Roumen Petrov <[EMAIL PROTECTED]> added the comment: May be check for compiler.compiler_type (from sysconfig.py ) has to be replaced with a check for descendant classes of UnixCCompiler, i.e. to include mingw32 too ? Also CygwinCCompiler __init__ has to be reviewed too. As e

[issue3871] cross building python for mingw32 with distutils

2008-09-24 Thread Roumen Petrov
Roumen Petrov <[EMAIL PROTECTED]> added the comment: For the protocol: issue2445 impact proposed patch. Also I finish the tests and I will upload soon new patch - I the current patch ( rpetrov, 2008-09-15 02:08) "Modules/selectmodule.c" isn't ported and this preve

[issue2445] Use The CygwinCCompiler Under Cygwin

2008-09-24 Thread Roumen Petrov
Roumen Petrov <[EMAIL PROTECTED]> added the comment: P.S. : about: static_lib_extension = ".dll.a" - it is suffix for import library and "unixccompiler.py.diff" patch from issue1706863 propose dylib_lib_extension = ".dll.a" . __

[issue2445] Use The CygwinCCompiler Under Cygwin

2008-09-24 Thread Roumen Petrov
Roumen Petrov <[EMAIL PROTECTED]> added the comment: I forgot an another issue in CygwinCCompiler __init__: if gcc isn't version "2.91.57" then method will set dll_libraries to result of get_msvcr(), but the result may be is None. In this case link method fail on the

[issue1706863] Failed to build Python 2.5.1 with sqlite3

2008-09-24 Thread Roumen Petrov
Roumen Petrov <[EMAIL PROTECTED]> added the comment: About experimental_distutils.patch - extra changes that has to go in a specific compiler class. As example platform can be any but compiler gcc(mingw) that produce executables for windows host platform. In this case search has to i

[issue3547] Ctypes is confused by bitfields of varying integer types

2008-09-25 Thread Roumen Petrov
Roumen Petrov <[EMAIL PROTECTED]> added the comment: test_mixed_4 fail on: Python 2.6rc2+ (trunk:66617M, Sep 25 2008, 16:32:44) [GCC 3.4.5 (mingw special)] on win32 Type "help", "copyright", "credits" or "license" for more information. s

[issue3966] Win32ErrorTests from test_os.py

2008-09-25 Thread Roumen Petrov
New submission from Roumen Petrov <[EMAIL PROTECTED]>: test method - call os.method test_mkdir(self) - os.chdir test_access(self) - os.utime test_chmod(self) - os.utime Is the test correct ? -- messages: 73807 nosy: rpetrov severity: normal status: open title: Win32Erro

[issue3547] Ctypes is confused by bitfields of varying integer types

2008-09-25 Thread Roumen Petrov
Roumen Petrov <[EMAIL PROTECTED]> added the comment: Yes this extra define was the problem. Instead hint /* Windows */ what about /* MSVC, GCC(with -mms-bitfields) */ ? The option -mms-bitfields is available for GCC compiler on mingw and cygwin targets. About test_bitfields.py: - comm

[issue3547] Ctypes is confused by bitfields of varying integer types

2008-09-26 Thread Roumen Petrov
Roumen Petrov <[EMAIL PROTECTED]> added the comment: Flag start only with one minus: -mms-bitfields Fine with me. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue1706863] Failed to build Python 2.5.1 with sqlite3

2008-09-26 Thread Roumen Petrov
Roumen Petrov <[EMAIL PROTECTED]> added the comment: no objections ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1706863> ___ ___ Python

[issue3754] minimal cross-compilation support for configure

2008-09-30 Thread Roumen Petrov
Changes by Roumen Petrov <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file11664/python-trunk-CROSS.patch ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3754] minimal cross-compilation support for configure

2008-09-30 Thread Roumen Petrov
Changes by Roumen Petrov <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file11337/python-trunk-CROSS.patch ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3871] cross building python for mingw32 with distutils

2008-09-30 Thread Roumen Petrov
Changes by Roumen Petrov <[EMAIL PROTECTED]>: -- keywords: +patch Added file: http://bugs.python.org/file11665/python-trunk-MINGW.patch ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3871] cross building python for mingw32 with distutils

2008-09-30 Thread Roumen Petrov
Changes by Roumen Petrov <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file11491/python-trunk.patch-MINGW ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3871] cross building python for mingw32 with distutils

2008-09-30 Thread Roumen Petrov
Roumen Petrov <[EMAIL PROTECTED]> added the comment: note: updated patch contain unsynchronized with trunk code in ./Objects/fileobject.c (after /* EINVAL is returned when an invalid filename or ... ) ___ Python tracker <[EMAIL PROTECTE

[issue3995] iso-xxx/cp1252 inconsistencies in Python 2.* not in 3.*

2008-09-30 Thread Roumen Petrov
Roumen Petrov <[EMAIL PROTECTED]> added the comment: I don't know iso codeset that define characters in code range 0x80 0x9f. This range is reserved for control symbols. The code of euro is 0xa4 in iso-8859-15. Also changes include symbols like 1/2, 3/4 and I forgot other

[issue3995] iso-xxx/cp1252 inconsistencies in Python 2.* not in 3.*

2008-10-01 Thread Roumen Petrov
Roumen Petrov <[EMAIL PROTECTED]> added the comment: Thanks Martin for correction: yes not reserved - assigned. Jean-Michel, you test case is incorrect. You terminal is run in CP1252 where byte \x80 is shown as euro sing. But if you run terminal(if is possible in reported operating syst

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

2008-10-02 Thread Roumen Petrov
Roumen Petrov <[EMAIL PROTECTED]> added the comment: One of the problems that I see in that LDFLAGS is Makefile variable and Makefile is part of distribution for posix build systems. If you set specific LDFLAGS and you want to distribute own python build user will get you specific setting

  1   2   3   4   5   >