Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 447244 - net-wireless/ndiswrapper-1.58_rc1 with kernel 3.7.0 - Cannot find kernel build files in /lib/modules/3.7.0/build
Summary: net-wireless/ndiswrapper-1.58_rc1 with kernel 3.7.0 - Cannot find kernel buil...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Christoph Mende (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-14 14:21 UTC by Nachtfalke (Alex)
Modified: 2013-01-19 21:21 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 Nachtfalke (Alex) 2012-12-14 14:21:49 UTC
Hello,

I Update a other System to Kernel 3.7.0 and if i merget the Ndiswarpper-1.58_rc1
i get this error:

---
>>> Verifying ebuild manifests
>>> Running pre-merge checks for net-wireless/ndiswrapper-1.58_rc1
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/3.7.0/build
 * Found sources for kernel version:
 *     3.7.0
 * Checking for suitable kernel configuration options...                                                                                                                                 [ ok ]

>>> Emerging (1 of 1) net-wireless/ndiswrapper-1.58_rc1
 * ndiswrapper-1.58rc1.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                       [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/3.7.0/build
 * Found sources for kernel version:
 *     3.7.0
>>> Unpacking source...
>>> Unpacking ndiswrapper-1.58rc1.tar.gz to /var/tmp/portage/net-wireless/ndiswrapper-1.58_rc1/work
>>> Source unpacked in /var/tmp/portage/net-wireless/ndiswrapper-1.58_rc1/work
>>> Preparing source in /var/tmp/portage/net-wireless/ndiswrapper-1.58_rc1/work/ndiswrapper-1.58rc1 ...
 * Applying ndiswrapper-1.56-cflags.patch ...                                                                                                                                            [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-wireless/ndiswrapper-1.58_rc1/work/ndiswrapper-1.58rc1 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-wireless/ndiswrapper-1.58_rc1/work/ndiswrapper-1.58rc1 ...
make CC=i686-pc-linux-gnu-gcc 
i686-pc-linux-gnu-gcc -march=native -O2 -pipe -fomit-frame-pointer -Wall -I../driver -Wl,-O1 -Wl,--as-needed -o loadndisdriver loadndisdriver.c
 * Preparing ndiswrapper module
make HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= KSRC=/usr/src/linux KVERS=3.7.0 KBUILD=/lib/modules/3.7.0/build DISABLE_USB=1 all 


Cannot find kernel build files in /lib/modules/3.7.0/build
Please give the path to kernel build directory with
the KBUILD=<path> argument to make


make: *** [config_check] Fehler 1
 * ERROR: net-wireless/ndiswrapper-1.58_rc1 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=net-wireless/ndiswrapper-1.58_rc1'`,
 * the complete build log and the output of `emerge -pqv '=net-wireless/ndiswrapper-1.58_rc1'`.
 * The complete build log is located at '/var/tmp/portage/net-wireless/ndiswrapper-1.58_rc1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-wireless/ndiswrapper-1.58_rc1/temp/environment'.
 * Working directory: '/var/tmp/portage/net-wireless/ndiswrapper-1.58_rc1/work/ndiswrapper-1.58rc1/driver'
 * S: '/var/tmp/portage/net-wireless/ndiswrapper-1.58_rc1/work/ndiswrapper-1.58rc1'

>>> Failed to emerge net-wireless/ndiswrapper-1.58_rc1, Log file:
----

Hope this helps you :)

I seatch and find this bugs als unter:
https://bugs.launchpad.net/ubuntu/+source/ndiswrapper/+bug/1090196
Comment 1 Nachtfalke (Alex) 2012-12-14 14:22:50 UTC
Portage 2.1.11.31 (default/linux/x86/10.0, gcc-4.5.4, glibc-2.15-r3, 3.6.9 i686)
=================================================================
System uname: Linux-3.6.9-i686-Intel-R-_Pentium-R-_M_processor_1600MHz-with-gentoo-2.1
Timestamp of tree: Fri, 14 Dec 2012 12:30:02 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.1.5, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo wirelay x-portage
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=y"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="ftp://de-mirror.org/gentoo/ ftp://gentoo.imj.fr/pub/gentoo/ ftp://mirror.netcologne.de/gentoo/ http://gentoo.mirror.dkm.cz/pub/gentoo/ ftp://91.121.125.139/gentoo-distfiles/ http://91.121.124.139/gentoo-distfiles/ ftp://mirror.qubenet.net/mirror/gentoo/ rsync://gentoo.lagis.at/gentoo-distfiles/ ftp://gentoo.inf.elte.hu/ rsync://mirror.netcologne.de/gentoo/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/wirelay /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="32bit X a52 aac aalib acl acpi alsa berkdb bzip2 cli consolekit corefonts cracklib crypt curl cxx dbus dga directfb dri dv dvd encode faac faad ffmpeg flac fortran gdbm git gpm httpd hwdb iconv icu id3tag java jpeg jpeg2k kdcraw kde kdm keymap lame libv4l libv4l2 lua lzo m4lib-png mad mjpeg mmx modules mp3 mp4 mpeg mpg123 mudflap ncurses nls nptl nsplugin opengl openmp openssl pam pcre png policykit pppd python python3 qt3support qt4 quicktime readline rtsp sdl session skype sse sse2 ssl stream subversion t1lib tcpd theora threads tiff truetype udev unicode v4l win32codecs x264 x86 xscreensaver xv xvfb xvid zip 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="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" 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="evdev synaptics keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="radeon r128" 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, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Bob Raitz 2012-12-19 07:56:29 UTC
The problem persists with linux-3.7.1

emerge --info

Portage 2.1.11.38 (default/linux/x86/10.0, gcc-4.5.3, glibc-2.16.0, 3.6.11-pf i686)
=================================================================
System uname: Linux-3.6.11-pf-i686-Intel-R-_Celeron-R-_M_CPU_440_@_1.86GHz-with-gentoo-2.2
Timestamp of tree: Wed, 19 Dec 2012 04:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
distcc 3.1 i686-pc-linux-gnu [enabled]
app-shells/bash:          4.2_p39-r1
dev-lang/python:          2.6.8-r1, 2.7.3-r3, 3.1.5-r1, 3.2.3-r2
dev-util/cmake:           2.8.10.2
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo Local-Portage-Overlay
Installed sets: @system
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA Broadcom dlj-1.1 AdobeFlash-10.3 Oracle-BCLA-JavaSE"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=prescott -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n --quiet-build=n"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distcc distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.0.105/gentoo-portage"
USE="X a52 aac acl acpi alsa ao apache2 apng aspell audiofile avi bash-completion berkdb bitmap-fonts bzip2 cairo cdr cgi cli consolekit cracklib crypt css cups cxx dbus declarative dlloader dri dts dv dvd dvdr dvdread eds encode fam fbcon ffmpeg fftw flac fontconfig fortran gdbm gif gimp gles2 glib gnutls gpm gsl gtk gudev handboook hwdb iconv icu jpeg kde ladspa lame libkms libsamplerate lm_sensors mad mikmod mmx mng modules mp3 mp4 mpeg mudflap mysql nas ncurses nls nptl nptlonly objc ogg opengl openmp oss pam pcre pdf perl php png pppd pyqt4 python qt3support qt4 quicktime readline reflection samba sdl semantic-desktop session slang slp sndfile spell spl sql sqlite sse sse2 ssl startup-notification svg swat tcpd theora thunar tiff truetype udev unicode usb v4l v4l2 vaapi vhosts vidix vorbis webkit wifi win32codecs wxwindows x264 x86 xcb xine xml xorg xscreensaver 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" 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="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_6 python3_1" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="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, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 3 Christoph Mende (RETIRED) gentoo-dev 2012-12-23 14:51:03 UTC
Does a patch on debian's BTS[1] fix the issue for you?

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=10;filename=ndiswrapper-use-KERNELRELEASE.patch;att=1;bug=693638
Comment 4 Christoph Mende (RETIRED) gentoo-dev 2013-01-19 21:21:32 UTC
Fixed in CVS.