Roumen Petrov added the comment:
May be is good to add depends=['_math.h'], for modules in setup.py.
About atan2 - lets see comments in mathmodule and configure test. The
cmath test case pass on freebsd as buildbot is for for 7.2. What about
freebsd 6.2 ?
Also I don't think th
Roumen Petrov added the comment:
gregory - refer to setup.py logic to build modules
--
___
Python tracker
<http://bugs.python.org/issue3745>
___
___
Python-bug
Changes by Roumen Petrov :
--
versions: +Python 2.7
Added file: http://bugs.python.org/file15724/python-trunk-20100103-CROSS.patch
___
Python tracker
<http://bugs.python.org/issue3
Changes by Roumen Petrov :
Added file: http://bugs.python.org/file15725/python-trunk-20100103-MINGW.patch
___
Python tracker
<http://bugs.python.org/issue3871>
___
___
Roumen Petrov added the comment:
Mike, the python configure script fail to detect some of toolchain tools.
--
nosy: +rpetrov
___
Python tracker
<http://bugs.python.org/issue1006
Changes by Roumen Petrov :
--
nosy: +rpetrov
___
Python tracker
<http://bugs.python.org/issue5404>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Roumen Petrov :
--
nosy: +rpetrov
___
Python tracker
<http://bugs.python.org/issue5235>
___
___
Python-bugs-list mailing list
Unsubscribe:
Roumen Petrov added the comment:
Joshua,
may be you need patch from Issue4010 to pass LDFLAGS to distutils.
Another issue4305 - it is for mipsel.
About cross compilation - yes it is Python flaw. For past ten years the
progress is near to zero.
About you problem - #error "LONG_BIT defin
Roumen Petrov added the comment:
please find already open issue and close this one.
--
nosy: +rpetrov
___
Python tracker
<http://bugs.python.org/issue5
Roumen Petrov added the comment:
What about AC_CHECK_FUNC* macros ?
--
nosy: +rpetrov
___
Python tracker
<http://bugs.python.org/issue5545>
___
___
Python-bug
Roumen Petrov added the comment:
issue 5060 address this
--
nosy: +rpetrov
___
Python tracker
<http://bugs.python.org/issue5572>
___
___
Python-bugs-list mailin
Roumen Petrov added the comment:
The LIBS contain all module dependent libraries, libpython is linked
with LIBS, modules are linked with libpython.
May be I miss something but I could not found why distutils has to use
LIBS to link a module
Roumen Petrov added the comment:
AC_CHECK_FUNC* check for function .
AC_CHECK_DECL check for declaration .
The check for functions sem_xxx() is incorrect in proposed patch. It has
to check for function.
I didn't review next part of the
Roumen Petrov added the comment:
Cchristian it is not about random idea. It is how to write simple
readable and correct autoconf script. Compare my check for functions
(see attached bootstrap.sh) with you. Also some of macros in you patch
are marked as obsolete.
$ CC=g++ ./bootstrap.sh
Changes by Roumen Petrov :
Added file: http://bugs.python.org/file13692/python-trunk-20090415-CROSS.patch
___
Python tracker
<http://bugs.python.org/issue3754>
___
___
Changes by Roumen Petrov :
Removed file: http://bugs.python.org/file11664/python-trunk-CROSS.patch
___
Python tracker
<http://bugs.python.org/issue3754>
___
___
Python-bug
Changes by Roumen Petrov :
Removed file: http://bugs.python.org/file12268/python-trunk-CROSS.patch
___
Python tracker
<http://bugs.python.org/issue3754>
___
___
Python-bug
Changes by Roumen Petrov :
Added file: http://bugs.python.org/file13693/python-trunk-20090415-MINGW.patch
___
Python tracker
<http://bugs.python.org/issue3871>
___
___
Changes by Roumen Petrov :
Removed file: http://bugs.python.org/file13693/python-trunk-20090415-MINGW.patch
___
Python tracker
<http://bugs.python.org/issue3871>
___
___
Changes by Roumen Petrov :
Added file: http://bugs.python.org/file13694/python-trunk-20090416-MINGW.patch
___
Python tracker
<http://bugs.python.org/issue3871>
___
___
Roumen Petrov added the comment:
Thomas, the report is for:
ffi_sources += ffi_platforms['MIPS']
KeyError: 'MIPS'
you may test patch without to cross-compile. As example create two
directories.
In first one run:
/Modules/_ctypes/libffi/conf
Roumen Petrov added the comment:
Or another workaround is to change line "path = '///' + drive + '|' "
from file ./Lib/nturl2path.py, i.e. '|' -> ':' .
--
nosy: +rpetrov
Roumen Petrov added the comment:
Proposed patch may fix another windows failure as after recent commit
"unresolved external symbol initfoo" seems to me fixed.
--
nosy: +rpetrov
Added file: http://bugs.python.org/file13983/issue5977
Roumen Petrov added the comment:
The patch issue5977-w32.patch from issue 5977 has to fix this.
The patch just add suffix for target binary, i.e. on linux target will
become foo.so and on w32 foo.pyd. Note .pyd is correct sugfxi for w32.
--
nosy: +rpetrov
Roumen Petrov added the comment:
After lets call it "cd temp dir" modification the fail on my linux box :
missing libpithon2.7.
What is the buildbot trick as the test pass on all linux buildbots ?
--
nosy: +rpetrov
___
Python trac
Roumen Petrov added the comment:
I think that one difference is build outside source tree. Not sure that
this is problem - the linker flags contain "... -L. -lpython2.7 ..." and
after change into another directory(temp) library is no more in current
directory.
Right now I'm t
Roumen Petrov added the comment:
Hi All,
The test always fails even builddir == srddir , with and without
directory links in src-/build-path.
$ LD_LIBRARY_PATH=`pwd` ./python
Python 2.7a0 (trunk:73046M, May 30 2009, 14:09:06)
[GCC 4.2.4] on linux2
$ cat /tmp/pynexttest
test_distutils
Roumen Petrov added the comment:
P.S.: the test command start with LD_LIBRARY_PATH=`pwd`
--
___
Python tracker
<http://bugs.python.org/issue6022>
___
___
Pytho
Roumen Petrov added the comment:
Benjamin, configure script check for function textdomain in libintl.
--
nosy: +rpetrov
___
Python tracker
<http://bugs.python.org/issue6
Roumen Petrov added the comment:
The current check for *gettext/*textdomain* functions is not so correct.
It mix(!?!) checks for headers with check for functions.
GNU libc include them and on linux we will see in pyconfig.h (trunk):
---
/* #undef WITH_LIBINTL */
#define HAVE_LIBINTL_H
Changes by Roumen Petrov :
Added file: http://bugs.python.org/file14277/python-trunk-20090612-CROSS.patch
___
Python tracker
<http://bugs.python.org/issue3754>
___
___
Changes by Roumen Petrov :
Added file: http://bugs.python.org/file14279/python-trunk-20090612-MINGW.patch
___
Python tracker
<http://bugs.python.org/issue3871>
___
___
Roumen Petrov added the comment:
quote : "Primarily because the patches that have been contributed don't
work well. " :)
--
nosy: +rpetrov
___
Python tracker
<http://bugs.py
Roumen Petrov added the comment:
Antoine, you may mix container with compression. tar as file container
is suitable for unix like systems. other container like zip-container is
not well designed for unix-like file systems.
I disagree with request. Package distribution is platform dependent
Roumen Petrov added the comment:
As part of issue 8510 (update to autoconf2.65) configure script is modernized
and most of updates from patches attached to this issue now are in repository.
Starting from 16 may new patches will include in addition minimal updates of
setup.py and
Roumen Petrov added the comment:
Common to all platforms part of patches lets call it "build modules with
system python" is moved to issue 3754.
--
Added file: http://bugs.python.org/file17362/python-trunk-20100516-MINGW.patch
___
Pyth
Changes by Roumen Petrov :
Removed file: http://bugs.python.org/file14539/python-trunk-20090722-CROSS.patch
___
Python tracker
<http://bugs.python.org/issue3754>
___
___
Changes by Roumen Petrov :
Removed file: http://bugs.python.org/file15260/python-trunk-20091104-CROSS.patch
___
Python tracker
<http://bugs.python.org/issue3754>
___
___
Changes by Roumen Petrov :
Removed file: http://bugs.python.org/file15415/python-trunk-20091129-CROSS.patch
___
Python tracker
<http://bugs.python.org/issue3754>
___
___
Changes by Roumen Petrov :
Removed file: http://bugs.python.org/file15464/python-trunk-20091206-CROSS.patch
___
Python tracker
<http://bugs.python.org/issue3754>
___
___
Changes by Roumen Petrov :
Removed file: http://bugs.python.org/file15724/python-trunk-20100103-CROSS.patch
___
Python tracker
<http://bugs.python.org/issue3754>
___
___
Changes by Roumen Petrov :
Removed file: http://bugs.python.org/file15987/python-trunk-20100124-CROSS.patch
___
Python tracker
<http://bugs.python.org/issue3754>
___
___
New submission from Roumen Petrov :
PEP 11 describe BeOS support as : "Python 2.7 (edit configure to reenable)"
--
components: Build
files: python-2.7-beos-unsupported.patch
keywords: patch
messages: 105863
nosy: rpetrov
priority: normal
severity: normal
status: open
title: Be
Changes by Roumen Petrov :
Removed file: http://bugs.python.org/file14540/python-trunk-20090722-MINGW.patch
___
Python tracker
<http://bugs.python.org/issue3871>
___
___
Changes by Roumen Petrov :
Removed file: http://bugs.python.org/file15261/python-trunk-20091104-MINGW.patch
___
Python tracker
<http://bugs.python.org/issue3871>
___
___
Changes by Roumen Petrov :
Removed file: http://bugs.python.org/file15416/python-trunk-20091129-MINGW.patch
___
Python tracker
<http://bugs.python.org/issue3871>
___
___
Changes by Roumen Petrov :
Removed file: http://bugs.python.org/file15465/python-trunk-20091206-MINGW.patch
___
Python tracker
<http://bugs.python.org/issue3871>
___
___
Changes by Roumen Petrov :
Removed file: http://bugs.python.org/file15725/python-trunk-20100103-MINGW.patch
___
Python tracker
<http://bugs.python.org/issue3871>
___
___
Changes by Roumen Petrov :
Removed file: http://bugs.python.org/file16364/python-trunk-20100225-MINGW.patch
___
Python tracker
<http://bugs.python.org/issue3871>
___
___
Changes by Roumen Petrov :
Removed file: http://bugs.python.org/file16534/python-trunk-20100313-MINGW.patch
___
Python tracker
<http://bugs.python.org/issue3871>
___
___
Changes by Roumen Petrov :
Removed file: http://bugs.python.org/file16806/python-trunk-20100407-MINGW.patch
___
Python tracker
<http://bugs.python.org/issue3871>
___
___
Roumen Petrov added the comment:
Patches to this issue require first patch from issue 3754. The last patch here
now is from 2010-05-16. This patch cannot be applied to trunk as it will fail
after update for readline in setup.py. You could use trunk version before this
readline update.
Now
Roumen Petrov added the comment:
Terry, my patch in #3871 don't supersede this issue.
In patch to #3871 for mingw host I use same work-around as for all other
platforms
Lets see the code of setup.py methods configure_ctypes...(..) :
.
# Add .S (preprocessed assembly)
Roumen Petrov added the comment:
- consistent platform detection in all methods from setup.py;
- readline libraries detected by configure script are used for setup.py : this
could help to detect is more platform independent way if readline is linked
with ncurses{w} library;
- ignore "fri
Roumen Petrov added the comment:
- require patch "...20100626-CROSS..." from issue3871;
- setup.py don't ignore readline and ncurses for host platform : python tests
with readline pass, ncurses (current development) is not usable yet;
- follow restored build with python s
Roumen Petrov added the comment:
a) search for fficonfig.h is fixed long time ago (i could not remember issue)
b) build python executable cannot run without to setup some environment
variables - $(RUNSHARED).
--
___
Python tracker
<h
Changes by Roumen Petrov :
--
nosy: +rpetrov
___
Python tracker
<http://bugs.python.org/issue9419>
___
___
Python-bugs-list mailing list
Unsubscribe:
Roumen Petrov added the comment:
Hi Terry,
both :
a) suggestion is for CFLAGS as work-around
b) clarification as build use two preprocessor defines :
- NDEBUG is defined for non-debug builds
- _DEBUG is defined for debug builds
(ref msvc{9}compiler.py
Roumen Petrov added the comment:
Hi Matthias,
This issue is only for windows.
In scope autotool based builds compiler customization is used to 'transfer'
some build settings (flags, options) to distutils. This include compiler set
in make macro (variable) CC.
Transfer is not co
New submission from Roumen Petrov:
For native build distutils add current directory to library path. This is not
activated in case of cross-build.
Before , as part of issue3871 and issue15483, was updated setup.py , but now I
would like to propose a simple more general solution with attached
Changes by Roumen Petrov :
--
components: +Cross-Build -Build
type: -> compile error
___
Python tracker
<http://bugs.python.org/issue17219>
___
___
Python-
Roumen Petrov added the comment:
yes
--
___
Python tracker
<http://bugs.python.org/issue10560>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
Roumen Petrov added the comment:
> Dan added the comment:
>
> Guys, this looks really bad and inconveniences a lot of users. You install
> the latest MinGW and Distutils from their default location, try using them on
> **anything that requires compilation**, and get the cryptic
Roumen Petrov added the comment:
How to reproduce issue with normal in source tree build ?
I'm asking because to avoid issue, on read only file system , I use patch
posted in scope of issue3754 and issue15833
(0016-CROSS-reload-may-fail-with-operation-on-closed-file-.patch) .
--
New submission from Roumen Petrov:
Version of gcc compiler may differ between build and host system. As result
could be activated unsupported options and build of _decimal module will fail.
--
components: Cross-Build
files: 0003-ORIGIN-use-CC-to-test-compiler-flags-in-setup.py.patch
New submission from Roumen Petrov:
GNU binutils properly document that flag --enable-new-dtags is only available
on ELF systems.
I would like to propose a simple hack to avoid activation if ELF is not listed
in supported emulations.
Comments in unixccompiler.py are not precise : "# G
Roumen Petrov added the comment:
This is issue introduced with implementation of SOABI. Build of standard
extensions is protected by following code:
-
class PyBuildExt(build_ext):
def __init__(self, dist):
build_ext.__init__(self, dist)
self.failed = []
def
Hi Ned,
Ned Jackson Lovely added the comment:
[SNIP]
In both cases, the currently running python executable, fetched via
sys.executable and run using os.popen, is used to print the value, instead of
the shell's echo. This moves things closer towards cross-platform niceness, and
removes the
Roumen Petrov added the comment:
Hi Ned,
> Ned Jackson Lovely added the comment:
[SNIP]
> In both cases, the currently running python executable, fetched via
> sys.executable and run using os.popen, is used to print the value, instead of
> the shell's echo. This moves thin
New submission from Roumen Petrov:
split of issue3871
--
components: Build, Cross-Build
files: 0002-MINGW-translate-gcc-internal-defines-to-python-platf.patch
keywords: patch
messages: 185647
nosy: rpetrov
priority: normal
severity: normal
status: open
title: mingw: translate gcc
New submission from Roumen Petrov:
split of issue3871
--
components: Cross-Build
files: 0003-MINGW-use-header-in-lowercase.patch
keywords: patch
messages: 185648
nosy: rpetrov
priority: normal
severity: normal
status: open
title: mingw: use header in lowercase
versions: Python 3.4
Added
New submission from Roumen Petrov:
split of issue3871
--
components: Build, Cross-Build
files: 0004-MINGW-configure-MACHDEP-and-platform-for-build.patch
keywords: patch
messages: 185650
nosy: rpetrov
priority: normal
severity: normal
status: open
title: mingw: configure MACHDEP and
New submission from Roumen Petrov:
split of issue3871, but implement ed differently - externalize some configure
defaults instead to update configure script for each check
--
components: Build, Cross-Build
files: 0005-MINGW-preset-configure-defaults.patch
keywords: patch
messages
New submission from Roumen Petrov:
split of issue3871
--
components: Build, Cross-Build
files: 0006-MINGW-configure-largefile-support-for-windows-builds.patch
keywords: patch
messages: 185655
nosy: rpetrov
priority: normal
severity: normal
status: open
title: mingw: configure largefile
New submission from Roumen Petrov:
split of issue3871
--
components: Build, Cross-Build
files: 0007-MINGW-add-wincrypt.h-in-Python-random.c.patch
keywords: patch
messages: 185656
nosy: rpetrov
priority: normal
severity: normal
status: open
title: mingw: add wincrypt.h in Python/random.c
New submission from Roumen Petrov:
split of issue3871.
May be best solution is to move "errmap.h" from PC/ to Objects/ and to use
platform specific filename.
--
components: Build, Cross-Build
files: 0008-MINGW-add-srcdir-PC-to-CPPFLAGS.patch
keywords: patch
messages: 1
New submission from Roumen Petrov:
split of issue3871.
--
components: Build, Cross-Build
files: 0009-MINGW-init-system-calls.patch
keywords: patch
messages: 185659
nosy: rpetrov
priority: normal
severity: normal
status: open
title: mingw: init system calls
type: enhancement
versions
New submission from Roumen Petrov:
split of issue3871.
--
components: Build, Cross-Build
files: 0010-MINGW-detect-REPARSE_DATA_BUFFER.patch
keywords: patch
messages: 185660
nosy: rpetrov
priority: normal
severity: normal
status: open
title: mingw: detect REPARSE_DATA_BUFFER
type
New submission from Roumen Petrov:
split of issue3871.
--
components: Build, Cross-Build
files: 0011-MINGW-build-in-windows-modules-winreg.patch
keywords: patch
messages: 185661
nosy: rpetrov
priority: normal
severity: normal
status: open
title: mingw: build-in windows modules (winreg
New submission from Roumen Petrov:
split of issue3871.
(now without to impact other platforms - it will remain build-in module)
--
components: Interpreter Core
files: 0012-MINGW-determine-if-pwdmodule-should-be-used.patch
keywords: patch
messages: 185663
nosy: rpetrov
priority: normal
New submission from Roumen Petrov:
Part is split of issue3871.
Based of feedback to issue3871 users prefer to use posix installation scheme
and this is implementation of 'relative' posix prefix.
--
components: Interpreter Core
files: 0013-MINGW-default-sys.path-calculations-f
New submission from Roumen Petrov:
split of issue3871 - actually this is not mingw* specific - it is for all
platforms without fileblocks
--
components: Build, Cross-Build
files: 0014-MINGW-AC_LIBOBJ-replacement-of-fileblocks.patch
keywords: patch
messages: 185665
nosy: rpetrov
New submission from Roumen Petrov:
split of issue3871
--
components: Interpreter Core
files: 0015-MINGW-use-main-to-start-execution.patch
keywords: patch
messages: 185666
nosy: rpetrov
priority: normal
severity: normal
status: open
title: mingw: use main() to start execution
type
New submission from Roumen Petrov:
split of issue3871 - this is meta issue only for part related to build
interpreter core.
Goal is statically linked python executable (python.exe).
Patch set consist of :
- 01 Issue17148 : nt thread model detection
- 02 issue17590 : translate gcc internal
Roumen Petrov added the comment:
Oscar Benjamin wrote:
> Oscar Benjamin added the comment:
>
> I have written a function that can be used to determine if the gcc
> that distutils will use is from Cygwin or MinGW:
>
> def is_cygwingcc():
> '''Try to determ
Changes by Roumen Petrov :
--
nosy: +rpetrov
___
Python tracker
<http://bugs.python.org/issue22724>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Roumen Petrov :
--
nosy: +rpetrov
___
Python tracker
<http://bugs.python.org/issue12939>
___
___
Python-bugs-list mailing list
Unsubscribe:
Roumen Petrov added the comment:
hmm issue still exist in master branch.
Lets wait python 4 for sane behaviour.
--
nosy: +rpetrov
___
Python tracker
<http://bugs.python.org/issue13
Roumen Petrov added the comment:
STINNER Victor wrote:
> For the third time, only the Python implementation has the bug, and
> it's not used by default. So the bug was fixed in Python 3 since 3.2.
> It's time to upgrade guys ;-)
Did you mean to downgrade? Tested with Pytho
Roumen Petrov added the comment:
STINNER Victor wrote:
> [SNIP]I attach hang2.py which doesn't force the Python implementation
> of RLock.[SNIP]
Ok. Fine with me.
--
___
Python tracker
<http://bugs.python.
401 - 490 of 490 matches
Mail list logo