Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 661944 - sys-devel/distcc-3.2_rc1-r5: Python version mismatches
Summary: sys-devel/distcc-3.2_rc1-r5: Python version mismatches
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-24 08:06 UTC by Michał Górny
Modified: 2018-12-08 13:08 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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-07-24 08:06:54 UTC
I've built it with 3.6 target.  However, the files have mismatched shebangs:

/usr/lib64/python3.6/site-packages/include_server/statistics.py:#! /usr/bin/env python3
/usr/lib64/python3.6/site-packages/include_server/setup.py:#!/usr/bin/env python3
/usr/lib64/python3.6/site-packages/include_server/run.py:#! /usr/bin/env python3
/usr/lib64/python3.6/site-packages/include_server/parse_file_test.py:#! /usr/bin/env python3
/usr/lib64/python3.6/site-packages/include_server/parse_file.py:#! /usr/bin/env python3
/usr/lib64/python3.6/site-packages/include_server/parse_command_test.py:#! /usr/bin/env python3
/usr/lib64/python3.6/site-packages/include_server/parse_command.py:#! /usr/bin/env python3
/usr/lib64/python3.6/site-packages/include_server/mirror_path_test.py:#! /usr/bin/env python3
/usr/lib64/python3.6/site-packages/include_server/mirror_path.py:#!/usr/bin/env python3
/usr/lib64/python3.6/site-packages/include_server/macro_eval_test.py:#! /usr/bin/env python3
/usr/lib64/python3.6/site-packages/include_server/macro_eval.py:#! /usr/bin/env python3
/usr/lib64/python3.6/site-packages/include_server/include_server_test.py:#!/usr/bin/env python3
/usr/lib64/python3.6/site-packages/include_server/include_server.py:#!/usr/bin/env python3
/usr/lib64/python3.6/site-packages/include_server/include_analyzer_test.py:#! /usr/bin/env python3
/usr/lib64/python3.6/site-packages/include_server/include_analyzer_memoizing_node_test.py:#! /usr/bin/env python3
/usr/lib64/python3.6/site-packages/include_server/include_analyzer_memoizing_node.py:#! /usr/bin/env python3
/usr/lib64/python3.6/site-packages/include_server/include_analyzer.py:#! /usr/bin/env python3
/usr/lib64/python3.6/site-packages/include_server/compress_files.py:#! /usr/bin/env python3
/usr/lib64/python3.6/site-packages/include_server/compiler_defaults.py:#! /usr/bin/env python3
/usr/lib64/python3.6/site-packages/include_server/cache_basics.py:#! /usr/bin/env python3
/usr/lib64/python3.6/site-packages/include_server/c_extensions_test.py:#!/usr/bin/env python3
/usr/lib64/python3.6/site-packages/include_server/basics_test.py:#! /usr/bin/env python3
/usr/lib64/python3.6/site-packages/include_server/basics.py:#!/usr/bin/env python3
/usr/bin/distcc-config:#!/usr/bin/env python2
/usr/sbin/update-distcc-symlinks:#!/usr/bin/env python3


Shebangs inside sitedir shouldn't matter since those files aren't going to be executed directly anyway.  However, all files in /usr/*bin must have shebang matching PYTHON_SINGLE_TARGET.
Comment 1 Larry the Git Cow gentoo-dev 2018-12-08 13:08:36 UTC
The bug has been closed via the following commit(s):

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

commit e4db5d75ad8500e7d1e8699294f140fc503dc7c1
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-12-08 13:05:50 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-12-08 13:08:27 +0000

    sys-devel/distcc: Fix python shebangs in installed scripts
    
    Closes: https://bugs.gentoo.org/661944
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 sys-devel/distcc/distcc-3.3.2.ebuild     | 1 +
 sys-devel/distcc/files/3.2/distcc-config | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)