<?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>229653</bug_id>
          
          <creation_ts>2008-06-26 23:24 0000</creation_ts>
          <short_desc>sys-apps/sg3_utils-1.26 headers broken: /usr/include/scsi/sg_cmds_basic.h:123: error: expected declaration specifiers or ‘...’ before ‘uint64_t’: should include stdint.h</short_desc>
          <delta_ts>2008-06-27 14:38:09 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>Applications</component>
          <version>2007.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>ed@catmur.co.uk</reporter>
          <assigned_to>base-system@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>ed@catmur.co.uk</who>
            <bug_when>2008-06-26 23:24:59 0000</bug_when>
            <thetext>While investigating bug 229641:

if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Wall -Werror -ggdb3 -D_FORTIFY_SOURCE=2 -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/hal -I/usr/include/libgtop-2.0 -I/usr/include/libxml2      -g -O2 -MT hal-ipod-info.o -MD -MP -MF &quot;.deps/hal-ipod-info.Tpo&quot; -c -o hal-ipod-info.o hal-ipod-info.c; \
	then mv -f &quot;.deps/hal-ipod-info.Tpo&quot; &quot;.deps/hal-ipod-info.Po&quot;; else rm -f &quot;.deps/hal-ipod-info.Tpo&quot;; exit 1; fi
In file included from /usr/include/scsi/sg_cmds.h:17,
                 from hal-ipod-info.c:9:
/usr/include/scsi/sg_cmds_basic.h:123: error: expected declaration specifiers or ‘...’ before ‘uint64_t’
In file included from /usr/include/scsi/sg_cmds.h:18,
                 from hal-ipod-info.c:9:
/usr/include/scsi/sg_cmds_extra.h:128: error: expected declaration specifiers or ‘...’ before ‘uint64_t’
/usr/include/scsi/sg_cmds_extra.h:244: error: expected declaration specifiers or ‘...’ before ‘uint64_t’
make[2]: *** [hal-ipod-info.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/libipoddevice-0.5.3/work/libipoddevice-0.5.3/src&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/libipoddevice-0.5.3/work/libipoddevice-0.5.3&apos;
make: *** [all] Error 2

For uint64_t to be available, &lt;stdint.h&gt; must be included: http://www.opengroup.org/onlinepubs/009695399/basedefs/stdint.h.html</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ed@catmur.co.uk</who>
            <bug_when>2008-06-26 23:31:54 0000</bug_when>
            <thetext>Created an attachment (id=158565)
stdint.patch

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robbat2@gentoo.org</who>
            <bug_when>2008-06-27 14:38:09 0000</bug_when>
            <thetext>InCVS.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>158565</attachid>
            <date>2008-06-26 23:31 0000</date>
            <desc>stdint.patch</desc>
            <filename>stdint.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGluY2x1ZGUvc2dfY21kc19iYXNpYy5oCTIwMDgvMDYvMjYgMjM6Mjc6NDAJMS4xCisrKyBp
bmNsdWRlL3NnX2NtZHNfYmFzaWMuaAkyMDA4LzA2LzI2IDIzOjI4OjA2CkBAIC0zMCw2ICszMCw4
IEBACiAgKgogICovCiAKKyNpbmNsdWRlIDxzdGRpbnQuaD4KKwogI2lmZGVmIF9fY3BsdXNwbHVz
CiBleHRlcm4gIkMiIHsKICNlbmRpZgotLS0gaW5jbHVkZS9zZ19jbWRzX2V4dHJhLmgJMjAwOC8w
Ni8yNiAyMzoyNzo0MAkxLjEKKysrIGluY2x1ZGUvc2dfY21kc19leHRyYS5oCTIwMDgvMDYvMjYg
MjM6Mjk6MDIKQEAgLTMwLDYgKzMwLDggQEAKICAqCiAgKi8KIAorI2luY2x1ZGUgPHN0ZGludC5o
PgorCiAjaWZkZWYgX19jcGx1c3BsdXMKIGV4dGVybiAiQyIgewogI2VuZGlmCg==
</data>        

          </attachment>
    </bug>

</bugzilla>