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

Bug 894302

Summary: dev-tcltk/tls-1.7.22 redefines _FORTIFY_SOURCE (HARDENED-SYSTEM)
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: TCL/TK Project <tcltk>
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-14 08:08:13 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-tcltk/tls-1.7.22 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-14 08:08:15 UTC
Created attachment 850992 [details]
build.log

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

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

commit e10c9e11e5a0b20366ee97618916b59497df830a
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2023-03-15 08:10:02 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2023-03-15 08:10:51 +0000

    dev-tcltk/tls: disable FORTIFY & fix warnings
    
    Closes: https://bugs.gentoo.org/894302
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 dev-tcltk/tls/files/tls-1.7.22-gcc11.patch         | 38 ++++++++++++++++++++++
 .../{tls-1.7.22.ebuild => tls-1.7.22-r1.ebuild}    |  8 +++--
 2 files changed, 44 insertions(+), 2 deletions(-)