Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 780795 - [guru] app-text/mdbook-0.4.7 does not respect CFLAGS/LDFLAGS
Summary: [guru] app-text/mdbook-0.4.7 does not respect CFLAGS/LDFLAGS
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: GURU project
Depends on:
Blocks: qa-guru
  Show dependency tree
Reported: 2021-04-07 08:40 UTC by Agostino Sarubbo
Modified: 2021-04-25 14:02 UTC (History)
0 users

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

build.log (build.log,193.68 KB, text/plain)
2021-04-07 08:40 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 2021-04-07 08:40:07 UTC

Issue: app-text/mdbook-0.4.7 does not respect CFLAGS/LDFLAGS.
Discovered on: amd64 (internal ref: guru_tinderbox)

To reproduce this issue you may want to add "-frecord-gcc-switches" to CFLAGS/CXXFLAGS/FFLAGS/FCFLAGS and LDFLAGS="${LDFLAGS} -Wl,--defsym=__gentoo_check_ldflags__=0". If this is not something about c/c++ see this bug as an hint to hide the QA warning (with QA_FLAGS_IGNORED) where is not possible to respect CFLAGS/LDFLAGS.
Comment 1 Agostino Sarubbo gentoo-dev 2021-04-07 08:40:09 UTC
Created attachment 698166 [details]

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2021-04-08 10:12:00 UTC
The bug has been closed via the following commit(s):

commit e3a0474ac08b9151c47df6206c1bd778719ad9ff
Author:     YOSHIOKA Takuma <>
AuthorDate: 2021-04-07 17:59:40 +0000
Commit:     YOSHIOKA Takuma <>
CommitDate: 2021-04-07 18:02:58 +0000

    app-text/mdbook: Specify QA_FLAGS_IGNORED
    CFLAGS/LDFLAGS won't be respected since the application is written
    in Rust.
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: YOSHIOKA Takuma <>

 app-text/mdbook/mdbook-0.4.5.ebuild | 2 ++
 app-text/mdbook/mdbook-0.4.6.ebuild | 2 ++
 app-text/mdbook/mdbook-0.4.7.ebuild | 2 ++
 3 files changed, 6 insertions(+)
Comment 3 Agostino Sarubbo gentoo-dev 2021-04-25 14:02:19 UTC
Changing TRACKER as requested by QA.