Opened 3 years ago

Closed 3 years ago

#61443 closed defect (fixed)

gqrx @2.13.5: Could not find a package configuration file provided by "Portaudio"

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.6.3
Keywords: Cc: ra1nb0w
Port: gqrx

Description

https://build.macports.org/builders/ports-10.15_x86_64-builder/builds/42126/steps/install-port/logs/stdio

CMake Error at CMakeLists.txt:187 (find_package):
  By not providing "FindPortaudio.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "Portaudio", but CMake did not find one.

  Could not find a package configuration file provided by "Portaudio" with
  any of the following names:

    PortaudioConfig.cmake
    portaudio-config.cmake

  Add the installation prefix of "Portaudio" to CMAKE_PREFIX_PATH or set
  "Portaudio_DIR" to a directory containing one of the above files.  If
  "Portaudio" provides a separate development package or SDK, be sure it has
  been installed.

Similar to https://bugs.gentoo.org/727524

Looks like gnuradio provides FindPORTAUDIO.cmake not FindPortaudio.cmake. The buildbot workers' filesystems are case-sensitive.

Change History (5)

comment:1 Changed 3 years ago by michaelld (Michael Dickens)

Yup I see this too. Working on it.

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

That is in a block conditionalized to if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") so it does not apply on macOS.

comment:4 Changed 3 years ago by ra1nb0w

Ops. Too much asleep; thank you ryan! Therefore, the solution is to replicate that condition on macOS section. I open a PR on gqrx

comment:5 Changed 3 years ago by Davide Gerhard <ra1nb0w@…>

Resolution: fixed
Status: assignedclosed

In f7c849927b34e85b6a9c6536c7ac522804757b09/macports-ports (master):

gqrx: fix cmake portaudio discovery in case-sensitive file system

Closes: #61443

Note: See TracTickets for help on using tickets.