After that I update my kernel to vanilla-sources-2.6.24 and update my CFLAGS, I try compile all ebuilds. All ebuilds compiled, but the sys-power/powersave-0.14.0 not compile. I'm attachment the build.log. Reproducible: Always Steps to Reproduce: 1. emerge powersave 2. Compile error! Expected Results: Compile with vanilla-sources-2.6.24 Portage 2.1.3.19 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24 i686) ================================================================= System uname: 2.6.24 i686 Genuine Intel(R) CPU T2050 @ 1.60GHz Timestamp of tree: Mon, 11 Feb 2008 18:00:01 +0000 app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.4 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.24 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer -mfpmath=sse -msse3" CHOST="i686-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" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer -mfpmath=sse -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="pt_BR.UTF-8" LC_ALL="pt_BR.UTF-8" LINGUAS="pt_BR" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/xeffects" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi alsa berkdb bitmap-fonts cdr cli cracklib crypt cups dbus dri dvd fortran gdbm gpm hal iconv ipv6 isdnlog jpeg kde midi mp3 mudflap ncurses nls nptl nptlonly opengl openmp pam pcmcia pcre perl png ppds pppd python qt3 qt4 readline reflection samba session smp spl sse sse2 sse3 ssl svg tcpd threads tk truetype truetype-fonts type1-fonts unicode x86 xorg 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 mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pt_BR" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 143325 [details] Powersave build
With the sys-power/powersave-0.15.11 (hard mask) also not compile!
Please, don't <snip> /usr/include/sys/types.h:62: error: conflicting declaration ‘typedef __dev_t dev_t’ /usr/include/linux/types.h:13: error: ‘dev_t’ has a previous declaration as ‘typedef __kernel_dev_t dev_t’ /usr/include/sys/types.h:67: error: conflicting declaration ‘typedef __gid_t gid_t’ /usr/include/linux/types.h:27: error: ‘gid_t’ has a previous declaration as ‘typedef __kernel_gid_t gid_t’ /usr/include/sys/types.h:72: error: conflicting declaration ‘typedef __mode_t mode_t’ /usr/include/linux/types.h:15: error: ‘mode_t’ has a previous declaration as ‘typedef __kernel_mode_t mode_t’ /usr/include/sys/types.h:77: error: conflicting declaration ‘typedef __nlink_t nlink_t’ /usr/include/linux/types.h:16: error: ‘nlink_t’ has a previous declaration as ‘typedef __kernel_nlink_t nlink_t’ /usr/include/sys/types.h:82: error: conflicting declaration ‘typedef __uid_t uid_t’ /usr/include/linux/types.h:26: error: ‘uid_t’ has a previous declaration as ‘typedef __kernel_uid_t uid_t’ /usr/include/time.h:105: error: conflicting declaration ‘typedef void* timer_t’ /usr/include/linux/types.h:22: error: ‘timer_t’ has a previous declaration as ‘typedef __kernel_timer_t timer_t’ /usr/include/sys/select.h:78: error: conflicting declaration ‘typedef struct fd_set fd_set’ /usr/include/linux/types.h:12: error: ‘fd_set’ has a previous declaration as ‘typedef struct __kernel_fd_set fd_set’ /usr/include/sys/types.h:235: error: conflicting declaration ‘typedef __blkcnt_t blkcnt_t’ /usr/include/linux/types.h:119: error: ‘blkcnt_t’ has a previous declaration as ‘typedef long unsigned int blkcnt_t’ make[2]: ** [apm.o] Erro 1 make[2]: ** Esperando que outros processos terminem. make[2]: Saindo do diretório `/var/tmp/portage/sys-power/powersave-0.14.0/work/powersave-0.14.0/daemon' make[1]: ** [all-recursive] Erro 1 make[1]: Saindo do diretório `/var/tmp/portage/sys-power/powersave-0.14.0/work/powersave-0.14.0' make: ** [all] Erro 2 [31;01m*[0m [31;01m*[0m ERROR: sys-power/powersave-0.14.0 failed. </snip>
Same bug here with tuxonice-sources-2.6.24-r2 and gentoo-sources-2.6.24-r2.
Created attachment 145818 [details] Powersave 0.15.20 Ebuild With powersave-0.15.20 compiles with kernel 2.6.24
Created attachment 145820 [details] Liblazy 0.2 Ebuild Liblazy 0.2 is a powersave dependency.
Created attachment 145822 [details, diff] Policy to powersave This patch is different of plugdev_access.patch of 0.15.11 powersave.
Using the 0.7.3 kpowersave I can't suspend to disk/ram with 0.15.20 powersave. Anyone knows of a solution this bug?
kpowersave uses dbus now for the functionality - no one needs powersave any more. I am planning on removing it. Why would you still need it?
I know not about this. Is kpowersave-0.6.2 depends of powersave and kpowersave-0.7.3 isn't? I'll open a new bug ticket to resolve the problem with kpowersave suspend. (In reply to comment #9) > kpowersave uses dbus now for the functionality - no one needs powersave any > more. I am planning on removing it. > > Why would you still need it? >
you better look into pm-utils - that is what hal uses for suspend :-) good luck, I am going to mask the powersave old stuff now.