Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 294658 - lm_sensors-2.10.7 fails to build as it can't find asm/bitsperlong.h
Summary: lm_sensors-2.10.7 fails to build as it can't find asm/bitsperlong.h
Status: RESOLVED DUPLICATE of bug 282261
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-25 23:35 UTC by Tres 'RiverRat' Melton
Modified: 2009-11-26 12:59 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 Tres 'RiverRat' Melton 2009-11-25 23:35:32 UTC
cat kernel/include/sensors.h.template > kernel/include/sensors.h                                                                                                                  
make: *** No rule to make target `asm/bitsperlong.h', needed by `prog/dump/i2cbusses.rd'.  Stop.                                                                                  
make: *** Waiting for unfinished jobs....                                                                                                                                         
awk '/SENSORS SYSCTL START/,/SENSORS SYSCTL END/' kernel/chips/*.c >> kernel/include/sensors.h                                                                                    
echo '#endif' >> kernel/include/sensors.h                                                                                                                                         
 * ERROR: sys-apps/lm_sensors-2.10.7 failed:                                                                                                                                      
 *   emake user failed                                                                                                                                                            


This looks suspiciously like bug #285376 in that neither can find the right file:  asm/bitsperlong.h  The correct location for the file is:
/lib/modules/`uname --kernel-release`/build/include/asm-generic/bitsperlong.h

The other bug tries to find it in /asm/ instead of /asm-generic/ too.
Comment 1 David Abbott (RETIRED) gentoo-dev 2009-11-26 02:21:06 UTC
Please include emerge --info sys-apps/lm_sensors
Comment 2 Petr Zima 2009-11-26 10:25:58 UTC
Looks much like duplicate of bug #282261.
Comment 3 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-11-26 12:59:35 UTC

*** This bug has been marked as a duplicate of bug 282261 ***