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

Bug 898240

Summary: x11-misc/cairo-clock-0.3.4-r2 redefines _FORTIFY_SOURCE (HARDENED-SYSTEM)
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Desktop Misc. Team <desktop-misc>
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-28 08:57:03 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: x11-misc/cairo-clock-0.3.4-r2 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-28 08:57:05 UTC
Created attachment 855062 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-10-04 15:28:56 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14a99c5debae88a163d657ec2ffe65d19202bba7

commit 14a99c5debae88a163d657ec2ffe65d19202bba7
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-10-04 14:50:59 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-10-04 15:10:44 +0000

    x11-misc/cairo-clock: don't redefine _FORTIFY_SOURCE
    
    Closes: https://bugs.gentoo.org/898240
    Signed-off-by: Sam James <sam@gentoo.org>

 x11-misc/cairo-clock/cairo-clock-0.3.4-r3.ebuild   | 49 ++++++++++++++++++++++
 .../files/cairo-clock-0.3.4-fortify-source.patch   | 16 +++++++
 2 files changed, 65 insertions(+)