Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166152 - net-wireless/ipw3945-1.2.0: broken pkg_setup results in build failure
Summary: net-wireless/ipw3945-1.2.0: broken pkg_setup results in build failure
Status: RESOLVED FIXED
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 02:06 UTC by Jan Kundrát (RETIRED)
Modified: 2007-02-10 07:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fix broken pkg_setup function order (ipw.patch,731 bytes, patch)
2007-02-10 02:07 UTC, Jan Kundrát (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Kundrát (RETIRED) gentoo-dev 2007-02-10 02:06:54 UTC
>>> Emerging (1 of 1) net-wireless/ipw3945-1.2.0 to /
 * ipw3945-1.2.0.tgz MD5 ;-) ...                                                                                                                                     [ ok ]
 * ipw3945-1.2.0.tgz RMD160 ;-) ...                                                                                                                                  [ ok ]
 * ipw3945-1.2.0.tgz SHA1 ;-) ...                                                                                                                                    [ ok ]
 * ipw3945-1.2.0.tgz SHA256 ;-) ...                                                                                                                                  [ ok ]
 * ipw3945-1.2.0.tgz size ;-) ...                                                                                                                                    [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                 [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                               [ ok ]
 * checking ipw3945-1.2.0.tgz ;-) ...                                                                                                                                [ ok ]
 * BLEEESMRT
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.19-suspend2-r1/build
 * Found sources for kernel version:
 *     2.6.19-suspend2-r1
>>> Unpacking source...
>>> Unpacking ipw3945-1.2.0.tgz to /var/tmp/portage/ipw3945-1.2.0/work
 * Applying ipw3945-1.2.0-Makefile.patch ...                                                                                                                         [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/ipw3945-1.2.0/work/ipw3945-1.2.0 ...
 * Preparing ipw3945 module
 Using ieee80211 subsystem version API v2 from:

        Base: /lib/modules/2.6.19-suspend2-r1/build/
        Path: /lib/modules/2.6.19-suspend2-r1/build/include/

 EXTRA_CFLAGS = -DIPW3945_COMPAT=2 -g -Wa,-adhlms=check_inc.lst

mkdir -p /var/tmp/portage/ipw3945-1.2.0/work/ipw3945-1.2.0/tmp/.tmp_versions
make -C /lib/modules/2.6.19-suspend2-r1/build M=/var/tmp/portage/ipw3945-1.2.0/work/ipw3945-1.2.0 MODVERDIR=/var/tmp/portage/ipw3945-1.2.0/work/ipw3945-1.2.0/tmp/.tmp_versions modules
make[1]: Entering directory `/usr/src/linux-2.6.19-suspend2-r1'
  CC [M]  /var/tmp/portage/ipw3945-1.2.0/work/ipw3945-1.2.0/ipw3945.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /var/tmp/portage/ipw3945-1.2.0/work/ipw3945-1.2.0/ipw3945.mod.o
  LD [M]  /var/tmp/portage/ipw3945-1.2.0/work/ipw3945-1.2.0/ipw3945.ko
make[1]: Leaving directory `/usr/src/linux-2.6.19-suspend2-r1'
>>> 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 84:   Called linux-mod_src_install
  linux-mod.eclass, line 542:   Called die

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



Patch attached.
Comment 1 Jan Kundrát (RETIRED) gentoo-dev 2007-02-10 02:07:36 UTC
Created attachment 109685 [details, diff]
fix broken pkg_setup function order
Comment 2 Jan Kundrát (RETIRED) gentoo-dev 2007-02-10 02:10:40 UTC
Original report contained additional debugging output, the point still lasts, however. Also please note that the patch I've made is accidentally reversed. It's 3AM here and an older version of this crap is oopsing for me, sorry :(.
Comment 3 Christian Heim (RETIRED) gentoo-dev 2007-02-10 07:25:13 UTC
Thanks Jan, fixed in CVS.