I'm not sure if this is a problem with splashutils or openrc-0.4.0, but splashutils fails to build with: x86_64-pc-linux-gnu-gcc -O2 -march=core2 -mfpmath=sse -ggdb -pipe -g -Wall -I../core/objs -I../core -I../core/src -I../core/objs/src -fPIC -c -o splash.o splash.c splash.c: In function ‘splash_start’: splash.c:596: error: ‘RC_LEVEL_REBOOT’ undeclared (first use in this function) splash.c:596: error: (Each undeclared identifier is reported only once splash.c:596: error: for each function it appears in.) splash.c: In function ‘rc_plugin_hook’: splash.c:693: error: ‘RC_LEVEL_REBOOT’ undeclared (first use in this function) splash.c:719: error: ‘RC_SERVICE_COLDPLUGGED’ undeclared (first use in this function) make: *** [splash.o] Error 1 It looks like the RC_LEVEL_REBOOT macro was defined previously in rc.h (openrc) but is not in the version I have installed.
Created attachment 176113 [details] emerge --info
Portage 2.1.6.2 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081 201-r0, 2.6.27-gentoo-r4 x86_64) ================================================================= System uname: Linux-2.6.27-gentoo-r4-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Proce ssor_4000+-with-gentoo-2.0.0 Timestamp of tree: Sun, 21 Dec 2008 12:30:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p48 dev-java/java-config: 1.3.7-r1, 2.1.6-r1 dev-lang/python: 2.5.2-r8, 2.6.1 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.2 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.0 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /home/xbmc /usr/share/xbmc/userdata" 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/terminf o /etc/udev/rules.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfpe rms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/ http://gd. tuwien.ac.at/opsys/linux/gentoo/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ http: //gentoo.tiscali.nl/ http://mirror.switch.ch/ftp/mirror/gentoo/ " LC_ALL="de_DE.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="de" 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 --exclu de=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/berkano /usr/local/portage/local-over lay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X acl acpi alsa amd64 apic apm berkdb bluetooth branding bzi p2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode evo fam firefox fortran gdbm gif gpm gstreamer hal iconv isdnlog jpeg ldap libn otify mad midi mikmod mmx mmxext mp3 mpeg mudflap multilib ncurses nls nptl nptl only ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 quicktime read line reflection sdl session spell spl sse sse2 ssl ssse3 startup-notification sv g sysfs tcpd threads tiff truetype unicode usb vorbis x264 xml xorg xulrunner xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10 k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 tr ident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat lin ear 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 m ime_magic negotiation rewrite setenvif speling status unique_id userdir usertrac k vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses t ext" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="radeon radeonhd fglrx" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORT AGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I'm also having this problem with mine. # emerge --info Portage 2.2_rc18 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.26-tuxonice i686) ================================================================= System uname: Linux-2.6.26-tuxonice-i686-mobile_AMD_Athlon-tm-_XP2800+-with-glibc2.0 Timestamp of tree: Sun, 21 Dec 2008 16:35:01 +0000 app-shells/bash: 3.2_p48 dev-java/java-config: 1.3.7-r1, 2.1.6-r1 dev-lang/python: 2.5.2-r8 sys-apps/baselayout: 2.0.0-r1 sys-apps/openrc: 0.4.0 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /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/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ " LANG="en_CA.UTF-8" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" 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="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac acl acpi alsa battery berkdb bluetooth branding bzip2 cairo cdr cli colordiff cpufreq cracklib crypt dbus dri dvd dvdr dvdread emboss encode evo fam fbcondecor fbsplash fortran gdbm gif gpm gstreamer gtk hal iconv ipv6 isdnlog java java5 java6 jpeg ldap libnotify mad midi mikmod mmx mmxext mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python quicktime readline reflection sdl session spell spl sse ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vim-syntax vorbis wifi win32codecs x264 x86 xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
I just downgraded openrc to 0.3.0-r1 and tried compiling splashutils, and had no problems. I'm not sure what exactly the differences are, but it seems to be a problem related directly to the new openrc-0.4.0.
Sounds like maybe splashutils will need to be tweaked to work with the new openrc, so assigning to splashutils maintainer and cc-ing openrc dev
RC_LEVEL_REBOOT and RC_SERVICE_COLDPLUGGED has been removed from openrc 0.4.x so both versions of splashutils are affected by this bug. http://roy.marples.name/projects/openrc/browser/trunk/src/librc/rc.h.in?rev=1403 http://roy.marples.name/projects/openrc/browser/trunk/src/librc/rc.h.in?rev=1381
Fixed in CVS. Thanks for reporting the problem.
Created attachment 177067 [details, diff] Temporary patch