Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 343025 - net-wireless/broadcom-sta-5.60.246.2 fails with gentoo-sources-2.6.34
Summary: net-wireless/broadcom-sta-5.60.246.2 fails with gentoo-sources-2.6.34
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High major
Assignee: MATSUU Takuto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-28 03:30 UTC by Benjamin Peterson
Modified: 2010-10-30 06:44 UTC (History)
1 user (show)

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 Benjamin Peterson 2010-10-28 03:30:11 UTC
Emerging the latest version of broadcom-sta fails to compile.

Reproducible: Always

Steps to Reproduce:
1. Try to emerge latest version bump with 2.6.34 kernel.
2.
3.

Actual Results:  
 * CPV:  net-wireless/broadcom-sta-5.60.246.2
 * REPO: gentoo
 * USE:  amd64 elibc_glibc kernel_linux multilib userland_GNU
 * Do you accept the terms of this license (Broadcom)? [yes/no]  * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.34-gentoo-r12/build
 * Found sources for kernel version:
 *     2.6.34-gentoo-r12
 * Checking for suitable kernel configuration options...
 *   CONFIG_MAC80211:    should not be set. But it is.
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.
>>> Unpacking source...
>>> Unpacking hybrid-portsrc_x86-64_v5.60.246.2.tar.gz to /var/tmp/portage/net-wireless/broadcom-sta-5.60.246.2/work
>>> Source unpacked in /var/tmp/portage/net-wireless/broadcom-sta-5.60.246.2/work
>>> Preparing source in /var/tmp/portage/net-wireless/broadcom-sta-5.60.246.2/work ...
 * Applying broadcom-sta-5.10.91.9-license.patch ...                                                                                                                          [ ok ]
 * Applying broadcom-sta-5.60.246.2-gcc.patch ...                                                                                                                             [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-wireless/broadcom-sta-5.60.246.2/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-wireless/broadcom-sta-5.60.246.2/work ...
ln: creating symbolic link `Module.symvers': File exists
 * Preparing wl module
make -j3 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= -C /usr/src/linux M=/var/tmp/portage/net-wireless/broadcom-sta-5.60.246.2/work wl.ko 
make: Entering directory `/usr/src/linux-2.6.34-gentoo-r12'
  CC [M]  /var/tmp/portage/net-wireless/broadcom-sta-5.60.246.2/work/src/shared/linux_osl.o
  CC [M]  /var/tmp/portage/net-wireless/broadcom-sta-5.60.246.2/work/src/wl/sys/wl_linux.o
  CC [M]  /var/tmp/portage/net-wireless/broadcom-sta-5.60.246.2/work/src/wl/sys/wl_iw.o
/var/tmp/portage/net-wireless/broadcom-sta-5.60.246.2/work/src/wl/sys/wl_linux.c: In function ‘_wl_set_multicast_list’:
/var/tmp/portage/net-wireless/broadcom-sta-5.60.246.2/work/src/wl/sys/wl_linux.c:1453: warning: assignment from incompatible pointer type
/var/tmp/portage/net-wireless/broadcom-sta-5.60.246.2/work/src/wl/sys/wl_linux.c:1453: error: ‘struct netdev_hw_addr’ has no member named ‘next’
make[1]: *** [/var/tmp/portage/net-wireless/broadcom-sta-5.60.246.2/work/src/wl/sys/wl_linux.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [wl.ko] Error 2
make: Leaving directory `/usr/src/linux-2.6.34-gentoo-r12'
 * ERROR: net-wireless/broadcom-sta-5.60.246.2 failed:
 *   Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS=  -C /usr/src/linux M=/var/tmp/portage/net-wireless/broadcom-sta-5.60.246.2/work wl.ko
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 3549:  Called linux-mod_src_compile
 *   environment, line 2710:  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 =net-wireless/broadcom-sta-5.60.246.2',
 * the complete build log and the output of 'emerge -pqv =net-wireless/broadcom-sta-5.60.246.2'.
 * The complete build log is located at '/var/tmp/portage/net-wireless/broadcom-sta-5.60.246.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-wireless/broadcom-sta-5.60.246.2/temp/environment'.
 * S: '/var/tmp/portage/net-wireless/broadcom-sta-5.60.246.2/work'



Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.11.2-r0, 2.6.34-gentoo-r11 x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-r11-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T5670_@_1.80GHz-with-gentoo-1.12.13
Timestamp of tree: Thu, 28 Oct 2010 03:00:20 +0000
app-shells/bash:     4.1_p7
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
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://gentoo.arcticnetwork.ca/ http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://www.gtlib.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://mirrors.cs.wmich.edu/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://mirror.its.uidaho.edu/pub/gentoo/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US en"
MAKEOPTS="-j3"
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 alsa amd64 berkdb bzip2 cairo cjk cli cracklib crypt cups curl cxx dbus dell dri emacs firefox3 fortran freetype gdbm glut gpm gstreamer hal iconv immqt-bc ipv6 jpeg kde laptop libffi mmx modules mp3 mudflap multilib mysql ncurses networkmanager nls nptl nptlonly offensive ogg opengl openmp pam pcre perl phonon png pppd python qt3support qt4 readline sasl sdl session sql sqlite sse sse2 ssl svg symlink sysfs tcpd threads tiff truetype unicode vorbis webkit xcomposite xft xorg xulrunner zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 cgi cgid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vga intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Miro Stoyanov 2010-10-28 21:00:26 UTC
Same problem here. It works with kernel 2.6.36, but not 2.6.34.
Comment 2 MATSUU Takuto (RETIRED) gentoo-dev 2010-10-30 06:44:40 UTC
Fixed in cvs 5.60.246.2-r1.