Opened 5 years ago

Closed 5 years ago

#57511 closed defect (fixed)

Io: Could NOT find PythonLibs

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

Description

Io doesn't build:

-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 
-- Checking for one of the modules 'cairo'
-- Could not find Cairo
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 
-- Checking for one of the modules 'glib-2.0'
-- Found GLib2: /opt/local/lib/libglib-2.0.dylib;/opt/local/lib/libintl.dylib;/opt/local/lib/libiconv.dylib /opt/local/include/glib-2.0;/opt/local/lib/glib-2.0/include;/opt/local/include;/opt/local/include
-- Looking for include file glib/gregex.h
-- Looking for include file glib/gregex.h - not found
-- Found Pango_1_0: /opt/local/lib/libpango-1.0.dylib
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 
-- Checking for one of the modules 'cairo'
-- Could not find Cairo
-- Found Curses: /opt/local/lib/libcurses.dylib  
-- Found EDIT: /opt/local/lib/libedit.dylib
-- Found Fnmatch headers: /usr/include/fnmatch.h
-- Could NOT find Freetype (missing: FREETYPE_INCLUDE_DIRS) 
-- Could NOT find GLFW (missing: GLFW_LIBRARY GLFW_INCLUDE_DIR) 
-- Found ZLIB: /opt/local/lib/libz.dylib (found version "1.2.11") 
-- Found PNG: /opt/local/lib/libpng.dylib  
-- Found TIFF: /opt/local/lib/libtiff.dylib (found version "4.0.9") 
-- Found JPEG: /opt/local/lib/libjpeg.dylib (found version "90") 
-- Found LZO: /opt/local/lib/liblzo2.dylib
-- Found LibSndFile: /opt/local/lib/libsndfile.dylib
-- Found Iconv: /opt/local/lib/libiconv.dylib
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 
-- Found LibXml2: /opt/local/lib/libxml2.dylib  
-- Found Loudmouth: /opt/local/lib/libloudmouth-1.dylib
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 
-- Checking for one of the modules 'glib-2.0'
-- Found GLib2: /opt/local/lib/libglib-2.0.dylib;/opt/local/lib/libintl.dylib;/opt/local/lib/libiconv.dylib /opt/local/include/glib-2.0;/opt/local/lib/glib-2.0/include;/opt/local/include;/opt/local/include
-- Couldn't find ODE include dir: ODE_INCLUDE_DIR-NOTFOUND
-- Couldn't find ODE library: ODE_LIBRARY-NOTFOUND
-- Couldn't find DrawStuff library: DRAWSTUFF_LIBRARY-NOTFOUND
-- Found Ogg: /opt/local/lib/libogg.dylib
CMake Error at /opt/local/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)
  (Required is at least version "3.3")
Call Stack (most recent call first):
  /opt/local/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  /opt/local/share/cmake-3.12/Modules/FindPythonLibs.cmake:265 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  addons/Python/CMakeLists.txt:7 (find_package)

Looks like at least a missing build dependency on pkgconfig and a missing python-3.3-or-later dependency.

Change History (3)

comment:1 Changed 5 years ago by markemer (Mark Anderson)

Yep, missed another new one, I need to start building these in VMWare Fusion or something like that. I'm on it.

comment:2 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Or using trace mode (the -t flag), if it works for you, might have caught this.

Unfortunately Travis didn't catch it because Travis has some ports installed even when they're not dependencies. I think that's a bug but I don't think we've been able to track down why it's happening.

comment:3 Changed 5 years ago by markemer (Mark Anderson)

Resolution: fixed
Status: assignedclosed

In dd509cf809dfd94cb0c32f50d0c4fd313e0e6385/macports-ports (master):

Io: fix of outdated python dependency

  • upgrade python requirement from 2.7 to 3.7

Closes: #57511

Note: See TracTickets for help on using tickets.