Bug 140911 - hwinfo-8.38.ebuild fails to compile
Bug#: 140911 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: major Priority: P2
Resolution: FIXED Assigned To: robbat2@gentoo.org Reported By: roderick.day@gmail.com
Component: Ebuilds
URL: 
Summary: hwinfo-8.38.ebuild fails to compile
Keywords:  
Status Whiteboard: 
Opened: 2006-07-18 06:56 0000
Description:   Opened: 2006-07-18 06:56 0000
+++ 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 From Robin Johnson 2006-07-21 21:31:39 0000 -------
fixed in CVS.