Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 236583 - Please stabilise app-admin/hwreport-0.10.0
Summary: Please stabilise app-admin/hwreport-0.10.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Christian Faulhammer (RETIRED)
URL:
Whiteboard:
Keywords: STABLEREQ
: 236584 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-03 15:17 UTC by Christian Faulhammer (RETIRED)
Modified: 2008-09-12 21:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Faulhammer (RETIRED) gentoo-dev 2008-09-03 15:17:27 UTC
Thanks
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-09-03 17:01:06 UTC
*** Bug 236584 has been marked as a duplicate of this bug. ***
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-09-03 17:13:06 UTC
Works fine on amd64 except:

 * QA Notice: Files built without respecting LDFLAGS have been detected
 *  Please include this file in your report:
 *  /var/tmp/portage/app-admin/hwreport-0.10.0/temp/scanelf-ignored-LDFLAGS.log
 * /usr/bin/scan-printers

Your call on stable or not, it works and does what it is suppose to. Let me know.
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2008-09-07 01:57:32 UTC
(In reply to comment #2)
> Works fine on amd64 except:
> 
>  * QA Notice: Files built without respecting LDFLAGS have been detected
>  *  Please include this file in your report:
>  *  /var/tmp/portage/app-admin/hwreport-0.10.0/temp/scanelf-ignored-LDFLAGS.log
>  * /usr/bin/scan-printers
> 
> Your call on stable or not, it works and does what it is suppose to. Let me
> know.

 Hrm, I don't know how I could get LDFLAGS respected, because the only thing called on scan-printers.c is the C compiler...
Comment 4 Markus Meier gentoo-dev 2008-09-07 14:39:14 UTC
(In reply to comment #3)
>  Hrm, I don't know how I could get LDFLAGS respected, because the only thing
> called on scan-printers.c is the C compiler...

this should do it:

--- /usr/portage/app-admin/hwreport/hwreport-0.10.0.ebuild	2008-07-25 01:14:21.000000000 +0200
+++ hwreport-0.10.0.ebuild	2008-09-07 16:38:19.000000000 +0200
@@ -17,7 +17,7 @@
 RDEPEND=">=sys-apps/dmidecode-2.8 >=sys-apps/pciutils-2.2.0"
 
 src_compile() {
-	$(tc-getCC) -o scan-printers scan-printers.c
+	$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o scan-printers scan-printers.c
 }
 
 src_install() {

Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2008-09-11 22:18:59 UTC
Added to the ebuild, so please go on.
Comment 6 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2008-09-11 23:56:23 UTC
amd64 stable
Comment 7 Markus Meier gentoo-dev 2008-09-12 21:54:31 UTC
x86 stable, all arches done.