Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 204119 - sys-apps/dmidecode fails on cross distcc (CC non correctly set)
Summary: sys-apps/dmidecode fails on cross distcc (CC non correctly set)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-02 21:09 UTC by Davide Cendron (RETIRED)
Modified: 2008-01-02 21:53 UTC (History)
0 users

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


Attachments
dmidecode-2.9.ebuild.diff (dmidecode-2.9.ebuild.diff,430 bytes, patch)
2008-01-02 21:09 UTC, Davide Cendron (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Davide Cendron (RETIRED) gentoo-dev 2008-01-02 21:09:36 UTC
sys-apps/dmidecode ebuild does not set CC correctly (default to "gcc", instead of ${CHOST}-gcc}, so any attempt to build it using a cross distcc ends with an error.

I propose a little working patch, but feel free to resolve the issue in a more
elegant manner ;-)
Comment 1 Davide Cendron (RETIRED) gentoo-dev 2008-01-02 21:09:57 UTC
Created attachment 139910 [details, diff]
dmidecode-2.9.ebuild.diff
Comment 2 SpanKY gentoo-dev 2008-01-02 21:53:24 UTC
you forgot to inherit toolchain-funcs, but otherwise the meat of the patch is OK

should be fixed in cvs now, thanks!

http://sources.gentoo.org/sys-apps/dmidecode/dmidecode-2.9.ebuild?r1=1.4&r2=1.5