[MacPorts] #67497: Can't install javascript-lint, ends with error:

MacPorts noreply at macports.org
Thu May 25 12:47:44 UTC 2023


#67497: Can't install javascript-lint, ends with error:
------------------------------+--------------------
  Reporter:  ulrichkapp       |      Owner:  (none)
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.8.1
Resolution:                   |   Keywords:
      Port:  javascript-lint  |
------------------------------+--------------------

Comment (by ryandesign):

 We also see failures on the macOS 11, 12, and 13 buildbot workers.

 On 11 and 12:

 {{{
 editline.c:1038:13: error: implicit declaration of function 'getpid' is
 invalid in C99 [-Werror,-Wimplicit-function-declaration]
         (void)kill(getpid(), s);
                    ^
 }}}

 On 13:

 {{{
 editline.c:1038:13: error: call to undeclared function 'getpid'; ISO C99
 and later do not support implicit function declarations [-Wimplicit-
 function-declaration]
         (void)kill(getpid(), s);
                    ^
 }}}

 Amazingly, this port was [ticket:11135 added to MacPorts 16 years ago] and
 has never been updated so it's not surprising that code that old won't
 build anymore.

 The project has continued to be updated but inexplicably no longer seems
 to provide any releases. Even the 0.3.0 release we are currently offering
 is not available from the project anymore. I'm
 [https://github.com/matthiasmiller/javascriptlint/issues/14 inquiring
 about that with them].

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


More information about the macports-tickets mailing list