[MacPorts] #58935: go @1.13: build fails on 10.9 and less

MacPorts noreply at macports.org
Mon Oct 7 03:42:51 UTC 2019


#58935: go @1.13: build fails on 10.9 and less
---------------------+-------------------------------
  Reporter:  kencu   |      Owner:  ci42
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:  lion mountainlion
      Port:  go      |
---------------------+-------------------------------

Comment (by Ionic):

 Oh, right, on 32-bit arches we'll also need the `$UNIX2003` suffix,
 including combinations... meh...

 I wonder how to do this correctly, though.

 We'd probably need to use the public (if it can even be considered
 public...) `__DARWIN_ALIAS_I` macro for our `fdopendir` definition, but
 that's only one part of what needs to be changed. We also basically
 compile the same source code twice (or thrice? or four times?) based on
 the architecture with different macro values set and eventually combine
 the individual object files into one archive.

 N.B.: I fear `fdopendir` is not the only symbol affected by this, a quick
 look around revealed that the `fstat` function is also only included once
 in `libM(p)LS` - WITH the `$INODE64` suffix on my 10.9 machine.

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


More information about the macports-tickets mailing list