Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 277598 - app-laptop/acerhk fails to build with linux >= 2.6.30
Summary: app-laptop/acerhk fails to build with linux >= 2.6.30
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-13 00:46 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-12-18 17:25 UTC (History)
4 users (show)

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


Attachments
Build log (acerhk-0.5.35:20090712-175148.log,3.64 KB, text/plain)
2009-07-13 00:47 UTC, Diego Elio Pettenò (RETIRED)
Details
working ebuild for acerhk kernel module (acerhk-0.5.35-r1.ebuild,1.25 KB, text/plain)
2009-07-26 18:58 UTC, pip
Details
patch file which fixes this owner problem (acerhk-0.5.35-proc_dir_entry-owner.patch,2.62 KB, patch)
2009-07-26 18:59 UTC, pip
Details | Diff
acerhk-0.5.35-r1.ebuild (acerhk-0.5.35-r1.ebuild,1.39 KB, text/plain)
2010-11-02 19:49 UTC, Samuli Suominen (RETIRED)
Details
acerhk-0.5.35-r1.ebuild (acerhk-0.5.35-r1.ebuild,1.50 KB, text/plain)
2010-12-02 19:02 UTC, Peter Große
Details
acerhk-0.5.35-ioctlfix.patch (acerhk-0.5.35-ioctlfix.patch,711 bytes, patch)
2010-12-02 19:02 UTC, Peter Große
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-07-13 00:46:47 UTC
Portage 2.1.6.13 (!../var/cache/portage/tree/profiles/default/linux/x86/2008.0, gcc-4.4.0-asneeded, glibc-2.10.1-r0, 2.6.30-gentoo-r2 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r2-i686-Quad-Core_AMD_Opteron-tm-_Processor_2350-with-gentoo-2.0.1
Timestamp of tree: Sun, 12 Jul 2009 23:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p24
dev-java/java-config: 1.3.7-r1, 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/glftpd/etc /opt/glftpd/ftp-data /opt/openfire/resources/security/ /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/bufrtables /usr/share/config /var/bind /var/lib/hsqldb /var/phxd /var/spool/torque /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/var/cache/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict test test-fail-continue unmerge-orphans userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
INSTALL_MASK="  /usr/share/doc  /usr/share/man  /usr/share/info"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j14"
PKGDIR="/var/spool/portage/packages"
PORTAGE_COMPRESS=""
PORTAGE_CONFIGROOT="/"
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="/var/cache/portage/tree-tinderbox"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv ipv6 isdnlog java5 java6 midi mudflap ncurses nls nostatic nptl nptlonly openmp pam pcre perl pppd python qt3support readline reflection ruby session spl ssl sysfs tcpd unicode x86 xorg 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-07-13 00:47:07 UTC
Created attachment 197731 [details]
Build log
Comment 2 pip 2009-07-26 18:58:40 UTC
Created attachment 199253 [details]
working ebuild for acerhk kernel module
Comment 3 pip 2009-07-26 18:59:44 UTC
Created attachment 199255 [details, diff]
patch file which fixes this owner problem
Comment 4 Marcello Magaldi 2009-08-04 16:06:31 UTC
same problem here since gentoo-sources 2.6.30-r4 became stable (today).

acerhk builds fine with the ebuild and the patch provided by pip in this bug report.
Comment 5 Marcello Magaldi 2009-08-04 16:07:05 UTC
(In reply to comment #4)
> same problem here since gentoo-sources 2.6.30-r4 became stable (today).
> 
> acerhk builds fine with the ebuild and the patch provided by pip in this bug
> report.
> 

I forgot to say that my arch is x86
Comment 6 Arthur Spitzer 2009-08-05 10:31:18 UTC
I confirm the problem and with fix with the given ebuild+patch

Linux Travelmate 2.6.30-gentoo-r4 #1 PREEMPT Tue Aug 4 08:54:37 CEST 2009 i686 Intel(R) Pentium(R) M processor 1600MHz GenuineIntel GNU/Linux
Comment 7 Arthur Spitzer 2009-08-05 10:33:01 UTC
The corresponding debian bug should be:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=533341
Comment 8 Barbu Eros Iulian 2009-12-27 19:41:23 UTC
Emerging (1 of 1) app-laptop/acerhk-0.5.35-r1
 * acerhk-0.5.35.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                       [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                           [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                          [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                         [ ok ]
 * CPV:  app-laptop/acerhk-0.5.35-r1
 * REPO: gentoo
 * USE:  amd64 elibc_glibc kernel_linux multilib userland_GNU
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.32-gentoo/build
 * Found sources for kernel version:
 *     2.6.32-gentoo
>>> Unpacking source...
>>> Unpacking acerhk-0.5.35.tar.bz2 to /var/tmp/portage/app-laptop/acerhk-0.5.35-r1/work
 * Applying acerhk-0.5.35-proc_dir_entry-owner.patch ...                                                                                        [ ok ]
>>> Source unpacked in /var/tmp/portage/app-laptop/acerhk-0.5.35-r1/work
>>> Compiling source in /var/tmp/portage/app-laptop/acerhk-0.5.35-r1/work/acerhk-0.5.35 ...
ln: creating symbolic link `Module.symvers': File exists
 * Preparing acerhk module
make HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= KERNELSRC=/usr/src/linux KERNELVERSION=2.6.32-gentoo all 
make -C /usr/src/linux SUBDIRS=/var/tmp/portage/app-laptop/acerhk-0.5.35-r1/work/acerhk-0.5.35 modules
make[1]: Entering directory `/usr/src/linux-2.6.32-gentoo'
  CC [M]  /var/tmp/portage/app-laptop/acerhk-0.5.35-r1/work/acerhk-0.5.35/acerhk.o
/var/tmp/portage/app-laptop/acerhk-0.5.35-r1/work/acerhk-0.5.35/acerhk.c: In function 'find_hk_area':
/var/tmp/portage/app-laptop/acerhk-0.5.35-r1/work/acerhk-0.5.35/acerhk.c:890: warning: cast from pointer to integer of different size
/var/tmp/portage/app-laptop/acerhk-0.5.35-r1/work/acerhk-0.5.35/acerhk.c:892: warning: cast from pointer to integer of different size
/var/tmp/portage/app-laptop/acerhk-0.5.35-r1/work/acerhk-0.5.35/acerhk.c: In function 'init_input':
/var/tmp/portage/app-laptop/acerhk-0.5.35-r1/work/acerhk-0.5.35/acerhk.c:2185: warning: ignoring return value of 'input_register_device', declared with attribute warn_unused_result
/var/tmp/portage/app-laptop/acerhk-0.5.35-r1/work/acerhk-0.5.35/acerhk.c: In function 'set_mail_led':
/var/tmp/portage/app-laptop/acerhk-0.5.35-r1/work/acerhk-0.5.35/acerhk.c:808: warning: 'regs' may be used uninitialized in this function
/var/tmp/portage/app-laptop/acerhk-0.5.35-r1/work/acerhk-0.5.35/acerhk.c: Assembler messages:
/var/tmp/portage/app-laptop/acerhk-0.5.35-r1/work/acerhk-0.5.35/acerhk.c:556: Error: `pusha' is not supported in 64-bit mode
/var/tmp/portage/app-laptop/acerhk-0.5.35-r1/work/acerhk-0.5.35/acerhk.c:564: Error: suffix or operands invalid for `push'
/var/tmp/portage/app-laptop/acerhk-0.5.35-r1/work/acerhk-0.5.35/acerhk.c:566: Error: suffix or operands invalid for `pop'
/var/tmp/portage/app-laptop/acerhk-0.5.35-r1/work/acerhk-0.5.35/acerhk.c:573: Error: `popa' is not supported in 64-bit mode
/var/tmp/portage/app-laptop/acerhk-0.5.35-r1/work/acerhk-0.5.35/acerhk.c:588: Error: `pusha' is not supported in 64-bit mode
/var/tmp/portage/app-laptop/acerhk-0.5.35-r1/work/acerhk-0.5.35/acerhk.c:596: Error: suffix or operands invalid for `push'
/var/tmp/portage/app-laptop/acerhk-0.5.35-r1/work/acerhk-0.5.35/acerhk.c:599: Error: suffix or operands invalid for `pop'
/var/tmp/portage/app-laptop/acerhk-0.5.35-r1/work/acerhk-0.5.35/acerhk.c:606: Error: `popa' is not supported in 64-bit mode
make[2]: *** [/var/tmp/portage/app-laptop/acerhk-0.5.35-r1/work/acerhk-0.5.35/acerhk.o] Error 1
make[1]: *** [_module_/var/tmp/portage/app-laptop/acerhk-0.5.35-r1/work/acerhk-0.5.35] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.32-gentoo'
make: *** [acerhk.ko] Error 2
 * ERROR: app-laptop/acerhk-0.5.35-r1 failed:
 *   Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS=  KERNELSRC=/usr/src/linux KERNELVERSION=2.6.32-gentoo all
 * 
 * Call stack:
 *     ebuild.sh, line   61:  Called src_compile
 *   environment, line 3521:  Called linux-mod_src_compile
 *   environment, line 2716:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" 						CROSS_COMPILE=${CHOST}- 			LDFLAGS=\"$(get_abi_LDFLAGS)\" 						${BUILD_FIXES} 						${BUILD_PARAMS} 	${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 * 
 * If you need support, post the output of 'emerge --info =app-laptop/acerhk-0.5.35-r1',
 * the complete build log and the output of 'emerge -pqv =app-laptop/acerhk-0.5.35-r1'.
 * The complete build log is located at '/var/log/portage/app-laptop:acerhk-0.5.35-r1:20091227-194024.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-laptop/acerhk-0.5.35-r1/temp/environment'.
 * S: '/var/tmp/portage/app-laptop/acerhk-0.5.35-r1/work/acerhk-0.5.35'

>>> Failed to emerge app-laptop/acerhk-0.5.35-r1, Log file:

>>>  '/var/log/portage/app-laptop:acerhk-0.5.35-r1:20091227-194024.log'

 * Messages for package app-laptop/acerhk-0.5.35-r1:

 * ERROR: app-laptop/acerhk-0.5.35-r1 failed:
 *   Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS=  KERNELSRC=/usr/src/linux KERNELVERSION=2.6.32-gentoo all
 * 
 * Call stack:
 *     ebuild.sh, line   61:  Called src_compile
 *   environment, line 3521:  Called linux-mod_src_compile
 *   environment, line 2716:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" 						CROSS_COMPILE=${CHOST}- 			LDFLAGS=\"$(get_abi_LDFLAGS)\" 						${BUILD_FIXES} 						${BUILD_PARAMS} 	${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 * 
 * If you need support, post the output of 'emerge --info =app-laptop/acerhk-0.5.35-r1',
 * the complete build log and the output of 'emerge -pqv =app-laptop/acerhk-0.5.35-r1'.
 * The complete build log is located at '/var/log/portage/app-laptop:acerhk-0.5.35-r1:20091227-194024.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-laptop/acerhk-0.5.35-r1/temp/environment'.
 * S: '/var/tmp/portage/app-laptop/acerhk-0.5.35-r1/work/acerhk-0.5.35'
Comment 9 Barbu Eros Iulian 2009-12-27 19:45:20 UTC
Portage 2.1.7.15 (default/linux/amd64/10.0, gcc-4.4.2, glibc-2.11-r1, 2.6.32-gentoo x86_64)
=================================================================
System uname: Linux-2.6.32-gentoo-x86_64-Intel-R-_Celeron-R-_CPU_900_@_2.20GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 26 Dec 2009 13:00:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.4.4-r13, 2.5.4-r3, 2.6.4, 3.1.1-r1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.3
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.64
sys-devel/automake:  1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64 ~x86"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
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/X11/xkb /usr/share/config /var/bind /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/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
PORTDIR_OVERLAY="/usr/local/portage/layman/zugaina /usr/local/portage/layman/games /usr/local/portage/layman/vmware /usr/local/portage/layman/sunrise /usr/local/portage/layman/multimedia /usr/local/portage/layman/sabayon /usr/local/portage/layman/synce /usr/local/portage/layman/python /usr/local/portage/layman/sectools /usr/local/portage/layman/kerberos /usr/local/portage/layman/gnome"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi ads alsa amd64 bash-completion berkdb bluetooth bzip2 cdr cli consolekit cracklib crypt cups cxx dns dri dvd dvdr fortran gdbm gnome gnutls gpm gtk iconv java ldap mmx modules mudflap multilib ncurses nls nptl nptlonly opengl openmp pam pcre pda perl policykit pppd python qt3support rar readline reflection samba4 session sip spl sse sse2 ssl swat sysfs syslog tcpd truetype unicode v4l v4l2 wav winbind xorg zlib" ALSA_CARDS="hdsp hdspm hda-codec-nvhdmi hda-codec-realtek" 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="evdev keyboard mouse synaptics virtualbox vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vmware intel i810 nv v4l vesa virtualbox" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 10 karpi 2010-03-28 17:38:52 UTC
Im only confirming, this ebuild really doesnot compile on 2.6.31-gentoo-r10 (whereas on 2.6.27-gentoo-r7 does)


/var/tmp/portage/app-laptop/acerhk-0.5.35/work/acerhk-0.5.35/acerhk.c: In function 'init_input':
/var/tmp/portage/app-laptop/acerhk-0.5.35/work/acerhk-0.5.35/acerhk.c:2185: warning: ignoring return value of 'input_register_device', declared with attribute warn_unused_result
/var/tmp/portage/app-laptop/acerhk-0.5.35/work/acerhk-0.5.35/acerhk.c: In function 'acerhk_proc_init':
/var/tmp/portage/app-laptop/acerhk-0.5.35/work/acerhk-0.5.35/acerhk.c:2629: error: 'struct proc_dir_entry' has no member named 'owner'
/var/tmp/portage/app-laptop/acerhk-0.5.35/work/acerhk-0.5.35/acerhk.c:2638: error: 'struct proc_dir_entry' has no member named 'owner'
/var/tmp/portage/app-laptop/acerhk-0.5.35/work/acerhk-0.5.35/acerhk.c:2648: error: 'struct proc_dir_entry' has no member named 'owner'
/var/tmp/portage/app-laptop/acerhk-0.5.35/work/acerhk-0.5.35/acerhk.c:2660: error: 'struct proc_dir_entry' has no member named 'owner'
/var/tmp/portage/app-laptop/acerhk-0.5.35/work/acerhk-0.5.35/acerhk.c:2673: error: 'struct proc_dir_entry' has no member named 'owner'
/var/tmp/portage/app-laptop/acerhk-0.5.35/work/acerhk-0.5.35/acerhk.c:2686: error: 'struct proc_dir_entry' has no member named 'owner'
distcc[19364] ERROR: compile /var/tmp/portage/app-laptop/acerhk-0.5.35/work/acerhk-0.5.35/acerhk.c on localhost failed
make[2]: *** [/var/tmp/portage/app-laptop/acerhk-0.5.35/work/acerhk-0.5.35/acerhk.o] Error 1
make[1]: *** [_module_/var/tmp/portage/app-laptop/acerhk-0.5.35/work/acerhk-0.5.35] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.31-gentoo-r10'
make: *** [acerhk.ko] Error 2
Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2010-11-02 19:49:18 UTC
Created attachment 252941 [details]
acerhk-0.5.35-r1.ebuild

Some required config.h and autoconf.h sed'ing for kernel compabilities.
But because I have x86_64 system, and this module is only for x86, I can't test it:

acerhk.c:3004:2: error: #error This driver is only available for X86 architecture
Comment 12 Samuli Suominen (RETIRED) gentoo-dev 2010-11-02 19:50:36 UTC
treecleaners: please take care of lastriting this
Comment 13 Peter Große 2010-12-02 19:02:30 UTC
Created attachment 256173 [details]
acerhk-0.5.35-r1.ebuild

The proposed ebuild doesn't work because it completely removes the config.h include which leads this error message.

I attached a ebuild with an additional patch to get it working with kernels > 2.6.33. (for further reading: http://lwn.net/Articles/119652/)

Running fine here with 2.6.36-r2.

Note: acerhk has support for some older models (like mine) which acer_acpi doesn't and will never support.

I know it doesn't prevent the tree removal, but maybe it helps someone with the same problem.
Comment 14 Peter Große 2010-12-02 19:02:50 UTC
Created attachment 256175 [details, diff]
acerhk-0.5.35-ioctlfix.patch
Comment 15 Samuli Suominen (RETIRED) gentoo-dev 2010-12-18 17:25:53 UTC
removed from tree (and thanks Peter, it's good to have those on record here at bugzilla at least)