[MacPorts] #23429: py25-pyicu 0.8.1 compile error - build failure: 'URES_TABLE32' was not declared in this scope
MacPorts
noreply at macports.org
Tue Jan 26 07:00:50 PST 2010
#23429: py25-pyicu 0.8.1 compile error - build failure: 'URES_TABLE32' was not
declared in this scope
----------------------------------+-----------------------------------------
Reporter: gunnlaugur@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.2
Keywords: haspatch | Port: py25-pyicu
----------------------------------+-----------------------------------------
Changes (by macsforever2000@…):
* keywords: => haspatch
* port: => py25-pyicu
Old description:
> (The same error comes up in py26-pyicu 0.8.1)
>
> The identifier URES_TABLE32 has apparently been removed from ICU, so a
> corresponding patch on PyICU is called for, see
> [http://lists.osafoundation.org/pipermail/pyicu-
> dev/2009-August/000111.html mailing list post with such a patch].
>
> The icu version is 4.3.3_0, also installed using MacPorts. I am on Mac OS
> X 10.5.8.
>
> The salient bits of build output:
>
> {{{
> /usr/bin/gcc-4.0 -fno-strict-aliasing -mno-fused-madd -fno-common
> -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
> -DPYICU_VER="0.8.1" -I/opt/local/include
> -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5
> -c locale.cpp -o build/temp.macosx-10.5-i386-2.5/locale.o
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
> C/ObjC but not for C++
> locale.cpp: In function 'PyObject*
> t_resourcebundle_str(t_resourcebundle*)':
> locale.cpp:1006: error: 'URES_TABLE32' was not declared in this scope
> locale.cpp: In function 'void _init_locale(PyObject*)':
> locale.cpp:1039: error: 'URES_TABLE32' was not declared in this scope
> error: command '/usr/bin/gcc-4.0' failed with exit status 1
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-pyicu/work/PyICU-0.8.1"
> && /opt/local/bin/python2.5 setup.py --no-user-cfg build " returned error
> 1
> }}}
>
> Note that http://icu.darwinports.com/ says version 4.3.1 is current, but
> my MacPorts installed 4.3.3. No idea why; I did not monkey around with
> it. Dates imply that this identifier was removed between 4.3.1 and 4.3.2.
New description:
(The same error comes up in py26-pyicu 0.8.1)
The identifier URES_TABLE32 has apparently been removed from ICU, so a
corresponding patch on PyICU is called for, see
[http://lists.osafoundation.org/pipermail/pyicu-
dev/2009-August/000111.html mailing list post with such a patch].
The icu version is 4.3.3_0, also installed using MacPorts. I am on Mac OS
X 10.5.8.
The salient bits of build output:
{{{
/usr/bin/gcc-4.0 -fno-strict-aliasing -mno-fused-madd -fno-common -dynamic
-DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DPYICU_VER="0.8.1"
-I/opt/local/include
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5
-c locale.cpp -o build/temp.macosx-10.5-i386-2.5/locale.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
C/ObjC but not for C++
locale.cpp: In function 'PyObject*
t_resourcebundle_str(t_resourcebundle*)':
locale.cpp:1006: error: 'URES_TABLE32' was not declared in this scope
locale.cpp: In function 'void _init_locale(PyObject*)':
locale.cpp:1039: error: 'URES_TABLE32' was not declared in this scope
error: command '/usr/bin/gcc-4.0' failed with exit status 1
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-pyicu/work/PyICU-0.8.1"
&& /opt/local/bin/python2.5 setup.py --no-user-cfg build " returned error
1
}}}
Note that http://icu.d*rwinports.com/ says version 4.3.1 is current, but
my MacPorts installed 4.3.3. No idea why; I did not monkey around with it.
Dates imply that this identifier was removed between 4.3.1 and 4.3.2.
--
Comment:
Replying to [ticket:23429 gunnlaugur@…]:
> Note that http://icu.d*rwinports.com/ says version 4.3.1 is current, but
my MacPorts installed 4.3.3. No idea why;
Because that site (url purposely broken) has nothing to do with Macports
and contains misinformation. Please see DarwinPorts for more information.
--
Ticket URL: <http://trac.macports.org/ticket/23429#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list