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

Bug 722648

Summary: dev-embedded/gputils-1.5.0 does not respect CFLAGS/LDFLAGS
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Embedded Gentoo Team <embedded>
Status: RESOLVED FIXED    
Severity: normal CC: dan, esigra, sam
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=818802
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 59506, 331933    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-05-12 07:37:23 UTC
This is an auto-filled bug because dev-embedded/gputils 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".
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-12 07:37:30 UTC
Created attachment 638392 [details]
build.log

build log and emerge --info
Comment 2 Daniel M. Weeks 2020-08-03 18:50:49 UTC
I believe this was fixed upstream quite a few years ago: https://sourceforge.net/p/gputils/bugs/295/
Comment 3 Agostino Sarubbo gentoo-dev 2021-09-24 14:36:00 UTC
tinderbox has reproduced this issue with version 1.5.0 - Updating summary.
Comment 4 Larry the Git Cow gentoo-dev 2021-11-07 07:09:06 UTC
The bug has been closed via the following commit(s):

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

commit 21ea66b26eea2572564d1de7ab047ab573c57d69
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-11-07 07:08:06 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-11-07 07:08:48 +0000

    dev-embedded/gputils: update EAPI 6 -> 8, respect *FLAGS (really disable gold)
    
    Closes: https://bugs.gentoo.org/722648
    Closes: https://bugs.gentoo.org/818802
    Fixes: 3b63fda8bb810ac60d85ed7f7649c61906f72f98
    Thanks-to: Ionen Wolkens <ionen@gentoo.org> (noticing bonehead change previously)
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/gputils-1.5.0-respect-flags.patch        | 123 +++++++++++++++++++++
 dev-embedded/gputils/gputils-1.5.0.ebuild          |  26 +++--
 2 files changed, 141 insertions(+), 8 deletions(-)
Comment 5 Larry the Git Cow gentoo-dev 2021-11-07 07:11:58 UTC
The bug has been referenced in the following commit(s):

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

commit 4381eaa1819e3d3dd86cbd8e8e3f2ec3e2c69eaa
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-11-07 07:11:42 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-11-07 07:11:42 +0000

    dev-embedded/gputils: fix unstaged patch filename
    
    Bug: https://bugs.gentoo.org/722648
    Bug: https://bugs.gentoo.org/817980
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-embedded/gputils/gputils-1.5.0.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)