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

MacPorts noreply at macports.org
Thu May 16 05:12:28 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):

 Replying to [comment:16 kencu]:
 > I wonder if there might be some ncurses-config binary that is being
 used, and is finding the macports version on the PATH…

 When I build cmake-bootstrap in trace mode on macOS 12, there are whole
 lot of things that it is looking for and might use if trace mode were off:

 {{{
 --->  Configuring cmake-bootstrap
 Warning: The following existing files were hidden from the build system by
 trace mode:
   /opt
   /opt/local
   /opt/local/bin/ar
   /opt/local/bin/ccache
   /opt/local/bin/ctest
   /opt/local/bin/cvs
   /opt/local/bin/fakeroot
   /opt/local/bin/git
   /opt/local/bin/gmake
   /opt/local/bin/gunzip
   /opt/local/bin/gzip
   /opt/local/bin/hg
   /opt/local/bin/ld
   /opt/local/bin/nm
   /opt/local/bin/objdump
   /opt/local/bin/pkg-config
   /opt/local/bin/ranlib
   /opt/local/bin/strip
   /opt/local/bin/svn
   /opt/local/include/atk-1.0/atk/atk.h
   /opt/local/include/cairo/cairo.h
   /opt/local/include/fontconfig/fontconfig.h
   /opt/local/include/freetype2/freetype/config/ftheader.h
   /opt/local/include/freetype2/ft2build.h
   /opt/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h
   /opt/local/include/glib-2.0/glib-object.h
   /opt/local/include/glib-2.0/glib.h
   /opt/local/include/gtk-2.0/gdk/gdk.h
   /opt/local/include/gtk-2.0/gtk/gtk.h
   /opt/local/include/pango-1.0/pango/pango.h
   /opt/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake
   /opt/local/lib/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake
   /opt/local/lib/glib-2.0/include/glibconfig.h
   /opt/local/lib/gtk-2.0/include/gdkconfig.h
   /opt/local/var
   /opt/local/var/macports
   /opt/local/var/macports/build
   /opt/local/var/macports/build/_Volumes_Shared_macports-
 ports_devel_cmake-bootstrap
   /opt/local/var/macports/build/_Volumes_Shared_macports-
 ports_devel_cmake-bootstrap/cmake-bootstrap
   /private/var/select/sh
   /usr/X11R6
   /usr/X11R6/include/cairo/cairo.h
   /usr/X11R6/include/fontconfig/fontconfig.h
   /usr/X11R6/include/freetype2/freetype/config/ftheader.h
   /usr/X11R6/include/freetype2/ft2build.h
 }}}

 I'm surprised it's doing this. We're using the `--no-system-libs`
 configure flag which is defined as "use all cmake-provided third-party
 libraries".

 There are no ncurses files among the above but I wanted to see if ncurses
 files would be found if I added the pkgconfig port to depends_build, but
 even when I did this, trace mode hid the pkg-config program; I'm not sure
 why it did that.

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


More information about the macports-tickets mailing list