[Bug 287916] devel/websocketpp: breaks compilation of multimedia/obs-studio since boost-libs version 1.87
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 287916] devel/websocketpp: breaks compilation of multimedia/obs-studio since boost-libs version 1.87"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 287916] devel/websocketpp: breaks compilation of multimedia/obs-studio since boost-libs version 1.87"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 287916] devel/websocketpp: breaks compilation of multimedia/obs-studio since boost-libs version 1.87"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 287916] devel/websocketpp: breaks compilation of multimedia/obs-studio since boost-libs version 1.87"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 287916] devel/websocketpp: breaks compilation of multimedia/obs-studio since boost-libs version 1.87"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 287916] devel/websocketpp: breaks compilation of multimedia/obs-studio since boost-libs version 1.87"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 287916] devel/websocketpp: breaks compilation of multimedia/obs-studio since boost-libs version 1.87"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 287916] devel/websocketpp: breaks compilation of multimedia/obs-studio since boost-libs version 1.87"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 287916] devel/websocketpp: breaks compilation of multimedia/obs-studio since boost-libs version 1.87"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 287916] devel/websocketpp: breaks compilation of multimedia/obs-studio since boost-libs version 1.87"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 30 Jun 2025 08:23:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287916
Bug ID: 287916
Summary: devel/websocketpp: breaks compilation of
multimedia/obs-studio since boost-libs version 1.87
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Keywords: regression
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs@FreeBSD.org
Reporter: mandree@FreeBSD.org
CC: sigsegv@radiotube.org, tagattie@FreeBSD.org,
yuri@freebsd.org
CC: sigsegv@radiotube.org
Hi,
websocket++ alias devel/websocketpp is incompatible with Boost
(devel/boost-libs) 1.87, and this breaks compilation of obs-studio. It is the
nature of header-only libraries such as websocketpp that they themselves do not
apparently break as a port build, but their users do instead.
There seems to be an upstream pull request which is unmerged but has been
reviewed and tweaked here: https://github.com/zaphoyd/websocketpp/pull/1164 -
we may want to take most of its bits for our websocketpp port, but I haven't
yet tested if this would fix obs-studio.
I checked that my ports tree already includes these fixes, but apparently this
is insufficient:
commit b946ee0c9609070f821aab7a9714f099abef94f8
Author: Yuri Victorovich <yuri@FreeBSD.org>
Date: Sun Jun 29 01:52:41 2025 -0700
devel/websocketpp: Add missing RUN_DEPENDS
PR: 287867
Approved by: sigsegv@radiotube.org (maintainer)
commit 6b6aa6dd2e5e83522d7c63d16ff5d5292a10b150
Author: Jan-Espen Oversand <sigsegv@radiotube.org>
Date: Mon Jun 23 08:51:40 2025 +0900
devel/websocketpp: unbreak with boost >= 1.87 and take maintainership
Websocketpp 0.8.2 is not compatible with boost 1.87 or later without
the patches. Although the port is header-only, patches for example and
test .cpp files are also included, not only patches for headers. The
test target is added as well.
Co-authored-by: Hiroki Tagato <tagattie@FreeBSD.org>
PR: 286903
Reported by: Jan-Espen Oversand <sigsegv@radiotube.org> (new maintainer)
[00:13:19] /usr/local/libexec/ccache/c++ -DASIO_STANDALONE -DENABLE_HEVC
-DHAVE_OBSCONFIG_H -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG
-DQT_SVG_LIB -DQT_WIDGETS_LIB -DSIMDE_ENABLE_OPENMP -Dobs_websocket_EXPORTS
-I/wrkdirs/usr/ports/multimedia/obs-studio/work/.build/plugins/obs-websocket
-I/wrkdirs/usr/ports/multimedia/obs-studio/work/obs-studio-31.0.3/plugins/obs-websocket
-I/wrkdirs/usr/ports/multimedia/obs-studio/work/.build/plugins/obs-websocket/obs-websocket_autogen/include
-I/wrkdirs/usr/ports/multimedia/obs-studio/work/.build/config
-I/wrkdirs/usr/ports/multimedia/obs-studio/work/obs-studio-31.0.3/libobs
-I/wrkdirs/usr/ports/multimedia/obs-studio/work/obs-studio-31.0.3/UI/obs-frontend-api
-I/wrkdirs/usr/ports/multimedia/obs-studio/work/obs-studio-31.0.3/plugins/obs-websocket/lib
-isystem /usr/local/include/qt6/QtCore -isystem /usr/local/include/qt6 -isystem
/usr/local/lib/qt6/mkspecs/freebsd-clang -isystem
/usr/local/include/qt6/QtWidgets -isystem /usr/local/include/qt6/QtGui -isystem
/usr/local/include -isystem /usr/local/include/qt6/QtSvg -isystem
/usr/local/include/qt6/QtNetwork -isystem /usr/local/include/qrcodegen -O2
-pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -DNDEBUG -std=c++17 -fPIC
-fvisibility=hidden -fvisibility-inlines-hidden -fopenmp-simd
-fno-strict-aliasing -Wno-trigraphs -Wno-missing-field-initializers
-Wno-missing-prototypes -Werror=return-type -Wunreachable-code
-Wquoted-include-in-framework-header -Wno-missing-braces -Wparentheses -Wswitch
-Wno-unused-function -Wno-unused-label -Wunused-parameter -Wunused-variable
-Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas
-Wfour-char-constants -Wconstant-conversion -Wno-conversion -Wint-conversion
-Wbool-conversion -Wenum-conversion -Wnon-literal-null-conversion
-Wsign-compare -Wshorten-64-to-32 -Wpointer-sign -Wnewline-eof
-Wno-implicit-fallthrough -Wdeprecated-declarations -Wno-sign-conversion
-Winfinite-recursion -Wcomma -Wno-strict-prototypes
-Wno-semicolon-before-method-body -Wformat-security -Wvla
-Wno-error=shorten-64-to-32 -Wno-non-virtual-dtor -Wno-overloaded-virtual
-Wno-exit-time-destructors -Wno-shadow -Winvalid-offsetof -Wmove
-Werror=block-capture-autoreleasing -Wrange-loop-analysis -Wall
-Wno-error=float-conversion -Wno-error=shadow
-Wno-error=null-pointer-subtraction -Wno-error=deprecated-declarations
-Wno-error=implicit-int-conversion -Wno-comma
-Wno-quoted-include-in-framework-header -pthread -fPIC -Werror -MD -MT
plugins/obs-websocket/CMakeFiles/obs-websocket.dir/src/obs-websocket.cpp.o -MF
plugins/obs-websocket/CMakeFiles/obs-websocket.dir/src/obs-websocket.cpp.o.d -o
plugins/obs-websocket/CMakeFiles/obs-websocket.dir/src/obs-websocket.cpp.o -c
/wrkdirs/usr/ports/multimedia/obs-studio/work/obs-studio-31.0.3/plugins/obs-websocket/src/obs-websocket.cpp
[00:13:19] In file included from
/wrkdirs/usr/ports/multimedia/obs-studio/work/obs-studio-31.0.3/plugins/obs-websocket/src/obs-websocket.cpp:28:
[00:13:19] In file included from
/wrkdirs/usr/ports/multimedia/obs-studio/work/obs-studio-31.0.3/plugins/obs-websocket/src/websocketserver/WebSocketServer.h:27:
[00:13:19] In file included from
/usr/local/include/websocketpp/config/asio_no_tls.hpp:32:
[00:13:19] In file included from
/usr/local/include/websocketpp/transport/asio/endpoint.hpp:32:
[00:13:19]
/usr/local/include/websocketpp/transport/asio/connection.hpp:1015:13: error: no
member named 'asio' in namespace 'boost'; did you mean simply 'asio'?
[00:13:19] 1015 | boost::asio::post(*m_io_service,
m_strand->wrap(handler));
[00:13:19] | ^
[00:13:19] /usr/local/include/websocketpp/transport/asio/connection.hpp:56:11:
note: 'asio' declared here
[00:13:19] 56 | namespace asio {
[00:13:19] | ^
[00:13:19]
/usr/local/include/websocketpp/transport/asio/connection.hpp:1015:20: error: no
member named 'post' in namespace 'websocketpp::transport::asio'; did you mean
'::asio::detail::executor_memfns_base::post'?
[00:13:19] 1015 | boost::asio::post(*m_io_service,
m_strand->wrap(handler));
[00:13:19] | ^~~~~~
[00:13:19] /usr/local/include/asio/detail/is_executor.hpp:32:8: note:
'::asio::detail::executor_memfns_base::post' declared here
[00:13:19] 32 | void post();
[00:13:19] | ^
--
You are receiving this mail because:
You are the assignee for the bug.