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

Bug 725048

Summary: net-libs/rpc2-2.14 does not respect CFLAGS/LDFLAGS
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: esigra, sam
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-24 17:49:31 UTC
This is an auto-filed bug because net-libs/rpc2 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-24 17:49:38 UTC
Created attachment 641408 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-11-05 16:56:02 UTC
tinderbox has reproduced this issue with version 2.14 - Updating summary.
Comment 3 Larry the Git Cow gentoo-dev 2022-07-02 13:16:16 UTC
The bug has been closed via the following commit(s):

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

commit 33937f23c9c109caeb28da7d5f968808ef1c063c
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2022-07-02 13:15:56 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2022-07-02 13:15:56 +0000

    net-libs/rpc2: update EAPI 6 -> 8
    
    Closes: https://bugs.gentoo.org/716076
    Closes: https://bugs.gentoo.org/725048
    Signed-off-by: David Seifert <soap@gentoo.org>

 net-libs/rpc2/files/rpc2-2.14-include.patch         | 10 ++++++++++
 net-libs/rpc2/files/rpc2-2.14-respect-flags.patch   | 21 +++++++++++++++++++++
 .../rpc2/{rpc2-2.14.ebuild => rpc2-2.14-r1.ebuild}  | 14 +++++++-------
 3 files changed, 38 insertions(+), 7 deletions(-)