[Bug 297384] math/octave-forge-octave_ffmpeg_free: Fails to build with FFmpeg 9.0

[email protected] Sun, 09 Aug 2026 05:13:37 +0000
Newsgroups gmane.os.freebsd.devel.ports.bugs
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297384

            Bug ID: 297384
           Summary: math/octave-forge-octave_ffmpeg_free: Fails to build
                    with FFmpeg 9.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
            Blocks: 297355
          Assignee: [email protected]
             Flags: maintainer-feedback?([email protected])

Poudriere, 15.1-RELEASE (amd64)

===>  Building for octave-forge-octave_ffmpeg_free-1.0.0_2
/usr/local/bin/mkoctfile  -Wall -O2 -pipe -march=znver4
-I/usr/local/include/octave-11.3.0 -fstack-protector-strong
-fno-strict-aliasing -march=znver4  -I/usr/local/include/octave-11.3.0 
av_dump_format.cc \
  -I/usr/include/ffmpeg \
  -lavformat -lavcodec -lavutil -lswresample -lswscale -lavfilter
/usr/local/bin/mkoctfile  -Wall -O2 -pipe -march=znver4
-I/usr/local/include/octave-11.3.0 -fstack-protector-strong
-fno-strict-aliasing -march=znver4  -I/usr/local/include/octave-11.3.0 
ffmpeg_audio_encode.cc \
  -I/usr/include/ffmpeg \
  -lavformat -lavcodec -lavutil -lswresample -lswscale -lavfilter
/usr/local/bin/mkoctfile  -Wall -O2 -pipe -march=znver4
-I/usr/local/include/octave-11.3.0 -fstack-protector-strong
-fno-strict-aliasing -march=znver4  -I/usr/local/include/octave-11.3.0 
ffmpeg_audio_features.cc \
  -I/usr/include/ffmpeg \
  -lavformat -lavcodec -lavutil -lswresample -lswscale -lavfilter
/usr/local/bin/mkoctfile  -Wall -O2 -pipe -march=znver4
-I/usr/local/include/octave-11.3.0 -fstack-protector-strong
-fno-strict-aliasing -march=znver4  -I/usr/local/include/octave-11.3.0 
ffmpeg_audio_filter.cc \
  -I/usr/include/ffmpeg \
  -lavformat -lavcodec -lavutil -lswresample -lswscale -lavfilter
/usr/local/bin/mkoctfile  -Wall -O2 -pipe -march=znver4
-I/usr/local/include/octave-11.3.0 -fstack-protector-strong
-fno-strict-aliasing -march=znver4  -I/usr/local/include/octave-11.3.0 
ffmpeg_audio_open.cc \
  -I/usr/include/ffmpeg \
  -lavformat -lavcodec -lavutil -lswresample -lswscale -lavfilter
/usr/local/bin/mkoctfile  -Wall -O2 -pipe -march=znver4
-I/usr/local/include/octave-11.3.0 -fstack-protector-strong
-fno-strict-aliasing -march=znver4  -I/usr/local/include/octave-11.3.0 
ffmpeg_audio_spectrum.cc \
  -I/usr/include/ffmpeg \
  -lavformat -lavcodec -lavutil -lswresample -lswscale -lavfilter
/usr/local/bin/mkoctfile  -Wall -O2 -pipe -march=znver4
-I/usr/local/include/octave-11.3.0 -fstack-protector-strong
-fno-strict-aliasing -march=znver4  -I/usr/local/include/octave-11.3.0 
ffmpeg_audio_waveform.cc \
  -I/usr/include/ffmpeg \
  -lavformat -lavcodec -lavutil -lswresample -lswscale -lavfilter
/usr/local/bin/mkoctfile  -Wall -O2 -pipe -march=znver4
-I/usr/local/include/octave-11.3.0 -fstack-protector-strong
-fno-strict-aliasing -march=znver4  -I/usr/local/include/octave-11.3.0 
ffmpeg_get_metadata.cc \
  -I/usr/include/ffmpeg \
  -lavformat -lavcodec -lavutil -lswresample -lswscale -lavfilter
av_dump_format.cc:43:32: warning: object backing the pointer will be destroyed
at the end of the full-expression [-Wdangling-gsl]
   43 |   const char* input_filename = args(0).string_value ().c_str ();
      |                                ^~~~~~~~~~~~~~~~~~~~~~~
ffmpeg_audio_filter.cc:150:3: error: use of undeclared identifier
'av_opt_set_int_list'
  150 |   av_opt_set_int_list (buffersink_ctx, "sample_fmts", (const int
*)sample_fmts,
      |   ^
ffmpeg_audio_filter.cc:ffmpeg_audio_encode.cc:143:34: error: no member named
'sample_fmts' in 'AVCodec'
  143 |   codec_ctx->sample_fmt = codec->sample_fmts ? codec->sample_fmts[0] :
AV_SAMPLE_FMT_FLTP;
      |                           ~~~~~  ^
ffmpeg_audio_encode.cc:143:55: error: no member named 'sample_fmts' in
'AVCodec'
  143 |   codec_ctx->sample_fmt = codec->sample_fmts ? codec->sample_fmts[0] :
AV_SAMPLE_FMT_FLTP;
      |                                                ~~~~~  ^
155:3: error: use of undeclared identifier 'av_opt_set_int_list'
  155 |   av_opt_set_int_list (buffersink_ctx, "sample_rates", (const int
*)sample_rates,
      |   ^
ffmpeg_audio_filter.cc:160:3: error: use of undeclared identifier
'av_opt_set_int_list'
  160 |   av_opt_set_int_list (buffersink_ctx, "channel_layouts", (const
int64_t *)ch_layouts,
      |   ^
ffmpeg_audio_filter.cc:291:3: warning: ignoring return value of function
declared with 'nodiscard' attribute [-Wunused-result]
  291 |   av_buffersrc_add_frame (buffersrc_ctx, nullptr);
      |   ^~~~~~~~~~~~~~~~~~~~~~  ~~~~~~~~~~~~~~~~~~~~~~
1 warning and 3 errors generated.
gmake: *** [Makefile:37: ffmpeg_audio_filter.oct] Error 1
gmake: *** Waiting for unfinished jobs....
21 warning generated.
 errors generated.
gmake: *** [Makefile:37: ffmpeg_audio_encode.oct] Error 1
ffmpeg_get_metadata.cc:42:32: warning: object backing the pointer will be
destroyed at the end of the full-expression [-Wdangling-gsl]
   42 |   const char* input_filename = args(0).string_value ().c_str ();
      |                                ^~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
===> Compilation failed unexpectedly.


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297355
[Bug 297355] multimedia/ffmpeg: Update to 9.0
-- 
You are receiving this mail because:
You are the assignee for the bug.