[Bug 268145] multimedia/avidemux: fails to build after update from gcc11 to gcc12: "ERROR: nvenc requested, but not all dependencies are satisfied: ffnvcodec"

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 04 Dec 2022 09:18:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268145

            Bug ID: 268145
           Summary: multimedia/avidemux: fails to build after update from
                    gcc11 to gcc12: "ERROR: nvenc requested, but not all
                    dependencies are satisfied: ffnvcodec"
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: multimedia@FreeBSD.org
          Reporter: vvd@unislabs.com
          Assignee: multimedia@FreeBSD.org
             Flags: maintainer-feedback?(multimedia@FreeBSD.org)

multimedia/avidemux depends on gcc and require recompile after update gcc from
11 to 12.
([offtopic] also ports depends on gcc and require recompile: math/py-numpy
math/suitesparse-umfpack math/suitesparse-cholmod math/suitesparse-colamd
math/suitesparse-ccolamd math/suitesparse-camd math/suitesparse-amd
math/suitesparse-config emulators/wine-proton emulators/wine-devel
multimedia/x264 multimedia/avidemux-plugins multimedia/avidemux-qt5
multimedia/avidemux-cli math/openblas devel/kBuild)

=================================================================
Part of build log:
=================================================================
-- Checking for Bourne shell
-- *************************
-- Found Bourne shell

-- Configuring FFmpeg
CMake Error at
/tmp/work/usr/ports/multimedia/avidemux/work/avidemux_2.7.8/cmake/admFFmpegBuild_helpers.cmake:282
(MESSAGE):
  configure returned <1>
Call Stack (most recent call first):
 
/tmp/work/usr/ports/multimedia/avidemux/work/avidemux_2.7.8/cmake/admFFmpegBuild_native.cmake:61
(ADM_FF_BUILD_UNIX_STYLE)
 
/tmp/work/usr/ports/multimedia/avidemux/work/avidemux_2.7.8/cmake/admFFmpegBuild.cmake:16
(include)
  CMakeLists.txt:95 (include)


CMake Error at
/tmp/work/usr/ports/multimedia/avidemux/work/avidemux_2.7.8/cmake/admFFmpegBuild_helpers.cmake:283
(MESSAGE):
  configure output is <ERROR: nvenc requested, but not all dependencies are
  satisfied: ffnvcodec



  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.freenode.net.

  Include the log file "ffbuild/config.log" produced by configure as this
  will help

  solve the problem.

  >
Call Stack (most recent call first):
 
/tmp/work/usr/ports/multimedia/avidemux/work/avidemux_2.7.8/cmake/admFFmpegBuild_native.cmake:61
(ADM_FF_BUILD_UNIX_STYLE)
 
/tmp/work/usr/ports/multimedia/avidemux/work/avidemux_2.7.8/cmake/admFFmpegBuild.cmake:16
(include)
  CMakeLists.txt:95 (include)


CMake Error at
/tmp/work/usr/ports/multimedia/avidemux/work/avidemux_2.7.8/cmake/admFFmpegBuild_helpers.cmake:284
(MESSAGE):
  An error occured
Call Stack (most recent call first):
 
/tmp/work/usr/ports/multimedia/avidemux/work/avidemux_2.7.8/cmake/admFFmpegBuild_native.cmake:61
(ADM_FF_BUILD_UNIX_STYLE)
 
/tmp/work/usr/ports/multimedia/avidemux/work/avidemux_2.7.8/cmake/admFFmpegBuild.cmake:16
(include)
  CMakeLists.txt:95 (include)


-- Configuring incomplete, errors occurred!
See also
"/tmp/work/usr/ports/multimedia/avidemux/work/.build/CMakeFiles/CMakeOutput.log".
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/multimedia/avidemux
*** Error code 1

Stop.
make: stopped in /usr/ports/multimedia/avidemux

=================================================================
Part of "ffbuild/config.log":
=================================================================
/usr/local/bin/gcc12 -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -DPIC -I/usr/local/include/ffnvcodec -O2 -pipe -march=core2
-fno-omit-frame-pointer -DLIBICONV_PLUG -fstack-protector-strong
-Wl,-rpath=/usr/local/lib/gcc12 -fno-strict-aliasing -fmessage-length=0
-std=c11 -fomit-frame-pointer -fPIC -I/usr/local/include -pthread
-I/usr/local/include -I/usr/local/include -pthread -I/usr/local/include
-pthread -I/usr/local/include -pthread -I/usr/local/include -pthread
-I/usr/local/include -I/usr/local/include -I/usr/local/include
-Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith
-Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes
-Wno-pointer-to-int-cast -Wstrict-prototypes -Wempty-body -Wno-parentheses
-Wno-switch -Wno-format-zero-length -Wno-pointer-sign
-Wno-unused-const-variable -Wno-bool-operation -Wno-char-subscripts -O3
-fno-math-errno -fno-signed-zeros -flto -fno-tree-vectorize
-Werror=format-security -Werror=implicit-function-declaration
-Werror=missing-prototypes -Werror=return-type -Werror=vla -Wformat
-fdiagnostics-color=auto -Wmaybe-uninitialized -c -o
/tmp/ffconf.jIirdfZs/test.o /tmp/ffconf.jIirdfZs/test.c
ERROR: nvenc requested, but not all dependencies are satisfied: ffnvcodec

-- 
You are receiving this mail because:
You are the assignee for the bug.