Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 771690 - dev-util/meld is missing the dependency dev-python/distro
Summary: dev-util/meld is missing the dependency dev-python/distro
Status: RESOLVED FIXED
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: 2021-02-20 00:39 UTC by Kyle Terrien
Modified: 2021-04-18 15:19 UTC (History)
0 users

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


Attachments
build.log (meld-build.log,2.79 KB, text/x-log)
2021-02-20 00:39 UTC, Kyle Terrien
Details
emerge --info (emerge-info,6.53 KB, text/plain)
2021-02-20 00:40 UTC, Kyle Terrien
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kyle Terrien 2021-02-20 00:39:59 UTC
Created attachment 687684 [details]
build.log

I have tested dev-util/meld-3.20.2-r1 and 3.20.3.  Both result in the following build failure:

> >>> Compiling source in /var/tmp/portage/dev-util/meld-3.20.2-r1/work/meld-3.20.2 ...
> python3.8 setup.py build -j 12
> Traceback (most recent call last):
>   File "/var/tmp/portage/dev-util/meld-3.20.2-r1/work/meld-3.20.2/meld/build_helpers.py", line 35, in <module>
>     import distro
> ModuleNotFoundError: No module named 'distro'
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "setup.py", line 7, in <module>
>     import meld.build_helpers
>   File "/var/tmp/portage/dev-util/meld-3.20.2-r1/work/meld-3.20.2/meld/build_helpers.py", line 37, in <module>
>     python_version = tuple(int(x) for x in platform.python_version_tuple())
>   File "/var/tmp/portage/dev-util/meld-3.20.2-r1/work/meld-3.20.2/meld/build_helpers.py", line 37, in <genexpr>
>     python_version = tuple(int(x) for x in platform.python_version_tuple())
> ValueError: invalid literal for int() with base 10: '8rc1'
>  * ERROR: dev-util/meld-3.20.2-r1::gentoo failed (compile phase):
>  *   (no error message)
>  * 
>  * Call stack:
>  *     ebuild.sh, line  125:  Called src_compile
>  *   environment, line 4766:  Called distutils-r1_src_compile
>  *   environment, line 1313:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
>  *   environment, line  475:  Called distutils-r1_run_phase 'distutils-r1_python_compile'
>  *   environment, line 1304:  Called distutils-r1_python_compile
>  *   environment, line 1174:  Called esetup.py 'build' '-j' '12'
>  *   environment, line 2279:  Called die
>  * The specific snippet of code:
>  *       "${@}" || die "${die_args[@]}";
>  * 
>  * If you need support, post the output of `emerge --info '=dev-util/meld-3.20.2-r1::gentoo'`,
>  * the complete build log and the output of `emerge -pqv '=dev-util/meld-3.20.2-r1::gentoo'`.
>  * The complete build log is located at '/var/tmp/portage/dev-util/meld-3.20.2-r1/temp/build.log'.
>  * The ebuild environment file is located at '/var/tmp/portage/dev-util/meld-3.20.2-r1/temp/environment'.
>  * Working directory: '/var/tmp/portage/dev-util/meld-3.20.2-r1/work/meld-3.20.2'
>  * S: '/var/tmp/portage/dev-util/meld-3.20.2-r1/work/meld-3.20.2'

Installing dev-python/distro installs the needed python dependency and resolves the error.
Comment 1 Kyle Terrien 2021-02-20 00:40:32 UTC
Created attachment 687687 [details]
emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2021-04-18 15:19:56 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13bde601e38ff110f6ddbb88cb1f7550b5e0bfbb

commit 13bde601e38ff110f6ddbb88cb1f7550b5e0bfbb
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2021-04-18 15:19:23 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2021-04-18 15:19:34 +0000

    dev-util/meld: BDEPEND on dev-python/distro
    
    Closes: https://bugs.gentoo.org/771690
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 dev-util/meld/meld-3.20.3.ebuild | 5 +++++
 1 file changed, 5 insertions(+)