[MacPorts] #64938: Io @2017.09.06: CMake Error: The following variables are used in this project, but they are set to NOTFOUND.

MacPorts noreply at macports.org
Mon Apr 4 23:18:52 UTC 2022


#64938: Io @2017.09.06: CMake Error: The following variables are used in this
project, but they are set to NOTFOUND.
------------------------+----------------------
 Reporter:  ryandesign  |      Owner:  markemer
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.7.99
 Keywords:              |       Port:  Io
------------------------+----------------------
 `sudo port configure Io` fails for me:

 {{{
 CMake Error: The following variables are used in this project, but they
 are set to NOTFOUND.
 Please set them or make sure they are set and tested correctly in the
 CMake files:
 DRAWSTUFF_INCLUDE_DIR
    used as include directory in directory /opt/local/var/macports/build
 /_Users_rschmidt_macports_macports-ports-ryandesign-
 fork_lang_Io/Io/work/io-2017.09.06/addons/ODE
    used as include directory in directory /opt/local/var/macports/build
 /_Users_rschmidt_macports_macports-ports-ryandesign-
 fork_lang_Io/Io/work/io-2017.09.06/addons/ODE
    used as include directory in directory /opt/local/var/macports/build
 /_Users_rschmidt_macports_macports-ports-ryandesign-
 fork_lang_Io/Io/work/io-2017.09.06/addons/ODE
    used as include directory in directory /opt/local/var/macports/build
 /_Users_rschmidt_macports_macports-ports-ryandesign-
 fork_lang_Io/Io/work/io-2017.09.06/addons/ODE
    used as include directory in directory /opt/local/var/macports/build
 /_Users_rschmidt_macports_macports-ports-ryandesign-
 fork_lang_Io/Io/work/io-2017.09.06/addons/ODE
    used as include directory in directory /opt/local/var/macports/build
 /_Users_rschmidt_macports_macports-ports-ryandesign-
 fork_lang_Io/Io/work/io-2017.09.06/addons/ODE
    used as include directory in directory /opt/local/var/macports/build
 /_Users_rschmidt_macports_macports-ports-ryandesign-
 fork_lang_Io/Io/work/io-2017.09.06/addons/ODE
    used as include directory in directory /opt/local/var/macports/build
 /_Users_rschmidt_macports_macports-ports-ryandesign-
 fork_lang_Io/Io/work/io-2017.09.06/addons/ODE
    used as include directory in directory /opt/local/var/macports/build
 /_Users_rschmidt_macports_macports-ports-ryandesign-
 fork_lang_Io/Io/work/io-2017.09.06/addons/ODE
 DRAWSTUFF_LIBRARY
     linked by target "IoODE" in directory /opt/local/var/macports/build
 /_Users_rschmidt_macports_macports-ports-ryandesign-
 fork_lang_Io/Io/work/io-2017.09.06/addons/ODE
 }}}

 This seems to be opportunistic use of the ode port which I already had
 installed, because if I use trace mode (`sudo port -t configure Io`), this
 problem doesn't happen:

 {{{
 --->  Configuring Io
 Warning: The following existing files were hidden from the build system by
 trace mode:
   /opt
   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/cygdb
   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/cython
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/cythonize
   /opt/local/bin/bundle3.1
   /opt/local/bin/bundler3.1
   /opt/local/bin/erb3.1
   /opt/local/bin/gem3.1
   /opt/local/bin/irb3.1
   /opt/local/bin/pkg-config
   /opt/local/bin/racc3.1
   /opt/local/bin/rake3.1
   /opt/local/bin/rbs3.1
   /opt/local/bin/rdoc3.1
   /opt/local/bin/ri3.1
   /opt/local/bin/ruby3.1
   /opt/local/bin/typeprof3.1
   /opt/local/include/ode/ode.h
   /opt/local/include/tcutil.h
   /opt/local/lib/libunwind.dylib
   /private/var/select/sh
   /usr/X11
   /usr/X11R6
 }}}

 So you should either declare dependencies on ode and other ports that
 provide the other things listed here if the build is using them, and fix
 the resulting build failure, or ensure that ode and the other things
 listed here are not used even if they are installed. (See
 ReproducibleBuilds.)

-- 
Ticket URL: <https://trac.macports.org/ticket/64938>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list