Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 378789 - dev-perl/JSON-XS-2.310.0 fails to build with perl-core/ExtUtils-ParseXS-3.20.0
Summary: dev-perl/JSON-XS-2.310.0 fails to build with perl-core/ExtUtils-ParseXS-3.20.0
Status: RESOLVED DUPLICATE of bug 378781
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-11 14:50 UTC by Alexandre Rostovtsev (RETIRED)
Modified: 2011-08-11 15:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (JSON-XS-2.310.0.build.log,3.04 KB, text/plain)
2011-08-11 14:50 UTC, Alexandre Rostovtsev (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-08-11 14:50:40 UTC
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.
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-08-11 14:52:29 UTC
(In reply to comment #0)
> allows Encode to build successfully.

Sorry, meant "allows JSON-XS to build successfully"; typo caused by excessive copypasting.
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-08-11 15:00:12 UTC

*** This bug has been marked as a duplicate of bug 378781 ***