Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 177956
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Mobile Herd <mobile@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Pacho Ramos <pacho@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
cvs.patch cvs.patch patch Pacho Ramos 2007-05-11 11:48 0000 4.91 KB Details | Diff
ebuilds-diff ebuilds-diff patch Pacho Ramos 2007-05-11 11:48 0000 402 bytes Details | Diff
040-r1_to_041.diff 040-r1_to_041.diff (ebuilds diff) patch Pacho Ramos 2007-05-12 20:26 0000 578 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 177956 depends on: Show dependency tree
Bug 177956 blocks: 176188
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-05-10 18:50 0000
I get:
  CC [M] 
/var/tmp/portage/app-laptop/acpi4asus-0.32-r1/work/acpi4asus-0.32/driver/asus_acpi.o
/var/tmp/portage/app-laptop/acpi4asus-0.32-r1/work/acpi4asus-0.32/driver/asus_acpi.c:926:
error: unknown field 'owner' specified in initializer
/var/tmp/portage/app-laptop/acpi4asus-0.32-r1/work/acpi4asus-0.32/driver/asus_acpi.c:926:
warning: initialization makes integer from pointer without a cast
/var/tmp/portage/app-laptop/acpi4asus-0.32-r1/work/acpi4asus-0.32/driver/asus_acpi.c:927:
error: unknown field 'get_brightness' specified in initializer
/var/tmp/portage/app-laptop/acpi4asus-0.32-r1/work/acpi4asus-0.32/driver/asus_acpi.c:927:
warning: initialization makes integer from pointer without a cast
/var/tmp/portage/app-laptop/acpi4asus-0.32-r1/work/acpi4asus-0.32/driver/asus_acpi.c:928:
error: unknown field 'update_status' specified in initializer
/var/tmp/portage/app-laptop/acpi4asus-0.32-r1/work/acpi4asus-0.32/driver/asus_acpi.c:928:
warning: initialization makes integer from pointer without a cast
/var/tmp/portage/app-laptop/acpi4asus-0.32-r1/work/acpi4asus-0.32/driver/asus_acpi.c:
In function 'update_bl_status':
/var/tmp/portage/app-laptop/acpi4asus-0.32-r1/work/acpi4asus-0.32/driver/asus_acpi.c:1371:
error: invalid type argument of '->'
/var/tmp/portage/app-laptop/acpi4asus-0.32-r1/work/acpi4asus-0.32/driver/asus_acpi.c:
In function 'asus_hotk_get_info':
/var/tmp/portage/app-laptop/acpi4asus-0.32-r1/work/acpi4asus-0.32/driver/asus_acpi.c:1814:
error: 'ACPI_TABLE_ID_DSDT' undeclared (first use in this function)
/var/tmp/portage/app-laptop/acpi4asus-0.32-r1/work/acpi4asus-0.32/driver/asus_acpi.c:1814:
error: (Each undeclared identifier is reported only once
/var/tmp/portage/app-laptop/acpi4asus-0.32-r1/work/acpi4asus-0.32/driver/asus_acpi.c:1814:
error: for each function it appears in.)
/var/tmp/portage/app-laptop/acpi4asus-0.32-r1/work/acpi4asus-0.32/driver/asus_acpi.c:1814:
warning: passing argument 3 of 'acpi_get_table' from incompatible pointer type
/var/tmp/portage/app-laptop/acpi4asus-0.32-r1/work/acpi4asus-0.32/driver/asus_acpi.c:
In function 'asus_acpi_init':
/var/tmp/portage/app-laptop/acpi4asus-0.32-r1/work/acpi4asus-0.32/driver/asus_acpi.c:2064:
error: 'acpi_specific_hotkey_enabled' undeclared (first use in this function)
/var/tmp/portage/app-laptop/acpi4asus-0.32-r1/work/acpi4asus-0.32/driver/asus_acpi.c:2095:
warning: passing argument 4 of 'backlight_device_register' from incompatible
pointer type
/var/tmp/portage/app-laptop/acpi4asus-0.32-r1/work/acpi4asus-0.32/driver/asus_acpi.c:2105:
error: 'struct backlight_device' has no member named 'sem'
/var/tmp/portage/app-laptop/acpi4asus-0.32-r1/work/acpi4asus-0.32/driver/asus_acpi.c:2106:
error: invalid type argument of '->'
/var/tmp/portage/app-laptop/acpi4asus-0.32-r1/work/acpi4asus-0.32/driver/asus_acpi.c:2107:
error: 'struct backlight_device' has no member named 'sem'
make[2]: ***
[/var/tmp/portage/app-laptop/acpi4asus-0.32-r1/work/acpi4asus-0.32/driver/asus_acpi.o]
Error 1
make[1]: ***
[_module_/var/tmp/portage/app-laptop/acpi4asus-0.32-r1/work/acpi4asus-0.32/driver]
Error 2
make[1]: se sale del directorio `/usr/src/linux-2.6.21-gentoo'
make: *** [default] Error 2

!!! ERROR: app-laptop/acpi4asus-0.32-r1 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 4066:   Called src_compile
  acpi4asus-0.32-r1.ebuild, line 32:   Called linux-mod_src_compile
  linux-mod.eclass, line 516:   Called die

!!! Unable to make  KDIR=/usr/src/linux  .
!!! If you need support, post the topmost build error, and the call stack if
relevant.
!!! A complete build log is located at
'/var/tmp/portage/app-laptop/acpi4asus-0.32-r1/temp/build.log'.



Reproducible: Always

------- Comment #1 From Pacho Ramos 2007-05-10 18:50:49 0000 -------
My emerge --info:
Portage 2.1.2.2 (default-linux/x86/2007.0, gcc-4.1.1, glibc-2.5-r2, 2.6.21-ck
i686)
=================================================================
System uname: 2.6.21-ck i686 Genuine Intel(R) CPU           T2300  @ 1.66GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 10 May 2007 10:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
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.16
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="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 es_ES en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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/sunrise /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aim alsa 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 css cups curl curlwrappers dbus
divx4linux dri dts dv dvb dvd dvdr dvdread emerald encode escreen esd exif fam
fbcon ffmpeg firefox flac foomaticdb fortran ftp galago gb gcj gd gif gimp
gimpprint glitz glut glx gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile
hal 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 modplug mono motif
mp3 mpeg mpi mplayer musepack musicbrainz nas ncurses nethack nls nocd nptl
nptlonly nsplugin ntfs nvidia ogg oggvorbis openal opengl opnegl 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
startup-notification svg syslog tcltk tcpd tetex tga theora threads tiff
timidity tk truetype truetype-fonts trusted type1-fonts unicode usb userlocales
v4l v4l2 vcd videos vim vorbis wifi win32codecs wma wmf wxwindows x86
xcomposite xine xml 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 bcm3510
dibusb-usb1 dibusb-usb2 nxt2002 nxt200x or51132 or51211 sp8870 sp887x tda1004x
ttpci ttusb-dec usb-a800 usb-bluebird usb-dtt200u usb-umt usb-vp702x usb-vp7045
usb-wt220u" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" LINGUAS="es es_ES en_US" USERLAND="GNU"
VIDEO_CARDS="nvidia nv vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS

------- Comment #2 From Jakub Moc (RETIRED) 2007-05-10 18:59:33 0000 -------
Does 0.40-r1 work?

------- Comment #3 From Pacho Ramos 2007-05-11 11:21:49 0000 -------
(In reply to comment #2)
> Does 0.40-r1 work?
> 

No, 0.40 series don't work with kernels >2.6.19 :-/

------- Comment #4 From Pacho Ramos 2007-05-11 11:47:57 0000 -------
Seems an upstream problem

------- Comment #5 From Pacho Ramos 2007-05-11 11:48:23 0000 -------
Created an attachment (id=118849) [details]
cvs.patch

------- Comment #6 From Pacho Ramos 2007-05-11 11:48:47 0000 -------
Created an attachment (id=118850) [details]
ebuilds-diff

------- Comment #7 From Pacho Ramos 2007-05-11 11:50:55 0000 -------
Seems that works, but I get a warning of an undefined symbol, also, I have
asked upstream for a 0.42 release

------- Comment #8 From Stefan Schweizer 2007-05-11 11:54:22 0000 -------
What do I need to do to make it working? How can I get the latest version
working? Please give me some pointers as to how this works because I dont have
the hardware.

But from looking at it it looks like I do not even need to build a kernel
module because we could use it from the kernel?

------- Comment #9 From Pacho Ramos 2007-05-11 12:20:01 0000 -------
(In reply to comment #8)
> What do I need to do to make it working? How can I get the latest version
> working? Please give me some pointers as to how this works because I dont have
> the hardware.

Sorry, yesterday, I sent a bug to bugs.gentoo.org and, later, to upstream.
Upstream tell me that for make it work with kernel 2.6.21 I have to use CVS
code (the patch is generated with a diff between 0.41 and CVS code, only
asus-laptop.c has been changed. I knew all this AFTER sending the bug report (I
have read my emails one hour ago), then, if you want, I will close the bug as
"LATER" because 0.42 release will fix this (and seems that current CVS code
still doesn't want fine.

> But from looking at it it looks like I do not even need to build a kernel
> module because we could use it from the kernel?
> 

I will try with asus_acpi from the kernel, I used to use this package because
it let me update the module without need to update the kernel or wait for a new
kernel release (kernel release cicle is longer than acpi4asus one)

I attached the ebuild diff and the patch for:
1. Make a version bump to 0.41 version (that works fine using kernel 2.6.20)
2. Trying to make it work in 2.6.21 until upstream release a newer version

Also, could be nice change HOMEPAGE from
http://sourceforge.net/projects/acpi4asus to http://acpi4asus.sourceforge.net/.
Thanks :-)

Thanks a lot and sorry for the inconvenience

------- Comment #10 From Pacho Ramos 2007-05-12 20:26:04 0000 -------
Created an attachment (id=119048) [details]
040-r1_to_041.diff (ebuilds diff)

Now, the attached ebuild diff and the patch works FINE in kernel 2.6.20 and
2.6.21 :-D

Thanks a lot

------- Comment #11 From Stefan Schweizer 2007-05-12 22:29:13 0000 -------
thank you very much! Committed for you

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug