[MacPorts] #55204: mawk @1.3.4-20171017: Fails with 'Abort trap: 6' when using binary (source okay)

MacPorts noreply at macports.org
Wed Nov 1 18:02:33 UTC 2017


#55204: mawk @1.3.4-20171017: Fails with 'Abort trap: 6' when using binary (source
okay)
-----------------------+--------------------------
  Reporter:  anowacki  |      Owner:  tobypeterson
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.4.2
Resolution:            |   Keywords:
      Port:  mawk      |
-----------------------+--------------------------

Comment (by tobypeterson):

 mawk is using a dynamically-sized struct (last member is str[2]), which
 certain older clang versions don't like. Possible fixes include converting
 the affected strcpy calls to use memcpy, or perhaps disabling
 _FORTIFY_SOURCE.

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


More information about the macports-tickets mailing list