Gentoo Archives: gentoo-user

From: tastytea <gentoo@××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] dev-lang/php-7.4.21-r1::gentoo failed (compile phase)
Date: Sat, 17 Jul 2021 21:30:20
Message-Id: 20210717233010.0b950331@ventiloplattform.tastytea.de
In Reply to: [gentoo-user] dev-lang/php-7.4.21-r1::gentoo failed (compile phase) by thelma@sys-concept.com
1 On 2021-07-17 15:13-0600 thelma@×××××××××××.com wrote:
2
3 > On of my system is giving me an error when compiling php
4 >
5 > In file included from /usr/include/libxml2/libxml/parser.h:812,
6 > from
7 > /var/tmp/portage/dev-lang/php-7.4.21-r1/work/sapis-build/cli/ext/libxml/libxml.c:34:
8 > /usr/include/libxml2/libxml/encoding.h:31:10: fatal error:
9 > unicode/ucnv.h: No such file or directory 31 | #include
10 > <unicode/ucnv.h> | ^~~~~~~~~~~~~~~~ compilation terminated.
11 > make: *** [Makefile:461: ext/libxml/libxml.lo] Error 1
12 > make: *** Waiting for unfinished jobs....
13 > * ERROR: dev-lang/php-7.4.21-r1::gentoo failed (compile phase):
14
15 /usr/include/unicode/ucnv.h belongs to dev-libs/icu. It looks like
16 dev-libs/libxml2 needs it even if it is installed with USE="-icu". Could
17 you report the bug on <https://bugs.gentoo.org/>?
18
19 As a workaround, re-install dev-libs/libxml2 with USE="icu".
20
21 Kind regards, tastytea
22
23 --
24 Get my PGP key with `gpg --locate-keys tastytea@××××××××.de` or at
25 <https://tastytea.de/tastytea.asc>.

Replies