[MacPorts] #71162: xar @1.8.0.501_0: error: implicit declaration of function 'xar_prop_get_expect_notnull' is invalid in C99 [-Werror, -Wimplicit-function-declaration]

MacPorts noreply at macports.org
Wed Oct 23 23:43:23 UTC 2024


#71162: xar @1.8.0.501_0: error: implicit declaration of function
'xar_prop_get_expect_notnull' is invalid in C99 [-Werror,-Wimplicit-
function-declaration]
-------------------------+-------------------------
  Reporter:  ryandesign  |      Owner:  Schamschula
      Type:  defect      |     Status:  assigned
  Priority:  High        |  Milestone:
 Component:  ports       |    Version:  2.10.2
Resolution:              |   Keywords:  monterey
      Port:  xar         |
-------------------------+-------------------------

Comment (by Schamschula):

 I am well aware of this!

 However, when I rolled back the failing builds to the previous version,
 the build bot insisted in attempting to build the incorrect version of
 xar.

 I don't see the logic error in the Portfile.

 I attempted to fix the very old macOS versions by removing Big Sur and
 Monterey from the if statements in https://github.com/macports/macports-
 ports/commit/9df0a503e8490c0bb7eda2af37c6cfd9df0c9e89 but that changed
 nothing.

 These two OS versions need their own patch file anyway, as there are
 different implicit function definitions that are missing. The problem is
 that I have no way of testing on anything older than macOS Sonoma.

-- 
Ticket URL: <https://trac.macports.org/ticket/71162#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list