Bug 283782 - security/mbedtls3: multimedia/obs-studio fails to configure with mbedtls3: configure is unable to find /usr/local/lib/libeverest.a
Summary: security/mbedtls3: multimedia/obs-studio fails to configure with mbedtls3: co...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Tijl Coosemans
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-02 03:07 UTC by Yuri Victorovich
Modified: 2025-01-02 15:20 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2025-01-02 03:07:26 UTC
When I replace security/mbedtls with security/mbedtls3 in multimedia/obs-studio and in multimedia/librist, obs-studio fails to configure:

CMake Warning (dev) at cmake/finders/FindLibrnnoise.cmake:87 (message):
  Failed to find Librnnoise version.
Call Stack (most recent call first):
  plugins/obs-filters/cmake/rnnoise.cmake:7 (find_package)
  plugins/obs-filters/CMakeLists.txt:35 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at /usr/local/lib/cmake/MbedTLS/MbedTLSTargets.cmake:138 (message):
  The imported target "MbedTLS::everest" references the file

     "/usr/local/lib/libeverest.a"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/usr/local/lib/cmake/MbedTLS/MbedTLSTargets.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /usr/local/lib/cmake/MbedTLS/MbedTLSConfig.cmake:27 (include)
  plugins/obs-outputs/CMakeLists.txt:4 (find_package)





The file /usr/local/lib/libeverest.a is removed in post-install in security/mbedtls3 without any comment.

/usr/local/lib/libeverest.a should probably not be removed, and it should be made to be a shared library, or some other solution should be found.
Comment 1 commit-hook freebsd_committer freebsd_triage 2025-01-02 14:18:21 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c17097fa3fad9dd1c59b116640c251f3b194af1b

commit c17097fa3fad9dd1c59b116640c251f3b194af1b
Author:     Tijl Coosemans <tijl@FreeBSD.org>
AuthorDate: 2025-01-02 14:10:24 +0000
Commit:     Tijl Coosemans <tijl@FreeBSD.org>
CommitDate: 2025-01-02 14:17:23 +0000

    security/mbedtls3: Remove more traces of libeverest and libp256m

    These 3rdparty libraries aren't used in the default configuration.

    PR:             283782

 security/mbedtls3/Makefile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)