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

Bug 742437

Summary: www-apps/moodle-3.5.14 does not respect CFLAGS/LDFLAGS
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Anthony Basile <blueness>
Severity: normal CC: web-apps
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 59506, 331933    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-09-14 05:58:07 UTC

Issue: www-apps/moodle-3.5.14 does not respect CFLAGS/LDFLAGS.
Discovered on: amd64 (internal ref: ci)

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 2020-09-14 05:58:09 UTC
Created attachment 660087 [details]

build log and emerge --info
Comment 2 Anthony Basile gentoo-dev 2020-09-14 11:03:50 UTC
This is a false positive.  The package doesn't have any compiled code.  Its all just php scripts.
Comment 3 Agostino Sarubbo gentoo-dev 2020-09-14 11:14:32 UTC
the bug is intended to hide the qa notice if it is a false positive.