Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 887193 - [guru] app-admin/ananicy-cpp-1.1.1 adds debug flags (-g/-ggdb) on its own
Summary: [guru] app-admin/ananicy-cpp-1.1.1 adds debug flags (-g/-ggdb) on its own
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alessandro Barbieri
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: qa-guru
  Show dependency tree
 
Reported: 2022-12-19 12:20 UTC by Agostino Sarubbo
Modified: 2024-03-25 20:53 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,61.06 KB, text/plain)
2022-12-19 12:20 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-19 12:20:46 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-admin/ananicy-cpp-1.0.0_rc6-r1 adds debug flags (-g/-ggdb) on its own.
Discovered on: amd64 (internal ref: guru_tinderbox)

NOTE:
(CLANG-STRICTER-SYSTEM) in the summary means that the bug was found on a machine that runs clang with stricter mode

This machine uses clang with CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types

See also:
https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240
https://wiki.gentoo.org/wiki/Modern_C_porting
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-19 12:20:48 UTC
Created attachment 843795 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-03-05 07:48:25 UTC
guru_ci has reproduced this issue with version 1.1.1 - Updating summary.
Comment 3 Larry the Git Cow gentoo-dev 2024-03-06 00:48:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=28b45c9532feaf612bf3f673ee90b8ef54c1a5cf

commit 28b45c9532feaf612bf3f673ee90b8ef54c1a5cf
Author:     Alberto Gireud <agireud@protonmail.com>
AuthorDate: 2024-03-05 09:19:56 +0000
Commit:     Alberto Gireud <agireud@protonmail.com>
CommitDate: 2024-03-05 09:21:14 +0000

    app-admin/ananicy-cpp: Revbump and add patch to remove debug flags from RELWITHDEBINFO build.
    
    Closes: https://bugs.gentoo.org/887193
    Signed-off-by: Alberto Gireud <agireud@protonmail.com>

 ...cpp-1.1.1-r1.ebuild => ananicy-cpp-1.1.1-r2.ebuild} |  4 ++++
 .../files/ananicy-cpp-1.1.1-remove-debug-flags.patch   | 18 ++++++++++++++++++
 2 files changed, 22 insertions(+)