#61632 closed defect (fixed)

mpack @1.6: error: multiple implicit declarations are invalid in C99

Reported by: arrigo (Arrigo) Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur catalina Cc:
Port: mpack

Description

The mpack port fails to build under macOS 11.0.1 with various errors, mostly relating to missing declarations. Log is too large to add here so am enclosing as an attachment. Similarly to the the torsocks build failure, ticket 61631, it appears that in macOS 11.0.1 the compiler is using strict C99 syntax checks so all implicit declarations are now errors.

Attachments (1)

mpack_build_fail.log (86.5 KB) - added by arrigo (Arrigo) 11 months ago.
Build log for mpack

Download all attachments as: .zip

Change History (5)

Changed 11 months ago by arrigo (Arrigo)

Attachment: mpack_build_fail.log added

Build log for mpack

comment:1 Changed 11 months ago by arrigo (Arrigo)

Summary: mpack: build fails under macOS 11.0.1mpack: error: multiple implicit declarations are invalid in C99

comment:2 Changed 11 months ago by ryandesign (Ryan Schmidt)

Keywords: bigsur catalina added
Summary: mpack: error: multiple implicit declarations are invalid in C99mpack @1.6: error: multiple implicit declarations are invalid in C99

This is a well-known problem when using Xcode 12 or later.

comment:3 Changed 11 months ago by ryandesign (Ryan Schmidt)

Owner: set to ryandesign
Status: newaccepted

Debian has a patch for this.

comment:4 Changed 11 months ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: acceptedclosed

In 537a14689e6998ef58bcbfc0869d219445b1fc42/macports-ports (master):

mpack: Fix implicit declaration of functions

Closes: #61632

Note: See TracTickets for help on using tickets.