Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 702414 - gnome-extra/gnome-dvb-daemon-0.2.90 - pkg_postrm(): python_optimize is not to be used in pre/post* phases
Summary: gnome-extra/gnome-dvb-daemon-0.2.90 - pkg_postrm(): python_optimize is not to...
Status: RESOLVED DUPLICATE of bug 701202
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-10 06:20 UTC by Amel Hodzic
Modified: 2020-02-02 10:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,22.81 KB, text/plain)
2019-12-10 06:23 UTC, Amel Hodzic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Amel Hodzic 2019-12-10 06:20:54 UTC
Removing the package results in failure at pkg_postrm.  




Reproducible: Always

Actual Results:  
 * Messages for package gnome-extra/gnome-dvb-daemon-0.2.90:

 * The 'postrm' phase of the 'gnome-extra/gnome-dvb-daemon-0.2.90' package
 * has failed with exit value 1.
 * 
 * The problem occurred while executing the ebuild file named 'gnome-dvb-
 * daemon-0.2.90.ebuild' located in the '/var/db/pkg/gnome-extra/gnome-dvb-
 * daemon-0.2.90' directory. If necessary, manually remove the
 * environment.bz2 file and/or the ebuild file located in that directory.
 * 
 * Removal of the environment.bz2 file is preferred since it may allow the
 * removal phases to execute successfully. The ebuild will be sourced and
 * the eclasses from the current ebuild repository will be used when
 * necessary. Removal of the ebuild file will cause the pkg_prerm() and
 * pkg_postrm() removal phases to be skipped entirely.
 * The new Python eclasses expect the compiled Python files to
 * be controlled by the Package Manager. For this reason,
 * the python_optimize function can be used only during src_* phases
 * (src_install most commonly) and not during pkg_* phases.
 * ERROR: gnome-extra/gnome-dvb-daemon-0.2.90::gentoo failed (postrm phase):
 *   python_optimize is not to be used in pre/post* phases
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called pkg_postrm
 *   environment, line 2681:  Called python_optimize
 *   environment, line 3427:  Called die
 * The specific snippet of code:
 *           die "python_optimize is not to be used in pre/post* phases";
 * 
 * If you need support, post the output of `emerge --info '=gnome-extra/gnome-dvb-daemon-0.2.90::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=gnome-extra/gnome-dvb-daemon-0.2.90::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/._unmerge_/gnome-extra/gnome-dvb-daemon-0.2.90/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/._unmerge_/gnome-extra/gnome-dvb-daemon-0.2.90/temp/environment'.
 * Working directory: '/var/tmp/portage/._unmerge_/gnome-extra/gnome-dvb-daemon-0.2.90/homedir'
 * S: '/var/tmp/portage/._unmerge_/gnome-extra/gnome-dvb-daemon-0.2.90/work/gnome-dvb-daemon-0.2.90'
Comment 1 Amel Hodzic 2019-12-10 06:23:04 UTC
Created attachment 599052 [details]
build.log
Comment 2 Amel Hodzic 2019-12-10 06:24:20 UTC
May be related to Bug 701202
Comment 3 Mart Raudsepp gentoo-dev 2020-02-02 10:07:49 UTC

*** This bug has been marked as a duplicate of bug 701202 ***