[Bug 283782] security/mbedtls3: multimedia/obs-studio fails to configure with mbedtls3: configure is unable to find /usr/local/lib/libeverest.a

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 02 Jan 2025 03:07:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283782

            Bug ID: 283782
           Summary: security/mbedtls3: multimedia/obs-studio fails to
                    configure with mbedtls3: configure is unable to find
                    /usr/local/lib/libeverest.a
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: yuri@freebsd.org
                CC: tijl@FreeBSD.org
                CC: tijl@FreeBSD.org

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.