[issue8126] Python 3.1.2rc1 doesn't compile using the 10.4 sdk on a 10.6 Mac

2010-03-12 Thread Palluat de Besset

New submission from Palluat de Besset :

/usr/bin/gcc-4.0 -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk 
 -DPYTHONFRAMEWORK='"Python"' -o pythonw ./Tools/pythonw.c -I.. -I./../Include 
../Python.framework/Versions/3.2/Python
./Tools/pythonw.c:22:19:./Tools/pythonw.c:22:19: error: spawn.h: No such file 
or directory
 error: spawn.h: No such file or directory
./Tools/pythonw.c:91: error: syntax error before ‘*’ token./Tools/pythonw.c:91: 
error: syntax error before ‘*’ token
./Tools/pythonw.c: In function ‘setup_spawnattr’:
./Tools/pythonw.c:95: error: ‘cpu_type_t’ undeclared (first use in this 
function)
./Tools/pythonw.c:95: error: (Each undeclared identifier is reported only once
./Tools/pythonw.c:95: error: for each function it appears in.)
./Tools/pythonw.c:95: error: syntax error before ‘cpu_types’
./Tools/pythonw.c:101: error: ‘spawnattr’ undeclared (first use in this 
function)
./Tools/pythonw.c:122: error: ‘cpu_types’ undeclared (first use in this 
function)
./Tools/pythonw.c:122: error: ‘CPU_TYPE_X86’ undeclared (first use in this 
function)
./Tools/pythonw.c:142: error: ‘POSIX_SPAWN_SETEXEC’ undeclared (first use in 
this function)
./Tools/pythonw.c: In function ‘main’:
./Tools/pythonw.c:158: error: ‘posix_spawn’ undeclared (first use in this 
function)
./Tools/pythonw.c:159: error: ‘posix_spawnattr_t’ undeclared (first use in this 
function)
./Tools/pythonw.c:159: error: syntax error before ‘spawnattr’
./Tools/pythonw.c:161: error: ‘spawnattr’ undeclared (first use in this 
function)

./Tools/pythonw.c: In function ‘setup_spawnattr’:
./Tools/pythonw.c:95: error: ‘cpu_type_t’ undeclared (first use in this 
function)
./Tools/pythonw.c:95: error: (Each undeclared identifier is reported only once
./Tools/pythonw.c:95: error: for each function it appears in.)
./Tools/pythonw.c:95: error: syntax error before ‘cpu_types’
./Tools/pythonw.c:101: error: ‘spawnattr’ undeclared (first use in this 
function)
./Tools/pythonw.c:120: error: ‘cpu_types’ undeclared (first use in this 
function)
./Tools/pythonw.c:120: error: ‘CPU_TYPE_POWERPC’ undeclared (first use in this 
function)
./Tools/pythonw.c:142: error: ‘POSIX_SPAWN_SETEXEC’ undeclared (first use in 
this function)
./Tools/pythonw.c: In function ‘main’:
./Tools/pythonw.c:158: error: ‘posix_spawn’ undeclared (first use in this 
function)
./Tools/pythonw.c:159: error: ‘posix_spawnattr_t’ undeclared (first use in this 
function)
./Tools/pythonw.c:159: error: syntax error before ‘spawnattr’
./Tools/pythonw.c:161: error: ‘spawnattr’ undeclared (first use in this 
function)
lipo: can't figure out the architecture type of: /var/tmp//cct0zueu.out
make[1]: *** [pythonw] Error 1
make: *** [frameworkinstallapps] Error 2

--
components: Build
messages: 100949
nosy: mpalluat
severity: normal
status: open
title: Python 3.1.2rc1 doesn't compile using the 10.4 sdk on a 10.6 Mac
type: compile error
versions: Python 3.1

___
Python tracker 
<http://bugs.python.org/issue8126>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8126] Python 3.1.2rc1 doesn't compile using the 10.4 sdk on a 10.6 Mac

2010-03-15 Thread Palluat de Besset

Palluat de Besset  added the comment:

Yes, sorry for the confusion. I'm trying to build a universal 32 bit version of 
Python that will be embedded in our software. we need it to run on 10.4 to 10.6 
Mac systems, and would like to build it on a 10.6 machine. I've been trying 
with several versions of Python to try to achieve that ; version 3.1.1, version 
3.1.2rc1 and py3k. None of these version would build a 10.4 compatible 
universal 32 bit on our 10.6 build machine. This is why I raised an issue.

Thanks,

Marc

On 12 Mar 2010, at 21:21, Ned Deily wrote:

Ned Deily mailto:n...@acm.org>> added the comment:

Note: "Python.framework/Versions/3.2/Python".
You appear to be building from py3k (which will become 3.2), and not Python 
3.1.2rc2.  There are pending fixes for py3k for OS X framework targeted builds 
and there is at least one as yet unmerged fix for 3.1.2.  At the moment, 
building any branch of Python on 10.6 and targeting earlier systems does not 
work correctly; extension module building should be OK as long as the 10.4u SDK 
is available and gcc 4.0 is used.  Until that is fixed, if you really need to 
target 10.3, you should build Python on 10.5 or 10.4, otherwise, build just for 
10.6 on 10.6 (to do so you may need to set MACOSX_DEPLOYMENT_TARGET=10.6).

--
nosy: +ned.deily

___
Python tracker mailto:rep...@bugs.python.org>>
<http://bugs.python.org/issue8126>
___________

Marc Palluat de Besset
Mac Software Engineer

email : marc.palluatdebes...@sophos.com<mailto:marc.palluatdebes...@sophos.com>
tel : +44 1235 544056
loc : E2 floor 2

