Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 894648

Summary: games-util/grfcodec-6.0.6_p20210310-r1 redefines _FORTIFY_SOURCE (HARDENED-SYSTEM)
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 847148    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-02-15 19:37:26 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-util/grfcodec-6.0.6_p20210310-r1 redefines _FORTIFY_SOURCE (HARDENED-SYSTEM).
Discovered on: amd64 (internal ref: hardened_tinderbox)

NOTE:
(HARDENED-SYSTEM) in the summary means that the bug was found on a machine that runs an hardened profile with -D_FORTIFY_SOURCE=3 and -D_GLIBCXX_ASSERTIONS (https://www.gentoo.org/support/news-items/2023-01-01-hardening-fortify-assertions.html) but this bug MAY or MAY NOT BE related to the changes related to hardened.
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-15 19:37:29 UTC
Created attachment 851486 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-08-11 07:26:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=091a3e710fc969183bbe7c4d92c8e198fae76691

commit 091a3e710fc969183bbe7c4d92c8e198fae76691
Author:     Matthew Smith <matthew@gentoo.org>
AuthorDate: 2023-08-11 07:05:20 +0000
Commit:     Matthew Smith <matthew@gentoo.org>
CommitDate: 2023-08-11 07:25:43 +0000

    games-util/grfcodec: add 6.0.6_p20230811
    
    Also, stop defining _FORTIFY_SOURCE.
    
    Closes: https://bugs.gentoo.org/894648
    Signed-off-by: Matthew Smith <matthew@gentoo.org>

 games-util/grfcodec/Manifest                       |  1 +
 ...rfcodec-6.0.6_p20230811-no-fortify-source.patch | 19 ++++++++++
 .../grfcodec/grfcodec-6.0.6_p20230811.ebuild       | 43 ++++++++++++++++++++++
 3 files changed, 63 insertions(+)