Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166252 - net-wireless/ipw3945-1.2.0 fails to install after compilation
Summary: net-wireless/ipw3945-1.2.0 fails to install after compilation
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Christian Heim (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-10 21:09 UTC by Mike C. Delorme
Modified: 2007-02-10 23:04 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 Mike C. Delorme 2007-02-10 21:09:00 UTC
ipw3945 fails to install the kernel module after successful compilation against gentoo-sources-2.6.19-r5.  This comes only after a recent change to the ebuild:

  10 Feb 2007; Christian Heim <phreak@gentoo.org> ipw3945-1.2.0.ebuild:
  Moving the linux_mod-pkg_setup around, Fixing #166152 (thanks to Jan).



Reproducible: Always

Steps to Reproduce:
1.  Compile gentoo-sources-2.6.19-r5 with IEEE80211 compiled within the kernel
2.  Try to merge ipw3945-1.2.0
3.  Watch the successful build, and unsuccessful install




>>> Source compiled.
>>> Test phase [not enabled]: net-wireless/ipw3945-1.2.0

>>> Install ipw3945-1.2.0 into /var/tmp/portage/ipw3945-1.2.0/image/ category net-wireless
 * Installing ipw3945 module
install: cannot stat `ipw3945.': No such file or directory

!!! ERROR: net-wireless/ipw3945-1.2.0 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_install
  ebuild.sh, line 1020:   Called src_install
  ipw3945-1.2.0.ebuild, line 79:   Called linux-mod_src_install
  linux-mod.eclass, line 540:   Called die

!!! doins ipw3945. failed
!!! If you need support, post the topmost build error, and the call stack if relevant.



Although I am using amd64, I have installed ipw3945 successfully against this kernel before.  This failure only comes after the recent change in the ebuild today:

  10 Feb 2007; Christian Heim <phreak@gentoo.org> ipw3945-1.2.0.ebuild:
  Moving the linux_mod-pkg_setup around, Fixing #166152 (thanks to Jan).


Here is my emerge --info:

Portage 2.1.1-r2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.19-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r5 x86_64 Intel(R) Core(TM)2 CPU         T7200  @ 2.00GHz
Gentoo Base System release 1.12.8
Last Sync: Sat, 10 Feb 2007 07:30:02 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en_GB en en_US"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 7zip X Xaw3d a52 aac aalib accessibility acpi ada addbookmarks aiglx alias alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol amarok apache2 arts artswrappersuid asf asterisk audiofile autoreplace avahi bash-completion berkdb binary-drivers bitmap-fonts bluetooth browserplugin bzip2 cairo canvas cdda cdr cjk cli colordiff commercial connectionstatus contactnotes cracklib crypt cscope css cups cvs dbus dga divx4linux djvu dlloader doc dri dts dv dvb dvd dvdr dvdread dvi eds effects elibc_glibc emacs emboss encode esd evo examples exif exscalibar extensions fam fame fat ffmpeg firefox flac foomatic-db foomaticdb fortran freetds freetype fuse gcj gdbm gif gimpprint glitz glut gnokii gnutls gpm gsm gstreamer gtalk gtk gtk2 gzip hal hfs high-ints highlight history iconv ieee1394 imagemagick input_devices_acecad input_devices_aiptek input_devices_calcomp input_devices_citron input_devices_digitaledge input_devices_dmc input_devices_dynapro input_devices_elo2300 input_devices_elographics input_devices_evdev input_devices_fpit input_devices_hyperpen input_devices_jamstudio input_devices_joystick input_devices_keyboard input_devices_magellan input_devices_microtouch input_devices_mouse input_devices_mutouch input_devices_palmax input_devices_penmount input_devices_spaceorb input_devices_summa input_devices_synaptics input_devices_tek4957 input_devices_ur98 input_devices_vmmouse input_devices_void ipod irc irda isdnlog jack java javascript jfs jingle joystick jpeg jpeg2k kcal kde kdehiddenvisibility kdepim kdgraphics kdm kerberos kernel_linux kexi kig-scripting kipi ladspa lame latex lcd lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text ldap libcaca libg++ linguas_en linguas_en_GB linguas_en_US lirc live livecd lm_sensors logitech-mouse logrotate lzo mad mbrola midi mikmod mjpeg mono mozcalendar moznocompose moznoirc moznomail mozsvg mp3 mp4 mp4live mpeg mpeg2 mplayer mssql musepack musicbrainz mysql mysqlfriends mysqli nautilus ncurses netmeeting network new-login nls nntp nowlistening nptl nptlonly nsplugin ntfs nvidia objc objc++ objc-gc office ogg oggvorbis ole on-the-fly-crypt openexr opengl oss pam pam_chroot pam_timestamp pcmcia pcre pda pdf perforce perl php png pop portaudio postfix postgres ppds pppd print pwdb python qt qt3 qt3support qt4 quicktime rar rdesktop readline realmedia reflection reiser4 remote rtsp ruby samba sasl scanner sdl server session shout skins slp smp sms sndfile soundtouch speedo speex spell spl sql sqlite sqlite3 ssl statistics stats stream subtitles subversion svg svgz tcpd texteffect theora threads tiff timidity transcode translator truetype truetype-fonts type1-fonts udev unichrome unicode usb userland_GNU v4l v4l2 vcd video_cards_i810 video_cards_vesa vim vim-pager vim-syntax vim-with-x visual visualization vlm vnc vncviewer vorbis webpresence widescreen wifi winpopup wma wmf wmp wordperfect wxgtk1 wxwindows xcomposite xemacs xfs xine xinerama xml xml2 xorg xprint xscreensaver xv xvid xvmc yahoo zeroconf zip zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Christian Heim (RETIRED) gentoo-dev 2007-02-10 21:36:03 UTC
(In reply to comment #0)
> ipw3945 fails to install the kernel module after successful compilation against
> gentoo-sources-2.6.19-r5.  This comes only after a recent change to the ebuild:
> 
>   10 Feb 2007; Christian Heim <phreak@gentoo.org> ipw3945-1.2.0.ebuild:
>   Moving the linux_mod-pkg_setup around, Fixing #166152 (thanks to Jan).
> 
> 
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1.  Compile gentoo-sources-2.6.19-r5 with IEEE80211 compiled within the kernel
> 2.  Try to merge ipw3945-1.2.0
> 3.  Watch the successful build, and unsuccessful install
> 
> 
> 
> 
> >>> Source compiled.
> >>> Test phase [not enabled]: net-wireless/ipw3945-1.2.0
> 
> >>> Install ipw3945-1.2.0 into /var/tmp/portage/ipw3945-1.2.0/image/ category net-wireless
>  * Installing ipw3945 module
> install: cannot stat `ipw3945.': No such file or directory
> 
> !!! ERROR: net-wireless/ipw3945-1.2.0 failed.
> Call stack:
>   ebuild.sh, line 1546:   Called dyn_install
>   ebuild.sh, line 1020:   Called src_install
>   ipw3945-1.2.0.ebuild, line 79:   Called linux-mod_src_install
>   linux-mod.eclass, line 540:   Called die
> 
> !!! doins ipw3945. failed
> !!! If you need support, post the topmost build error, and the call stack if
> relevant.

Your /usr/src/linux points to a valid kernel source directory ? That's about the only reason set_kvobj in eclass/linux-mod.eclass would fail (or not result in anything).

I've added an explicit declaration of KV_OBJ to the ebuild now, so it should *really* work for proper setups.
Comment 2 Mike C. Delorme 2007-02-10 23:04:21 UTC
(In reply to comment #0)
> Your /usr/src/linux points to a valid kernel source directory ? That's about
> the only reason set_kvobj in eclass/linux-mod.eclass would fail (or not result
> in anything).
> 
> I've added an explicit declaration of KV_OBJ to the ebuild now, so it should
> *really* work for proper setups.
> 

Yes, my /usr/src/linux points to the proper kernel directory.  I too realized that the peroper extension was not being added when trying to install the module shortly after I posted.  It's almost as though for some reason the set_kvobj() function wasn't being called in linux-mod.eclass, and the KV_OBJ variable wasn't being set as a result.  I don't know why this might've happened.  Your explicit declaration in the ebuild seems to have done the trick, and the package now merges properly.  Thanks for your quick reply/fix!