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

Bug 294658

Summary: lm_sensors-2.10.7 fails to build as it can't find asm/bitsperlong.h
Product: Gentoo Linux Reporter: Tres 'RiverRat' Melton <RiverRat>
Component: New packagesAssignee: Mobile Herd (OBSOLETE) <mobile+disabled>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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 ***