New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #35182 (closed defect: fixed)

Opened 10 months ago

Last modified 10 months ago

mplayer-devel :: fetch Command failed

Reported by: sweedee@… Owned by: acho@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc: jeremyhu@…, sasoph@…, alik.widge@…
Port: mplayer-devel

Description (last modified by ryandesign@…) (diff)

snapshot of "/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mplayer-devel/mplayer-devel/main.log":

Checking out files: 100% (3040/3040), done.040)   
:info:fetch fatal: reference is not a tree: 70d54392f5015b9c6594fcae558f59f952501e3b
:info:fetch Command failed: cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mplayer-devel/mplayer-devel/work/trunk/ffmpeg && git checkout -f 70d54392f5015b9c6594fcae558f59f952501e3b
:info:fetch Exit code: 128
:error:fetch org.macports.fetch for port mplayer-devel returned: command execution failed
:debug:fetch Error code: NONE
:debug:fetch Backtrace: command execution failed

fetching of mplayer-devel package fails.
the reason for this is the wrong command:

git checkout -f 70d54392f5015b9c6594fcae558f59f952501e3b

Attachments

main.log (456.7 KB) - added by sasoph@… 10 months ago.
main.2.log (439.0 KB) - added by sweedee@… 10 months ago.
main.3.log (381.3 KB) - added by alik.widge@… 10 months ago.
main-alik.log

Change History

comment:1 Changed 10 months ago by ryandesign@…

  • Owner changed from macports-tickets@… to acho@…
  • Keywords fetching removed
  • Description modified (diff)
  • Cc jeremyhu@… added
  • Milestone MacPorts Future deleted

Please remember to use WikiFormatting.

Please "sudo port clean mplayer-devel", then try again, and if it fails again, please attach the entire main.log file.

Changed 10 months ago by sasoph@…

comment:2 Changed 10 months ago by sasoph@…

I've attached the log. I have the same issue with git and a detached head.

comment:3 Changed 10 months ago by sasoph@…

  • Cc sasoph@… added

Cc Me!

Changed 10 months ago by sweedee@…

comment:4 Changed 10 months ago by alik.widge@…

  • Cc alik.widge@… added

Cc Me!

Changed 10 months ago by alik.widge@…

main-alik.log

comment:5 Changed 10 months ago by alik.widge@…

Doing clean and then upgrade (as suggested above) does not work. I think maybe you already knew this, but am confirming it for anyone else who may read the thread.

comment:6 Changed 10 months ago by ecronin@…

  • Status changed from new to closed
  • Resolution set to fixed

r95678

Probably due for another update though...

comment:7 follow-up: ↓ 8 Changed 10 months ago by alik.widge@…

  • Status changed from closed to reopened
  • Resolution fixed deleted

Not sure why this is marked as "fixed"? Attempts to do an upgrade (now >24hr after "fixed") still cause the same problem to occur.

comment:8 in reply to: ↑ 7 Changed 10 months ago by sweedee@…

Replying to alik.widge@…:

Not sure why this is marked as "fixed"? Attempts to do an upgrade (now >24hr after "fixed") still cause the same problem to occur.

my command

sudo port install mplayer-devel

worked out fine now!

try again

sudo port clean --all mplayer-devel

before you install the package

comment:9 Changed 10 months ago by alik.widge@…

Tried as you directed, using both the "install" and "upgrade" commands to try to get there. Same error in the log file:

:info:fetch fatal: reference is not a tree: 70d54392f5015b9c6594fcae558f59f952501e3b
:info:fetch Command failed: cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mplayer-devel/mplayer-devel/work/trunk/ffmpeg && git checkout -f 70d54392f5015b9c6594fcae558f59f952501e3b
:info:fetch Exit code: 128
:error:fetch org.macports.fetch for port mplayer-devel returned: command execution failed
:debug:fetch Error code: NONE
:debug:fetch Backtrace: command execution failed
    while executing
"$procedure $targetname"

comment:10 Changed 10 months ago by jeremyhu@…

  • Status changed from reopened to closed
  • Resolution set to fixed

It looks like you forgot to 'port sync' ...

comment:11 Changed 10 months ago by alik.widge@…

Indeed I had. Thanks for the reminder and the help!

Note: See TracTickets for help on using tickets.