Opened 2 years ago

Closed 19 months ago

#66257 closed defect (fixed)

appstream-glib fails to build on 10.6.8: error: ‘AsNodeData’ has no member named ‘tag’, ‘root’, ‘name’

Reported by: barracuda156 Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: snowleopard Cc:
Port: appstream-glib

Description

../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c: In function ‘as_node_new’:
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:77: error: ‘AsNodeData’ has no member named ‘tag’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:80: error: ‘AsNodeData’ has no member named ‘root’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:81: error: ‘AsNodeData’ has no member named ‘root’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:85: error: ‘AsNodeData’ has no member named ‘root’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:89: error: ‘AsNodeData’ has no member named ‘root’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c: In function ‘as_node_attr_insert’:
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:121: error: ‘AsNodeData’ has no member named ‘root’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c: In function ‘as_node_destroy_node_cb’:
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:160: error: ‘AsNodeData’ has no member named ‘name’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:161: error: ‘AsNodeData’ has no member named ‘name’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:163: error: ‘AsNodeData’ has no member named ‘root’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:164: error: ‘AsNodeData’ has no member named ‘root’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:165: error: ‘AsNodeData’ has no member named ‘root’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:166: error: ‘AsNodeData’ has no member named ‘root’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:168: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:169: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c: In function ‘as_node_cdata_to_heap’:
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:232: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:232: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c: In function ‘as_node_cdata_to_intern’:
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:239: error: ‘AsNodeData’ has no member named ‘root’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:243: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:244: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:245: error: ‘AsNodeData’ has no member named ‘cdata_const’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c: In function ‘as_node_cdata_to_raw’:
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:256: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:260: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:261: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:262: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c: In function ‘as_node_cdata_to_escaped’:
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:273: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:275: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:276: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:277: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:278: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:279: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:283: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c: In function ‘as_tag_data_get_name’:
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:344: error: ‘AsNodeData’ has no member named ‘tag’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:345: error: ‘AsNodeData’ has no member named ‘name’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c: In function ‘as_node_data_set_name’:
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:358: error: ‘AsNodeData’ has no member named ‘root’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:359: error: ‘AsNodeData’ has no member named ‘name_const’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:363: error: ‘AsNodeData’ has no member named ‘name’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:364: error: ‘AsNodeData’ has no member named ‘tag’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:370: error: ‘AsNodeData’ has no member named ‘name’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c: In function ‘as_node_to_xml_string’:
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:451: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:451: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:459: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c: In function ‘as_node_end_element_cb’:
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:689: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:692: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:693: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:700: error: ‘AsNodeData’ has no member named ‘tag’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c: In function ‘as_node_text_cb’:
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:755: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:763: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:768: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:771: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:772: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:773: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:788: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:792: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c: In function ‘as_node_set_name’:
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:1163: error: ‘AsNodeData’ has no member named ‘name’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:1164: error: ‘AsNodeData’ has no member named ‘name’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c: In function ‘as_node_get_data_as_refstr’:
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:1189: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:1189: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:1192: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c: In function ‘as_node_get_tag’:
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:1255: error: ‘AsNodeData’ has no member named ‘tag’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c: In function ‘as_node_set_data’:
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:1283: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c: In function ‘as_node_insert’:
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:1614: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:1616: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c: In function ‘as_node_insert_localized’:
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:1677: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:1680: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:1703: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:1706: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c: In function ‘as_node_insert_hash’:
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:1749: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c: In function ‘as_node_get_localized’:
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:1797: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:1807: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c: In function ‘as_node_get_localized_unwrap_type_li’:
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:1910: error: ‘AsNodeData’ has no member named ‘tag’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:1914: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:1917: error: ‘AsNodeData’ has no member named ‘tag’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:1917: error: ‘AsNodeData’ has no member named ‘tag’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:1918: error: ‘AsNodeData’ has no member named ‘tag’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:1934: error: ‘AsNodeData’ has no member named ‘tag’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:1938: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:1950: error: ‘AsNodeData’ has no member named ‘tag’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c: In function ‘as_node_get_localized_unwrap_type_ul’:
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:1998: error: ‘AsNodeData’ has no member named ‘tag’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:2002: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:2005: error: ‘AsNodeData’ has no member named ‘tag’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:2005: error: ‘AsNodeData’ has no member named ‘tag’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:2010: error: ‘AsNodeData’ has no member named ‘tag’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:2014: error: ‘AsNodeData’ has no member named ‘cdata’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:2021: error: ‘AsNodeData’ has no member named ‘name’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c: In function ‘as_node_fix_locale_full’:
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:2056: error: ‘AsNodeData’ has no member named ‘root’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c: In function ‘as_node_get_localized_unwrap’:
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:2150: error: ‘AsNodeData’ has no member named ‘tag’
../hughsie-appstream-glib-89eb126/libappstream-glib/as-node.c:2150: error: ‘AsNodeData’ has no member named ‘tag’

Change History (4)

comment:1 Changed 19 months ago by rmottola (Riccardo)

I have the same issue on 10.5

https://trac.macports.org/ticket/66711

comment:2 Changed 19 months ago by rmottola (Riccardo)

building with macports-gcc-7 works for me

comment:3 in reply to:  2 Changed 19 months ago by barracuda156

Replying to rmottola:

building with macports-gcc-7 works for me

Does anyone know whether we should blacklist old compilers or set C standard?

Last edited 19 months ago by barracuda156 (previous) (diff)

comment:4 Changed 19 months ago by barracuda156

Resolution: fixed
Status: assignedclosed

In 094a5d80aea1b5bfc459bc984bb4380920110791/macports-ports (master):

appstream-glib: fix the build on <10.7

Fixes: #66257

Note: See TracTickets for help on using tickets.