Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166288 - app-laptop/acpi4asus-0.32 doesn't build against gentoo-sources-2.6.20
Summary: app-laptop/acpi4asus-0.32 doesn't build against gentoo-sources-2.6.20
Status: RESOLVED FIXED
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: kernel-2.6.20
  Show dependency tree
 
Reported: 2007-02-11 00:46 UTC by Pacho Ramos
Modified: 2007-02-13 16:50 UTC (History)
0 users

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


Attachments
suggested patch to fix backlight_device_register call (backlight.patch,517 bytes, patch)
2007-02-11 11:07 UTC, Cyril Romain
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2007-02-11 00:46:38 UTC
I get the following error:
make -C /lib/modules/2.6.20-gentoo/build SUBDIRS=/var/tmp/portage/app-laptop/acpi4asus-0.32/work/acpi4asus-0.32/driver modules
make[1]: se ingresa al directorio `/usr/src/linux-2.6.20-gentoo'
  CC [M]  /var/tmp/portage/app-laptop/acpi4asus-0.32/work/acpi4asus-0.32/driver/asus_acpi.o
/var/tmp/portage/app-laptop/acpi4asus-0.32/work/acpi4asus-0.32/driver/asus_acpi.c: In function 'asus_acpi_init':
/var/tmp/portage/app-laptop/acpi4asus-0.32/work/acpi4asus-0.32/driver/asus_acpi.c:2095: error: too few arguments to function 'backlight_device_register'
make[2]: *** [/var/tmp/portage/app-laptop/acpi4asus-0.32/work/acpi4asus-0.32/driver/asus_acpi.o] Error 1
make[1]: *** [_module_/var/tmp/portage/app-laptop/acpi4asus-0.32/work/acpi4asus-0.32/driver] Error 2
make[1]: se sale del directorio `/usr/src/linux-2.6.20-gentoo'
make: *** [default] Error 2

My emerge --info:

Portage 2.1.2-r9 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.20-gentoo i686)
=================================================================
System uname: 2.6.20-gentoo i686 Genuine Intel(R) CPU           T2300  @ 1.66GHz
Gentoo Base System version 1.12.6
Timestamp of tree: Sun, 11 Feb 2007 00:20:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
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
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=pentium-m -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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=pentium-m -mfpmath=sse -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ "
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LINGUAS="es en_US"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/armagetron /usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa ansi arts asf audiofile avi bash-completion bcmath beagle bidi bitmap-fonts bonobo bzip2 bzlib cairo caps cdb cddb cdparanoia cdr cdrparanoia cli cpdflib cracklib cross crypt cscope css ctype cups curl curlwrappers dbus dga dio directfb divx4linux dlloader dri dts dv dvb dvd dvdr dvdread encode escreen esd evo exif fam fbcon ffmpeg fftw firefox flac foomaticdb fortran ftp gb gcj gd ggi gif gimp gimpprint glitz glut glx gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal howl iconv imagemagick imlib ipv6 isdnlog jabber jack java jikes jpeg kde kdeenablefinal kdehiddenvisibility latex lcms ldap lesstif libg++ libnotify logrotate mad mbox midi mikmod mime ming mmap mmx mmxext mng mono motif mp3 mpeg mpi mplayer musepack musicbrainz nas ncurses nethack nls nocd nptl nptlonly nsplugin ntfs nvidia ogg oggvorbis openal opengl opnegl oss pam pcmcia pcre pdf pdflib perl pic png pnp posix ppds pppd python qt qt3 qt4 quicktime readline real reflection reiserfs rpm rtc ruby scanner sdl seamonkey session slang slp smp sndfile sockets socks5 speex spell spl sse sse2 sse3 ssl svg syslog tcltk tcpd tetex tga theora threads tiff timidity tk truetype truetype-fonts trusted type1-fonts udev unicode usb userlocales v4l v4l2 vcd videos vim vorbis wifi win32codecs wma wmf wmp wxwindows x86 xcomposite xft xine xml xml2 xorg xpm 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 mulaw multi null plug rate route share shm softvol" DVB_CARDS="usb-dib0700" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Thanks a lot

Reproducible: Always
Comment 1 Cyril Romain 2007-02-11 11:07:16 UTC
Created attachment 109833 [details, diff]
suggested patch to fix backlight_device_register call
Comment 2 Christian Heim (RETIRED) gentoo-dev 2007-02-13 16:50:35 UTC
(In reply to comment #1)
> Created an attachment (id=109833) [edit]
> suggested patch to fix backlight_device_register call

I just revbumped acpi4asus, please test. Also fixed the KERNELDIR bug (no one encountered yet).