[New-bugs-announce] [issue3091] Can't build datetime or time on py3k (r64171)

Skip Montanaro report at bugs.python.org
Thu Jun 12 17:42:24 CEST 2008


New submission from Skip Montanaro <skip at pobox.com>:

I'm fully up-to-date on my py3k branch (r64171).  After a make clean I
find that I can't build either the time or datetime modules.  Here are
errors from gcc:

building 'time' extension
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -I. -I/Users/skip/src/python/py3k/./Include
-I/Users/skip/local/include -I. -IInclude -I./Include
-I/opt/local/include -I/Users/skip/src/python/py3k/Include
-I/Users/skip/src/python/py3k -c
/Users/skip/src/python/py3k/Modules/strftime.c -o
build/temp.macosx-10.3-i386-3.0/Users/skip/src/python/py3k/Modules/strftime.o
/Users/skip/src/python/py3k/Modules/strftime.c: In function '_fmt':
/Users/skip/src/python/py3k/Modules/strftime.c:377: error: 'tm'
undeclared (first use in this function)
/Users/skip/src/python/py3k/Modules/strftime.c:377: error: (Each
undeclared identifier is reported only once
/Users/skip/src/python/py3k/Modules/strftime.c:377: error: for each
function it appears in.)
building 'datetime' extension
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -I. -I/Users/skip/src/python/py3k/./Include
-I/Users/skip/local/include -I. -IInclude -I./Include
-I/opt/local/include -I/Users/skip/src/python/py3k/Include
-I/Users/skip/src/python/py3k -c
/Users/skip/src/python/py3k/Modules/strftime.c -o
build/temp.macosx-10.3-i386-3.0/Users/skip/src/python/py3k/Modules/strftime.o
/Users/skip/src/python/py3k/Modules/strftime.c: In function '_fmt':
/Users/skip/src/python/py3k/Modules/strftime.c:377: error: 'tm'
undeclared (first use in this function)
/Users/skip/src/python/py3k/Modules/strftime.c:377: error: (Each
undeclared identifier is reported only once
/Users/skip/src/python/py3k/Modules/strftime.c:377: error: for each
function it appears in.)

The environment is Mac OS X 10.5.3.

Assigning to Barry since we're so close to beta.

Skip

----------
assignee: barry
messages: 68069
nosy: barry, skip.montanaro
severity: normal
status: open
title: Can't build datetime or time on py3k (r64171)
versions: Python 3.0

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3091>
_______________________________________


More information about the New-bugs-announce mailing list