First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 197787
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Python Gentoo Team <python@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Patrizio Bassi <hetfield666@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
python-updater-fix-grep.patch python-updater-fix-grep.patch patch Ali Polatel (RETIRED) 2007-11-02 12:46 0000 1.17 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 197787 depends on: Show dependency tree
Bug 197787 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-11-01 15:30 0000
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's the issue here?

------- Comment #1 From Jakub Moc (RETIRED) 2007-11-01 15:37:28 0000 -------
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.

------- Comment #2 From Gilles Dartiguelongue 2007-11-01 22:58:03 0000 -------
vte done in CVS

------- Comment #3 From Patrizio Bassi 2007-11-02 09:48:30 0000 -------
good, when all the 5 packages will be fixed i will:

1) recompile all 5
2) python-update and report success

------- Comment #4 From Tiziano Müller 2007-11-02 10:59:53 0000 -------
@Jakub: you'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

------- Comment #5 From Ali Polatel (RETIRED) 2007-11-02 11:52:10 0000 -------
(In reply to comment #4)
> @hawking: seems like a bug in python-updater since those are all manually added
> ebuilds
> 
Well, that's expected behaviour. The newly added --direct-only option can be
used to skip manually added packages.

------- Comment #6 From Ali Polatel (RETIRED) 2007-11-02 12:09:08 0000 -------
The wrong behaviour is that app-office/dia2code is added but it's not listed
in manual packages. The problematic part of code is
python-updater:189
if [ -n "$(echo ${CATPKGVER} | grep ${pkg})" ]; then
so it adds app-office/dia2code when app-office/dia exists in the list.

------- Comment #7 From Tiziano Müller 2007-11-02 12:33:49 0000 -------
@hawking: "endlessy. what's the issue here?" ... this is the problem according
to the bug reporter :)

------- Comment #8 From Ali Polatel (RETIRED) 2007-11-02 12:46:26 0000 -------
Created an attachment (id=135000) [edit]
python-updater-fix-grep.patch

This patch fixes the issue in my previous comment.

------- Comment #9 From Ali Polatel (RETIRED) 2007-11-02 12:50:26 0000 -------
reassigning bug to python as this has nothing to do with gnome.

------- Comment #10 From Patrizio Bassi 2007-11-02 18:18:48 0000 -------
fast resume:

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

what about boost and gnumeric? same issue of dia?

------- Comment #11 From Ali Polatel (RETIRED) 2007-11-02 18:25:33 0000 -------
(In reply to comment #10)
> fast resume:
> 
> vte fixed,
> dia2code should not be added anymore after script patch.
> 
> what about boost and gnumeric? same issue of dia?
> 
I guess I haven't been clear enough, packages gnumeric,dia,boost and vte link
to python although they don't install packages under python's library. This is
why python-updater adds these manually to the list if they're installed. If you
don't want to see them use --direct-only with python-updater so it'll just list
the packages that have files installed in previous python's library.

------- Comment #12 From Patrizio Bassi 2007-11-02 19:52:43 0000 -------
maybe i'm a bit dump but i didn't understand what "manually" means.

basically with that option only ebuilds into python library dir will be
reemerged right?

------- Comment #13 From Gilles Dartiguelongue 2007-11-03 00:19:33 0000 -------
$ 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't that justify the use of the postrm/postinst stuff ??? I'm no python
master so please forgive me if the question is just stupid.

For gnumeric, it seems it's only a plugin loader.

------- Comment #14 From Tiziano Müller 2007-11-03 07:55:21 0000 -------
@eva: nope, the post{inst,rm} stuff only creates/removes python byte-compiled
files (for example: foo.py[co] for foo.py)

------- Comment #15 From Patrizio Bassi 2007-11-24 11:04:41 0000 -------
will this be merged in portage?

------- Comment #16 From Gilles Dartiguelongue 2008-02-24 22:42:42 0000 -------
besides dia that I have pending changes to commit, all of this should have been
taken care of through bug #207667. If it's not the case, please reopen
individual bugs.

First Last Prev Next    No search results available      Search page      Enter new bug