SOPHOS - simply secure


Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United 
Kingdom.
Company Reg No 2096520. VAT Reg No GB 348 3873 20.

--
title: Python 3.1.2rc1 doesn't compile using the 10.4 sdk on a 10.6 Mac -> 
Python 3.1.2rc1 doesn't compile using the 10.4 sdk on a  10.6 Mac
Added file: http://bugs.python.org/file16555/unnamed

___
Python tracker 
<http://bugs.python.org/issue8126>
___




Yes, sorry for the confusion. I'm trying to build a universal 32 bit version of 
Python that will be embedded in our software. we need it to run on 10.4 to 10.6 
Mac systems, and would like to build it on a 10.6 machine. I've been trying 
with several versions
 of Python to try to achieve that ; version 3.1.1, version 3.1.2rc1 and py3k. 
None of these version would build a 10.4 compatible universal 32 bit on our 
10.6 build machine. This is why I raised an issue.


Thanks,


Marc




On 12 Mar 2010, at 21:21, Ned Deily wrote:



Ned Deily <mailto:n...@acm.org";>n...@acm.org> added the 
comment:

Note: "Python.framework/Versions/3.2/Python".
You appear to be building from py3k (which will become 3.2), and not Python 
3.1.2rc2.  There are pending fixes for py3k for OS X framework targeted 
builds and there is at least one as yet unmerged fix for 3.1.2.  At the 
moment, building any branch of Python
 on 10.6 and targeting earlier systems does not work correctly; extension 
module building should be OK as long as the 10.4u SDK is available and gcc 4.0 
is used.  Until that is fixed, if you really need to target 10.3, you 
should build Python on 10.5 or 10.4,
 otherwise, build just for 10.6 on 10.6 (to do so you may need to set 
MACOSX_DEPLOYMENT_TARGET=10.6).

--
nosy: +ned.deily

___
Python tracker <mailto:rep...@bugs.python.org";>rep...@bugs.python.org>
<http://bugs.python.org/issue8126";>http://bugs.python.org/issue8126>
___

















Marc Palluat de 
Besset
Mac 
Software Engineer


email : mailto:marc.palluatdebes...@sophos.com";>marc.palluatdebes...@sophos.com
tel : +44 1235 
544056
loc : E2 floor 
2


SOPHOS -
 simply secure














Sophos Plc, The Pentagon, Abingdon 
Science Park, Abingdon, OX14 3YP, United Kingdom.
Company Reg No 2096520. VAT Reg No GB 348 3873 20.



___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9197] subprocess module causing crash

2010-07-08 Thread Palluat de Besset

Changes by Palluat de Besset :


--
assignee: ronaldoussoren
components: Macintosh
nosy: mpalluat, ronaldoussoren
priority: normal
severity: normal
status: open
title: subprocess module causing crash
type: crash
versions: Python 3.1

___
Python tracker 
<http://bugs.python.org/issue9197>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9197] subprocess module causing crash

2010-07-08 Thread Palluat de Besset

New submission from Palluat de Besset :

there is a crash log inside the archive

--
Added file: http://bugs.python.org/file17898/OSDP2.zip

___
Python tracker 
<http://bugs.python.org/issue9197>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9197] subprocess module causing crash

2010-07-08 Thread Palluat de Besset

Palluat de Besset  added the comment:

Hi Ronald,

Thank you for looking into it, and sorry for the misleading title.

You will find a crash log and some instructions on how to reproduce the problem 
inside the archive.

Thanks,

Marc

On 8 Jul 2010, at 10:18, Ronald Oussoren wrote:

Ronald Oussoren mailto:ronaldousso...@mac.com>> added 
the comment:

The title is somewhat misleading, this is a C program that uses dlopen to load 
the python framework.

I will look into this, but it is just as likely that code that loads or uses 
the python framework has a problem.

--

___
Python tracker mailto:rep...@bugs.python.org>>
<http://bugs.python.org/issue9197>
_______

Marc Palluat de Besset
Mac Software Engineer

email : marc.palluatdebes...@sophos.com<mailto:marc.palluatdebes...@sophos.com>
tel : +44 1235 544056
loc : E2 floor 2

SOPHOS - simply secure


Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United 
Kingdom.
Company Reg No 2096520. VAT Reg No GB 348 3873 20.

--
Added file: http://bugs.python.org/file17899/unnamed

___
Python tracker 
<http://bugs.python.org/issue9197>
___




Hi Ronald,


Thank you for looking into it, and sorry for the misleading title.


You will find a crash log and some instructions on how to reproduce the 
problem inside the archive.


Thanks,


Marc




On 8 Jul 2010, at 10:18, Ronald Oussoren wrote:



Ronald Oussoren <mailto:ronaldousso...@mac.com";>ronaldousso...@mac.com> added the 
comment:

The title is somewhat misleading, this is a C program that uses dlopen to load 
the python framework.


I will look into this, but it is just as likely that code that loads or uses 
the python framework has a problem.

--

___
Python tracker <mailto:rep...@bugs.python.org";>rep...@bugs.python.org>
<http://bugs.python.org/issue9197";>http://bugs.python.org/issue9197>
_______

















Marc Palluat de 
Besset
Mac 
Software Engineer


email : mailto:marc.palluatdebes...@sophos.com";>marc.palluatdebes...@sophos.com
tel : +44 1235 
544056
loc : E2 floor 
2


SOPHOS -
 simply secure















Sophos Plc, The Pentagon, Abingdon 
Science Park, Abingdon, OX14 3YP, United Kingdom.
Company Reg No 2096520. VAT Reg No GB 348 3873 20.



___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com