Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 562688 - sys-devel/llvm-3.7.1: git-clang-format has incorrect shebang
Summary: sys-devel/llvm-3.7.1: git-clang-format has incorrect shebang
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-09 21:04 UTC by Jonas Jelten
Modified: 2016-07-03 07:18 UTC (History)
6 users (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 Jonas Jelten 2015-10-09 21:04:25 UTC
I have python3.4 as python default.
git-clang-format uses python2, but has a #!/usr/bin/env python shebang.

This will execute it with py3, which fails.

-> please perform the shebang fix for this file.

Reproducible: Always
Comment 1 Hendrik v. Raven 2015-11-18 17:25:53 UTC
Hit the problem as well, but the affected package is llvm not git.
Comment 2 Austin English (RETIRED) gentoo-dev 2016-06-27 01:26:02 UTC
https://github.com/gentoo/gentoo/pull/1766
Comment 3 Austin English (RETIRED) gentoo-dev 2016-06-27 01:39:37 UTC
Also sent a patch upstream:
http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20160620/163068.html
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-07-03 07:06:05 UTC
Sad it wasn't ever assigned to llvm maintainers...
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-07-03 07:18:36 UTC
commit 9ca3a8be770285335ab3e2ef9b253a28f9909d41
Author:     Austin English <wizardedit@gentoo.org>
AuthorDate: Mon Jun 27 03:21:02 2016
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: Sun Jul 3 09:17:44 2016

    sys-devel/llvm: fix git-format-clang shebang, #562688
    
    Bug: https://bugs.gentoo.org/562688
    Package-Manager: portage-2.2.28
    Pull-Request: https://github.com/gentoo/gentoo/pull/1766