Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938221 - dev-debug/dtrace-2.0.1.1-r2 installs files that contain writable and executable sections
Summary: dev-debug/dtrace-2.0.1.1-r2 installs files that contain writable and executab...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sam James
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-20 07:27 UTC by Agostino Sarubbo
Modified: 2024-09-12 00:30 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,218.51 KB, text/plain)
2024-08-20 07:27 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 2024-08-20 07:27:28 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-debug/dtrace-2.0.1.1 installs files that contain writable and executable sections.
Discovered on: amd64 (internal ref: ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#QA0022
Comment 1 Agostino Sarubbo gentoo-dev 2024-08-20 07:27:29 UTC
Created attachment 900775 [details]
build.log

build log and emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-08-20 07:57:59 UTC
We need to ask upstream about this one.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-08-21 05:37:25 UTC
In the meantime, I was planning on suppressing it:

+QA_EXECSTACK="
+       usr/.*/dtrace/bpf_dlib.*
+"
+QA_WX_LOAD="
+       usr/.*/dtrace/bpf_dlib.*
+"
+QA_TEXTRELS="
+       usr/.*/dtrace/bpf_dlib.*
+"

... none of those worked?
Comment 4 Agostino Sarubbo gentoo-dev 2024-08-21 21:41:00 UTC
gcc15_tinderbox has reproduced this issue with version 2.0.1.1-r1 - Updating summary.
Comment 5 Agostino Sarubbo gentoo-dev 2024-09-01 07:30:46 UTC
ci has reproduced this issue with version 2.0.1.1-r2 - Updating summary.
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-09-12 00:18:24 UTC
(In reply to Sam James from comment #3)
> In the meantime, I was planning on suppressing it:
> 
> +QA_EXECSTACK="
> +       usr/.*/dtrace/bpf_dlib.*
> +"
> +QA_WX_LOAD="
> +       usr/.*/dtrace/bpf_dlib.*
> +"
> +QA_TEXTRELS="
> +       usr/.*/dtrace/bpf_dlib.*
> +"
> 
> ... none of those worked?

Apparently * works here but not .*.
Comment 7 Larry the Git Cow gentoo-dev 2024-09-12 00:30:03 UTC
The bug has been referenced in the following commit(s):

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

commit 5c77941f4535cf5bfc76f84c6d48bafb4465a6b9
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-09-12 00:28:00 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-09-12 00:28:07 +0000

    dev-debug/dtrace: suppress harmless execstack warning for BPF object
    
    Bug: https://bugs.gentoo.org/938221
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-debug/dtrace/dtrace-2.0.1.1-r2.ebuild | 6 ++++++
 dev-debug/dtrace/dtrace-9999.ebuild       | 6 ++++++
 2 files changed, 12 insertions(+)