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

Bug 907683

Summary: net-print/cups-2.4.6 redefines _FORTIFY_SOURCE
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Printing Team <printing>
Status: RESOLVED FIXED    
Severity: normal CC: mattst88, sam
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-06-02 07:09:38 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-print/cups-2.4.3 redefines _FORTIFY_SOURCE.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2023-06-02 07:09:41 UTC
Created attachment 863028 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-06-07 13:57:14 UTC
ci has reproduced this issue with version 2.4.4 - Updating summary.
Comment 3 Agostino Sarubbo gentoo-dev 2023-06-15 07:33:05 UTC
ci has reproduced this issue with version 2.4.5 - Updating summary.
Comment 4 Agostino Sarubbo gentoo-dev 2023-06-23 06:49:42 UTC
ci has reproduced this issue with version 2.4.6 - Updating summary.
Comment 5 Matt Turner gentoo-dev 2023-08-29 13:29:06 UTC
The build system checks whether _FORTIFY_SOURCE is in CFLAGS or CXXFLAGS and if not adds it. See https://github.com/OpenPrinting/cups/blob/master/config-scripts/cups-compiler.m4#L108
Comment 6 Larry the Git Cow gentoo-dev 2023-08-29 13:46:11 UTC
The bug has been closed via the following commit(s):

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

commit e43d6ac165b8b6e07d939e524fb5bc9f9468701c
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2023-08-29 13:44:19 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2023-08-29 13:45:31 +0000

    net-print/cups: Don't redefine _FORTIFY_SOURCE
    
    Closes: https://bugs.gentoo.org/907683
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 net-print/cups/cups-2.4.6.ebuild | 3 +++
 net-print/cups/cups-9999.ebuild  | 3 +++
 2 files changed, 6 insertions(+)