Opened 6 years ago

Closed 6 years ago

#57390 closed defect (fixed)

mplayer-devel: reference is not a tree: 81c3ce0855f144c89800b824db3e4e0dcdad9016

Reported by: worldleather Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: mplayer-devel

Description

mplayer-devel not installing on my system. always did before, but since a few weeks I can't get it installed. after clean updating macOS to mojave, also no dice. it stops with 'Error: Failed to fetch mplayer-devel: command execution failed'

Attachments (1)

main.log (469.3 KB) - added by worldleather 6 years ago.

Download all attachments as: .zip

Change History (5)

Changed 6 years ago by worldleather

Attachment: main.log added

comment:1 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: mplayer-devel removed
Owner: set to jeremyhu
Status: newassigned
Summary: mplayer-devel not installingmplayer-devel: reference is not a tree: 81c3ce0855f144c89800b824db3e4e0dcdad9016

The log says:

:error:main It seems you have not accepted the Xcode license; most ports will fail to build.
:error:main Agree to the license by opening Xcode or running `sudo xcodebuild -license'.

This is unrelated to your problem, but if you haven't done this already, you should do so.

The log also says:

Checking out files:  98% (6785/6923)   
Checking out files:  99% (6854/6923)   
Checking out files: 100% (6923/6923)   
Checking out files: 100% (6923/6923), done.
:debug:fetch system: cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mplayer-devel/mplayer-devel/work/trunk/ffmpeg && git checkout -f 81c3ce0855f144c89800b824db3e4e0dcdad9016
:info:fetch fatal: reference is not a tree: 81c3ce0855f144c89800b824db3e4e0dcdad9016
:info:fetch Command failed: cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mplayer-devel/mplayer-devel/work/trunk/ffmpeg && git checkout -f 81c3ce0855f144c89800b824db3e4e0dcdad9016

So I guess the specific commit of ffmpeg that we were checking out no longer exists. We should update the port to use a newer commit for ffmpeg at least.

comment:2 Changed 6 years ago by jmroot (Joshua Root)

The depth of the checkout is limited:

    # 10000 should be deep enough to find out checkout within a year
    system "git clone -b ${ffmpeg_branch} --depth 10000 git://git.videolan.org/ffmpeg.git ${worksrcpath}/ffmpeg"

I assume the desired commit is now old enough to be beyond that depth.

comment:3 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: MarcusCalhoun-Lopez added

comment:4 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: assignedclosed

In efe5b8f63142b5b97aed0c4ef31a711a51fdb005/macports-ports (master):

mplayer-devel: increase depth of git clone command

Fixes #57390

Note: See TracTickets for help on using tickets.