Hi Chris,

On Fri, Oct 04 2024, Chris Keschnat wrote:

>   guix package: error: profile contains conflicting entries for ffmpeg
>   guix package: error:   first entry: ffmpeg@7.0.2    [...]
>   guix package: error:   second entry: ffmpeg@6.1.1    [...]
>   guix package: error:    ... propagated from mpv@0.38.0

I believe your profile refers to both 'ffmpeg-7' and 'mpv'.  The latter
also propagates Ffmpeg but a lower version, namely 6.1.1. [1]

The versions cannot be used together in the same profile.  It's a simple
restriction because the /bin/ffmpeg path is already taken.

This is why many of us think that propagated inputs are "evil."  Mpv
should instead replace all invocations to Ffpmeg with the actual store
path to the version it requires.

As a solution, I would change "ffmpeg-7"---if that's what you have in
your profile---to "ffmpeg."  Alternatively, you could drop Ffmpeg from
your profile and rely on the version propagated by Mpv.

You can still use ffmpeg-7 via 'guix shell' if needed.

Kind regards
Felix

[1] https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/video.scm#n1890

Reply via email to