[MacPorts] #69990: cmake-bootstrap fails to link on 10.4 due to changes in ncurses 6.5.0

MacPorts noreply at macports.org
Sat May 18 08:19:12 UTC 2024


#69990: cmake-bootstrap fails to link on 10.4 due to changes in ncurses 6.5.0
------------------------------+--------------------
  Reporter:  miles-martin-66  |      Owner:  (none)
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:                   |   Keywords:  tiger
      Port:  cmake-bootstrap  |
------------------------------+--------------------

Comment (by ryandesign):

 That flag does seem related. We first added `--with-local-prefix` to gcc33
 [changeset:0850a01e3a56e64bcaa99893c64a367bbb1374a8/macports-ports 19
 years ago] to prevent the compiler from searching in /usr/local/include
 and have been adding it to every gcc port since then. The documentation
 for this flag says that it causes the given prefix to be searched instead
 of /usr/local. And although we do sometimes [wiki:FAQ#usrlocal encounter
 problems] building ports when users have headers in /usr/local/include,
 disabling this feature is probably wrong. After all, the user may want to
 use the compiler outside of MacPorts and may expect it to find things in
 /usr/local as compilers typically do.

 Notably, the apple-gcc40 and apple-gcc42 ports do not use this flag, yet
 we're seeing apple-gcc42 exhibit the behavior.

 With gcc12 and gcc13 on macOS 12 I see neither /usr/local/include nor
 /opt/local/include in the list; I would have expected to see one or the
 other.

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


More information about the macports-tickets mailing list