Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 647720 - media-video/mplayer-9999 switched to git-r3.eclass, but uses git-2 - .../temp/environment: line 3360: git-2_src_unpack: command not found
Summary: media-video/mplayer-9999 switched to git-r3.eclass, but uses git-2 - .../temp...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-15 15:18 UTC by Machredsch
Modified: 2018-09-16 17:41 UTC (History)
1 user (show)

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


Attachments
Fix git-r3 issue in src_unpack (mplayer-9999_git-r3.patch,387 bytes, patch)
2018-02-16 09:22 UTC, Christian Hagau
Details | Diff
Use https for ffmpeg repo (mplayer-9999_https_git.patch,389 bytes, patch)
2018-03-08 11:12 UTC, Christian Hagau
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Machredsch 2018-02-15 15:18:59 UTC
Emerging fails because of unknown command "git-2_src_unpack".
The ebuild now uses git-r3 and EAPI=6 and not the deprecated git-2.eclass.
So this doesn't work.

Reproducible: Always

Steps to Reproduce:
1.emerge mplayer-9999
2.
3.
Actual Results:  
/var/tmp/portage/.../media-video/mplayer-9999/temp/environment: line 3360: git-2_src_unpack: command not found

Expected Results:  
succesful emerge of mplayer
Comment 1 Christian Hagau 2018-02-16 09:22:50 UTC
Created attachment 519694 [details, diff]
Fix git-r3 issue in src_unpack

Attached patch fixes the issue by using git-r3_src_unpack correctly.
Comment 2 Robert Schultz 2018-03-01 17:59:04 UTC
I can confirm that this is broken on my system as well.

I also confirm that the patch fixes the problem.

The patch does result in the following warning though:
 * git-r3: git protocol is completely unsecure and may render the ebuild
 * easily susceptible to MITM attacks (even if used only as fallback). Please
 * use https instead.
 * [URI: git://git.videolan.org/ffmpeg.git]
Comment 3 Todd Walter 2018-03-06 16:26:04 UTC
URI should be https;//git.videolan.org/git/ffmpeg.git
Comment 4 Todd Walter 2018-03-06 16:26:54 UTC
(In reply to Todd Walter from comment #3)
> URI should be https;//git.videolan.org/git/ffmpeg.git

EGIT_REPO_URI="https://git.videolan.org/git/ffmpeg.git"

Stupid typos.
Comment 5 Christian Hagau 2018-03-08 11:12:02 UTC
Created attachment 522936 [details, diff]
Use https for ffmpeg repo
Comment 6 Larry the Git Cow gentoo-dev 2018-09-16 17:41:17 UTC
The bug has been closed via the following commit(s):

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

commit cac7054009d9ada9f50be2b6b7b405fa62d25b42
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-09-16 17:29:56 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-09-16 17:41:05 +0000

    media-video/mplayer: Fix git-r3 migration
    
    Thanks-to: Christian Hagau <ach@hagau.se>
    Closes: https://bugs.gentoo.org/647720
    Package-Manager: Portage-2.3.49, Repoman-2.3.10

 media-video/mplayer/mplayer-9999.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Additionally, it has been referenced in the following commit(s):

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

commit 46cbfd73748ba646515a82e03c367e1033416087
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-09-16 17:35:28 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-09-16 17:41:05 +0000

    media-video/mplayer: --disable-directfb also in 9999
    
    Bug: https://bugs.gentoo.org/647720
    Package-Manager: Portage-2.3.49, Repoman-2.3.10

 media-video/mplayer/mplayer-9999.ebuild | 1 +
 1 file changed, 1 insertion(+)