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

Bug 140911

Summary: hwinfo-8.38.ebuild fails to compile
Product: Gentoo Linux Reporter: Roderick Day <roderick.day>
Component: New packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: major CC: serkan
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Roderick Day 2006-07-18 06:56:15 UTC
+++ This bug was initially created as a clone of Bug #91036 +++

The ebuild sys-apps/hwinfo-8.38.ebuild fails with the following message:

gcc -c -Wall -O2 -pipe -g -fPIC -march=pentium4 -O3 -pipe -I../../src/hd edd.c
edd.c: In function `get_edd_info':
edd.c:59: warning: implicit declaration of function `sysfs_open_directory'
edd.c:59: warning: assignment makes pointer from integer without a cast
edd.c:62: warning: implicit declaration of function `sysfs_read_all_subdirs'
edd.c:63: error: dereferencing pointer to incomplete type
edd.c:64: error: dereferencing pointer to incomplete type
edd.c:64: error: dereferencing pointer to incomplete type
edd.c:64: error: dereferencing pointer to incomplete type
edd.c:64: error: dereferencing pointer to incomplete type
edd.c:64: error: dereferencing pointer to incomplete type
edd.c:67: error: dereferencing pointer to incomplete type
edd.c:75: warning: implicit declaration of function `sysfs_get_directory_attribute'
edd.c:75: warning: passing arg 1 of `hd_attr_uint' makes pointer from integer without a cast
edd.c:79: warning: implicit declaration of function `sysfs_get_directory_link'
edd.c:79: warning: assignment makes pointer from integer without a cast
edd.c:81: error: dereferencing pointer to incomplete type
edd.c:100: warning: implicit declaration of function `sysfs_close_directory'
make[2]: *** [edd.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/hwinfo-8.38/work/hwinfo-8.38/src/hd'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/var/tmp/portage/hwinfo-8.38/work/hwinfo-8.38/src'
make: *** [subdirs] Error 2

!!! ERROR: sys-apps/hwinfo-8.38 failed.
Call stack:
ebuild.sh, line 1545: Called dyn_compile
ebuild.sh, line 940: Called src_compile
hwinfo-8.38.ebuild, line 26: Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-07-21 21:31:39 UTC
fixed in CVS.