Opened 14 years ago
Closed 13 years ago
#25704 closed defect (fixed)
mlt indirectly depends on both ffmpeg and ffmpeg-devel
Reported by: | billgriffiths@… | Owned by: | ddennedy (Dan Dennedy) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.1 |
Keywords: | Cc: | hobbsilla | |
Port: | mlt |
Description
Trying to install kdenlive on mac os 10.6.4 latest error involves activation of ffmpeg.
Error message suggests deactivating ffmpeg. Tried that followed by install.
Here is terminal session, followed by log file.
Macintosh-3:~ bill$ sudo port deactivate ffmpeg-devel Password: ---> Deactivating ffmpeg-devel Macintosh-3:~ bill$ sudo port install kdenlive ---> Computing dependencies for kdenlive ---> Dependencies to be installed: mlt ffmpeg-devel frei0r-plugins opencv ffmpeg libdv libsamplerate libsndfile flac sox file libao libid3tag libmad wavpack ---> Activating ffmpeg-devel @22866_0 ******* ******* This build of ffmpeg-devel includes nonfree code as follows: ******* ******* libfaac ******* ******* The following libraries and binaries may not be redistributed: ******* ******* ffmpeg ******* libavcodec ******* libavdevice ******* libavfilter ******* libavformat ******* libavutil ******* ******* To remove this restriction use variant +no_nonfree ******* ---> Cleaning ffmpeg-devel ---> Activating ffmpeg @0.5.1_2 Error: Target org.macports.activate returned: Image error: /opt/local/bin/ffmpeg is being used by the active ffmpeg-devel port. Please deactivate this port first, or use 'port -f activate ffmpeg' to force the activation. Log for ffmpeg is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/main.log Error: The following dependencies failed to build: mlt frei0r-plugins opencv ffmpeg libdv libsamplerate libsndfile flac sox file libao libid3tag libmad wavpack Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> Macintosh-3:~ bill$
version:1 :debug:activate activate phase started at Thu Jul 15 12:31:22 PDT 2010 :debug:activate Executing org.macports.activate (ffmpeg) :msg:activate ---> Activating ffmpeg @0.5.1_2 :error:activate Target org.macports.activate returned: Image error: /opt/local/bin/ffmpeg is being used by the active ffmpeg-devel port. Please deactivate this port first, or use 'port -f activate ffmpeg' to force the activation. :debug:activate Backtrace: Image error: /opt/local/bin/ffmpeg is being used by the active ffmpeg-devel port. Please deactivate this port first, or use 'port -f activate ffmpeg' to force the activation. while executing "_activate_contents $name $imagefiles $imagedir" (procedure "portimage::activate" line 110) invoked from within "registry_activate $name "${version}_${revision}${portvariants}" [array get user_options]" (procedure "portactivate::activate_main" line 6) invoked from within "$procedure $targetname" :notice:activate Log for ffmpeg is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/main.log
Change History (5)
comment:1 Changed 14 years ago by jmroot (Joshua Root)
Owner: | changed from macports-tickets@… to dan@… |
---|---|
Port: | mlt added |
Summary: | kdenlive install failure on mac os 10.6.4 - ffmpeg activate error → mlt indirectly depends on both ffmpeg and ffmpeg-devel |
comment:3 Changed 14 years ago by hobbsilla
How do you force those two or so dependencies to go with the devel instead. I tried deactivating and uninstalling ffmpeg after activating its devel and it prevents me from doing so. Should i try a force uninstall using -f?
comment:4 Changed 14 years ago by ddennedy (Dan Dennedy)
I will make the portfile change suggested. However, I also wish to point out that once the 'ffmpeg' port is updated to the 0.6 release, I can return mlt to depending on either ffmpeg or ffmpeg-devel port.
comment:5 Changed 13 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
This was fixed in r71720.
Note: See
TracTickets for help on using
tickets.
Basically the problem is that mlt depends specifically on ffmpeg-devel, but a couple of its deps (opencv via frei0r-plugins, and sox) pull in ffmpeg by default (but can also use ffmpeg-devel). If you activate ffmpeg-devel and then uninstall ffmpeg, all the deps should be considered satisfied by ffmpeg-devel. Listing ffmpeg-devel before frei0r-plugins in mlt's depends_lib might help avoid this in future.