<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>140911</bug_id>
          
          <creation_ts>2006-07-18 06:56 0000</creation_ts>
          <short_desc>hwinfo-8.38.ebuild fails to compile</short_desc>
          <delta_ts>2006-07-21 21:31:39 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>roderick.day@gmail.com</reporter>
          <assigned_to>robbat2@gentoo.org</assigned_to>
          <cc>serkan@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>roderick.day@gmail.com</who>
            <bug_when>2006-07-18 06:56:15 0000</bug_when>
            <thetext>+++ 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&apos;:
edd.c:59: warning: implicit declaration of function `sysfs_open_directory&apos;
edd.c:59: warning: assignment makes pointer from integer without a cast
edd.c:62: warning: implicit declaration of function `sysfs_read_all_subdirs&apos;
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&apos;
edd.c:75: warning: passing arg 1 of `hd_attr_uint&apos; makes pointer from integer without a cast
edd.c:79: warning: implicit declaration of function `sysfs_get_directory_link&apos;
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&apos;
make[2]: *** [edd.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/hwinfo-8.38/work/hwinfo-8.38/src/hd&apos;
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/var/tmp/portage/hwinfo-8.38/work/hwinfo-8.38/src&apos;
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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robbat2@gentoo.org</who>
            <bug_when>2006-07-21 21:31:39 0000</bug_when>
            <thetext>fixed in CVS.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>