[MacPorts] #67333: libupnp: add_subdirectory given source "gtest" which is not an existing directory

MacPorts noreply at macports.org
Sun Apr 30 18:33:50 UTC 2023


#67333: libupnp: add_subdirectory given source "gtest" which is not an existing
directory
---------------------------+------------------------
  Reporter:  barracuda156  |      Owner:  ctreleaven
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.1
Resolution:                |   Keywords:
      Port:  libupnp       |
---------------------------+------------------------

Comment (by ryandesign):

 Oh. I thought the problem was that the gtest directory was supposed to be
 there and didn't get extracted on your system for some reason. But I see
 now that the gtest directory, although it is in the repository, is not in
 the tarball. And the CMakeLists.txt tries to use the nonexistent gtest
 directory if it detects that the `gtest` program is installed. I
 [https://github.com/pupnp/pupnp/issues/427 reported the bug to the
 developers]. You can work around the problem using trace mode (`sudo port
 -t install libupnp`) or just deactivate or uninstall gtest first. Craig,
 you should make sure that the libupnp port does not try to use `gtest`
 even if it is installed.

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


More information about the macports-tickets mailing list