Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 337009

Summary: xfce-base/exo-0.3.107 fails at postrm
Product: Gentoo Linux Reporter: Boris Petersen <transacid>
Component: Current packagesAssignee: XFCE Team <xfce>
Status: RESOLVED FIXED    
Severity: normal CC: anarchy, prote, skrattaren
Priority: High    
Version: 10.1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info =xfce-base/exo-0.3.107
buildlog
environtment
buildlog 2
patch of python_mod_xxxxx calls
log after successful merge

Description Boris Petersen 2010-09-12 21:41:58 UTC
compiling xfce-base/exo-0.3.107 works fine. the errors occure at postrm. see attached files.
Comment 1 Boris Petersen 2010-09-12 21:43:11 UTC
Created attachment 247065 [details]
emerge --info =xfce-base/exo-0.3.107
Comment 2 Boris Petersen 2010-09-12 21:44:08 UTC
$ emerge -pqv '=xfce-base/exo-0.3.107'
[ebuild   R   ] xfce-base/exo-0.3.107  USE="hal libnotify python -debug"
Comment 3 Boris Petersen 2010-09-12 21:44:50 UTC
Created attachment 247066 [details]
buildlog
Comment 4 Boris Petersen 2010-09-12 21:45:18 UTC
Created attachment 247067 [details]
environtment
Comment 5 Boris Petersen 2010-09-12 21:46:58 UTC
Created attachment 247069 [details]
buildlog 2

strangely there were 2 buildlogs
Comment 6 Horst Prote 2010-09-13 13:27:34 UTC
(In reply to comment #5)
> strangely there were 2 buildlogs

As you did a rebuild there's one log for the new build and one for the removal of the former installation (call of pkg_postrm() in the ebuild).

And notice in the second log it's pkg_postinst() complaining!

Compairing exo-0.3.107.ebuild with the ~masked exo-0.5.[34].ebuild I think the python_mod_xxxxx functions should be called with "exo-0.3 pyexo.py". I made this changes (see attached patch) and the second rebuild was without any errors.
Comment 7 Horst Prote 2010-09-13 13:30:16 UTC
Created attachment 247119 [details, diff]
patch of python_mod_xxxxx calls

The aforementioned patch.
Comment 8 Boris Petersen 2010-09-13 16:10:24 UTC
Created attachment 247140 [details]
log after successful merge 

ok now i dun get an error so that portage dies but this one. maybe that is of interest.
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2010-09-14 13:23:06 UTC
oops

+  14 Sep 2010; Samuli Suominen <ssuominen@gentoo.org> exo-0.3.107.ebuild:
+  Fix python_mod_* for EAPI="3" wrt #337009 by Horst Prote and Boris
+  Petersen.