[MacPorts] #23429: py25-pyicu 0.8.1 compile error - build failure: 'URES_TABLE32' was not declared in this scope
#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: | Port: ----------------------------------+----------------------------------------- (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. -- Ticket URL: <http://trac.macports.org/ticket/23429> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#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 ----------------------------------+----------------------------------------- Comment(by gunnlaugur@…): Whoops, thanks! Sadly that site seems to enjoy better google juice (possibly because macports.org does not have an info page for each port?), and I never noticed that it was something other than just a duplicate name. This must be tripping up a lot of people. -- Ticket URL: <http://trac.macports.org/ticket/23429#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 ----------------------------------+----------------------------------------- Comment(by brendan2332@…): The comment for the attachment "Portfile-fix-ticket-23429.patch" references a needed patch file in "next attachment". Where is this attachment? Thanks. -- Ticket URL: <http://trac.macports.org/ticket/23429#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 ----------------------------------+----------------------------------------- Comment(by gunnlaugur@…): The file [https://trac.macports.org/attachment/ticket/23429/patch-fix- ticket-23429 patch-fix-ticket-23429] is the right one, please excuse the extra attachments. (This was browser testing gone wrong; I got sidetracked when filing this ticket because my Google Chrome failed to upload attachments to Trac, went off troubleshooting that and then forgot to come back here; then I filed the extraneous attachments just now, erroneously expecting the uploads to fail. Whoops.) -- Ticket URL: <http://trac.macports.org/ticket/23429#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: fixed | Keywords: haspatch Port: py25-pyicu | -----------------------------------+---------------------------------------- Changes (by snc@…): * status: new => closed * resolution: => fixed Comment: Fixed in r70901. -- Ticket URL: <http://trac.macports.org/ticket/23429#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts