[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 22:25:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268145

Lorenzo Salvadore <salvadore@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |iwtcex@gmail.com,
                   |                            |jbeich@FreeBSD.org

--- Comment #10 from Lorenzo Salvadore <salvadore@freebsd.org> ---
(In reply to VVD from comment #6)

The argument about dependencies according to pkg info might be a good point for
bumping PORTREVISIONs again, however Gerald has shown in comment #7 how complex
the operation is. I would still refrain from bumping again at least until we
find something which is really broken. And even then, we could just bump a few
PORTREVISIONs to fix such issues.

> And "fails to build" is hereā€¦

Nothing suggests that this depends on GCC except the recent update from 11 to
12. You have already explained that you still get the error by enforcing GCC 11
as default version and two exp-runs in PR #265948 did not find any issue in
avidemux, so I still doubt that GCC is the problem here.

I would rather dig into the error message you get. It complains about nvenc. Is
it possible that you have multimedia/ffmpeg installed on your system with the
NVENC option OFF? Maybe try enabling it? Or install
multimedia/ffnvcodec-headers?
Maybe multimedia/avidemux needs to implement an option to properly deal with
nvenc?

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