FS#71319 - [nethack] lacks FULL RELRO

Attached to Project: Community Packages
Opened by loqs (loqs) - Sunday, 20 June 2021, 20:49 GMT
Last edited by Ivy Foster (escondida) - Tuesday, 16 May 2023, 18:06 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Ivy Foster (escondida)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
nethack fails to build from source due to a missing dependency on systemd and systemd no longer being in the base-devel group.

nethack's Makefile does not use LDFLAGS leading to a lack of FULL RELRO.

Proposed fix [2] adds systemd to makedepends, adds CFLAGS, CPPFLAGS and LDFLAGS use. Builds all but man pages in parallel.

Additional info:
* nethack 3.6.6-1
*  FS#66762 
[1] nethack-3.6.6-1-x86_64-package.log.xz
[2] PKGBUILD.diff


Steps to reproduce:
extra-x86_64-build
This task depends upon

Closed by  Ivy Foster (escondida)
Tuesday, 16 May 2023, 18:06 GMT
Reason for closing:  Fixed
Additional comments about closing:  In 3.6.7-5
Comment by loqs (loqs) - Monday, 21 June 2021, 22:56 GMT
Adjust added comments to hopefully be clearer and more accurate.
Edit:
Added missing -j1 to make call that can not be multi-threaded.
Comment by loqs (loqs) - Saturday, 15 January 2022, 00:09 GMT
Updated diff for 3.6.6-2 and  FS#73353 

Loading...