Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 893096 - sys-apps/smartmontools-7.3 redefines _FORTIFY_SOURCE (HARDENED-SYSTEM)
Summary: sys-apps/smartmontools-7.3 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
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 847148
  Show dependency tree
 
Reported: 2023-02-03 15:01 UTC by Agostino Sarubbo
Modified: 2025-05-01 02:58 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,83.22 KB, text/plain)
2023-02-03 15:01 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-03 15:01:04 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-apps/smartmontools-7.3 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 15:01:06 UTC
Created attachment 849768 [details]
build.log

build log and emerge --info
Comment 2 Filip Kobierski 2024-12-21 19:27:07 UTC
Does this happen with 7.4? I am unable to confirm that.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-05-01 02:58:33 UTC
https://github.com/smartmontools/smartmontools/commit/ce89f3076f6922c1c7b7ea1246a165773140d7e6 fixes it (though it's still not ideal as a user may want to disable it in gcc, but whatever, it's fine, and I can't actually say it's *wrong* either, it's what AX_ADD_FORTIFY_SOURCE does).