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

Bug 892992

Summary: net-misc/stunnel-5.68 redefines _FORTIFY_SOURCE (HARDENED-SYSTEM)
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: egor-gl
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-03 07:45:52 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-misc/stunnel-5.65-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-03 07:45:54 UTC
Created attachment 849746 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-05-11 15:02:44 UTC
tinderbox_musl has reproduced this issue with version 5.68 - Updating summary.
Comment 3 Larry the Git Cow gentoo-dev 2023-10-04 15:57:34 UTC
The bug has been closed via the following commit(s):

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

commit 8e88a75c402954c9c81d2a471be272cfd1523583
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-10-04 15:54:16 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-10-04 15:54:16 +0000

    net-misc/stunnel: add 5.71
    
    Closes: https://bugs.gentoo.org/892992
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/stunnel/Manifest                          |   1 +
 .../stunnel-5.71-dont-clobber-fortify-source.patch |  15 +++
 .../stunnel-5.71-respect-EPYTHON-for-tests.patch   |  12 ++
 net-misc/stunnel/stunnel-5.71.ebuild               | 123 +++++++++++++++++++++
 4 files changed, 151 insertions(+)