<?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>197787</bug_id>
          
          <creation_ts>2007-11-01 15:30 0000</creation_ts>
          <short_desc>app-office/{dia,dia2code,gnumeric}, dev-libs/boost, x11-libs/vte - wrong python handling</short_desc>
          <delta_ts>2008-02-24 22:42:42 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>2007.0</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>hetfield666@gmail.com</reporter>
          <assigned_to>python@gentoo.org</assigned_to>
          <cc>gnome@gentoo.org</cc>
    
    <cc>jakub@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>hetfield666@gmail.com</who>
            <bug_when>2007-11-01 15:30:57 0000</bug_when>
            <thetext>bored of pythong 2.4 i unmerged it few weeks ago.
today i run python updater

 * Starting Python Updater from 2.4 to 2.5 :
 * Searching for packages with files in /usr/lib/python2.4 /usr/lib32/python2.4 /usr/lib64/python2.4 ..
 * Adding to list (manually): =x11-libs/vte-0.16.9
 * Adding to list (manually): =app-office/dia2code-0.8.1
 * Adding to list (manually): =app-office/gnumeric-1.6.3
 * Adding to list (manually): =app-office/dia-0.96.1
 * Adding to list (manually): =dev-libs/boost-1.34.1

all merged successfully.
i run it again and it wanted to merge them again.

endlessy. what&apos;s the issue here?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-11-01 15:37:28 0000</bug_when>
            <thetext>Well, the issue it that none of these ebuilds uses python_mod_{optimize,cleanup}, so it leaves orphaned crap on the system which triggers python-updater.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eva@gentoo.org</who>
            <bug_when>2007-11-01 22:58:03 0000</bug_when>
            <thetext>vte done in CVS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hetfield666@gmail.com</who>
            <bug_when>2007-11-02 09:48:30 0000</bug_when>
            <thetext>good, when all the 5 packages will be fixed i will:

1) recompile all 5
2) python-update and report success</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dev-zero@gentoo.org</who>
            <bug_when>2007-11-02 10:59:53 0000</bug_when>
            <thetext>@Jakub: you&apos;re wrong. boost uses distutils (which is only needed for pyste) but links against the python-library which makes it necessary to rebuild it.
@hawking: seems like a bug in python-updater since those are all manually added ebuilds</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hawking@gentoo.org</who>
            <bug_when>2007-11-02 11:52:10 0000</bug_when>
            <thetext>(In reply to comment #4)
&gt; @hawking: seems like a bug in python-updater since those are all manually added
&gt; ebuilds
&gt; 
Well, that&apos;s expected behaviour. The newly added --direct-only option can be used to skip manually added packages.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hawking@gentoo.org</who>
            <bug_when>2007-11-02 12:09:08 0000</bug_when>
            <thetext>The wrong behaviour is that app-office/dia2code is added but it&apos;s not listed
in manual packages. The problematic part of code is
python-updater:189
if [ -n &quot;$(echo ${CATPKGVER} | grep ${pkg})&quot; ]; then
so it adds app-office/dia2code when app-office/dia exists in the list.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dev-zero@gentoo.org</who>
            <bug_when>2007-11-02 12:33:49 0000</bug_when>
            <thetext>@hawking: &quot;endlessy. what&apos;s the issue here?&quot; ... this is the problem according to the bug reporter :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hawking@gentoo.org</who>
            <bug_when>2007-11-02 12:46:26 0000</bug_when>
            <thetext>Created an attachment (id=135000)
python-updater-fix-grep.patch

This patch fixes the issue in my previous comment.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hawking@gentoo.org</who>
            <bug_when>2007-11-02 12:50:26 0000</bug_when>
            <thetext>reassigning bug to python as this has nothing to do with gnome.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hetfield666@gmail.com</who>
            <bug_when>2007-11-02 18:18:48 0000</bug_when>
            <thetext>fast resume:

vte fixed,
dia2code should not be added anymore after script patch.

what about boost and gnumeric? same issue of dia?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hawking@gentoo.org</who>
            <bug_when>2007-11-02 18:25:33 0000</bug_when>
            <thetext>(In reply to comment #10)
&gt; fast resume:
&gt; 
&gt; vte fixed,
&gt; dia2code should not be added anymore after script patch.
&gt; 
&gt; what about boost and gnumeric? same issue of dia?
&gt; 
I guess I haven&apos;t been clear enough, packages gnumeric,dia,boost and vte link to python although they don&apos;t install packages under python&apos;s library. This is why python-updater adds these manually to the list if they&apos;re installed. If you don&apos;t want to see them use --direct-only with python-updater so it&apos;ll just list the packages that have files installed in previous python&apos;s library.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hetfield666@gmail.com</who>
            <bug_when>2007-11-02 19:52:43 0000</bug_when>
            <thetext>maybe i&apos;m a bit dump but i didn&apos;t understand what &quot;manually&quot; means.

basically with that option only ebuilds into python library dir will be reemerged right?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eva@gentoo.org</who>
            <bug_when>2007-11-03 00:19:33 0000</bug_when>
            <thetext>$ equery files vte
[snip]
/usr/lib/python2.5/site-packages
/usr/lib/python2.5/site-packages/gtk-2.0
/usr/lib/python2.5/site-packages/gtk-2.0/vtemodule.a
/usr/lib/python2.5/site-packages/gtk-2.0/vtemodule.la
/usr/lib/python2.5/site-packages/gtk-2.0/vtemodule.so
[snip]

doesn&apos;t that justify the use of the postrm/postinst stuff ??? I&apos;m no python master so please forgive me if the question is just stupid.

For gnumeric, it seems it&apos;s only a plugin loader.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dev-zero@gentoo.org</who>
            <bug_when>2007-11-03 07:55:21 0000</bug_when>
            <thetext>@eva: nope, the post{inst,rm} stuff only creates/removes python byte-compiled files (for example: foo.py[co] for foo.py)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hetfield666@gmail.com</who>
            <bug_when>2007-11-24 11:04:41 0000</bug_when>
            <thetext>will this be merged in portage?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eva@gentoo.org</who>
            <bug_when>2008-02-24 22:42:42 0000</bug_when>
            <thetext>besides dia that I have pending changes to commit, all of this should have been taken care of through bug #207667. If it&apos;s not the case, please reopen individual bugs.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>135000</attachid>
            <date>2007-11-02 12:46 0000</date>
            <desc>python-updater-fix-grep.patch</desc>
            <filename>python-updater-fix-grep.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">SW5kZXg6IHB5dGhvbi11cGRhdGVyCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIHB5dGhvbi11cGRhdGVyCShyZXZp
c2lvbiAxNSkKKysrIHB5dGhvbi11cGRhdGVyCSh3b3JraW5nIGNvcHkpCkBAIC0xNjksMTEgKzE2
OSwxMiBAQAogZm9yIGNvbnRlbnQgaW4gYGZpbmQgJHtQS0dfREJESVJ9IC1uYW1lIENPTlRFTlRT
YDsgZG8KICAgICAjIGV4dHJhY3QgdGhlIGNhdGVnb3J5LCBwYWNrYWdlIG5hbWUgYW5kIHBhY2th
Z2UgdmVyc2lvbgogICAgIENBVFBLR1ZFUj0kKGVjaG8gJHtjb250ZW50fSB8IHNlZCAiczoke1BL
R19EQkRJUn0vXCguKlwpL0NPTlRFTlRTOlwxOiIp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