[redland-dev] [Raptor RDF Syntax Library 0000456]: raptor-2.0.3 fails to build against yajl-2.0.2 API
Mantis Bug Tracker
mantis-bug-sender at librdf.org
Fri Jul 15 00:15:30 CEST 2011
The following issue has been SUBMITTED.
======================================================================
http://bugs.librdf.org/mantis/view.php?id=456
======================================================================
Reported By: ssuominen
Assigned To:
======================================================================
Project: Raptor RDF Syntax Library
Issue ID: 456
Category: api
Reproducibility: always
Severity: minor
Priority: high
Status: new
Syntax Name:
======================================================================
Date Submitted: 2011-07-14 22:15
Last Modified: 2011-07-14 22:15
======================================================================
Summary: raptor-2.0.3 fails to build against yajl-2.0.2 API
Description:
yajl2 has new API, thus raptor2 fails to build with following errors:
raptor_json.c:87:3: error: expected specifier-qualifier-list before
'yajl_parser_config'
raptor_json.c: In function 'raptor_json_reset_term':
raptor_json.c:111:13: error: 'raptor_json_parser_context' has no member named
'term_value'
raptor_json.c:112:5: error: 'raptor_json_parser_context' has no member named
'term_value'
raptor_json.c:113:13: error: 'raptor_json_parser_context' has no member named
'term_lang'
raptor_json.c:114:5: error: 'raptor_json_parser_context' has no member named
'term_lang'
raptor_json.c:115:13: error: 'raptor_json_parser_context' has no member named
'term_datatype'
raptor_json.c:116:5: error: 'raptor_json_parser_context' has no member named
'term_datatype'
raptor_json.c:118:10: error: 'raptor_json_parser_context' has no member named
'term_value'
raptor_json.c:119:10: error: 'raptor_json_parser_context' has no member named
'term_lang'
raptor_json.c:120:10: error: 'raptor_json_parser_context' has no member named
'term_datatype'
raptor_json.c:121:10: error: 'raptor_json_parser_context' has no member named
'term_type'
raptor_json.c:122:10: error: 'raptor_json_parser_context' has no member named
'attrib'
raptor_json.c: In function 'raptor_json_generate_term':
raptor_json.c:172:14: error: 'raptor_json_parser_context' has no member named
'term_value'
raptor_json.c:177:17: error: 'raptor_json_parser_context' has no member named
'term_type'
raptor_json.c:179:66: error: 'raptor_json_parser_context' has no member named
'term_value'
raptor_json.c:181:82: error: 'raptor_json_parser_context' has no member named
'term_value'
raptor_json.c:190:17: error: 'raptor_json_parser_context' has no member named
'term_datatype'
raptor_json.c:191:65: error: 'raptor_json_parser_context' has no member named
'term_datatype'
raptor_json.c:193:69: error: 'raptor_json_parser_context' has no member named
'term_value'
raptor_json.c:193:104: error: 'raptor_json_parser_context' has no member named
'term_lang'
raptor_json.c:199:39: error: 'raptor_json_parser_context' has no member named
'term_value'
raptor_json.c: In function 'raptor_json_yajl_string':
raptor_json.c:250:13: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c:251:14: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c:252:19: error: 'raptor_json_parser_context' has no member named
'attrib'
raptor_json.c:254:16: error: 'raptor_json_parser_context' has no member named
'term_value'
raptor_json.c:257:16: error: 'raptor_json_parser_context' has no member named
'term_lang'
raptor_json.c:261:18: error: 'raptor_json_parser_context' has no member named
'term_type'
raptor_json.c:263:18: error: 'raptor_json_parser_context' has no member named
'term_type'
raptor_json.c:265:18: error: 'raptor_json_parser_context' has no member named
'term_type'
raptor_json.c:268:18: error: 'raptor_json_parser_context' has no member named
'term_type'
raptor_json.c:274:16: error: 'raptor_json_parser_context' has no member named
'term_datatype'
raptor_json.c: In function 'raptor_json_yajl_map_key':
raptor_json.c:295:13: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c:297:14: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c:300:17: error: 'raptor_json_parser_context' has no member named
'statement'
raptor_json.c:301:33: error: 'raptor_json_parser_context' has no member named
'statement'
raptor_json.c:302:14: error: 'raptor_json_parser_context' has no member named
'statement'
raptor_json.c:303:18: error: 'raptor_json_parser_context' has no member named
'statement'
raptor_json.c:305:14: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c:308:20: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c:309:15: error: 'raptor_json_parser_context' has no member named
'statement'
raptor_json.c:310:31: error: 'raptor_json_parser_context' has no member named
'statement'
raptor_json.c:311:12: error: 'raptor_json_parser_context' has no member named
'statement'
raptor_json.c:312:16: error: 'raptor_json_parser_context' has no member named
'statement'
raptor_json.c:315:20: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c:317:14: error: 'raptor_json_parser_context' has no member named
'term'
raptor_json.c:320:14: error: 'raptor_json_parser_context' has no member named
'term'
raptor_json.c:323:14: error: 'raptor_json_parser_context' has no member named
'term'
raptor_json.c:329:20: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c:330:21: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c:332:14: error: 'raptor_json_parser_context' has no member named
'attrib'
raptor_json.c:335:14: error: 'raptor_json_parser_context' has no member named
'attrib'
raptor_json.c:338:14: error: 'raptor_json_parser_context' has no member named
'attrib'
raptor_json.c:341:14: error: 'raptor_json_parser_context' has no member named
'attrib'
raptor_json.c:344:14: error: 'raptor_json_parser_context' has no member named
'attrib'
raptor_json.c: In function 'raptor_json_yajl_start_map':
raptor_json.c:361:13: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c:362:12: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c:364:20: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c:365:12: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c:367:20: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c:368:12: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c:370:20: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c:371:36: error: 'raptor_json_parser_context' has no member named
'statement'
raptor_json.c:372:12: error: 'raptor_json_parser_context' has no member named
'term'
raptor_json.c:373:12: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c:375:20: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c:376:12: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c: In function 'raptor_json_yajl_end_map':
raptor_json.c:392:13: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c:393:12: error: 'raptor_json_parser_context' has no member named
'statement'
raptor_json.c:394:16: error: 'raptor_json_parser_context' has no member named
'statement'
raptor_json.c:398:69: error: 'raptor_json_parser_context' has no member named
'statement'
raptor_json.c:400:29: error: 'raptor_json_parser_context' has no member named
'statement'
raptor_json.c:401:12: error: 'raptor_json_parser_context' has no member named
'statement'
raptor_json.c:404:12: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c:406:20: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c:407:12: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c:409:20: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c:415:19: error: 'raptor_json_parser_context' has no member named
'term'
raptor_json.c:417:19: error: 'raptor_json_parser_context' has no member named
'statement'
raptor_json.c:418:35: error: 'raptor_json_parser_context' has no member named
'statement'
raptor_json.c:419:16: error: 'raptor_json_parser_context' has no member named
'statement'
raptor_json.c:422:19: error: 'raptor_json_parser_context' has no member named
'statement'
raptor_json.c:423:35: error: 'raptor_json_parser_context' has no member named
'statement'
raptor_json.c:424:16: error: 'raptor_json_parser_context' has no member named
'statement'
raptor_json.c:427:19: error: 'raptor_json_parser_context' has no member named
'statement'
raptor_json.c:428:35: error: 'raptor_json_parser_context' has no member named
'statement'
raptor_json.c:429:16: error: 'raptor_json_parser_context' has no member named
'statement'
raptor_json.c:437:12: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c:440:20: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c:441:16: error: 'raptor_json_parser_context' has no member named
'statement'
raptor_json.c:444:23: error: 'raptor_json_parser_context' has no member named
'statement'
raptor_json.c:447:23: error: 'raptor_json_parser_context' has no member named
'statement'
raptor_json.c:452:71: error: 'raptor_json_parser_context' has no member named
'statement'
raptor_json.c:454:36: error: 'raptor_json_parser_context' has no member named
'statement'
raptor_json.c:455:12: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c:457:20: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c:458:12: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c:460:20: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c:461:12: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c: In function 'raptor_json_yajl_start_array':
raptor_json.c:475:13: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c:476:12: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c:478:20: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c:479:12: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c: In function 'raptor_json_yajl_end_array':
raptor_json.c:493:13: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c:494:12: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c:496:20: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c:497:12: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c: At top level:
raptor_json.c:525:3: warning: initialization from incompatible pointer type
raptor_json.c:526:3: warning: initialization from incompatible pointer type
raptor_json.c:534:3: warning: initialization from incompatible pointer type
raptor_json.c:537:3: warning: initialization from incompatible pointer type
raptor_json.c:539:3: warning: initialization from incompatible pointer type
raptor_json.c: In function 'raptor_json_parse_init':
raptor_json.c:562:33: error: 'raptor_json_parser_context' has no member named
'statement'
raptor_json.c:565:10: error: 'raptor_json_parser_context' has no member named
'config'
raptor_json.c:566:10: error: 'raptor_json_parser_context' has no member named
'config'
raptor_json.c: In function 'raptor_json_parse_terminate':
raptor_json.c:583:13: error: 'raptor_json_parser_context' has no member named
'handle'
raptor_json.c:584:22: error: 'raptor_json_parser_context' has no member named
'handle'
raptor_json.c:587:34: error: 'raptor_json_parser_context' has no member named
'statement'
raptor_json.c: In function 'raptor_json_parse_chunk':
raptor_json.c:603:32: error: 'raptor_json_parser_context' has no member named
'handle'
raptor_json.c:606:19: error: 'yajl_status_insufficient_data' undeclared (first
use in this function)
raptor_json.c:606:19: note: each undeclared identifier is reported only once for
each function it appears in
raptor_json.c:608:51: error: 'raptor_json_parser_context' has no member named
'handle'
raptor_json.c:611:30: error: 'raptor_json_parser_context' has no member named
'handle'
raptor_json.c:617:41: error: 'raptor_json_parser_context' has no member named
'handle'
raptor_json.c:621:51: error: 'raptor_json_parser_context' has no member named
'handle'
raptor_json.c:624:30: error: 'raptor_json_parser_context' has no member named
'handle'
raptor_json.c:628:36: error: 'raptor_json_parser_context' has no member named
'statement'
raptor_json.c: In function 'raptor_json_parse_start':
raptor_json.c:641:13: error: 'raptor_json_parser_context' has no member named
'handle'
raptor_json.c:642:22: error: 'raptor_json_parser_context' has no member named
'handle'
raptor_json.c:645:10: error: 'raptor_json_parser_context' has no member named
'handle'
raptor_json.c:647:13: error: 'raptor_json_parser_context' has no member named
'config'
raptor_json.c:650:3: error: too many arguments to function 'yajl_alloc'
/usr/include/yajl/yajl_parse.h:107:26: note: declared here
raptor_json.c:652:14: error: 'raptor_json_parser_context' has no member named
'handle'
raptor_json.c:658:10: error: 'raptor_json_parser_context' has no member named
'state'
raptor_json.c:660:34: error: 'raptor_json_parser_context' has no member named
'statement'
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
-DLIBRDFA_IN_RAPTOR -I../librdfa -DRAPTOR_INTERNAL=1 -I/usr/include/libxml2
-I/usr/include/libxml2 -march=core2 -mtune=generic -msse4.1 -msse4.2 -O2 -pipe
-c raptor_serialize_rdfxml.c -fPIC -DPIC -o .libs/raptor_serialize_rdfxml.o
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
-DLIBRDFA_IN_RAPTOR -I../librdfa -DRAPTOR_INTERNAL=1 -I/usr/include/libxml2
-I/usr/include/libxml2 -march=core2 -mtune=generic -msse4.1 -msse4.2 -O2 -pipe
-c raptor_serialize_ntriples.c -fPIC -DPIC -o .libs/raptor_serialize_ntriples.o
make[2]: *** [raptor_json.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
-DLIBRDFA_IN_RAPTOR -I../librdfa -DRAPTOR_INTERNAL=1 -I/usr/include/libxml2
-I/usr/include/libxml2 -march=core2 -mtune=generic -msse4.1 -msse4.2 -O2 -pipe
-c raptor_abbrev.c -fPIC -DPIC -o .libs/raptor_abbrev.o
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
-DLIBRDFA_IN_RAPTOR -I../librdfa -DRAPTOR_INTERNAL=1 -I/usr/include/libxml2
-I/usr/include/libxml2 -march=core2 -mtune=generic -msse4.1 -msse4.2 -O2 -pipe
-c raptor_serialize_rdfxmla.c -fPIC -DPIC -o .libs/raptor_serialize_rdfxmla.o
make[2]: Leaving directory
`/var/tmp/portage/media-libs/raptor-2.0.3/work/raptor2-2.0.3/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/var/tmp/portage/media-libs/raptor-2.0.3/work/raptor2-2.0.3/src'
make: *** [all-recursive] Error 1
Additional Information:
This was reported downstream here:
http://bugs.gentoo.org/show_bug.cgi?id=374365
The downstream bug has full build log available if you need it.
Looking at the errors, I found some related patches floating around:
http://web.archiveorange.com/archive/v/8XiUWCd1m7y6rxzAYbxl
Where 'unsigned int' becomes 'size_t' and 'yajl_parser_config' is no longer
used... I'm sure there are more, but I'm unable to provide working patch, sorry.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2011-07-14 22:15 ssuominen New Issue
======================================================================
More information about the redland-dev
mailing list