FS#78606 - [mbedtls] MBEDTLS_THREADING_PTHREAD and MBEDTLS_THREADING_C flags
Attached to Project:
Community Packages
Opened by Armand (Kewl) - Thursday, 25 May 2023, 20:09 GMT
Last edited by Maxime Gauduin (Alucryd) - Friday, 26 May 2023, 19:18 GMT
Opened by Armand (Kewl) - Thursday, 25 May 2023, 20:09 GMT
Last edited by Maxime Gauduin (Alucryd) - Friday, 26 May 2023, 19:18 GMT
|
Details
Description:
I cannot compile Hiawatha Webserver (AUR) it returns Make sure the mbed TLS shared library has been built with the MBEDTLS_THREADING_PTHREAD and MBEDTLS_THREADING_C flags set. Otherwise, it may crash the Hiawatha webserver. Hiawatha Webserver 11.4. What do you suggest? Additional info: * package version(s) 3.4.0-2 Steps to reproduce: run cmake ../ -DCMAKE_INSTALL_PREFIX="/" \ -DCMAKE_INSTALL_BINDIR="/usr/bin" \ -DCMAKE_INSTALL_SBINDIR="/usr/bin" \ -DCMAKE_INSTALL_SYSCONFDIR="/etc/hiawatha" \ -DCMAKE_INSTALL_LIBDIR="/usr/lib" \ -DCMAKE_INSTALL_MANDIR="/usr/share/man" \ -DCONFIG_DIR="/etc/hiawatha" \ -DLOG_DIR="/var/log/hiawatha" \ -DPID_DIR="/run" \ -DENABLE_TLS=ON \ -DUSE_SYSTEM_MBEDTLS=ON \ -DENABLE_MONITOR=ON \ -DWEBROOT_DIR="/srv/http/hiawatha" \ -DWORK_DIR="/var/lib/hiawatha" |
This task depends upon
Closed by Maxime Gauduin (Alucryd)
Friday, 26 May 2023, 19:18 GMT
Reason for closing: Implemented
Additional comments about closing: 3.4.0-3
Thanks for the diff.
Friday, 26 May 2023, 19:18 GMT
Reason for closing: Implemented
Additional comments about closing: 3.4.0-3
Thanks for the diff.
Then it's working only on my machine, is it a flag you can implement in prod?