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

Bug 726892

Summary: dev-lang/nim-1.4.8 does not respect CFLAGS/LDFLAGS
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
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-06-03 10:53:31 UTC
This is an auto-filed bug because dev-lang/nim 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 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-06-03 10:53:37 UTC
Created attachment 643208 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-10-01 07:32:17 UTC
tinderbox has reproduced this issue with version 1.4.8 - Updating summary.
Comment 3 Larry the Git Cow gentoo-dev 2021-12-25 20:31:24 UTC
The bug has been closed via the following commit(s):

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

commit ee1bf9dd180dc9e1e6a859a1137d29304fee0ab4
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2021-12-25 20:30:35 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2021-12-25 20:30:35 +0000

    dev-lang/nim: ignore *FLAGS of binaries generated by nim
    
    Closes: https://bugs.gentoo.org/726892
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 dev-lang/nim/nim-1.4.8.ebuild | 12 ++++++++++++
 1 file changed, 12 insertions(+)