Bug 279873 - audio/mumble-server: Compiling with Ice
Summary: audio/mumble-server: Compiling with Ice
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Vladimir Druzenko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-20 07:48 UTC by Jan
Modified: 2024-06-30 15:58 UTC (History)
1 user (show)

See Also:
vvd: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan 2024-06-20 07:48:46 UTC
when I try to compile mumble with Ice support, I get the following error.
I'm not sure if this is a boost problem and maybe it is fixed in boost-lib 1.85?

/usr/bin/c++ -DICE_STATIC_LIBS -DMUMBLE_BUILD_YEAR=2024 -DMUMBLE_TARGET_ARCH=\"x64\" -DMUMBLE_TARGET_OS=\"linux\" -DMUMBLE_VERSION=1.5.0 -DMUMBLE_VERSION_MAJOR=1 -DMUMBLE_VERSION_MINOR=5 -DMUMBLE_VERSION_PATCH=0 -DMURMUR -DPROTOBUF_USE_DLLS -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_RESTRICTED_CAST_FROM_ASCII -DQT_SQL_LIB -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQT_XML_LIB -DTRACY_ON_DEMAND -DUSE_DBUS -DUSE_ICE -DUSE_QSSLDIFFIEHELLMANPARAMETERS -DUSE_ZEROCONF -D_USE_MATH_DEFINES -I/usr/ports/audio/mumble-server/work/.build/src/murmur/mumble-server_autogen/include -I/usr/ports/audio/mumble-server/work/mumble-1.5.634/src/murmur -I/usr/ports/audio/mumble-server/work/mumble-1.5.634/src -I/usr/local/include/avahi-compat-libdns_sd -I/usr/ports/audio/mumble-server/work/mumble-1.5.634/3rdparty/qqbonjour -I/usr/ports/audio/mumble-server/work/.build/src/murmur -I/usr/ports/audio/mumble-server/work/.build/src -isystem /usr/local/include -isystem /usr/local/include/qt5 -isystem /usr/local/include/qt5/QtCore -isystem /usr/local/lib/qt5/mkspecs/freebsd-clang -isystem /usr/local/include/qt5/QtNetwork -isystem /usr/local/include/qt5/QtXml -isystem /usr/ports/audio/mumble-server/work/mumble-1.5.634/3rdparty/tracy/public -isystem /usr/ports/audio/mumble-server/work/mumble-1.5.634/3rdparty/gsl/include -isystem /usr/local/include/qt5/QtSql -isystem /usr/local/include/qt5/QtDBus -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -Wno-deprecated-declarations -std=c++17 -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -Wno-deprecated-declarations -std=c++17  -DNDEBUG -std=c++17 -flto=thin -fPIE -fvisibility=hidden -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Werror -Wall -Wpedantic -Wextra -Wconversion -Wsign-conversion -fsigned-char -O3 -pthread -fPIC -MD -MT src/murmur/CMakeFiles/mumble-server.dir/mumble-server_autogen/mocs_compilation.cpp.o -MF src/murmur/CMakeFiles/mumble-server.dir/mumble-server_autogen/mocs_compilation.cpp.o.d -o src/murmur/CMakeFiles/mumble-server.dir/mumble-server_autogen/mocs_compilation.cpp.o -c /usr/ports/audio/mumble-server/work/.build/src/murmur/mumble-server_autogen/mocs_compilation.cpp
In file included from /usr/ports/audio/mumble-server/work/.build/src/murmur/mumble-server_autogen/mocs_compilation.cpp:9:
In file included from /usr/ports/audio/mumble-server/work/.build/src/murmur/mumble-server_autogen/EWIEGA46WW/moc_MumbleServerIce.cpp:10:
In file included from /usr/ports/audio/mumble-server/work/.build/src/murmur/mumble-server_autogen/EWIEGA46WW/../../../../../mumble-1.5.634/src/murmur/MumbleServerIce.h:23:
In file included from /usr/ports/audio/mumble-server/work/.build/src/murmur/mumble-server_autogen/EWIEGA46WW/../../../../../mumble-1.5.634/src/murmur/MumbleServerI.h:9:
In file included from /usr/ports/audio/mumble-server/work/.build/src/murmur/MumbleServer.h:30:
/usr/local/include/Ice/Proxy.h:1000:33: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
 1000 | struct ProxyIdentityLess : std::binary_function<bool, ObjectPrx&, ObjectPrx&>
Comment 1 Vladimir Druzenko freebsd_committer freebsd_triage 2024-06-26 16:03:30 UTC
Can you please test this patch:
-ICE_LIB_DEPENDS=        libIce.so:devel/ice
+ICE_LIB_DEPENDS=        libIce.so:devel/ice37
Comment 2 Vladimir Druzenko freebsd_committer freebsd_triage 2024-06-26 19:08:34 UTC
Did you build on 14.1?
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-06-30 15:58:09 UTC
A commit in branch main references this bug:

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

commit df273cfb9557ba2dc27f4f22c2cdd14b2ff42bcc
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2024-06-30 15:54:41 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-06-30 15:54:41 +0000

    audio/mumble-server: fix build with Ice with modern LLVM "no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?"

    PR:             279873

 audio/mumble-server/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 4 commit-hook freebsd_committer freebsd_triage 2024-06-30 15:58:10 UTC
A commit in branch main references this bug:

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

commit b3cdf3b626d17fc7b63d9ea1e8468685623d6964
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2024-06-30 15:56:53 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-06-30 15:56:53 +0000

    audio/murmur: fix build with Ice with modern LLVM "no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?"

    PR:             279873

 audio/murmur/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)