Bug 291317 - net/linphone: poudriere: depends on shared library: libmediastreamer.so - not found
Summary: net/linphone: poudriere: depends on shared library: libmediastreamer.so - not...
Status: Closed DUPLICATE of bug 291969
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Robert Clausecker
URL:
Keywords: needs-patch
Depends on: 291969
Blocks:
  Show dependency treegraph
 
Reported: 2025-12-01 05:58 UTC by O. Hartmann
Modified: 2026-02-04 12:42 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2025-12-01 05:58:21 UTC
In a poudriere build environment (host and jail see below) port net/linphone dies unexeptedly with the following error:

[...]
=====
Message from qt5-sql-5.15.18p109:

--
To enable Qt database support, install the database plugin ports. The
following plugin ports are available:
 - databases/qt5-sqldrivers-mysql	MySQL
 - databases/qt5-sqldrivers-odbc	Open Database Connectivity
 - databases/qt5-sqldrivers-pgsql	PostgreSQL
 - databases/qt5-sqldrivers-sqlite2	SQLite 2
 - databases/qt5-sqldrivers-sqlite3	SQLite 3
 - databases/qt5-sqldrivers-tds		FreeTDS
===>   linphone-5.0.18,1 depends on shared library: liblinphone++.so - found (/usr/local/lib/liblinphone++.so)
===>   Returning to build of linphone-5.0.18,1
===>   linphone-5.0.18,1 depends on shared library: libmediastreamer.so - not found
===>   Installing existing package /packages/All/mediastreamer-5.4.26.pkg
[host.local] Installing mediastreamer-5.4.26...
the most recent version of mediastreamer-5.4.26 is already installed
===>   linphone-5.0.18,1 depends on shared library: libmediastreamer.so - not found
*** Error code 1

Stop.
make: stopped making "lib-depends" in /usr/ports/net/linphone
=>> Cleaning up wrkdir
===>  Cleaning for linphone-5.0.18,1
build of net/linphone | linphone-5.0.18,1 ended at 2025-12-01T01:28:27+00:00
build time: 00:00:52
!!! build failure encountered !!!
[...]

Poudriere environment, base host is driven by recent 16-CURRENT, jail's 15-STABLE.


[... poudriere setup ...]

=>> Building net/linphone
build started at 2025-12-01T01:27:47+00:00
port directory: /usr/ports/net/linphone
package name: linphone-5.0.18,1
building for: FreeBSD host.local 15.0-STABLE FreeBSD 15.0-STABLE 1500502 amd64
maintained by: ports@FreeBSD.org
port version: 5.0.18
port revision: 0
Makefile datestamp: -rw-r--r--  1 root wheel 2212 Oct 13 01:50 /usr/ports/net/linphone/Makefile
Ports top last git commit: b9b0c68525fe
Ports top unclean checkout: no
=>> Inspecting /pool/poudriere/data/.m/15-amd64-head-default/ref//usr/ports/net/linphone for modifications to git checkout... no
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.99.20251026
Host OSVERSION: 1600004
Jail OSVERSION: 1500502
Job Id: 03
Jail Id (no networking): 64
Jail Id (networking)   : 65

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500502
UNAME_v=FreeBSD 15.0-STABLE 1500502
UNAME_r=15.0-STABLE
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
POUDRIERE_VERSION=3.4.99.20251026
MAKEOBJDIRPREFIX=/pool/sources/15-STABLE/obj/
MASTERMNT=/pool/poudriere/data/.m/15-amd64-head-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=screen
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/pool/poudriere/data/.m/15-amd64-head-default/03/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=15-amd64-head-default
OLDPWD=/pool/poudriere/data/.m/15-amd64-head-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.99.20251026
PREFIX=/usr/local
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---
Comment 1 Vladimir Druzenko freebsd_committer freebsd_triage 2025-12-01 18:03:04 UTC
The port doesn't have a maintainer. If you want, you can create a patch to fix this issue and become a maintainer.
Comment 2 Hiroo Ono 2025-12-27 05:55:35 UTC
The fix is just putting '2' in mediastreamer.so line (libmediastreamer.so -> libmediastreamer2.so).
But if you have time, please try the patch in bug 291969, which is an update of net/linphone port. It also needs patch for multimedia/bcmatroska2 in bug 291967.

I verified invokation of the program, but I do not have friend to talk over SIP with this port.
Comment 3 Robert Clausecker freebsd_committer freebsd_triage 2026-01-30 12:49:42 UTC
This one will be fixed through 291969.

*** This bug has been marked as a duplicate of bug 291969 ***
Comment 4 commit-hook freebsd_committer freebsd_triage 2026-02-04 12:42:29 UTC
A commit in branch main references this bug:

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

commit e9f8f7c74a9bf21a2a5cae60cda3e76dd4cbd9cd
Author:     Hiroo Ono <hiroo.ono+freebsd@gmail.com>
AuthorDate: 2026-01-31 16:26:26 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2026-02-04 12:41:14 +0000

    net/linphone: update to 5.3.2

     - work around build failure on FreeBSD <15 (requires the XSI timezone
       symbol, not the old BSD one, cf. D44281)
     - work around build failure when git is installed
     - fix dependencies

    Changelog: https://gitlab.linphone.org/BC/public/linphone-desktop/-/blob/5.3.2/CHANGELOG.md?ref_type=tags

    PR:             291969, 291317

 net/linphone/Makefile                              | 98 +++++++++++++++-------
 net/linphone/distinfo                              |  8 +-
 net/linphone/files/patch-CMakeLists.txt            | 34 ++++----
 .../files/patch-external_ispell_config.h (new)     | 11 +++
 .../files/patch-linphone-app_CMakeLists.txt (new)  | 93 ++++++++++++++++++++
 ...ch-linphone-app_cmake_FindBCToolbox.cmake (new) | 13 +++
 ...-linphone-app_cmake_FindLibLinphone.cmake (new) | 28 +++++++
 ...nphone-app_cmake_FindMediastreamer2.cmake (new) | 29 +++++++
 ...h-linphone-app_cmake_FindQtKeychain.cmake (new) | 35 ++++++++
 ..._builder_linphone__package_CMakeLists.txt (new) | 11 +++
 .../files/patch-linphone-app_src_app_App.cpp (new) | 21 +++++
 ...ch-linphone-app_src_app_logger_Logger.cpp (new) | 11 +++
 ..._components_other_clipboard_Clipboard.cpp (new) | 11 +++
 ...omponents_other_desktop-tools_DesktopTools.hpp} |  4 +-
 ...ents_other_spell-checker_SpellChecker.cpp (new) | 11 +++
 ...ents_other_spell-checker_SpellChecker.hpp (new) | 20 +++++
 ...phone-app_src_components_vfs_VfsUtils.hpp (new) | 11 +++
 net/linphone/pkg-plist                             | 21 +++++
 18 files changed, 422 insertions(+), 48 deletions(-)