Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 886249 - app-editors/xemacs-21.5.34-r12 adds debug flags (-g/-ggdb) on its own
Summary: app-editors/xemacs-21.5.34-r12 adds debug flags (-g/-ggdb) on its own
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: XEmacs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-16 08:21 UTC by Agostino Sarubbo
Modified: 2022-12-28 07:19 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,649.67 KB, text/plain)
2022-12-16 08:21 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 2022-12-16 08:21:51 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-editors/xemacs-21.5.34-r12 adds debug flags (-g/-ggdb) on its own.
Discovered on: amd64 (internal ref: ci)

NOTE:
while I know that at the end, the binaries are stripped, debug flags slow down the build process and take more disk/ram.
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-16 08:21:54 UTC
Created attachment 842953 [details]
build.log

build log and emerge --info
Comment 2 Mats Lidell gentoo-dev 2022-12-17 10:12:21 UTC
Thanks for the report.

This is the standard behaviour for XEmacs 21.5. Upstream considers the odd minor versions to be beta versions. So the idea with the debug flags is to make any dumps be more useful when providing backtraces.

This is an explanation but not an excuse. I will see what I can do. I'm planning to make 21.5 a stable version in Gentoo and removing the debug flag would go hand in hand with that.
Comment 3 Larry the Git Cow gentoo-dev 2022-12-24 15:41:08 UTC
The bug has been referenced in the following commit(s):

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

commit b8afc4de2207f735aeb4e26ba1b9a70fa040fa60
Author:     Mats Lidell <matsl@gentoo.org>
AuthorDate: 2022-12-24 13:47:16 +0000
Commit:     Mats Lidell <matsl@gentoo.org>
CommitDate: 2022-12-24 15:41:03 +0000

    app-editors/xemacs: Do not add debug flag
    
    Set ebuild to not per default add debug flags.
    Use ver_cut.
    
    Bug: https://bugs.gentoo.org/886249
    Signed-off-by: Mats Lidell <matsl@gentoo.org>

 app-editors/xemacs/xemacs-21.5.34-r13.ebuild | 259 +++++++++++++++++++++++++++
 1 file changed, 259 insertions(+)
Comment 4 Mats Lidell gentoo-dev 2022-12-28 07:19:04 UTC
The ebuild app-editors/xemacs-21.5.34-r13 is now available that corrects the reported problem. Thanks to XEmacs upstream for providing the solution.