Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 167093 - sys-apps/hal-0.5.7.1-r5 does not compile with gcc 4.1.2
Summary: sys-apps/hal-0.5.7.1-r5 does not compile with gcc 4.1.2
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Project Gentopia
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-15 19:03 UTC by octoploid
Modified: 2007-02-15 23:43 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description octoploid 2007-02-15 19:03:13 UTC
Compilation of hal-0.5.7.1 fails with gcc 4.1.2:

if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -DPACKAGE_SYSCONF_DIR=\""/etc"\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_BIN_DIR=\""/usr/bin"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_LOCALSTATEDIR=\""/var/lib"\" -I../../.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include      -O2 -march=k8 -pipe -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -MT probe-storage.o -MD -MP -MF ".deps/probe-storage.Tpo" -c -o probe-storage.o probe-storage.c; \
        then mv -f ".deps/probe-storage.Tpo" ".deps/probe-storage.Po"; else rm -f ".deps/probe-storage.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -DPACKAGE_SYSCONF_DIR=\""/etc"\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_BIN_DIR=\""/usr/bin"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_LOCALSTATEDIR=\""/var/lib"\" -I../../.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include      -O2 -march=k8 -pipe -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -MT linux_dvd_rw_utils.o -MD -MP -MF ".deps/linux_dvd_rw_utils.Tpo" -c -o linux_dvd_rw_utils.o linux_dvd_rw_utils.c; \
        then mv -f ".deps/linux_dvd_rw_utils.Tpo" ".deps/linux_dvd_rw_utils.Po"; else rm -f ".deps/linux_dvd_rw_utils.Tpo"; exit 1; fi
shared.h:62: warning: ‘drop_privileges’ defined but not used
probe-storage.c:57: warning: no previous declaration for ‘volume_id_log’
linux_dvd_rw_utils.c: In function ‘scsi_command_transport’:
linux_dvd_rw_utils.c:152: warning: pointer of type ‘void *’ used in arithmetic
linux_dvd_rw_utils.c:152: warning: dereferencing ‘void *’ pointer
linux_dvd_rw_utils.c:152: error: void value not ignored as it ought to be
linux_dvd_rw_utils.c:152: warning: pointer of type ‘void *’ used in arithmetic
linux_dvd_rw_utils.c:152: warning: dereferencing ‘void *’ pointer
linux_dvd_rw_utils.c:152: error: void value not ignored as it ought to be
linux_dvd_rw_utils.c:152: warning: pointer of type ‘void *’ used in arithmetic
linux_dvd_rw_utils.c:152: warning: dereferencing ‘void *’ pointer
linux_dvd_rw_utils.c:152: error: void value not ignored as it ought to be
linux_dvd_rw_utils.c:152: warning: pointer of type ‘void *’ used in arithmetic
linux_dvd_rw_utils.c:152: warning: dereferencing ‘void *’ pointer
linux_dvd_rw_utils.c:152: error: void value not ignored as it ought to be
linux_dvd_rw_utils.c:152: warning: pointer of type ‘void *’ used in arithmetic
linux_dvd_rw_utils.c:152: warning: dereferencing ‘void *’ pointer
linux_dvd_rw_utils.c:152: error: void value not ignored as it ought to be
linux_dvd_rw_utils.c:153: warning: pointer of type ‘void *’ used in arithmetic
linux_dvd_rw_utils.c:153: warning: dereferencing ‘void *’ pointer
linux_dvd_rw_utils.c:153: error: void value not ignored as it ought to be
linux_dvd_rw_utils.c:153: warning: pointer of type ‘void *’ used in arithmetic
linux_dvd_rw_utils.c:153: warning: dereferencing ‘void *’ pointer
linux_dvd_rw_utils.c:153: error: void value not ignored as it ought to be
linux_dvd_rw_utils.c:153: warning: pointer of type ‘void *’ used in arithmetic
linux_dvd_rw_utils.c:153: warning: dereferencing ‘void *’ pointer
linux_dvd_rw_utils.c:153: error: void value not ignored as it ought to be
linux_dvd_rw_utils.c: In function ‘scsi_command_init’:
linux_dvd_rw_utils.c:175: error: ‘SG_FLAG_LUN_INHIBIT’ undeclared (first use in this function)
linux_dvd_rw_utils.c:175: error: (Each undeclared identifier is reported only once
linux_dvd_rw_utils.c:175: error: for each function it appears in.)
shared.h:62: warning: ‘drop_privileges’ defined but not used
probe-storage.c:65: warning: ‘strdup_valid_utf8’ defined but not used


Reproducible: Always
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2007-02-15 23:43:15 UTC
You're going to have to be a lot more detailed then just copying and pasting a gcc error. (hint: all bug reports are suppose to come with a BARE minimum of emerge --info, it says that above the comments window).

It works for me on x86, 3 amd64s, and ppc.