Opened 6 years ago

Closed 4 years ago

#45849 closed defect (fixed)

darwinbuild: error: 'CFPropertyListCreateFromXMLData' is deprecated

Reported by: thh@… Owned by: wms@…
Priority: Normal Milestone:
Component: ports Version: 2.3.2
Keywords: yosemite elcapitan sierra haspatch Cc: Serge3leo (Serguei E. Leontiev), ryandesign (Ryan Schmidt)
Port: darwinbuild

Description

see attached file...

getting build errors wihle updating darwinbuild on 10.10

Attachments (2)

main.log (16.1 KB) - added by thh@… 6 years ago.
osx11-darwinbuild-main.log (35.3 KB) - added by Serge3leo (Serguei E. Leontiev) 5 years ago.

Download all attachments as: .zip

Change History (8)

Changed 6 years ago by thh@…

Attachment: main.log added

comment:1 Changed 6 years ago by larryv (Lawrence Velázquez)

Owner: changed from macports-tickets@… to wms@…
Port: darwinbuild added
Type: updatedefect

comment:2 Changed 6 years ago by perrog@…

I'm having the same problem, warning treated as error due to OS X 10.0

.
.
.
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h:38:19: note: 'CFPropertyListCreateFromXMLData' has been explicitly marked deprecated here
CFPropertyListRef CFPropertyListCreateFromXMLData(CFAllocatorRef allocator, CFDataRef xmlData, CFOptionFlags mutabilityOption, CFStringRef *errorString) CF_DEPRECATED(10_0, 10_10, 2_0, 8_0, "Use CFPropertyListCreateWithData instead.");
.
.
.
Last edited 5 years ago by ryandesign (Ryan Schmidt) (previous) (diff)

comment:3 Changed 5 years ago by Serge3leo (Serguei E. Leontiev)

Cc: leo@… added

Cc Me!

Changed 5 years ago by Serge3leo (Serguei E. Leontiev)

Attachment: osx11-darwinbuild-main.log added

comment:4 Changed 5 years ago by Serge3leo (Serguei E. Leontiev)

Xcode Version 7.0.1 (7A1001), OS X 10.11.2, Identical error messages.

comment:5 Changed 5 years ago by ryandesign (Ryan Schmidt)

Cc: ryandesign@… added
Keywords: yosemite elcapitan sierra haspatch added
Summary: darwinbuild update errorsdarwinbuild: error: 'CFPropertyListCreateFromXMLData' is deprecated

#52355 has a patch for this.

comment:6 Changed 4 years ago by kencu (Ken)

Resolution: fixed
Status: newclosed

In a8423424fedad68064f7ea58add2fae9afefb3ca/macports-ports:

darwinbuild: sources moved, fix build error

  • Switch to GitHub.
  • Remove warnings about deprecated functions that were treated as errors.
  • Fix a 64 -> 32 bit implicit integer cast.

Closes: #45849
Closes: #52355

Note: See TracTickets for help on using tickets.