Summary: | [guru] dev-python/jpype-1.5.0 overwrites CFLAGS/CXXFLAGS or adds uncommon ones | ||
---|---|---|---|
Product: | GURU | Reporter: | Agostino Sarubbo <ago> |
Component: | Package issues | Assignee: | Ivan Lloro <ivan.lloro.boada> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | guru-bugs, ivan.lloro.boada |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 785607 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
![]() Created attachment 899836 [details]
build.log
build log and emerge --info
The build system sets optimization and debugging levels (e.g.: -g0, -O2) in setupext/platform.py and setupext/build_ext.py. This is upstream's tested and supported default configuration... Therefore, why should we change it and open ourselves to, completely avoidable, runtime bugs by allowing unsupported configurations? (In reply to Ivan Lloro from comment #2) > The build system sets optimization and debugging levels (e.g.: -g0, -O2) in > setupext/platform.py and setupext/build_ext.py. > > This is upstream's tested and supported default configuration... Therefore, > why should we change it and open ourselves to, completely avoidable, runtime > bugs by allowing unsupported configurations? because in gentoo, the cflags are about a user's choice. If there is a flag that is known to break, then it should be filtered out with filter-flags. Also, -g0 means that it is impossible to have debug symbols here. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=18d68ea8ac8796a4fe2e313433235f2b65864244 commit 18d68ea8ac8796a4fe2e313433235f2b65864244 Author: Ivan Lloro <ivan.lloro.boada@gmail.com> AuthorDate: 2024-08-12 17:03:09 +0000 Commit: Ivan Lloro <ivan.lloro.boada@gmail.com> CommitDate: 2024-08-12 17:03:12 +0000 dev-python/jpype: Remove upstream's default -O2 -g0 compile flags. Closes: https://bugs.gentoo.org/937760 Signed-off-by: Ivan Lloro <ivan.lloro.boada@gmail.com> dev-python/jpype/jpype-1.5.0.ebuild | 5 +++++ 1 file changed, 5 insertions(+) |