Opened 10 years ago

Closed 9 years ago

#47017 closed defect (invalid)

ffmpeg @2.2.3_0+gpl2 install error

Reported by: jsalazar1978@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: ffmpeg

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Running OS X 10.10.2, migrating MacPorts following instructions on wiki:Migration. When issuing the command

sudo ./restore_ports.tcl myports.txt

I get the following error

--->  Dependencies to be installed: ffmpeg                                                                                                                              
Error: Requested variants "+gpl2" do not match original selection "+gpl2+x11".
Please use the same variants again, perform 'port clean ffmpeg' or specify the force option (-f).
Error: Failed to install ffmpeg
Please see the log file for port ffmpeg for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/main.log
Error: The following dependencies were not installed: ffmpeg
can't create directory "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_geoclue": permission denied
    while executing
"file mkdir $workpath/.home"
    (procedure "open_statefile" line 29)
    invoked from within
"open_statefile"
    (procedure "check_variants" line 29)
    invoked from within
"check_variants activate"
    invoked from within
"$workername eval check_variants $target"
    (procedure "mportexec" line 7)
    invoked from within
"mportexec $workername $install_target"
Unable to execute target 'install' for port 'geoclue': can't create directory "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_geoclue": permission denied
    while executing
"install_ports $operationList"
    (file "./restore_ports.tcl" line 294)//

I tried using "port clean ffmpeg" but I get the same error message. There is a line of output from the "./restore_ports.tcl" script that may be useful

--->  Fetching archive for ffmpeg
Error: org.macports.archivefetch for port ffmpeg returned: libsdl must be installed with +x11.
Please see the log file for port ffmpeg for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/main.log

I have attached the aforementioned log file.

Attachments (2)

main.log (769 bytes) - added by jsalazar1978@… 10 years ago.
myports.txt (18.4 KB) - added by jsalazar1978@… 10 years ago.

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by jsalazar1978@…

Attachment: main.log added

Changed 10 years ago by jsalazar1978@…

Attachment: myports.txt added

comment:1 Changed 10 years ago by dbevans (David B. Evans)

Your myports.txt file lists

ffmpeg @2.2.3_0+gpl2 (active) platform='darwin 13' archs='x86_64'  
libsdl @1.2.15_3-x11 (active) platform='darwin 13' archs='x86_64'

but the default variants for these ports are as follows

ffmpeg +gpl2 +x11
libsdl +x11

If you want to install ffmpeg without x11 support as listed in myports.txt the following manual operations should fix your mismatch:

sudo port clean libsdl ffmpeg
sudo port install libsdl -x11
sudo port install ffmpeg gpl2 -x11

Also note that the latest version of ffmpeg is ffmpeg @2.5.4 (which is the one that will be installed if your ports tree is up to date)

Version 1, edited 10 years ago by dbevans (David B. Evans) (previous) (next) (diff)

comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: migration removed

comment:3 Changed 9 years ago by dbevans (David B. Evans)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.