<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>166152</bug_id>
          
          <creation_ts>2007-02-10 02:06 0000</creation_ts>
          <short_desc>net-wireless/ipw3945-1.2.0: broken pkg_setup results in build failure</short_desc>
          <delta_ts>2007-02-10 07:25:13 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>jkt@gentoo.org</reporter>
          <assigned_to>phreak@gentoo.org</assigned_to>
          <cc>seemant@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>jkt@gentoo.org</who>
            <bug_when>2007-02-10 02:06:54 0000</bug_when>
            <thetext>&gt;&gt;&gt; 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
&gt;&gt;&gt; Unpacking source...
&gt;&gt;&gt; Unpacking ipw3945-1.2.0.tgz to /var/tmp/portage/ipw3945-1.2.0/work
 * Applying ipw3945-1.2.0-Makefile.patch ...                                                                                                                         [ ok ]
&gt;&gt;&gt; Source unpacked.
&gt;&gt;&gt; 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&apos;
  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&apos;
&gt;&gt;&gt; Source compiled.
&gt;&gt;&gt; Test phase [not enabled]: net-wireless/ipw3945-1.2.0

&gt;&gt;&gt; Install ipw3945-1.2.0 into /var/tmp/portage/ipw3945-1.2.0/image/ category net-wireless
 * Installing ipw3945 module
install: cannot stat `ipw3945.&apos;: 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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jkt@gentoo.org</who>
            <bug_when>2007-02-10 02:07:36 0000</bug_when>
            <thetext>Created an attachment (id=109685)
fix broken pkg_setup function order

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jkt@gentoo.org</who>
            <bug_when>2007-02-10 02:10:40 0000</bug_when>
            <thetext>Original report contained additional debugging output, the point still lasts, however. Also please note that the patch I&apos;ve made is accidentally reversed. It&apos;s 3AM here and an older version of this crap is oopsing for me, sorry :(.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>phreak@gentoo.org</who>
            <bug_when>2007-02-10 07:25:13 0000</bug_when>
            <thetext>Thanks Jan, fixed in CVS.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>109685</attachid>
            <date>2007-02-10 02:07 0000</date>
            <desc>fix broken pkg_setup function order</desc>
            <filename>ipw.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC91c3IvcG9ydGFnZS9uZXQtd2lyZWxlc3MvaXB3Mzk0NS9pcHczOTQ1LTEuMi4wLmVidWls
ZAkyMDA3LTAyLTEwIDAzOjAyOjQ0LjY1ODgyMzIxMyArMDEwMAorKysgL3Vzci9wb3J0YWdlL25l
dC13aXJlbGVzcy9pcHczOTQ1L2lwdzM5NDUtMS4yLjAuZWJ1aWxkLm9yaWcJMjAwNy0wMi0xMCAw
MzowMDowMy41OTk5ODgwNDEgKzAxMDAKQEAgLTQwLDEwICs0MCw2IEBACiAJCSAgICAgICAgIEtF
Uk5FTF9ESVIgb3IgL3Vzci9zcmMvbGludXggc3VpdGFibHkiCiAJZmkKIAotCWxpbnV4LW1vZF9w
a2dfc2V0dXAKLQotCUJVSUxEX1BBUkFNUz0iS1NSQz0ke0tWX0RJUn0gS1NSQ19PVVRQVVQ9JHtL
Vl9PVVRfRElSfSIKLQogCSMgdXNlcnMgZG9uJ3QgcmVhZCBjaGFuZ2Vsb2dzIGFuZCB3b25kZXIg
d2h5IHRoZSBrZXJuZWwgY2hlY2sgZmFpbHMKIAkjICgxKSBjaGVjayBpZiB0aGUga2VybmVsIGRp
ciAoL3Vzci9zcmMvbGludXgpIGlzIG1pc3NpbmcgaWVlZTgwMjExCiAKQEAgLTYxLDYgKzU3LDEw
IEBACiAJCWVlcnJvciAiYnkgbmV0LXdpcmVsZXNzL2llZWU4MDIxMS4iCiAJCWRpZSAiSW5jb21w
YXRpYmxlIGllZWU4MDIxMSBzdWJzeXN0ZW0gZGV0ZWN0ZWQgaW4gJHtLVl9GVUxMfSIKIAlmaQor
CisJbGludXgtbW9kX3BrZ19zZXR1cAorCisJQlVJTERfUEFSQU1TPSJLU1JDPSR7S1ZfRElSfSBL
U1JDX09VVFBVVD0ke0tWX09VVF9ESVJ9IgogfQogCiBzcmNfdW5wYWNrKCkgewo=
</data>        

          </attachment>
    </bug>

</bugzilla>