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

Bug 781692

Summary: [guru] net-misc/kristall-0.3 does not respect CFLAGS/LDFLAGS
Product: GURU Reporter: Agostino Sarubbo <ago>
Component: Package issuesAssignee: GURU project <guru-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 785607    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2021-04-09 06:39:16 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-misc/kristall-0.3 does not respect CFLAGS/LDFLAGS.
Discovered on: amd64 (internal ref: guru_tinderbox)

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 2021-04-09 06:39:19 UTC
Created attachment 698757 [details]
build.log

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

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e3696b0c6edfd8b2b2eb19799f7c10d43f0610f2

commit e3696b0c6edfd8b2b2eb19799f7c10d43f0610f2
Author:     Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
AuthorDate: 2021-04-09 18:44:03 +0000
Commit:     Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
CommitDate: 2021-04-09 18:48:20 +0000

    net-misc/kristall: Make it respect *FLAGS.
    
    The project uses make which then calls qmake, so we can't use
    qmake-utils unless we want to make ourselves a lot of work. Instead we
    initialize the QMAKE_*FLAGS variables ourselves.
    
    Closes: https://bugs.gentoo.org/781692
    
    Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>

 .../kristall/files/kristall-0.3_add_flags.patch    | 27 +++++++++++++++++
 net-misc/kristall/kristall-0.3-r1.ebuild           | 35 ++++++++++++++++++++++
 net-misc/kristall/kristall-9999.ebuild             |  2 ++
 3 files changed, 64 insertions(+)
Comment 3 Agostino Sarubbo gentoo-dev 2021-04-25 14:03:48 UTC
Changing TRACKER as requested by QA.