Opened 8 years ago

Closed 7 years ago

Last modified 7 years ago

#53843 closed defect (fixed)

warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface

Reported by: rwebaz (Robert Weber) Owned by:
Priority: Normal Milestone: MacPorts 2.5.0
Component: base Version: 2.4.1
Keywords: Cc:
Port:

Description

Hello:

I am attaching the link to a private GIST that houses the make timeline affected.

I've also added pertinent info RE: The Development Machine ie.) Xcode tools ver, etc.

Here is the link to the private GIST ...

https://gist.github.com/rwebaz/b71f520970c456745b4a93842a02bbe4

The links point to a (.md) file that is titled the same.

[Macports-2nd-Instance-Make-50-Count-Warnings-Syscall-Deprecated-Need-Supported-Interface.md]

Pls advise if the issue is indeed part of the Macports binary archive development (2.4.1), or if Clang is hunting for an accurately supported interface locally.

As I have installed the current version of Mac OSX Sierra (10.12.3), as well as the current version of the Xcode Developer tools (8.3), my thinking is maybe the issue is with the way the current (2.4.1) Macports binary archive was written.

Thank you!

Robert

Change History (9)

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Milestone: MacPorts Future
Priority: HighNormal

The Priority and Milestone fields are for use by Macports team members only.

comment:2 Changed 8 years ago by mf2k (Frank Schima)

Keywords: Macports Base Make Syscall Deprecated Interface removed

comment:3 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: Macports 2nd Instance Make 50 Count Warnings Syscall Deprecated Need Supported Interfacewarning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface

It is true that the darwintracelib part of MacPorts does use syscall, and according to the warnings shown in your transcript this does appear to be deprecated as of Sierra, so I guess we should look for an alternative (while still maintaining compatibility with older systems).

comment:4 Changed 8 years ago by raimue (Rainer Müller)

The linked gist is completely unreadable. Terminal output is not Markdown, so please do not post it with a .md extension. As external resources tend to disappear over time, I would also appreciate to attach additional information to the ticket.

I do not understand your problem. The compiler warnings are normal and expected. syscall(2) is deprecated and the corresponding code in darwintracelib1.0 will need to be rewritten in the future.

comment:5 Changed 7 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

comment:6 Changed 7 years ago by jmroot (Joshua Root)

Milestone: MacPorts Future

comment:7 Changed 7 years ago by neverpanic (Clemens Lang)

Milestone: MacPorts FutureMacPorts 2.5.0

comment:8 Changed 7 years ago by neverpanic (Clemens Lang)

Milestone: MacPorts 2.5.0MacPorts Future

comment:9 Changed 7 years ago by jmroot (Joshua Root)

Milestone: MacPorts FutureMacPorts 2.5.0
Note: See TracTickets for help on using tickets.