Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 892834 - sys-apps/kbd-2.6.0 redefines _FORTIFY_SOURCE (HARDENED-SYSTEM)
Summary: sys-apps/kbd-2.6.0 redefines _FORTIFY_SOURCE (HARDENED-SYSTEM)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 847148
  Show dependency tree
 
Reported: 2023-02-01 14:58 UTC by Agostino Sarubbo
Modified: 2023-10-04 15:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,166.70 KB, text/plain)
2023-02-01 14:58 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-02-01 14:58:41 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-apps/kbd-2.5.1 overwrites CFLAGS/CXXFLAGS or adds uncommon ones (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.
This QA check is tinderbox-only, there is the list of the flags that should be dropped out, if you think it is a false positive please let me know..
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-01 14:58:43 UTC
Created attachment 849630 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-06-13 08:19:47 UTC
tinderbox_musl has reproduced this issue with version 2.6.0 - Updating summary.
Comment 3 Larry the Git Cow gentoo-dev 2023-10-04 15:28:55 UTC
The bug has been closed via the following commit(s):

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

commit a82615f6b9ef054b0d937bbde647c552905945e6
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-10-04 14:04:39 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-10-04 15:10:43 +0000

    sys-apps/kbd: don't redefine _FORTIFY_SOURCE
    
    Closes: https://bugs.gentoo.org/892834
    Signed-off-by: Sam James <sam@gentoo.org>

 .../kbd-2.6.3-no-redefine-fortify-source.patch     | 171 +++++++++++++++++++++
 sys-apps/kbd/kbd-2.6.3-r1.ebuild                   |  94 +++++++++++
 2 files changed, 265 insertions(+)