Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The compilation of conf-ffmpeg.1 failed at "pkg-config --exists libavutil libavformat libavcodec libavdevice libavfilter libswresample libswscale". #65

Open
spjoes opened this issue Aug 10, 2024 · 0 comments

Comments

@spjoes
Copy link

spjoes commented Aug 10, 2024

Hello! Anytime I try to install ffmpeg through opam, I get The compilation of conf-ffmpeg.1 failed at "pkg-config --exists libavutil libavformat libavcodec libavdevice libavfilter libswresample libswscale".

Full Error:

> opam install -y .

[ffmpeg-av.1.2.0] synchronised (no changes)
[ffmpeg-avcodec.1.2.0] synchronised (no changes)
[ffmpeg.1.2.0] synchronised (no changes)
[ffmpeg-avdevice.1.2.0] synchronised (no changes)
[ffmpeg-avfilter.1.2.0] synchronised (no changes)
[ffmpeg-avutil.1.2.0] synchronised (no changes)
[ffmpeg-swresample.1.2.0] synchronised (no changes)
[ffmpeg-swscale.1.2.0] synchronised (no changes)
The following actions will be performed:
=== install 9 packages
  ∗ conf-ffmpeg       1              [required by ffmpeg-swresample, ffmpeg-avfilter, ffmpeg-avcodec, etc.]
  ∗ ffmpeg            1.2.0 (pinned)
  ∗ ffmpeg-av         1.2.0 (pinned)
  ∗ ffmpeg-avcodec    1.2.0 (pinned)
  ∗ ffmpeg-avdevice   1.2.0 (pinned)
  ∗ ffmpeg-avfilter   1.2.0 (pinned)
  ∗ ffmpeg-avutil     1.2.0 (pinned)
  ∗ ffmpeg-swresample 1.2.0 (pinned)
  ∗ ffmpeg-swscale    1.2.0 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] The compilation of conf-ffmpeg.1 failed at "pkg-config --exists libavutil libavformat libavcodec libavdevice libavfilter libswresample libswscale".

#=== ERROR while compiling conf-ffmpeg.1 ======================================#
# context     2.2.0 | linux/arm64 | ocaml.5.2.0 | https://opam.ocaml.org#13acffc3de9c22953d1e08bad3e56ee6e965eeed
# path        ~/.opam/default/.opam-switch/build/conf-ffmpeg.1
# command     ~/.opam/opam-init/hooks/sandbox.sh build pkg-config --exists libavutil libavformat libavcodec libavdevice libavfilter libswresample libswscale
# exit-code   1
# env-file    ~/.opam/log/conf-ffmpeg-88019-6c7efd.env
# output-file ~/.opam/log/conf-ffmpeg-88019-6c7efd.out



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
│ λ build conf-ffmpeg 1
└─
╶─ No changes have been performed

I have no idea whats wrong as "pkg-config" works and "pkg-config --exists libavutil libavformat libavcodec libavdevice libavfilter libswresample libswscale" even works when running it myself. This is the only issue. Other packages install fine with opam.

Im running an arm machine with "Oracle Linux 8"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant