Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 893306 - dev-embedded/stlink-1.7.0 redefines _FORTIFY_SOURCE (HARDENED-SYSTEM)
Summary: dev-embedded/stlink-1.7.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
Assignee: Alexey Shvetsov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 847148
  Show dependency tree
 
Reported: 2023-02-05 17:34 UTC by Agostino Sarubbo
Modified: 2025-04-03 16:50 UTC (History)
0 users

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


Attachments
build.log (build.log,105.29 KB, text/plain)
2023-02-05 17:34 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-05 17:34:14 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-embedded/stlink-1.7.0 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-05 17:34:16 UTC
Created attachment 849932 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2025-04-03 16:50:12 UTC
The bug has been closed via the following commit(s):

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

commit bb8cafb7e7f2c08fb87ea54a583b33a1f820c177
Author:     Alexey Shvetsov <alexxy@gentoo.org>
AuthorDate: 2025-04-03 16:49:55 +0000
Commit:     Alexey Shvetsov <alexxy@gentoo.org>
CommitDate: 2025-04-03 16:50:04 +0000

    dev-embedded/stlink: add 1.8.0, drop 1.7.0
    
    Closes: https://bugs.gentoo.org/678296
    Closes: https://bugs.gentoo.org/842102
    Closes: https://bugs.gentoo.org/842105
    Closes: https://bugs.gentoo.org/893306
    Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>

 dev-embedded/stlink/Manifest                         |  2 +-
 .../stlink/files/stlink-1.7.0-no-werror.patch        | 20 --------------------
 dev-embedded/stlink/files/stlink-1.8.0-werror.patch  | 12 ++++++++++++
 .../{stlink-1.7.0.ebuild => stlink-1.8.0.ebuild}     | 12 +++++-------
 4 files changed, 18 insertions(+), 28 deletions(-)