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

Bug 726902

Summary: dev-lang/micropython does not respect LDFLAGS
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Patrice Clement (RETIRED) <monsieurp>
Status: RESOLVED FIXED    
Severity: normal CC: esigra, python
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 331933    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-06-03 10:55:24 UTC
This is an auto-filed bug because dev-lang/micropython does not respect 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 LDFLAGS="${LDFLAGS} -Wl,--defsym=__gentoo_check_ldflags__=0". If this is not something about c/c++ context you may want to see this bug as an hint to hide the QA warning (with QA_FLAGS_IGNORED) where is not possible to respect LDFLAGS.
Comment 1 Agostino Sarubbo gentoo-dev 2020-06-03 10:55:30 UTC
Created attachment 643218 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2020-06-04 07:03:14 UTC
The bug has been closed via the following commit(s):

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

commit 165a96a564bc5f7cee0719084da76359ce66cc90
Author:     Patrice Clement <monsieurp@gentoo.org>
AuthorDate: 2020-06-04 07:00:58 +0000
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: 2020-06-04 07:01:01 +0000

    dev-lang/micropython: honor CFLAGS and LDFLAGS.
    
    Closes: https://bugs.gentoo.org/726902
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Patrice Clement <monsieurp@gentoo.org>

 dev-lang/micropython/micropython-1.11.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)