Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 208497 - media-sound/alsa-driver-1.0.15 won't compile on vanilla-sources-2.6.24
Summary: media-sound/alsa-driver-1.0.15 won't compile on vanilla-sources-2.6.24
Status: RESOLVED DUPLICATE of bug 207427
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-01 20:55 UTC by A. Person
Modified: 2008-02-01 20:56 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 A. Person 2008-02-01 20:55:33 UTC
alsa-driver fails to compile when /usr/src/linux points to linux-2.6.24 but succeeds when it points to linux-2.6.23-hardened-r4.  Here is the error:

make -C /usr/src/linux M=/var/tmp/portage/media-sound/alsa-driver-1.0.15/work/alsa-driver-1.0.15 O=/lib/modules/2.6.24/build CPP="x86_64-pc-linux-gnu-gcc -E" CC="x86_64-pc-linux-gnu-gcc" modules
make[1]: Entering directory `/usr/src/linux-2.6.24'
/usr/src/linux-2.6.24/scripts/Makefile.build:46: *** CFLAGS was changed in "/var/tmp/portage/media-sound/alsa-driver-1.0.15/work/alsa-driver-1.0.15/acore/Makefile". Fix it to use EXTRA_CFLAGS.  Stop.
make[3]: *** [/var/tmp/portage/media-sound/alsa-driver-1.0.15/work/alsa-driver-1.0.15/acore] Error 2
make[2]: *** [_module_/var/tmp/portage/media-sound/alsa-driver-1.0.15/work/alsa-driver-1.0.15] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24'
make: *** [compile] Error 2

# emerge --info
Portage 2.1.3.19 (hardened/amd64/multilib, gcc-3.4.6, glibc-2.6.1-r0, 2.6.24 x86_64)
=================================================================
System uname: 2.6.24 x86_64 Intel(R) Pentium(R) Dual CPU T2310 @ 1.46GHz
Timestamp of tree: Thu, 31 Jan 2008 22:46:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-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.5, 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="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer -fforce-addr"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en"
MAKEOPTS="-j1"
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/sunrise /usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 bash-completion berkdb bzip2 cairo caps cdr cracklib crypt cups dbus dhcp divx dri dts dvd encode exif firefox flac gd gif gimp gmedia gmp gnutls gpm grammar gsm gtk gtkhtml hal hardened hpn imap java jpeg justify lcms mad madwifi md5sum midi mng mono mp3 mpeg ncurses new-login normalize nptl nptlonly nsplugin offensive ogg opengl oss pam pdf perl pic png python qt3support quicktime quotes readline realmedia regex rt73usb rtc sdl spell sse sse2 ssl startup-notification tcpd thesaurus tiff truetype unicode urandom vim-with-x wmf wmp wxwindows x264 xcomposite xml xorg xprint xscreensaver xv zlib" ALSA_CARDS="hda-intel" 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" ELIBC="glibc" INPUT_DEVICES="keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-02-01 20:56:43 UTC

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