Opened 10 months ago

Closed 9 months ago

#69167 closed defect (fixed)

cryfs @0.11.2: Could not find a package configuration file provided by "fmt"

Reported by: x572b Owned by: jolan78
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: mascguy (Christopher Nielsen)
Port: cryfs, spdlog

Description

when trying to install cryfs the portfile is looking for file:

cryfs-0.11.2_0.darwin_23.x86_64.tbz2

The available file on the listed servers is

...darwin_13.x86_64.tbz2

(sub-version 13 instead of 23).

*

:info:archivefetch --->  cryfs-0.11.2_0.darwin_23.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch cryfs-0.11.2_0.darwin_23.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/cryfs
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
:msg:archivefetch --->  Attempting to fetch cryfs-0.11.2_0.darwin_23.x86_64.tbz2 from https://packages.macports.org/cryfs
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
:msg:archivefetch --->  Attempting to fetch cryfs-0.11.2_0.darwin_23.x86_64.tbz2 from http://mirror.fcix.net/macports/packages/cryfs
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404

Attachments (1)

main.log (94.6 KB) - added by x572b 10 months ago.
Log file of failed install

Download all attachments as: .zip

Change History (7)

comment:1 Changed 10 months ago by jmroot (Joshua Root)

Owner: set to jolan78
Status: newassigned

Please attach the log.

comment:2 Changed 10 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: mascguy added
Owner: changed from jolan78 to jolan78@…
Port: spdlog added

We do see build failures on both macOS 14 buildbot workers; maybe it's the same problem:

CMake Error at /opt/local/share/cmake-3.24/Modules/CMakeFindDependencyMacro.cmake:47 (find_package):
  Could not find a package configuration file provided by "fmt" with any of
  the following names:

    fmtConfig.cmake
    fmt-config.cmake

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

This looks similar to #68248 in that cryfs is using spdlog and spdlog isn't doing what it needs to to find the libfmt it needs.

cryfs 0.11.4 is available; maybe the port should be updated.

comment:3 in reply to:  2 Changed 10 months ago by mascguy (Christopher Nielsen)

Replying to ryandesign:

This looks similar to #68248 in that cryfs is using spdlog and spdlog isn't doing what it needs to to find the libfmt it needs.

Yep, haven't forgotten about this. Just need to find time to fix...

Changed 10 months ago by x572b

Attachment: main.log added

Log file of failed install

comment:4 Changed 9 months ago by jolan78

A pull request fixing this issue has been submitted : https://github.com/macports/macports-ports/pull/22436

comment:5 Changed 9 months ago by ryandesign (Ryan Carsten Schmidt)

Keywords: haspatch added
Summary: port install cryfs failscryfs @0.11.2: Could not find a package configuration file provided by "fmt"

comment:6 Changed 9 months ago by jolan78

Resolution: fixed
Status: assignedclosed

In 4c823d4bc71773b624f00f1eca4185367053aa37/macports-ports (master):

cryfs: update to 0.11.4

  • update to version 0.11.4
  • specify libfmt port to be used according to spdlog

Closes: #69167

Note: See TracTickets for help on using tickets.