Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142028 - net-wireless/fwlanusb emerge failed
Summary: net-wireless/fwlanusb emerge failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stefan Briesenick (RETIRED)
URL:
Whiteboard:
Keywords:
: 142029 142030 142031 142032 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-28 13:11 UTC by Andreas Schrimpf
Modified: 2006-08-11 13:11 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 Andreas Schrimpf 2006-07-28 13:11:29 UTC
emerge fwlanusb used to work fine till 2.6.15-gentoo-r1 kernel and the former baselayout. But it does not compile anymore!!!

What happens is:

emerge fwlanusb

Calculating dependencies... done!
>>> Emerging (1 of 1) net-wireless/fwlanusb-0.09.00_beta to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking fwlanusb-suse10.0-0.09.00-beta.tar.gz ;-)
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.16-gentoo-r13
>>> Unpacking source...
>>> Unpacking fwlanusb-suse10.0-0.09.00-beta.tar.gz to /var/tmp/portage/fwlanusb-0.09.00_beta/work
 * Converting src/Makefile to use M= instead of SUBDIRS= ...                                              [ ok ]>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/fwlanusb-0.09.00_beta/work/fritz ...
 * Preparing fwlanusb module
make -C /usr/src/linux M=/var/tmp/portage/fwlanusb-0.09.00_beta/work/fritz/src modules
make[1]: Entering directory `/usr/src/linux-2.6.16-gentoo-r13'
  CC [M]  /var/tmp/portage/fwlanusb-0.09.00_beta/work/fritz/src/main.o
In file included from /var/tmp/portage/fwlanusb-0.09.00_beta/work/fritz/src/main.c:31:
/var/tmp/portage/fwlanusb-0.09.00_beta/work/fritz/src/tools.h:75: error: syntax error before "typeof"
/var/tmp/portage/fwlanusb-0.09.00_beta/work/fritz/src/main.c:65: error: unknown field `owner' specified in initializer
/var/tmp/portage/fwlanusb-0.09.00_beta/work/fritz/src/main.c:65: warning: initialization from incompatible pointer type
make[2]: *** [/var/tmp/portage/fwlanusb-0.09.00_beta/work/fritz/src/main.o] Error 1
make[1]: *** [_module_/var/tmp/portage/fwlanusb-0.09.00_beta/work/fritz/src] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16-gentoo-r13'
make: *** [fwlanusb.o] Error 2

!!! ERROR: net-wireless/fwlanusb-0.09.00_beta failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  ebuild.sh, line 1248:   Called linux-mod_src_compile
  linux-mod.eclass, line 469:   Called die

!!! Unable to make  KDIR=/usr/src/linux LIBDIR=/var/tmp/portage/fwlanusb-0.09.00_beta/work/fritz/src all.
!!! If you need support, post the topmost build error, and the call stack if relevant.


and emerge --info gives the following result

Gentoo Base System version 1.6.15
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r13 i686)
=================================================================
System uname: 2.6.16-gentoo-r13 i686 Intel(R) Celeron(R) CPU 2.40GHz
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -mcpu=i686 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/sha re/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O3 -mcpu=i686 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http:// gentoo.mirror.solnet.ch http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LC_ALL="en_US.utf8"
LINGUAS="de 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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm avi bitmap-fonts cdr cli crypt cups curl dlloader dri eds emboss encode esd foomatic db fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 hal howl icc imap imlib ipv6 isdnlog jpeg ldap libg++ libwww  lm_sensors mad maildir mikmod motif mozilla mp3 mpeg mysql ncurses nls nptl ogg opengl oss pam pcre pdflib perl  plotutils png postgres pppd python qt3 qt4 quicktime readline reflection sasl sdl session spell spl ssl tcpd te tex truetype truetype-fonts type1-fonts udev unicode usb v4l vorbis xml xmms xorg xv xvid zlib elibc_glibc input _devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_de linguas_en userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-28 13:22:43 UTC
*** Bug 142029 has been marked as a duplicate of this bug. ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-07-28 13:23:30 UTC
*** Bug 142030 has been marked as a duplicate of this bug. ***
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-07-28 13:23:58 UTC
*** Bug 142031 has been marked as a duplicate of this bug. ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-07-28 13:24:08 UTC
*** Bug 142032 has been marked as a duplicate of this bug. ***
Comment 5 Stefan Briesenick (RETIRED) gentoo-dev 2006-08-06 01:05:02 UTC
I will provide a patch asap. MODULE_PARM interface has changed in 2.6.17, so I have to fix it. And there was a change in the UDEV-interface somewhere after 2.6.15.
Comment 6 Stefan Briesenick (RETIRED) gentoo-dev 2006-08-10 15:58:12 UTC
ok, added a small patch for kernels >= 2.6.17, other kernels after 2.6.15 are not tested by me. If needed, it should be easy so fix it also.

new rev. in CVS.
Comment 7 Andreas Schrimpf 2006-08-11 13:11:22 UTC
(In reply to comment #6)
> ok, added a small patch for kernels >= 2.6.17, other kernels after 2.6.15 are
> not tested by me. If needed, it should be easy so fix it also.
> 
> new rev. in CVS.
> 

Thank's a lot. I switched to 2.6.17-r4 and it works fine!