see summary and build.log Reproducible: Always Steps to Reproduce:
Created attachment 142488 [details] build.log
make -C /usr/src/linux SUBDIRS=/var/tmp/portage/app-laptop/acer_acpi-0.10/work/acer_acpi-0.10 modules make -C /usr/src/linux SUBDIRS=/var/tmp/portage/app-laptop/acer_acpi-0.10/work/acer_acpi-0.10 modules make[1]: Entering directory `/usr/src/linux-2.6.23-hardened-r6' make[1]: Entering directory `/usr/src/linux-2.6.23-hardened-r6' CC [M] /var/tmp/portage/app-laptop/acer_acpi-0.10/work/acer_acpi-0.10/wmi-acer.o CC [M] /var/tmp/portage/app-laptop/acer_acpi-0.10/work/acer_acpi-0.10/wmi-acer.o fixdep: /var/tmp/portage/app-laptop/acer_acpi-0.10/work/acer_acpi-0.10/.wmi-acer.o.d: No such file or directory make[2]: *** [/var/tmp/portage/app-laptop/acer_acpi-0.10/work/acer_acpi-0.10/wmi-acer.o] Error 2 make[1]: *** [_module_/var/tmp/portage/app-laptop/acer_acpi-0.10/work/acer_acpi-0.10] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.23-hardened-r6' make: *** [wmi-acer.ko] Error 2
Hmm - I have a different error: * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/2.6.23-gentoo-r5/build * Found sources for kernel version: * 2.6.23-gentoo-r5 * Checking for suitable kernel configuration options... [ ok ] >>> Unpacking source... >>> Unpacking acer_acpi-0.10.tar.bz2 to /var/tmp/portage/app-laptop/acer_acpi-0.10/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/app-laptop/acer_acpi-0.10/work/acer_acpi-0.10 ... * Preparing wmi-acer module make -C /usr/src/linux SUBDIRS=/var/tmp/portage/app-laptop/acer_acpi-0.10/work/acer_acpi-0.10 modules make -C /usr/src/linux SUBDIRS=/var/tmp/portage/app-laptop/acer_acpi-0.10/work/acer_acpi-0.10 modules make[1]: Entering directory `/usr/src/linux-2.6.23-gentoo-r5' make[1]: Entering directory `/usr/src/linux-2.6.23-gentoo-r5' CC [M] /var/tmp/portage/app-laptop/acer_acpi-0.10/work/acer_acpi-0.10/wmi-acer.o CC [M] /var/tmp/portage/app-laptop/acer_acpi-0.10/work/acer_acpi-0.10/wmi-acer.o CC [M] /var/tmp/portage/app-laptop/acer_acpi-0.10/work/acer_acpi-0.10/acer_acpi.o mv: cannot stat `/var/tmp/portage/app-laptop/acer_acpi-0.10/work/acer_acpi-0.10/.wmi-acer.o.tmp': No such file or directory make[2]: *** [/var/tmp/portage/app-laptop/acer_acpi-0.10/work/acer_acpi-0.10/wmi-acer.o] Error 1 make[1]: *** [_module_/var/tmp/portage/app-laptop/acer_acpi-0.10/work/acer_acpi-0.10] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.23-gentoo-r5' make: *** [wmi-acer.ko] Error 2 make: *** Waiting for unfinished jobs.... Building modules, stage 2. MODPOST 2 modules CC /var/tmp/portage/app-laptop/acer_acpi-0.10/work/acer_acpi-0.10/acer_acpi.mod.o CC /var/tmp/portage/app-laptop/acer_acpi-0.10/work/acer_acpi-0.10/wmi-acer.mod.o LD [M] /var/tmp/portage/app-laptop/acer_acpi-0.10/work/acer_acpi-0.10/acer_acpi.ko LD [M] /var/tmp/portage/app-laptop/acer_acpi-0.10/work/acer_acpi-0.10/wmi-acer.ko make[1]: Leaving directory `/usr/src/linux-2.6.23-gentoo-r5' emerge --info -------------- Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r5 i686) ================================================================= System uname: 2.6.23-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1.50GHz Timestamp of tree: Sat, 02 Feb 2008 02:15:01 +0000 app-shells/bash: 3.2_p17-r1 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.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" 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/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="collision-protect digest distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.tiscali.nl/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.muntinternet.net/pub/gentoo/ " LANG="en_US.UTF-8" MAKEOPTS="-j2" 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/mpd /usr/portage/local/layman/font-overlay /usr/portage/local/layman/devnull /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X acl acpi alsa berkdb bitmap-fonts cli cracklib crypt cups dri flac fortran gdbm gpm iconv irda isdnlog midi mudflap ncurses nls nptl nptlonly ogg openmp pam pcre perl pppd python readline reflection session spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis x86 xorg zlib" ALSA_CARDS="emu10k1 intel8x0" 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 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" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" 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, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Same error here even on the r6 kernel
to get acer_acpi installed one must use -j1 in MAKEOPTS and it will compile happy
I can confirm that MAKEOPTS="-j1" works ...
Can't confirm that MAKEOPTS="-j1" works... Still: make[1]: Entering directory `/usr/src/linux-2.6.25-tuxonice-r4' CC [M] /var/tmp/portage/app-laptop/acer_acpi-0.10/work/acer_acpi-0.10/wmi-acer.o In file included from /var/tmp/portage/app-laptop/acer_acpi-0.10/work/acer_acpi-0.10/wmi-acer.c:41: /var/tmp/portage/app-laptop/acer_acpi-0.10/work/acer_acpi-0.10/wmi-acer.h:30: error: redefinition of typedef 'wmi_notify_handler' include/linux/acpi.h:185: error: previous declaration of 'wmi_notify_handler' was here make[2]: *** [/var/tmp/portage/app-laptop/acer_acpi-0.10/work/acer_acpi-0.10/wmi-acer.o] Error 1 make[1]: *** [_module_/var/tmp/portage/app-laptop/acer_acpi-0.10/work/acer_acpi-0.10] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.25-tuxonice-r4' make: *** [wmi-acer.ko] Error 2
Does it still happen with 0.11.2?
(In reply to comment #8) > Does it still happen with 0.11.2? Yes, it does: /var/tmp/portage/app-laptop/acer_acpi-0.11.2/work/acer_acpi-0.11.2/wmi-acer.h:32: error: redefinition of typedef 'wmi_notify_handler' include/linux/acpi.h:185: error: previous declaration of 'wmi_notify_handler' was here make[2]: *** [/var/tmp/portage/app-laptop/acer_acpi-0.11.2/work/acer_acpi-0.11.2/wmi-acer.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /var/tmp/portage/app-laptop/acer_acpi-0.11.2/work/acer_acpi-0.11.2/acer_acpi.c:70: /var/tmp/portage/app-laptop/acer_acpi-0.11.2/work/acer_acpi-0.11.2/wmi-acer.h:32: error: redefinition of typedef 'wmi_notify_handler' include/linux/acpi.h:185: error: previous declaration of 'wmi_notify_handler' was here make[2]: *** [/var/tmp/portage/app-laptop/acer_acpi-0.11.2/work/acer_acpi-0.11.2/acer_acpi.o] Error 1 make[1]: *** [_module_/var/tmp/portage/app-laptop/acer_acpi-0.11.2/work/acer_acpi-0.11.2] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.25-tuxonice-r4' make: *** [wmi-acer.ko] Error 2
I found the solution for me. acer_acpi 0.11.2 did not compile for me because I had enabled ACER_WMI in the 2.6.25 kernel. I thought that was a prerequisite for acer_acpi to be able to function, but reading Documentation/laptops/acer-wmi.txt it turns out that: "acer-wmi is a driver to allow you to control various parts of your Acer laptop hardware under Linux which are exposed via ACPI-WMI. This driver completely replaces the old out-of-tree acer_acpi, which I am currently maintaining for bug fixes only on pre-2.6.25 kernels. All development work is now focused solely on acer-wmi." So I have switched to acer-wmi and will not need acer_acpi anymore.
acer_acpi-0.11.2 still needs MAKEOPTS="-j1" (or adding it in the ebuild itself) to compile without errors. You also need to disable acpi-wmi to remove the other reported error.
So out of curiosity why are we waiting 6 months to get a -j1 in the ebuild?It could at least be added as a temporary solution to whatever better solution you guys can find
*** Bug 273439 has been marked as a duplicate of this bug. ***
treecleaners: please take care of lastriting this, it's only for linux <2.6.25, time to get rid of this
removed from tree