Compilation fails due to what appears to be undefined constants such as 'VOLUME_ID_FILESYSTEM', etc. Please see the attached emerge log. Reproducible: Always Steps to Reproduce: 1. emerge =hal-0.5.9.1-r3 Actual Results: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -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 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -O2 -pipe -march=core2 -rdynamic -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 mv -f .deps/probe-input.Tpo .deps/probe-input.Po x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -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 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -O2 -pipe -march=core2 -rdynamic -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 mv -f .deps/logger.Tpo .deps/logger.Po x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -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 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -O2 -pipe -march=core2 -rdynamic -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -MT probe-volume.o -MD -MP -MF .deps/probe-volume.Tpo -c -o probe-volume.o probe-volume.c probe-storage.c: In function ‘main’: probe-storage.c:462: error: dereferencing pointer to incomplete type probe-storage.c:462: error: ‘VOLUME_ID_FILESYSTEM’ undeclared (first use in this function) probe-storage.c:462: error: (Each undeclared identifier is reported only once probe-storage.c:462: error: for each function it appears in.) probe-storage.c:463: error: dereferencing pointer to incomplete type probe-storage.c:463: error: ‘VOLUME_ID_RAID’ undeclared (first use in this function) probe-storage.c:464: error: dereferencing pointer to incomplete type probe-storage.c:464: error: ‘VOLUME_ID_OTHER’ undeclared (first use in this function) probe-storage.c:465: error: dereferencing pointer to incomplete type probe-storage.c:465: error: ‘VOLUME_ID_CRYPTO’ undeclared (first use in this function) make[5]: *** [probe-storage.o] Error 1 make[5]: *** Waiting for unfinished jobs.... probe-volume.c: In function ‘set_volume_id_values’: probe-volume.c:101: error: dereferencing pointer to incomplete type probe-volume.c:102: error: ‘VOLUME_ID_FILESYSTEM’ undeclared (first use in this function) probe-volume.c:102: error: (Each undeclared identifier is reported only once probe-volume.c:102: error: for each function it appears in.) probe-volume.c:105: error: ‘VOLUME_ID_OTHER’ undeclared (first use in this function) probe-volume.c:108: error: ‘VOLUME_ID_RAID’ undeclared (first use in this function) probe-volume.c:111: error: ‘VOLUME_ID_CRYPTO’ undeclared (first use in this function) probe-volume.c:114: error: ‘VOLUME_ID_UNUSED’ undeclared (first use in this function) probe-volume.c:125: error: dereferencing pointer to incomplete type probe-volume.c:128: error: dereferencing pointer to incomplete type probe-volume.c:130: error: dereferencing pointer to incomplete type probe-volume.c:131: error: dereferencing pointer to incomplete type probe-volume.c:132: error: dereferencing pointer to incomplete type probe-volume.c:135: error: dereferencing pointer to incomplete type probe-volume.c:136: error: dereferencing pointer to incomplete type probe-volume.c:138: error: dereferencing pointer to incomplete type probe-volume.c:138: error: dereferencing pointer to incomplete type probe-volume.c:140: error: dereferencing pointer to incomplete type probe-volume.c:155: error: dereferencing pointer to incomplete type probe-volume.c:156: error: dereferencing pointer to incomplete type probe-volume.c: In function ‘main’: probe-volume.c:655: error: dereferencing pointer to incomplete type probe-volume.c:655: error: ‘VOLUME_ID_UNUSED’ undeclared (first use in this function) make[5]: *** [probe-volume.o] Error 1 mv -f .deps/linux_dvd_rw_utils.Tpo .deps/linux_dvd_rw_utils.Po make[5]: Leaving directory `/home/portage/sys-apps/hal-0.5.9.1-r3/work/hal-0.5.9.1/hald/linux/probing' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/portage/sys-apps/hal-0.5.9.1-r3/work/hal-0.5.9.1/hald/linux' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/portage/sys-apps/hal-0.5.9.1-r3/work/hal-0.5.9.1/hald' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/portage/sys-apps/hal-0.5.9.1-r3/work/hal-0.5.9.1/hald' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/portage/sys-apps/hal-0.5.9.1-r3/work/hal-0.5.9.1' make: *** [all] Error 2 * * ERROR: sys-apps/hal-0.5.9.1-r3 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3705: Called die * The specific snippet of code: * emake || die "make failed" * The die message: * make failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/home/portage/sys-apps/hal-0.5.9.1-r3/temp/build.log'. * The ebuild environment file is located at '/home/portage/sys-apps/hal-0.5.9.1-r3/temp/environment'. * Expected Results: 'emerge successful' Portage 2.2_rc8 (default/linux/amd64/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1 x86_64) ================================================================= System uname: Linux-2.6.26-gentoo-r1-x86_64-Intel-R-_Core-TM-2_CPU_6300_@_1.86GHz-with-glibc2.2.5 Timestamp of tree: Fri, 05 Sep 2008 12:19:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.62-r1 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.26 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=core2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -march=core2" DISTDIR="/home/portage/distfiles" FEATURES="collision-protect distlocks fixpackages parallel-fetch prelink preserve-libs sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.iinet.net.au/pub/Gentoo " LANG="en_AU.UTF-8" LC_ALL="en_AU.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en_AU.UTF-8 en_AU en_GB.UTF-8 en_GB" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/home" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.au.gentoo.org/gentoo-portage" USE="X a52 aac aalib acpi alsa amd64 ao bash-completion berkdb bluetooth branding bzip2 cairo cddb cdr cli cracklib crypt curl dbus dia doc dvd dvdr dvdread emboss encode exif fam ffmpeg fftw firefox flac fontconfig fortran gd gdbm gif gnome gnutls gpm graphviz gstreamer gtk hal iconv icq imagemagick imlib ipod ipv6 isdnlog java javascript jpeg jpeg2k kde libnotify lm_sensors lzo mad matroska midi mikmod mmap mmx mng mp3 mpeg mplayer msn mudflap multilib mysql mysqli ncurses nls nptl nptlonly nsplugin ntfs offensive ogg openal opengl openmp pam pch pcre pdf png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session sharedmem spell spl sqlite sqlite3 sse sse2 ssl startup-notification subversion svg sysfs syslog tcpd theora tiff timidity truetype unicode usb vcd vorbis wavpack wxwindows xcomposite xml xorg xpm xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_AU.UTF-8 en_AU en_GB.UTF-8 en_GB" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 164700 [details] Compilation failure build log
Could you take a look to see if /usr/include/libvolume_id.h got corrupted, since that is the header supposed to define VOLUME_ID_FILESYSTEM etc. If that header does have a problem, then you should try re-merging udev.
Header looks fine (but the constants aren't there), tried re-emerging udev anyway, same problem.
Why are you using 0.5.9.1-r3? This bug was already fixed in 0.5.10, as well as 0.5.11 that's in stable.
Oh, just because I suddenly encountered the 'empty collection' bug in Amarok (#163873), so I'm trying old versions of packages associated with that bug. I realise this particular version is old now, but should it be masked or something if it is problematic?
Ahh, a new year, reawakened curiosities! :) So why is this version of HAL still in the tree, and stable at that? Will it compile successfully if one is using "amd64" as opposed to "~amd64"? But then 0.5.11-r1 would be emerged by default since it's newer... so why is 0.5.9.1-r3 still there?
Do you still have problems with amarok and latest hal in stable?
I don't use stable, but I haven't had that problem for months now. Can't remember exactly what fixed it. I just tried compiling it again and it freaked out at aclocal! Why is this ebuild still marked as stable?
Maybe hal-0.5.9* should be dropped, but maybe other people still need them :-/, I don't know the policy for handling old stable ebuilds that no longer work :-|
0.5.9 removed from the tree. Closing.