@dbermond I am getting this error:
$ makepkg -s
==> Making package: ffmpeg-full 5.1-2 (Sun 07 Aug 2022 07:15:15 AM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading ffmpeg-5.1.tar.xz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 9767k 100 9767k 0 0 5458k 0 0:00:01 0:00:01 --:--:-- 5456k
-> Downloading ffmpeg-5.1.tar.xz.asc...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 520 100 520 0 0 1309 0 --:--:-- --:--:-- --:--:-- 1309
-> Downloading 010-ffmpeg-add-svt-hevc-gb62f72e.patch...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 25348 100 25348 0 0 672k 0 --:--:-- --:--:-- --:--:-- 687k
-> Downloading 030-ffmpeg-add-svt-vp9-gd9ef3cc.patch...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 25805 100 25805 0 0 785k 0 --:--:-- --:--:-- --:--:-- 812k
-> Found 040-ffmpeg-add-av_stream_get_first_dts-for-chromium.patch
-> Found 060-ffmpeg-fix-segfault-with-avisynthplus.patch
-> Downloading 070-ffmpeg-fix-v4l2-memory-leak.patch...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 671 0 671 0 0 878 0 --:--:-- --:--:-- --:--:-- 878
-> Found LICENSE
==> Validating source files with sha256sums...
ffmpeg-5.1.tar.xz ... Passed
ffmpeg-5.1.tar.xz.asc ... Skipped
010-ffmpeg-add-svt-hevc-gb62f72e.patch ... Passed
030-ffmpeg-add-svt-vp9-gd9ef3cc.patch ... Passed
040-ffmpeg-add-av_stream_get_first_dts-for-chromium.patch ... Passed
060-ffmpeg-fix-segfault-with-avisynthplus.patch ... Passed
070-ffmpeg-fix-v4l2-memory-leak.patch ... Passed
LICENSE ... Passed
==> Verifying source file signatures with gpg...
ffmpeg-5.1.tar.xz ... Passed
==> Extracting sources...
-> Extracting ffmpeg-5.1.tar.xz with bsdtar
==> Starting prepare()...
patching file configure
Hunk #3 succeeded at 3389 (offset 6 lines).
Hunk #4 succeeded at 6697 (offset 8 lines).
patching file libavcodec/Makefile
Hunk #1 succeeded at 1104 (offset 3 lines).
patching file libavcodec/allcodecs.c
Hunk #1 succeeded at 796 (offset 2 lines).
patching file libavcodec/libsvt_hevc.c
patching file configure
Hunk #2 succeeded at 1860 (offset 1 line).
Hunk #3 succeeded at 3383 (offset 8 lines).
Hunk #4 succeeded at 6669 (offset 11 lines).
patching file libavcodec/Makefile
Hunk #1 succeeded at 1099 (offset 3 lines).
patching file libavcodec/allcodecs.c
Hunk #1 succeeded at 781 (offset 2 lines).
patching file libavcodec/libsvt_vp9.c
patching file libavformat/avformat.h
patching file libavformat/utils.c
patching file libavformat/avisynth.c
patching file libavdevice/v4l2.c
==> Starting build()...
-> Running ffmpeg configure script...
ERROR: failed checking for nvcc.
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.libera.chat.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
==> ERROR: A failure occurred in build().
Aborting...
EDIT:
Need to import public key which is found from FFMPEG website: $ curl https://ffmpeg.org/ffmpeg-devel.asc | gpg --import
I also had to install reinstall CUDA and needed to do a reboot to fix the "nvcc" error.
FFMPEG-FULL is compiling now.
Pinned Comments
dbermond commented on 2024-06-24 15:59 (UTC)
@LordSIGSEGV avoid creating files not tracked by pacman in the system reserved directories, specially symlinks to shared libraries, as this have the potential to completely break your system. I have already notified the quirc maintainer in the aur web page of the package in April-2024. While this issue is not solved in quirc, I recommend to use quirc-git, which currently has a better packaging and does not suffer from this problem.