Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 273439 - app-laptop/acer_acpi-0.5 compilation fails "Initialization from incompatible pointer type"
Summary: app-laptop/acer_acpi-0.5 compilation fails "Initialization from incompatible ...
Status: RESOLVED DUPLICATE of bug 208577
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-09 21:51 UTC by Wolfgang
Modified: 2009-06-09 23:37 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfgang 2009-06-09 21:51:04 UTC
i tryed with different settings in the make.conf and even to compile the package in the "old" way without using emerge. Got all the time the same result

Reproducible: Always

Steps to Reproduce:
1.emerge acer_acpi

Actual Results:  
Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS=  KERNELSRC=/usr/src/linux KERNELVERSION=2.6.28-gentoo-r5 all


Output build.log

 [32;01m*[0m Determining the location of the kernel source code
 [32;01m*[0m Found kernel source directory:
 [32;01m*[0m     /usr/src/linux
 [32;01m*[0m Found kernel object directory:
 [32;01m*[0m     /lib/modules/2.6.28-gentoo-r5/build
 [32;01m*[0m Found sources for kernel version:
 [32;01m*[0m     2.6.28-gentoo-r5
>>> Unpacking source...
>>> Unpacking acer_acpi-0.5.tar.bz2 to /var/tmp/portage/app-laptop/acer_acpi-0.5/work
>>> Source unpacked in /var/tmp/portage/app-laptop/acer_acpi-0.5/work
>>> Compiling source in /var/tmp/portage/app-laptop/acer_acpi-0.5/work/acer_acpi-0.5 ...
ln: creating symbolic link `Module.symvers': File exists
 [32;01m*[0m Preparing acer_acpi module
make HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= KERNELSRC=/usr/src/linux KERNELVERSION=2.6.28-gentoo-r5 all 
make -C /usr/src/linux SUBDIRS=/var/tmp/portage/app-laptop/acer_acpi-0.5/work/acer_acpi-0.5 modules
make[1]: Entering directory `/usr/src/linux-2.6.28-gentoo-r5'

  WARNING: Symbol version dump /usr/src/linux-2.6.28-gentoo-r5/Module.symvers
           is missing; modules will have no dependencies and modversions.

  CC [M]  /var/tmp/portage/app-laptop/acer_acpi-0.5/work/acer_acpi-0.5/acer_acpi.o
/var/tmp/portage/app-laptop/acer_acpi-0.5/work/acer_acpi-0.5/acer_acpi.c: In function 'acpi_acerkeys_add':
/var/tmp/portage/app-laptop/acer_acpi-0.5/work/acer_acpi-0.5/acer_acpi.c:376: error: lvalue required as left operand of assignment
/var/tmp/portage/app-laptop/acer_acpi-0.5/work/acer_acpi-0.5/acer_acpi.c: At top level:
/var/tmp/portage/app-laptop/acer_acpi-0.5/work/acer_acpi-0.5/acer_acpi.c:408: warning: initialization from incompatible pointer type
make[2]: *** [/var/tmp/portage/app-laptop/acer_acpi-0.5/work/acer_acpi-0.5/acer_acpi.o] Error 1
make[1]: *** [_module_/var/tmp/portage/app-laptop/acer_acpi-0.5/work/acer_acpi-0.5] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.28-gentoo-r5'
make: *** [acer_acpi.ko] Error 2
 [31;01m*[0m 
 [31;01m*[0m ERROR: app-laptop/acer_acpi-0.5 failed.
 [31;01m*[0m Call stack:
 [31;01m*[0m               ebuild.sh, line   48:  Called src_compile
 [31;01m*[0m             environment, line 3251:  Called linux-mod_src_compile
 [31;01m*[0m             environment, line 2503:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m               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}";
 [31;01m*[0m  The die message:
 [31;01m*[0m   Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS=  KERNELSRC=/usr/src/linux KERNELVERSION=2.6.28-gentoo-r5 all
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant.
 [31;01m*[0m A complete build log is located at '/var/tmp/portage/app-laptop/acer_acpi-0.5/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/app-laptop/acer_acpi-0.5/temp/environment'.
 [31;01m*[0m 

Output emerge --info

Portage 2.1.6.11 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.28-gentoo-r5-i686-Intel-R-_Celeron-R-_CPU_530_@_1.73GHz-with-glibc2.0
Timestamp of tree: Wed, 03 Jun 2009 21:30:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.4.4-r13, 2.5.4-r2
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mcpu=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-mcpu=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict 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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa apm berkdb bzip2 cdparanoia cdr cli cracklib crypt css cups dri dvd dvdr encode ffmpeg fortran ftp gd gdbm gif gimp gnome gpm gstreamer gtk gzip iconv icq icu imagemagick ipv6 isdnlog jabber java java5 java6 javascript jpeg jpeg2k lame mad midi mmx mp3 mpeg mplayer mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl php png pppd python quicktime readline recode reflection seamonkey session snmp spl sse sse2 ssl sysfs syslog tcpd tiff tk unicode v4l v4l2 vcd vorbis wifi win32codecs x86 xine xorg xpm xv 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" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Rafał Mużyło 2009-06-09 23:37:38 UTC
Marking as duplicate of the oldest, maybe not quite
related, but bug 272494 comment 4 says it doesn't really
matter anyway.

*** This bug has been marked as a duplicate of bug 208577 ***