Updating system profile to 17.0 and pyicu failed to rebuild: In file included from /usr/include/python3.5m/Python.h:77:0, from common.h:33, from common.cpp:24: common.cpp: In function ‘PyObject* PyUnicode_FromUnicodeString(const UChar*, int)’: /usr/include/python3.5m/unicodeobject.h:468:35: error: invalid conversion from ‘Py_UCS2* {aka short unsigned int*}’ to ‘UChar* {aka char16_t*}’ [-fpermissive] #define PyUnicode_2BYTE_DATA(op) ((Py_UCS2*)PyUnicode_DATA(op)) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common.cpp:226:22: note: in expansion of macro ‘PyUnicode_2BYTE_DATA’ u_memcpy(PyUnicode_2BYTE_DATA(result), utf16, len16); ^~~~~~~~~~~~~~~~~~~~ An attempt at rebuilding after all other packages were rebuilt also failed. Reproducible: Always
I suspect this may be a result of building against dev-libs/icu-60.2. The problem is not reproducible with a combination of icu 60.2 and pyicu 1.9.7.
Please attach the *entire* build log to this bug report.
(In reply to Jeroen Roovers from comment #2) > Please attach the *entire* build log to this bug report. This isn't a bug in the code that needs to be resolved by Gentoo. Support for 59.1 was added upstream in 1.9.7. The package just needs DEPENDS fixed. See: https://github.com/ovalhub/pyicu/blob/master/CHANGES
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4ee51adbe1c7c3ae14cb85a331c747f2b85cee0 commit e4ee51adbe1c7c3ae14cb85a331c747f2b85cee0 Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2018-01-17 10:00:42 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2018-01-17 10:01:33 +0000 dev-python/pyicu-1.9.5: add upper limit on dev-libs/icu version Support for 59.1 was only added in 1.9.7, for 60.1 - in 1.9.8. Closes: https://bugs.gentoo.org/644806 Package-Manager: Portage-2.3.13, Repoman-2.3.3 dev-python/pyicu/pyicu-1.9.5.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)