<?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>35168</bug_id>
          
          <creation_ts>2003-12-05 17:45 0000</creation_ts>
          <short_desc>metakit fails to install against python-2.3</short_desc>
          <delta_ts>2004-07-16 17:03:37 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>Applications</component>
          <version>1.4</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>33372</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>seemant@gentoo.org</reporter>
          <assigned_to>python@gentoo.org</assigned_to>
          <cc>brian.dolbec@gmail.com</cc>
    
    <cc>dberkholz@gentoo.org</cc>
    
    <cc>stephen@theboulets.net</cc>

      

      
          <long_desc isprivate="0">
            <who>seemant@gentoo.org</who>
            <bug_when>2003-12-05 17:45:31 0000</bug_when>
            <thetext>image//usr/include
/bin/install -c -m 644 unix/../include/mk4.h /var/tmp/portage/metakit-2.4.9.2-r1/image//usr/include/mk4.h
/bin/install -c -m 644 unix/../include/mk4.inl /var/tmp/portage/metakit-2.4.9.2-r1/image//usr/include/mk4.inl
/bin/install -c -m 644 unix/../include/mk4str.h /var/tmp/portage/metakit-2.4.9.2-r1/image//usr/include/mk4str.h
/bin/install -c -m 644 unix/../include/mk4str.inl /var/tmp/portage/metakit-2.4.9.2-r1/image//usr/include/mk4str.inl
/bin/sh ./libtool --mode=install /bin/install -c libmk4.la /var/tmp/portage/metakit-2.4.9.2-r1/image//usr/lib
/bin/install -c .libs/libmk4.so /var/tmp/portage/metakit-2.4.9.2-r1/image//usr/lib/libmk4.so
/bin/install -c .libs/libmk4.lai /var/tmp/portage/metakit-2.4.9.2-r1/image//usr/lib/libmk4.la
/bin/install -c .libs/libmk4.a /var/tmp/portage/metakit-2.4.9.2-r1/image//usr/lib/libmk4.a
ranlib /var/tmp/portage/metakit-2.4.9.2-r1/image//usr/lib/libmk4.a
chmod 644 /var/tmp/portage/metakit-2.4.9.2-r1/image//usr/lib/libmk4.a
libtool: install: warning: remember to run `libtool --finish /usr/lib&apos;
/bin/sh ./libtool --mode=install /bin/install -c Mk4py.so /var/tmp/portage/metakit-2.4.9.2-r1/image//usr/lib/python2.2/site-packages
/bin/install -c Mk4py.so /var/tmp/portage/metakit-2.4.9.2-r1/image//usr/lib/python2.2/site-packages
/bin/install: cannot create regular file `/var/tmp/portage/metakit-2.4.9.2-r1/image//usr/lib/python2.2/site-packages&apos;: No such file or directory
make: *** [install-python] Error 1</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>brian.dolbec@gmail.com</who>
            <bug_when>2003-12-06 12:05:37 0000</bug_when>
            <thetext>I just re-emerged metakit-2.4.9.2-r1 on my system which now has python-2.3-r5 installed and it emerged just fine.

I looked over the emerge output with the error and compared it to mine and it looks like the command line was truncated in the bug reporters case.

The correct line is as follows:

/bin/install -c Mk4py.so /var/tmp/portage/metakit-2.4.9.2-r1/image//usr/lib/python2.2/site-packages/Mk4py.so

Perhaps there was a different reason for the failure than the metakit ebiuld.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>brian.dolbec@gmail.com</who>
            <bug_when>2003-12-06 13:44:26 0000</bug_when>
            <thetext>What is the output at the start of emerging metakit.   Namely what is it detecting for your python install?

e.g. Here is mine:

