Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 780795

Summary: [guru] app-text/mdbook-0.4.7 does not respect CFLAGS/LDFLAGS
Product: GURU Reporter: Agostino Sarubbo <ago>
Component: Package issuesAssignee: GURU project <guru-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 785607    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2021-04-07 08:40:07 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

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

NOTE:
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

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):

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

commit e3a0474ac08b9151c47df6206c1bd778719ad9ff
Author:     YOSHIOKA Takuma <lo48576@hard-wi.red>
AuthorDate: 2021-04-07 17:59:40 +0000
Commit:     YOSHIOKA Takuma <lo48576@hard-wi.red>
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.
    
    Closes: https://bugs.gentoo.org/780795
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: YOSHIOKA Takuma <lo48576@hard-wi.red>

 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.