Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939308 - sci-mathematics/giac-1.9.0.995 installs files that contain writable and executable sections
Summary: sci-mathematics/giac-1.9.0.995 installs files that contain writable and execu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michael Orlitzky
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-07 21:01 UTC by Agostino Sarubbo
Modified: 2024-09-10 12:59 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,643.03 KB, text/plain)
2024-09-07 21: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 2024-09-07 21:01:52 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-mathematics/giac-1.9.0.995 installs files that contain writable and executable sections.
Discovered on: amd64 (internal ref: gcc15_tinderbox)
System: GCC-15-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-15)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#QA0022
Comment 1 Agostino Sarubbo gentoo-dev 2024-09-07 21:01:53 UTC
Created attachment 902328 [details]
build.log

build log and emerge --info
Comment 2 François Bissey 2024-09-07 22:04:02 UTC
Great! Another arm artifact, I may have spotted it if I had tested the doc.
file doc/khicas.nwadoc/khicas.nwa: ELF 32-bit LSB relocatable, ARM, EABI5 version 1 (SYSV), not stripped

Upstream has serious problem with only shipping source code without build artifacts. I dived a little bit more in the tarball (after src_prepare) and found found plenty of object in the micropython folder
./micropython-1.12/ports/javascript/build/py/vstr.o:                                        LLVM IR bitcode

Fortunately we do not use any of that.

I do not think there are any other funny artifacts lying around.
Comment 3 Larry the Git Cow gentoo-dev 2024-09-10 12:59:59 UTC
The bug has been closed via the following commit(s):

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

commit 2869341fddfe1c3d232551ddffac507e167f5677
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2024-09-10 12:51:10 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2024-09-10 12:59:51 +0000

    sci-mathematics/giac: delete more build artifacts in src_prepare()
    
    Closes: https://bugs.gentoo.org/939308
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 .../giac/{giac-1.9.0.995.ebuild => giac-1.9.0.995-r1.ebuild} | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)