Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 723956 - dev-ruby/ruby-shadow-2.5.1 does not respect CFLAGS
Summary: dev-ruby/ruby-shadow-2.5.1 does not respect CFLAGS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: cflags
  Show dependency tree
 
Reported: 2020-05-19 09:48 UTC by Agostino Sarubbo
Modified: 2023-12-06 10:40 UTC (History)
0 users

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


Attachments
build.log (build.log,9.24 KB, text/plain)
2020-05-19 09:49 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 2020-05-19 09:48:57 UTC
This is an auto-filed bug because dev-ruby/ruby-shadow does not respect CFLAGS.
The issue was originally discovered on amd64, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.

NOTE:
To reproduce this issue you may want to set CFLAGS="${CFLAGS} -frecord-gcc-switches". If this is not something about c/c++ context you may want to set also FFLAGS and FCFLAGS or just see this bug as an hint to hide the QA warning where is not possible to respect CFLAGS.
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-19 09:49:05 UTC
Created attachment 640340 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-10-15 06:02:34 UTC
tinderbox has reproduced this issue with version 2.5.0 - Updating summary.
Comment 3 Agostino Sarubbo gentoo-dev 2021-11-01 09:05:06 UTC
ci has reproduced this issue with version 2.5.0-r1 - Updating summary.
Comment 4 Agostino Sarubbo gentoo-dev 2021-12-04 08:28:35 UTC
ci has reproduced this issue with version 2.5.1 - Updating summary.
Comment 5 Hans de Graaff gentoo-dev Security 2021-12-04 08:50:12 UTC
This should have been fixed (for all extensions) with this commit:

commit f02edc97cad6e965ddf85db2af4b978c732f13ab
Author: Hans de Graaff <graaff@gentoo.org>
Date:   Fri Nov 19 11:01:15 2021 +0100

    eclass/ruby-fakegem.eclass: fix CFLAGS and LDFLAGS for extensions
    

Is this already included in the tinderbox image being used?
Comment 6 Agostino Sarubbo gentoo-dev 2021-12-04 13:38:56 UTC
yes
Comment 7 Larry the Git Cow gentoo-dev 2023-12-06 10:40:23 UTC
The bug has been closed via the following commit(s):

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

commit 9446a455a36613fb1b8e5ea2a67be424f86308d6
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2023-12-06 10:30:08 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2023-12-06 10:30:22 +0000

    dev-ruby/ruby-shadow: respect CFLAGS
    
    Closes: https://bugs.gentoo.org/723956
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 dev-ruby/ruby-shadow/ruby-shadow-2.5.1.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)