Opened 10 years ago

Last modified 9 years ago

#47017 closed defect

ffmpeg @2.2.3_0+gpl2 install error — at Initial Version

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

Description

Running OS X 10.10.2, migrating MacPorts following instructions on https://trac.macports.org/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.

Change History (2)

Changed 10 years ago by jsalazar1978@…

Attachment: main.log added

Changed 10 years ago by jsalazar1978@…

Attachment: myports.txt added
Note: See TracTickets for help on using tickets.