big_squirt brian # ACCEPT_KEYWORDS=&quot;~x86&quot; emerge  metakit
Calculating dependencies ...done!
&gt;&gt;&gt; emerge (1 of 1) dev-db/metakit-2.4.9.2-r1 to /
&gt;&gt;&gt; md5 src_uri ;-) metakit-2.4.9.2.tar.gz
&gt;&gt;&gt; Unpacking source...
&gt;&gt;&gt; Unpacking metakit-2.4.9.2.tar.gz to /var/tmp/portage/metakit-2.4.9.2-r1/work
&gt;&gt;&gt; Source unpacked.
python
tcltk
configure: WARNING: If you wanted to set the --build type, don&apos;t use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for Python configuration... /usr/include/python2.2 and /usr/lib/python2.2/site-packages



Is it detecting both directories?
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>brian.dolbec@gmail.com</who>
            <bug_when>2003-12-06 22:28:30 0000</bug_when>
            <thetext>Sorry for my earlier ramblings, I&apos;m overtired.  I only have python-2.2.3-r5 installed.  My brain only saw 2.3.   Does python 2.3 not have a site-packages directory installed and registered?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kloeri@gentoo.org</who>
            <bug_when>2003-12-07 18:47:17 0000</bug_when>
            <thetext>Fixed in CVS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kloeri@gentoo.org</who>
            <bug_when>2003-12-09 08:30:20 0000</bug_when>
            <thetext>*** Bug 35326 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2004-01-17 02:23:27 0000</bug_when>
            <thetext>*** Bug 38372 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eradicator@gentoo.org</who>
            <bug_when>2004-02-07 17:36:02 0000</bug_when>
            <thetext>This bug is still present in stable.  Please consider getting the fix into stable.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eradicator@gentoo.org</who>
            <bug_when>2004-02-07 17:40:26 0000</bug_when>
            <thetext>Actually... looks like it&apos;s in ~x86 as well... dev-db/metakit-2.4.9.3 and metakit-2.4.9.2-r1 both trigger this problem:

/bin/install -c .libs/libmk4.a /usr/tmp/portage/metakit-2.4.9.3/image//usr/lib/libmk4.a
ranlib /usr/tmp/portage/metakit-2.4.9.3/image//usr/lib/libmk4.a
chmod 644 /usr/tmp/portage/metakit-2.4.9.3/image//usr/lib/libmk4.a
libtool: install: warning: remember to run `libtool --finish /usr/lib&apos;
/bin/sh ./libtool --mode=install /bin/install -c Mk4py.so /usr/tmp/portage/metakit-2.4.9.3/image//usr/lib/python2.3/site-packages
/bin/install -c Mk4py.so /usr/tmp/portage/metakit-2.4.9.3/image//usr/lib/python2.3/site-packages
/bin/install: cannot create regular file `/usr/tmp/portage/metakit-2.4.9.3/image//usr/lib/python2.3/site-packages&apos;: No such file or directory
make: *** [install-python] Error 1

!!! ERROR: dev-db/metakit-2.4.9.3 failed.
!!! Function src_install, Line 43, Exitcode 2
!!! (no error message)

Similar for 2.4.9.2-r1.

Oddly, /usr/tmp/portage/metakit-2.4.9.3/image/usr/lib/python2.2/site-packages exists.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eradicator@gentoo.org</who>
            <bug_when>2004-02-07 17:58:43 0000</bug_when>
            <thetext>Actually, dev-lang/python-2.2 was re-emerged as part of a revdep-rebuild I did for openssl-0.9.7.  Gonna re-emerge 2.3 which should fix it.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>matt@thepulsenet.com</who>
            <bug_when>2004-02-19 21:56:36 0000</bug_when>
            <thetext>I had the same error. I re-emerged python and then re-emerged metakit and it worked fine.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tk@blah.at</who>
            <bug_when>2004-07-16 17:03:37 0000</bug_when>
            <thetext>emerging metakit failed with:
Python.h - no such file or directory

i linked /usr/include/python2.3 to python2.2 which fixed this.

any other/better solutions for this? seems that configure didn&apos;t detect the
right python version (but only got 2.3 installed?)

got no problems with the install...</thetext>
          </long_desc>
      
    </bug>

</bugzilla>