MantisBT - NetSurf
View Issue Details
0002855NetSurf[All Projects] Generalpublic2023-04-11 21:252025-03-01 18:19
Reporterorbea 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformLinuxOSGentooOS Version2.13
Product Version3.10 
Target VersionFixed in Version 
Fixed in CI build #
Reported in CI build #
URL of problem page
Summary0002855: Build failure with LibreSSL 3.7.2
DescriptionWhen building NetSurf 3.10 with LibreSSL 3.7.2 the build will fail because of legacy code paths that are no longer needed with newer LibreSSL versions. This can be solved by simply disabling these code paths with newer LibreSSL versions.
Steps To ReproduceBuild NetSurf using LibreSSL instead of OpenSSL.
TagsNo tags attached.
has duplicate 0002880closed  Cannot build netsurf against libressl 3.9.2 
Attached Fileslog netsurf-3.10-build.log (97,901) 2023-04-11 21:25
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=729&type=bug
patch netsurf-3.10-libressl-3.5.patch (1,669) 2023-04-11 21:26
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=730&type=bug

Notes
(0002415)
Michael Orlitzky   
2023-08-12 18:57   
For easy reference: https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.5.2-relnotes.txt

Does this comment need to be updated?

 /* OpenSSL 1.0.x, 1.0.2, 1.1.0 and 1.1.1 API all changed
  * LibreSSL declares its OpenSSL version as 2.1 but only supports 1.0.x API
  */

I was going to ask if you are using this in Gentoo because I'm the ersatz maintainer of netsurf, but I see now that you're running the libressl overlay.
(0002474)
John-Mark Bell   
2025-03-01 18:19   
Fixed in https://git.netsurf-browser.org/netsurf.git/commit/?id=3be91870a4d9094ef2955a10a05cb5674ea2f387

Issue History
2023-04-11 21:25orbeaNew Issue
2023-04-11 21:25orbeaFile Added: netsurf-3.10-build.log
2023-04-11 21:26orbeaFile Added: netsurf-3.10-libressl-3.5.patch
2023-08-12 18:57Michael OrlitzkyNote Added: 0002415
2025-03-01 18:19John-Mark BellRelationship addedhas duplicate 0002880
2025-03-01 18:19John-Mark BellStatusnew => resolved
2025-03-01 18:19John-Mark BellResolutionopen => fixed
2025-03-01 18:19John-Mark BellNote Added: 0002474