Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 799851 - sys-apps/lm-sensors - fails compiling with crossdev
Summary: sys-apps/lm-sensors - fails compiling with crossdev
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2021-07-02 12:38 UTC by tgyt
Modified: 2021-11-20 09:40 UTC (History)
5 users (show)

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


Attachments
build.log (build.log,31.67 KB, text/x-log)
2021-07-02 12:38 UTC, tgyt
Details
aarch64-unknown-linux-gnu-emerge --info (file_799851.txt,5.53 KB, text/plain)
2021-07-02 12:39 UTC, tgyt
Details
possible patch (file_799851.txt,324 bytes, patch)
2021-07-02 12:45 UTC, tgyt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tgyt 2021-07-02 12:38:06 UTC
Created attachment 720996 [details]
build.log

sys-apps/lm-sensors-3.6.0
CHOST=aarch64-unknown-linux-gnu
CBUILD=x86_64-pc-linux-gnu
Comment 1 tgyt 2021-07-02 12:39:39 UTC
Created attachment 720999 [details]
aarch64-unknown-linux-gnu-emerge --info
Comment 2 tgyt 2021-07-02 12:45:22 UTC
Created attachment 721002 [details, diff]
possible patch

At least with this patch lm-sensors compiles. Shouldn't PREFIX and MANDIR be changed?
Comment 3 Larry the Git Cow gentoo-dev 2021-11-20 09:40:06 UTC
The bug has been closed via the following commit(s):

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

commit 345f157f73c6640b6909e963fac7706df4716c63
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-11-20 09:36:30 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-11-20 09:39:58 +0000

    sys-apps/lm-sensors: fix cross-compilation
    
    When CC and friends aren't set in src_install too, it tries
    to build again! When they are set, it doesn't bother.
    
    Closes: https://bugs.gentoo.org/799851
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/lm-sensors/lm-sensors-3.6.0.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)