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

Bug 725452

Summary: sci-electronics/gnucap-0.35.20091207-r1 does not respect CFLAGS/LDFLAGS
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: The Soldering-Iron Brotherhood <sci-electronics>
Status: CONFIRMED ---    
Severity: normal CC: esigra
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 835817    
Bug Blocks: 59506, 331933    
Attachments: build.log.bz2

Description Agostino Sarubbo gentoo-dev 2020-05-26 07:17:54 UTC
This is an auto-filed bug because sci-electronics/gnucap 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-26 07:18:01 UTC
Created attachment 641842 [details]
build.log.bz2

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-11-09 07:57:56 UTC
tinderbox has reproduced this issue with version 0.35.20091207-r1 - Updating summary.
Comment 3 Larry the Git Cow gentoo-dev 2022-01-27 18:28:01 UTC
The bug has been referenced in the following commit(s):

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

commit e79a95397bbf5564ba4b59fdd437b2ebe00d5a1d
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2022-01-27 18:25:46 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2022-01-27 18:27:54 +0000

    sci-electronics/gnucap: add version 20210107
    
    Closes: https://bugs.gentoo.org/614656
    Bug: https://bugs.gentoo.org/628828
    Bug: https://bugs.gentoo.org/792735
    Bug: https://bugs.gentoo.org/731854
    Bug: https://bugs.gentoo.org/725452
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 sci-electronics/gnucap/Manifest                    |   1 +
 .../gnucap/files/gnucap-20210107-fix-paths.patch   |  68 +++++++
 .../files/gnucap-20210107-respect-ldflags.patch    | 208 +++++++++++++++++++++
 sci-electronics/gnucap/gnucap-20210107.ebuild      |  21 +++
 4 files changed, 298 insertions(+)