Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1005719: mumble: FTBFS with OpenSSL 3.0

61 views
Skip to first unread message

Sebastian Andrzej Siewior

unread,
Feb 13, 2022, 4:10:03 PM2/13/22
to
Source: mumble
Version: 1.3.4-1
Severity: important
Tags: bookworm sid
User: pkg-open...@lists.alioth.debian.org
Usertags: ftbfs-3.0

Your package is failing to build using OpenSSL 3.0 with the
following error:

| g++ -c -include release/mumble -pipe -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>/src/mumble=. -fstack-protector-strong -Wformat -Werror=format -security -fvisibility=hidden -Wall -Wextra -Wno-deprecated -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>/qmake=. -fstack-protector-strong -Wfor mat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I../mumble_proto -isystem ../mumble_proto -I../../3rdparty/celt-0.7.0-src /libcelt -isystem ../../3rdparty/celt-0.7.0-src/libcelt -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werro r=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -pthread -Wall -Wextra -D_REENTRANT -fPIC -DNO_UPDATE_CHECK -DPLUGIN_PATH=/us r/lib/mumble -DMUMBLE_VERSION=1.3.4-1 -DHAVE_LIMITS_H -DHAVE_ENDIAN_H -DRESTRICT=__restrict__ -DMUMBLE_VERSION_STRING=1.3.4 -DMUMBLE -DUSE_M ANUAL_PLUGIN -DNO_CRASH_REPORT -DUSE_OPUS -DUSE_RNNOISE -DUSE_ALSA -DUSE_OSS -DUSE_PULSEAUDIO -DUSE_JACKAUDIO -DUSE_BONJOUR -DUSE_DBUS -DUSE _SPEECHD -DUSE_SPEECHD_PKGCONFIG -D_REENTRANT -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_XM L_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -I../../src -I. -I../mumble_proto -I../../3rdparty/arc4random-src -I/usr/include/speech-dispatcher -I. ./../3rdparty/qqbonjour-src -I../../3rdparty/smallft-src -Iwidgets -I../../3rdparty/celt-0.7.0-src/libcelt -I../../3rdparty/rnnoise-src/incl ude -I/usr/lib/oss/include -I/usr/include/opus -I/usr/include/avahi-compat-libdns_sd -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/gli b-2.0/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I /usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtSql -I/usr/inclu de/x86_64-linux-gnu/qt5/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtDBus -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I../../release/.moc/mum ble -I../../release/.ui/mumble -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o ../../release/.obj/mumble/FFDHE.o ../FFDHE.cpp
| ../SelfSignedCertificate.cpp: In static member function ‘static bool SelfSignedCertificate::generate(CertificateType, QString, QString, QSsl Certificate&, QSslKey&)’:
| ../SelfSignedCertificate.cpp:48:29: error: ‘CRYPTO_MEM_CHECK_ON’ was not declared in this scope
| 48 | if (CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON) == -1) {
| | ^~~~~~~~~~~~~~~~~~~
| g++ -c -include release/mumble -pipe -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>/src/mumble=. -fstack-protector-strong -Wformat -Werror=format -security -fvisibility=hidden -Wall -Wextra -Wno-deprecated -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>/qmake=. -fstack-protector-strong -Wfor mat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I../mumble_proto -isystem ../mumble_proto -I../../3rdparty/celt-0.7.0-src /libcelt -isystem ../../3rdparty/celt-0.7.0-src/libcelt -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werro r=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -pthread -Wall -Wextra -D_REENTRANT -fPIC -DNO_UPDATE_CHECK -DPLUGIN_PATH=/us r/lib/mumble -DMUMBLE_VERSION=1.3.4-1 -DHAVE_LIMITS_H -DHAVE_ENDIAN_H -DRESTRICT=__restrict__ -DMUMBLE_VERSION_STRING=1.3.4 -DMUMBLE -DUSE_M ANUAL_PLUGIN -DNO_CRASH_REPORT -DUSE_OPUS -DUSE_RNNOISE -DUSE_ALSA -DUSE_OSS -DUSE_PULSEAUDIO -DUSE_JACKAUDIO -DUSE_BONJOUR -DUSE_DBUS -DUSE _SPEECHD -DUSE_SPEECHD_PKGCONFIG -D_REENTRANT -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_XM L_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -I../../src -I. -I../mumble_proto -I../../3rdparty/arc4random-src -I/usr/include/speech-dispatcher -I. ./../3rdparty/qqbonjour-src -I../../3rdparty/smallft-src -Iwidgets -I../../3rdparty/celt-0.7.0-src/libcelt -I../../3rdparty/rnnoise-src/incl ude -I/usr/lib/oss/include -I/usr/include/opus -I/usr/include/avahi-compat-libdns_sd -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/gli b-2.0/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I /usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtSql -I/usr/inclu de/x86_64-linux-gnu/qt5/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtDBus -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I../../release/.moc/mum ble -I../../release/.ui/mumble -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o ../../release/.obj/mumble/arc4random_uniform.o ../../3rd party/arc4random-src/arc4random_uniform.cpp
| ../SelfSignedCertificate.cpp:48:13: error: ‘CRYPTO_mem_ctrl’ was not declared in this scope; did you mean ‘CRYPTO_memcmp’?
| 48 | if (CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON) == -1) {
| | ^~~~~~~~~~~~~~~
| | CRYPTO_memcmp

For more information see:
https://www.openssl.org/docs/man3.0/man7/migration_guide.html

Sebastian

Diederik de Haas

unread,
Jul 6, 2022, 4:20:03 PM7/6/22
to
Control: tag -1 -fixed-upstream
Control: notforwarded -1

On 19 May 2022 15:01:12 +0000 Chris Knadle <Chris....@coredump.us> wrote:
> Mumble 1.3 is not buildable with OpenSSL 3.0 and there is no patch available
> to allow doing so. There was an upstream attempt to backport patches for
> Mumble 1.4 for Mumble 1.3 but there were enough issues that the effort had
> to be abandoned.
>
> https://github.com/mumble-voip/mumble/pull/5354

Removing the fixed-upstream tag and the forwarded field.

> I'm currently trying to package Mumble 1.4 which could resolve the problem,

https://github.com/mumble-voip/mumble/pull/5352 titled
"BUILD(crypto): Migrate to OpenSSL 3.0 API" is merged into master (branch)
with commit f4cea62ed9, but that is NOT part of the 1.4.230 release.

Nonetheless it would still be good to have 1.4.230 in Debian :-)
signature.asc

Diederik de Haas

unread,
Jul 6, 2022, 6:40:03 PM7/6/22
to
Control: tag -1 +fixed-upstream

On Wednesday, 6 July 2022 22:11:41 CEST Diederik de Haas wrote:
> Control: tag -1 -fixed-upstream
> Control: notforwarded -1
>
> https://github.com/mumble-voip/mumble/pull/5352 titled
> "BUILD(crypto): Migrate to OpenSSL 3.0 API" is merged into master (branch)
> with commit f4cea62ed9, but that is NOT part of the 1.4.230 release.

Removing the fixed-upstream tag was incorrect, so reinstate it.
The original reason why the tag was previously set, was incorrect, but as I
describe above, it is now fixed in the master branch.
signature.asc
0 new messages