[MacPorts] #68314: legacy-support @1.1.1_0: fails to build on 10.4.11

MacPorts noreply at macports.org
Mon Oct 2 05:09:26 UTC 2023


#68314: legacy-support @1.1.1_0: fails to build on 10.4.11
-----------------------------+--------------------
  Reporter:  lazd            |      Owner:  (none)
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.8.1
Resolution:                  |   Keywords:  tiger
      Port:  legacy-support  |
-----------------------------+--------------------

Comment (by macportsraf):

 Thanks for the report.

 I thought that this had been tested on 10.4, but maybe the very latest
 version wasn't re-tested.

 These are all of the wrapper functions declared using `__DARWIN_ALIAS`,
 `__DARWIN_ALIAS_I` or `__DARWIN_INODE64`
 (or `__MPLS_*` renamed versions of these macros) (but not `fdopendir`
 itself - interesting).

 The macros used need to match whatever is used in the system dirent.h. My
 guess is that those function names are declared in 10.4's system dirent.h
 using different `__DARWIN_*` macros, and they need to be changed on 10.4
 to match. But that's just a guess. I hope that's the problem, because it
 should be easy to fix (and it was half-expected).

 If I need to change legacysupport's dirent.h for 10.4, what's the best way
 to identify the current platform in dirent.h? Is there a macro I can refer
 to? And what value corresponds to 10.4?

 Can someone send me the 10.4 system dirent.h file? That might tell me what
 I need to change (if this is the problem).

 I've dug out my battered 10.4 PowerBook G4, and its mangled power cord
 seems to be working. It's booting now! Probably for the first time in 13
 years!

 I'll check its dirent.h and I might even be able to install macports and
 legacysupport on it!

 Err, it can't join my wifi network. Hmm, enabling old WPA doesn't help. Oh
 dear, it only works unencrypted! I might need some ethernet.

 But I should be able to find dirent.h. I'll keep you posted. But send
 10.4's dirent.h if you can. Thanks.

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


More information about the macports-tickets mailing list