Created attachment 282925 [details] build log dev-perl/JSON-XS-2.310.0 fails to build when perl-core/ExtUtils-ParseXS-3.20.0 is installed: # emerge JSON-XS [...] x86_64-pc-linux-gnu-gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=native -O2 -pipe -DVERSION=\"2.31\" -DXS_VERSION=\"2.31\" -fPIC "-I/usr/lib64/perl5/5.12.4/x86_64-linux-thread-multi/CORE" XS.c XS.c:1:21: error: expected ‘)’ before ‘:’ token In file included from /usr/lib64/perl5/5.12.4/x86_64-linux-thread-multi/CORE/perl.h:583:0, from XS.xs:2: /usr/include/sys/types.h:34:1: error: unknown type name ‘__u_char’ XS.c: In function ‘encode_sv’: XS.xs:789:7: warning: ignoring return value of ‘gcvt’, declared with attribute warn_unused_result [-Wunused-result] make: *** [XS.o] Error 1 emake failed Downgrading to perl-core/ExtUtils-ParseXS-2.22.06 allows Encode to build successfully. Complete build log is attached.
(In reply to comment #0) > allows Encode to build successfully. Sorry, meant "allows JSON-XS to build successfully"; typo caused by excessive copypasting.
*** This bug has been marked as a duplicate of bug 378781 ***