Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 229653 - 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
Summary: sys-apps/sg3_utils-1.26 headers broken: /usr/include/scsi/sg_cmds_basic.h:123...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-26 23:24 UTC by Ed Catmur
Modified: 2008-06-27 14:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
stdint.patch (stdint.patch,388 bytes, patch)
2008-06-26 23:31 UTC, Ed Catmur
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Catmur 2008-06-26 23:24:59 UTC
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 ".deps/hal-ipod-info.Tpo" -c -o hal-ipod-info.o hal-ipod-info.c; \
	then mv -f ".deps/hal-ipod-info.Tpo" ".deps/hal-ipod-info.Po"; else rm -f ".deps/hal-ipod-info.Tpo"; 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'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/libipoddevice-0.5.3/work/libipoddevice-0.5.3'
make: *** [all] Error 2

For uint64_t to be available, <stdint.h> must be included: http://www.opengroup.org/onlinepubs/009695399/basedefs/stdint.h.html
Comment 1 Ed Catmur 2008-06-26 23:31:54 UTC
Created attachment 158565 [details, diff]
stdint.patch
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-06-27 14:38:09 UTC
InCVS.