Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 957612 - app-emulation/fex-xtajit: cmake fails (IMPORTED_IMPLIB not set for imported target "fmt::fmt" configuration "RELEASE")
Summary: app-emulation/fex-xtajit: cmake fails (IMPORTED_IMPLIB not set for imported t...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Asahi Project
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2025-06-08 19:54 UTC by Violet Purcell
Modified: 2025-06-09 09:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,6.48 KB, text/x-log)
2025-06-08 19:54 UTC, Violet Purcell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Violet Purcell 2025-06-08 19:54:46 UTC
Created attachment 932122 [details]
build.log

When libfmt is installed on the system, configuration fails with the error 'IMPORTED_IMPLIB not set for imported target "fmt::fmt" configuration "RELEASE"'. This is due to the host system's libfmt being picked up by find_package and attempting to be used. Passing -DCMAKE_DISABLE_FIND_PACKAGE_fmt=true to the cmake invocation fixes the issue.
Comment 1 fnkl.kernel 2025-06-09 09:03:22 UTC
Unable to repro, maybe it is a musl-specific thing? Anyway, adding DCMAKE_DISABLE_FIND_PACKAGE_fmt does not seem to hurt, so will just do that.