Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 626168 - dev-python/twisted-16.6.0-r2: pkg_postinst fails for binary package if dev-python/incremental is not installed
Summary: dev-python/twisted-16.6.0-r2: pkg_postinst fails for binary package if dev-py...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: Brian Dolbec (RETIRED)
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2017-07-25 20:37 UTC by Zac Medico
Modified: 2017-07-25 21:36 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 Zac Medico gentoo-dev 2017-07-25 20:37:48 UTC
The ebuild has ">=dev-python/incremental-16.10.1[${PYTHON_USEDEP}]" in DEPEND, but not RDEPEND, so it's not pulled in for binary packages:

>  * python2_7: running python_postinst
> Traceback (most recent call last):
>   File "/usr/lib/python-exec/python2.7/twisted-regen-cache", line 13, in <module>
>     from twisted.plugin import getPlugins, IPlugin
>   File "/usr/lib64/python2.7/site-packages/twisted/__init__.py", line 23, in <module>
>     from twisted._version import __version__ as version
>   File "/usr/lib64/python2.7/site-packages/twisted/_version.py", line 8, in <module>
>     from incremental import Version
> ImportError: No module named incremental
>  * ERROR: dev-python/twisted-16.6.0-r2::gentoo failed (postinst phase):
>  *   (no error message)
>  * 
>  * Call stack:
>  *     ebuild.sh, line  115:  Called pkg_postinst
>  *   environment, line 3238:  Called python_foreach_impl 'python_postinst'
>  *   environment, line 3907:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'python_postinst'
>  *   environment, line 2900:  Called _multibuild_run '_python_multibuild_wrapper' 'python_postinst'
>  *   environment, line 2898:  Called _python_multibuild_wrapper 'python_postinst'
>  *   environment, line  710:  Called python_postinst
>  *   environment, line 4208:  Called die
>  * The specific snippet of code:
>  *       twisted-regen-cache || die
Comment 1 Brian Dolbec (RETIRED) gentoo-dev 2017-07-25 21:36:01 UTC
Fixed in commit: a82d114183b2b95bee1deef5fd0de54fdd8e953c