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

Bug 726002

Summary: sys-fs/mhddfs does not respect CFLAGS/LDFLAGS
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Sergey Popov <pinkbyte>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 59506, 331933    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-05-29 06:54:02 UTC
This is an auto-filed bug because sys-fs/mhddfs 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.

NOTE:
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-29 06:54:08 UTC
Created attachment 642430 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2020-11-15 17:14:21 UTC
The bug has been closed via the following commit(s):

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

commit ac73470ace408e119778067463c8bb2f0ec99711
Author:     Sergey Popov <pinkbyte@gentoo.org>
AuthorDate: 2020-11-15 17:12:46 +0000
Commit:     Sergey Popov <pinkbyte@gentoo.org>
CommitDate: 2020-11-15 17:14:19 +0000

    sys-fs/mhddfs: reorganize patches to respect CFLAGS and LDFLAGS
    
    Reported-by: Agostino Sarubbo <ago@gentoo.org>
    Closes: https://bugs.gentoo.org/726002
    Package-Manager: Portage-3.0.8, Repoman-3.0.2
    Signed-off-by: Sergey Popov <pinkbyte@gentoo.org>

 sys-fs/mhddfs/files/mhddfs-0.1.39-segfault-fix.patch   | 17 -----------------
 sys-fs/mhddfs/files/mhddfs-respect-compiler-vars.patch |  7 ++++---
 2 files changed, 4 insertions(+), 20 deletions(-)