Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708252 - dev-python/autobahn-18.3.1 : pkg_postrm(): python_foreach_impl twisted-regen-cache failed
Summary: dev-python/autobahn-18.3.1 : pkg_postrm(): python_foreach_impl twisted-regen-...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-04 18:33 UTC by Kobboi
Modified: 2020-02-05 08:58 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kobboi 2020-02-04 18:33:23 UTC
Installing binary from a build host.

Genlop log from build host:

     Mon Dec 30 19:14:34 2019 >>> dev-python/autobahn-18.3.1
       merge time: 20 seconds.

     Tue Feb  4 16:04:18 2020 >>> dev-python/autobahn-18.3.1
       merge time: 20 seconds.

Genlop log from client machine:

     Thu Jan 23 13:02:11 2020 >>> dev-python/autobahn-18.3.1
       merge time: 14 seconds.

     Tue Feb  4 19:23:05 2020 >>> dev-python/autobahn-18.3.1
       merge time: 38 seconds.

 * Messages for package dev-python/autobahn-18.3.1:

 * FAILED postinst: 1
 * ERROR: dev-python/autobahn-18.3.1::gentoo failed (postinst phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 125:  Called pkg_postinst
 *   environment, line 2817:  Called die
 * The specific snippet of code:
 *       python_foreach_impl twisted-regen-cache || die
 * 
 * If you need support, post the output of `emerge --info '=dev-python/autobahn-18.3.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/autobahn-18.3.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/autobahn-18.3.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/autobahn-18.3.1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/autobahn-18.3.1/homedir'
 * S: '/var/tmp/portage/dev-python/autobahn-18.3.1/work/autobahn-18.3.1'


Reproducible: Always
Comment 1 Kobboi 2020-02-04 18:36:10 UTC
Tried again, verbosely:

--- replaced obj /usr/lib64/python3.6/site-packages/autobahn/__pycache__/__init__.cpython-36.pyc
--- replaced obj /usr/lib64/python3.6/site-packages/autobahn/__pycache__/__init__.cpython-36.opt-2.pyc
--- replaced obj /usr/lib64/python3.6/site-packages/autobahn/__pycache__/__init__.cpython-36.opt-1.pyc
--- replaced dir /usr/lib64/python3.6/site-packages/autobahn/__pycache__
--- replaced obj /usr/lib64/python3.6/site-packages/autobahn/__init__.py
--- replaced obj /usr/lib64/python3.6/site-packages/autobahn-18.3.1-py3.6.egg-info/top_level.txt
--- replaced obj /usr/lib64/python3.6/site-packages/autobahn-18.3.1-py3.6.egg-info/requires.txt
--- replaced obj /usr/lib64/python3.6/site-packages/autobahn-18.3.1-py3.6.egg-info/not-zip-safe
--- replaced obj /usr/lib64/python3.6/site-packages/autobahn-18.3.1-py3.6.egg-info/dependency_links.txt
--- replaced obj /usr/lib64/python3.6/site-packages/autobahn-18.3.1-py3.6.egg-info/SOURCES.txt
--- replaced obj /usr/lib64/python3.6/site-packages/autobahn-18.3.1-py3.6.egg-info/PKG-INFO
--- replaced dir /usr/lib64/python3.6/site-packages/autobahn-18.3.1-py3.6.egg-info
--- replaced dir /usr/lib64/python3.6/site-packages/autobahn
--- replaced dir /usr/lib64/python3.6/site-packages
--- replaced dir /usr/lib64/python3.6
--- replaced dir /usr/lib64
--- replaced dir /usr
 * python3_6: running twisted-regen-cache
Regenerating cache for twisted.plugins ...
Cache update failed: [Errno 20] Not a directory: '/usr/lib64/python3.6/site-packages/pytradfri-6.4.0-py3.6.egg/twisted/plugins/dropin.cache'
 * ERROR: dev-python/autobahn-18.3.1::gentoo failed (postrm phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 125:  Called pkg_postrm
 *   environment, line 2820:  Called die
 * The specific snippet of code:
 *       python_foreach_impl twisted-regen-cache || die
 * 
 * If you need support, post the output of `emerge --info '=dev-python/autobahn-18.3.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/autobahn-18.3.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/._unmerge_/dev-python/autobahn-18.3.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/._unmerge_/dev-python/autobahn-18.3.1/temp/environment'.
 * Working directory: '/var/tmp/portage/._unmerge_/dev-python/autobahn-18.3.1/homedir'
 * S: '/var/tmp/portage/._unmerge_/dev-python/autobahn-18.3.1/work/autobahn-18.3.1'
!!! FAILED postrm: 1
 * The 'postrm' phase of the 'dev-python/autobahn-18.3.1' package has
 * failed with exit value 1.
 * 
 * The problem occurred while executing the ebuild file named
 * 'autobahn-18.3.1.ebuild' located in the '/var/db/pkg/dev-
 * python/autobahn-18.3.1' 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.
Comment 2 Kobboi 2020-02-04 21:30:32 UTC
This looks like it's being caused by my manual installation of pytradfri?
Comment 3 Kobboi 2020-02-04 21:54:29 UTC
So it's probably kind of self-inflicted but maybe this ticket does reveal some kind of error or imperfection in some ebuild or eclass, so leaving open so it can be glanced/looked at.

Note that my /usr/lib64/python3.6/site-packages/ contains

-rw-r--r--  1 root root  71082 Feb  4 22:33 pytradfri-6.4.0-py3.6.egg
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-02-05 05:22:11 UTC
I'm sorry but we don't support this.  If you install system-wide stuff outside the package manager, you're on your own.
Comment 5 Kobboi 2020-02-05 08:58:47 UTC
ACK, thanks for your feedback.