Bug#1021939: mediasoup: FTBFS error: no matching function for call to 'max(long int, int)'
Andreas Beckmann
anbe at debian.org
Mon Oct 17 17:16:28 BST 2022
Source: mediasoup
Version: 3.8.4~dfsg1-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
Hi,
mediasoup recently started to FTBFS:
g++ -o /build/mediasoup-3.8.4~dfsg1/worker/out/Release/obj.target/abseil/deps/libwebrtc/deps/abseil-cpp/abseil-cpp/absl/debugging/failure_signal_handler.o ../deps/libwebrtc/deps/abseil-cpp/abseil-cpp/absl/debugging/failure_signal_handler.cc '-DABSL_ALLOCATOR_NOTHROW=1'
-I../deps/libwebrtc/deps/abseil-cpp/abseil-cpp -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-sign-compare -m64 -O3 -Wno-unknown-warning-option -fPIC -MMD -MF /build/mediasoup-3.8.4~dfsg1/worker/out/Release/.deps//build/mediasoup-3.8.4~d
fsg1/worker/out/Release/obj.target/abseil/deps/libwebrtc/deps/abseil-cpp/abseil-cpp/absl/debugging/failure_signal_handler.o.d.raw -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mediasoup-3.8.4~dfsg1=. -fstack-protector-strong -Wformat -Werror=format-secu
rity -c
../deps/libwebrtc/deps/abseil-cpp/abseil-cpp/absl/debugging/failure_signal_handler.cc: In function 'bool absl::SetupAlternateStackOnce()':
../deps/libwebrtc/deps/abseil-cpp/abseil-cpp/absl/debugging/failure_signal_handler.cc:127:32: error: no matching function for call to 'max(long int, int)'
127 | size_t stack_size = (std::max(SIGSTKSZ, 65536) + page_mask) & ~page_mask;
| ~~~~~~~~^~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/12/algorithm:60,
from ../deps/libwebrtc/deps/abseil-cpp/abseil-cpp/absl/debugging/failure_signal_handler.cc:31:
/usr/include/c++/12/bits/stl_algobase.h:254:5: note: candidate: 'template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&)'
254 | max(const _Tp& __a, const _Tp& __b)
| ^~~
/usr/include/c++/12/bits/stl_algobase.h:254:5: note: template argument deduction/substitution failed:
../deps/libwebrtc/deps/abseil-cpp/abseil-cpp/absl/debugging/failure_signal_handler.cc:127:32: note: deduced conflicting types for parameter 'const _Tp' ('long int' and 'int')
127 | size_t stack_size = (std::max(SIGSTKSZ, 65536) + page_mask) & ~page_mask;
| ~~~~~~~~^~~~~~~~~~~~~~~~~
/usr/include/c++/12/bits/stl_algobase.h:300:5: note: candidate: 'template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare)'
300 | max(const _Tp& __a, const _Tp& __b, _Compare __comp)
| ^~~
/usr/include/c++/12/bits/stl_algobase.h:300:5: note: template argument deduction/substitution failed:
../deps/libwebrtc/deps/abseil-cpp/abseil-cpp/absl/debugging/failure_signal_handler.cc:127:32: note: deduced conflicting types for parameter 'const _Tp' ('long int' and 'int')
127 | size_t stack_size = (std::max(SIGSTKSZ, 65536) + page_mask) & ~page_mask;
| ~~~~~~~~^~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/12/algorithm:61:
/usr/include/c++/12/bits/stl_algo.h:5746:5: note: candidate: 'template<class _Tp> _Tp std::max(initializer_list<_Tp>)'
5746 | max(initializer_list<_Tp> __l)
| ^~~
/usr/include/c++/12/bits/stl_algo.h:5746:5: note: template argument deduction/substitution failed:
../deps/libwebrtc/deps/abseil-cpp/abseil-cpp/absl/debugging/failure_signal_handler.cc:127:32: note: mismatched types 'std::initializer_list<_Tp>' and 'long int'
127 | size_t stack_size = (std::max(SIGSTKSZ, 65536) + page_mask) & ~page_mask;
| ~~~~~~~~^~~~~~~~~~~~~~~~~
/usr/include/c++/12/bits/stl_algo.h:5756:5: note: candidate: 'template<class _Tp, class _Compare> _Tp std::max(initializer_list<_Tp>, _Compare)'
5756 | max(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
/usr/include/c++/12/bits/stl_algo.h:5756:5: note: template argument deduction/substitution failed:
../deps/libwebrtc/deps/abseil-cpp/abseil-cpp/absl/debugging/failure_signal_handler.cc:127:32: note: mismatched types 'std::initializer_list<_Tp>' and 'long int'
127 | size_t stack_size = (std::max(SIGSTKSZ, 65536) + page_mask) & ~page_mask;
| ~~~~~~~~^~~~~~~~~~~~~~~~~
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mediasoup_3.8.4~dfsg1-1.log.gz
Type: application/gzip
Size: 29179 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-voip-maintainers/attachments/20221017/2c55e210/attachment-0001.gz>
More information about the Pkg-voip-maintainers
mailing list