Opened 4 weeks ago

Last modified 4 weeks ago

#74587 assigned defect

libplist @2.8.0_0: error: use of undeclared identifier 'PLIST_OPT_COERCE' / call to undeclared function 'plist_to_json_with_options'

Reported by: kwolcott Owned by: JacksonIsaac (Jackson Isaac)
Priority: Normal Milestone:
Component: ports Version: 2.12.6
Keywords: goldengate Cc: i0ntempest
Port: libplist

Description

:info:build plistutil.c:452:60: error: use of undeclared identifier 'PLIST_OPT_COERCE'
:info:build   452 |                 if (options->flags & OPT_COERCE) wropts |= PLIST_OPT_COERCE;
:info:build       |                                                            ^~~~~~~~~~~~~~~~
:info:build plistutil.c:453:30: error: call to undeclared function 'plist_to_json_with_options'; ISO C99 and later do not support implicit
function declarations [-Wimplicit-function-declaration]
:info:build   453 |                 output_res = plist_to_json_with_options(root_node, &plist_out, &size, wropts);
:info:build       |                              ^
:info:build plistutil.c:457:60: error: use of undeclared identifier 'PLIST_OPT_COERCE'
:info:build   457 |                 if (options->flags & OPT_COERCE) wropts |= PLIST_OPT_COERCE;
:info:build       |                                                            ^~~~~~~~~~~~~~~~
:info:build plistutil.c:458:30: error: call to undeclared function 'plist_to_openstep_with_options'; ISO C99 and later do not support impli
cit function declarations [-Wimplicit-function-declaration]
:info:build   458 |                 output_res = plist_to_openstep_with_options(root_node, &plist_out, &size, wropts);
:info:build       |                              ^
:info:build plistutil.c:499:18: error: use of undeclared identifier 'PLIST_ERR_CIRCULAR_REF'
:info:build   499 |             case PLIST_ERR_CIRCULAR_REF:
:info:build       |                  ^~~~~~~~~~~~~~~~~~~~~~
:info:build plistutil.c:503:18: error: use of undeclared identifier 'PLIST_ERR_MAX_NESTING'
:info:build   503 |             case PLIST_ERR_MAX_NESTING:
:info:build       |                  ^~~~~~~~~~~~~~~~~~~~~
:info:build plistutil.c:526:18: error: use of undeclared identifier 'PLIST_ERR_CIRCULAR_REF'
:info:build   526 |             case PLIST_ERR_CIRCULAR_REF:
:info:build       |                  ^~~~~~~~~~~~~~~~~~~~~~
:info:build plistutil.c:530:18: error: use of undeclared identifier 'PLIST_ERR_MAX_NESTING'
:info:build   530 |             case PLIST_ERR_MAX_NESTING:
:info:build       |                  ^~~~~~~~~~~~~~~~~~~~~
:info:build 8 errors generated.
:info:build make[2]: *** [plistutil.o] Error 1

Attachments (1)

libplist_upgrade_failed.log.bz2​ (7.0 KB) - added by kwolcott 4 weeks ago.

Download all attachments as: .zip

Change History (2)

Changed 4 weeks ago by kwolcott

comment:1 Changed 4 weeks ago by ryandesign (Ryan Carsten Schmidt)

Cc: i0ntempest added
Keywords: goldengate added
Owner: set to JacksonIsaac
Status: new → assigned
Summary: libplist@2.8.0_0 arm64 plistutil.c:453:30: error: call to undeclared function 'plist_to_json_with_options' → libplist @2.8.0_0: error: use of undeclared identifier 'PLIST_OPT_COERCE' / call to undeclared function 'plist_to_json_with_options'
Version: → 2.12.6

We had a successful build of this on buildbot:

​https://build.macports.org/builders/ports-27_arm64-builder/builds/14694/steps/install-port/logs/main.log

I don't see any major differences between your log and ours. On your build, it used MacPorts gawk, ggrep, gmkdir, gsed, and nm, while the buildbot build used macOS built-in versions.

Note: See TracTickets for help on using tickets.