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

Bug 334453

Summary: x11-plugins/gkrellmwireless does not respect LDFLAGS
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Jim Ramsay (lack) (RETIRED) <lack>
Status: RESOLVED FIXED    
Severity: QA CC: desktop-dock, esigra
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 331933    
Attachments: Build log
Patch to gkrellmwireless-2.0.3.ebuild to address LDFLAGS issue and minor other QA issues

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2010-08-25 14:47:07 UTC
See attached build log.

(Please do not complain about the need for looking at the build log until you can provide an easy way to open bugs with the correct data picked out of a tinderbox log. Thanks.)
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-08-25 14:47:33 UTC
Created attachment 244555 [details]
Build log
Comment 2 Kevin Pyle 2010-08-29 22:38:33 UTC
Created attachment 245277 [details, diff]
Patch to gkrellmwireless-2.0.3.ebuild to address LDFLAGS issue and minor other QA issues

This patch modifies the ebuild to add a src_prepare that:

- Changes the compiler from 'gcc' to the result of $(tc-getCC), so that cross-compilation works.
- Moves user CFLAGS to be after package CFLAGS, rather than before.  As it was, the package always specified -O2 after the user flags, so optimization was forced to -O2.
- Adds $(LDFLAGS) to the link line.
Comment 3 Jim Ramsay (lack) (RETIRED) gentoo-dev 2011-01-25 16:13:56 UTC
Thanks again, Kevin. Applied your patch and verified it addresses these issues.

Fixed in x11-plugins/gkrellmwireless-2.0.3-r1