Opened 3 years ago

#64938 assigned defect

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

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: markemer (Mark Anderson)
Priority: Normal Milestone:
Component: ports Version: 2.7.99
Keywords: Cc:
Port: Io

Description

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.)

Attachments (1)

main.log (163.8 KB) - added by ryandesign (Ryan Carsten Schmidt) 3 years ago.

Download all attachments as: .zip

Change History (1)

Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log added
Note: See TracTickets for help on using tickets.