Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 723936 - dev-ruby/rbpdf-font-1.19.1-r1 does not respect CFLAGS/LDFLAGS
Summary: dev-ruby/rbpdf-font-1.19.1-r1 does not respect CFLAGS/LDFLAGS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
Depends on:
Blocks: cflags ldflags
  Show dependency tree
Reported: 2020-05-19 07:08 UTC by Agostino Sarubbo
Modified: 2023-07-18 04:36 UTC (History)
1 user (show)

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

build.log (build.log,8.99 KB, text/plain)
2020-05-19 07:08 UTC, Agostino Sarubbo

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 07:08:28 UTC
This is an auto-filed bug because dev-ruby/rbpdf-font does not respect CFLAGS/LDFLAGS.
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.

To reproduce this issue you may want to set CFLAGS="${CFLAGS} -frecord-gcc-switches" and LDFLAGS="${LDFLAGS} -Wl,--defsym=__gentoo_check_ldflags__=0". 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/LDFLAGS.
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-19 07:08:36 UTC
Created attachment 640306 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-09-29 06:56:59 UTC
ci has reproduced this issue with version 1.19.1 - Updating summary.
Comment 3 Agostino Sarubbo gentoo-dev 2021-11-24 09:42:30 UTC
ci has reproduced this issue with version 1.19.1-r1 - Updating summary.
Comment 4 Hans de Graaff gentoo-dev Security 2023-07-18 04:36:52 UTC
This should be fixed by the following commit:

commit f02edc97cad6e965ddf85db2af4b978c732f13ab
Author: Hans de Graaff <>
Date:   Fri Nov 19 11:01:15 2021 +0100

    eclass/ruby-fakegem.eclass: fix CFLAGS and LDFLAGS for extensions
    Set the CFLAGS and LDFLAGS for extensions using the mkmf options
    during configuration. This ensures that the flags are correctly set in
    the Makefile and we don't need to second-guess any further actions of
    extensions themselves, leading to breakage that is hard to work