Opened 11 years ago
Closed 11 years ago
#41997 closed defect (fixed)
py32-imread @0.3.2: error: use of undeclared identifier 'PyUnicode_AsUTF8'
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | stromnov (Andrey Stromnov) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | Cc: | ||
Port: | py32-imread |
Description
py32-imread fails to build on the Mountain Lion buildslave:
compile options: '-DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DPY_ARRAY_UNIQUE_SYMBOL=MahotasImread_PyArray_API_Symbol -I/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/numpy/core/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m -c' clang++: imread/_imread.cpp imread/_imread.cpp:50:12: error: use of undeclared identifier 'PyUnicode_AsUTF8' return PyUnicode_AsUTF8(stro); ^ 1 error generated. imread/_imread.cpp:50:12: error: use of undeclared identifier 'PyUnicode_AsUTF8' return PyUnicode_AsUTF8(stro); ^ 1 error generated. error: Command "/usr/bin/clang++ -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DPY_ARRAY_UNIQUE_SYMBOL=MahotasImread_PyArray_API_Symbol -I/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/numpy/core/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m -c imread/_imread.cpp -o build/temp.macosx-10.8-x86_64-3.2/imread/_imread.o" failed with exit status 1 Command failed: cd "/opt/local/var/macports/build/_opt_mports_dports_python_py-imread/py32-imread/work/imread-0.3.2" && /opt/local/Library/Frameworks/Python.framework/Versions/3.2/bin/python3.2 setup.py --no-user-cfg build Exit code: 1
The other subports built fine.
Change History (1)
comment:1 Changed 11 years ago by stromnov (Andrey Stromnov)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Fixed at r115445.
Thanks!