Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895018 - media-libs/oidn-2.3.0 redefines _FORTIFY_SOURCE (HARDENED-SYSTEM)
Summary: media-libs/oidn-2.3.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: Sebastian Parborg
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 847148
  Show dependency tree
 
Reported: 2023-02-17 07:54 UTC by Agostino Sarubbo
Modified: 2025-03-07 13:22 UTC (History)
2 users (show)

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


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

Issue: media-libs/oidn-1.4.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-17 07:54:36 UTC
Created attachment 851930 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-07-27 06:14:56 UTC
tinderbox_musl has reproduced this issue with version 2.3.0 - Updating summary.
Comment 3 Larry the Git Cow gentoo-dev 2025-03-07 13:22:33 UTC
The bug has been closed via the following commit(s):

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

commit a13ceeef2aa857d02c4b8f2d4ec0605670e4f85b
Author:     Filip Kobierski <fkobi@pm.me>
AuthorDate: 2024-12-26 21:52:47 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-03-07 13:21:40 +0000

    media-libs/oidn: add 2.3.1 with improvements
    
    - drop 32bit platforms as upstream does not support them
      https://github.com/RenderKit/oidn/blob/a21330356508383f54b15efee67dbd0fd00ee87b/README.md?plain=1#L168
    - do not fortify source
    - remove `--force` from rm to disallow silent fail
    - remove addpredict if USE=cuda
      - it's currently set via sandbox.d file from nvidia-cuda-toolkit
        (thanks negril!)
    
    Closes: https://bugs.gentoo.org/895018
    Closes: https://bugs.gentoo.org/926204
    Signed-off-by: Filip Kobierski <fkobi@pm.me>
    Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/oidn/Manifest          |   1 +
 media-libs/oidn/oidn-2.3.1.ebuild | 109 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 110 insertions(+)