Failure to build vkdt on Fedora

The cause is a conflict between required libavformat and ffmpeg from RPMFusion on Fedora.

$ sudo dnf install libavformat-free-devel
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
Problem: package libavformat-free-devel-7.1.2-2.fc43.i686 from fedora requires libavformat-free(x86-32) = 7.1.2-2.fc43, but none of the providers can be installed
  - conflicting requests
  - libavformat-free-7.1.2-2.fc43.i686 from fedora has inferior architecture
  - package libavformat-free-devel-7.1.2-2.fc43.x86_64 from fedora requires libavformat-free(x86-64) = 7.1.2-2.fc43, but none of the providers can be installed
  - problem with installed package
  - installed package ffmpeg-libs-7.1.4-1.fc43.x86_64 conflicts with libavformat-free provided by libavformat-free-7.1.2-2.fc43.x86_64 from fedora
  - package ffmpeg-libs-7.1.2-7.fc43.x86_64 from rpmfusion-free conflicts with libavformat-free provided by libavformat-free-7.1.2-2.fc43.x86_64 from fedora
  - package ffmpeg-libs-7.1.4-1.fc43.x86_64 from rpmfusion-free-updates conflicts with libavformat-free provided by libavformat-free-7.1.2-2.fc43.x86_64 from fedora
  - package libavformat-free-devel-7.1.4-1.fc43.i686 from updates requires libavformat-free(x86-32) = 7.1.4-1.fc43, but none of the providers can be installed
  - libavformat-free-7.1.4-1.fc43.i686 from updates has inferior architecture
  - package libavformat-free-devel-7.1.4-1.fc43.x86_64 from updates requires libavformat-free(x86-64) = 7.1.4-1.fc43, but none of the providers can be installed
  - installed package ffmpeg-libs-7.1.4-1.fc43.x86_64 conflicts with libavformat-free provided by libavformat-free-7.1.4-1.fc43.x86_64 from updates
  - package ffmpeg-libs-7.1.2-7.fc43.x86_64 from rpmfusion-free conflicts with libavformat-free provided by libavformat-free-7.1.4-1.fc43.x86_64 from updates
  - package ffmpeg-libs-7.1.4-1.fc43.x86_64 from rpmfusion-free-updates conflicts with libavformat-free provided by libavformat-free-7.1.4-1.fc43.x86_64 from updates
You can try to add to command line:
  --allowerasing to allow removing of installed packages to resolve problems
  --skip-broken to skip uninstallable packages

You almost certainly don’t want i686 packages.

1 Like

I know, I don’t select them specifically, it’s how dnf works.

Maybe spin up a distrobox to sidestep the conflicts?

Thanks, but I prefer native builds directly on my OS of choice.

When you use a fedora image for your distrobox that doesn’t make it any less native?

I use a native Fedora installation and not that interested in extra layers like distrobox.

do you need video? ffmpeg is special when it comes to api compatibility. if you want to switch it off compile time, you could put into bin/config.mk

VKDT_USE_FFMPEG=0
export VKDT_USE_FFMPEG

and then make.

1 Like

Try installing ffmpeg-devel from RPMFusion instead?

1 Like

Thanks, this works

Thank you, this also works.

Now I need to find good learning resources for vkdt. The interface is pretty new for me

There is not a lot. Reading the manual :slight_smile:

1 Like