from locale.cpp:24: /usr/include/features.h:166:0: note: this is the location of the previous definition # define _XOPEN_SOURCE 700 ^ x86_64-pc-linux-gnu-g++ -march=core-avx-i -O2 -pipe -fPIC -I/usr/include/python2.7 -c regex.cpp -o /var/tmp/portage/dev-python/pyicu-1.9.3-r1/work/PyICU-1.9.3-python2_7/build/temp.linux-x86_64-2.7/regex.o -DPYICU_VER="1.9.3" x86_64-pc-linux-gnu-g++ -march=core-avx-i -O2 -pipe -fPIC -I/usr/include/python2.7 -c unicodeset.cpp -o /var/tmp/portage/dev-python/pyicu-1.9.3-r1/work/PyICU-1.9.3-python2_7/build/temp.linux-x86_64-2.7/unicodeset.o -DPYICU_VER="1.9.3" x86_64-pc-linux-gnu-g++ -march=core-avx-i -O2 -pipe -fPIC -I/usr/include/python2.7 -c script.cpp -o /var/tmp/portage/dev-python/pyicu-1.9.3-r1/work/PyICU-1.9.3-python2_7/build/temp.linux-x86_64-2.7/script.o -DPYICU_VER="1.9.3" In file included from /usr/include/python2.7/Python.h:8:0, from common.h:33, from script.cpp:27: /usr/include/python2.7/pyconfig.h:1193:0: warning: "_POSIX_C_SOURCE" redefined #define _POSIX_C_SOURCE 200112L ^ In file included from /usr/include/stdlib.h:24:0, from script.cpp:24: /usr/include/features.h:225:0: note: this is the location of the previous definition # define _POSIX_C_SOURCE 200809L ^ In file included from /usr/include/python2.7/Python.h:8:0, from common.h:33, from script.cpp:27: /usr/include/python2.7/pyconfig.h:1215:0: warning: "_XOPEN_SOURCE" redefined #define _XOPEN_SOURCE 600 ^ In file included from /usr/include/stdlib.h:24:0, from script.cpp:24: /usr/include/features.h:166:0: note: this is the location of the previous definition # define _XOPEN_SOURCE 700 ^ x86_64-pc-linux-gnu-g++ -march=core-avx-i -O2 -pipe -fPIC -I/usr/include/python2.7 -c format.cpp -o /var/tmp/portage/dev-python/pyicu-1.9.3-r1/work/PyICU-1.9.3-python2_7/build/temp.linux-x86_64-2.7/format.o -DPYICU_VER="1.9.3" x86_64-pc-linux-gnu-g++ -march=core-avx-i -O2 -pipe -fPIC -I/usr/include/python2.7 -c dateformat.cpp -o /var/tmp/portage/dev-python/pyicu-1.9.3-r1/work/PyICU-1.9.3-python2_7/build/temp.linux-x86_64-2.7/dateformat.o -DPYICU_VER="1.9.3" x86_64-pc-linux-gnu-g++ -march=core-avx-i -O2 -pipe -fPIC -I/usr/include/python2.7 -c layoutengine.cpp -o /var/tmp/portage/dev-python/pyicu-1.9.3-r1/work/PyICU-1.9.3-python2_7/build/temp.linux-x86_64-2.7/layoutengine.o -DPYICU_VER="1.9.3" layoutengine.cpp:27:33: fatal error: layout/LayoutEngine.h: No such file or directory compilation terminated. error: command 'x86_64-pc-linux-gnu-g++' failed with exit status 1 * ERROR: dev-python/pyicu-1.9.3-r1::gentoo failed (compile phase): * (no error message) * * Call stack: Reproducible: Always Portage 2.3.2 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-5.4.0, glibc-2.23-r2, 4.8.6-gentoo x86_64) ================================================================= System uname: Linux-4.8.6-gentoo-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.3 KiB Mem: 24626132 total, 23204232 free KiB Swap: 26488828 total, 26488828 free Timestamp of repository gentoo: Mon, 07 Nov 2016 04:00:01 +0000 Timestamp of repository poly-c: Sun, 06 Nov 2016 03:25:23 +0000 sh bash 4.4-r1 ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1 app-shells/bash: 4.4-r1::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.24.0-r2::gentoo dev-lang/python: 2.7.12::gentoo, 3.4.5::gentoo, 3.5.2::gentoo dev-util/cmake: 3.6.3::gentoo dev-util/pkgconfig: 0.29.1::gentoo sys-apps/baselayout: 2.3::gentoo sys-apps/openrc: 0.22.3::gentoo sys-apps/sandbox: 2.10-r2::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r2::gentoo sys-devel/automake: 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo sys-devel/binutils: 2.26.1::gentoo sys-devel/gcc: 5.4.0::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r2::gentoo sys-devel/make: 4.2.1::gentoo sys-kernel/linux-headers: 4.7::gentoo (virtual/os-headers) sys-libs/glibc: 2.23-r2::gentoo Repositories:
Created attachment 452560 [details] /mnt/portage/logs/dev-python:pyicu-1.9.3-r1:20161107-043641.log
*** Bug 599132 has been marked as a duplicate of this bug. ***
Same here.
Created attachment 452634 [details] emerge --info dev-python/pyicu
Created attachment 452636 [details] /var/tmp/portage/dev-python/pyicu-1.9.3-r1/temp/build.log
icu-58.1 entirely dropped the layoutengine part: http://userguide.icu-project.org/layoutengine The replacement engine can be added through installation of dev-libs/icu-le-hb but unfortunately that package changes header location so pyicu will still fail to find the header(s).
Thanks for the report. Looks like upstream has fixed this 1.9.4, I'll have a look at it in the next couple of days.
(In reply to Marek Szuba from comment #7) > Thanks for the report. Looks like upstream has fixed this 1.9.4, I'll have a > look at it in the next couple of days. Is there not any patch?
Turns out icu-58.1 support in 1.9.4 is not complete yet because it still tries to link against libicule, even when not needed. I have backported a couple of commits from upstream master which address the problem and now all seems to be well. Tested on amd64 with PYTHON_TARGETS="python2_7 python3_4 python3_5", with dev-libs/icu at both 57.1 (i.e. current stable) and 58.1.